Reply
Thread Tools
edp17's Avatar
Posts: 592 | Thanked: 706 times | Joined on Jul 2019 @ UK
#701
Interesting. The 'rpm/dhd/helpers/build_packages.sh' has errorred again with CONFIG_IKCONFIG_PROC is invalid (unset) however it's value is y in the defconfig. Hmm.
 

The Following User Says Thank You to edp17 For This Useful Post:
Posts: 635 | Thanked: 1,535 times | Joined on Feb 2014 @ Germany
#702
Take a look at the .config file in the kernel folder. Is it still set to y in this file?

It is always a good idea to look at LinuxKernelDriverDatabase when you get such errors.

https://cateee.net/lkddb/web-lkddb/IKCONFIG_PROC.html

There you can see this options dependencies. Check if these are set to y too.
 

The Following 2 Users Say Thank You to mautz For This Useful Post:
edp17's Avatar
Posts: 592 | Thanked: 706 times | Joined on Jul 2019 @ UK
#703
Originally Posted by mautz View Post
Take a look at the .config file in the kernel folder. Is it still set to y in this file?

It is always a good idea to look at LinuxKernelDriverDatabase when you get such errors.

https://cateee.net/lkddb/web-lkddb/IKCONFIG_PROC.html

There you can see this options dependencies. Check if these are set to y too.
Good point!
But both (CONFIG_IKCONFIG_PROC and CONFIG_PROC_FS) are set to y in the defconfig.

Yeah, I missed the doc says CONFIG_IKCONFIG && CONFIG_PROC_FS not CONFIG_IKCONFIG_PROC.

I should have been doing this during the day when I am fresher.

Last edited by edp17; 2019-11-14 at 02:28. Reason: fixing typos
 

The Following User Says Thank You to edp17 For This Useful Post:
edp17's Avatar
Posts: 592 | Thanked: 706 times | Joined on Jul 2019 @ UK
#704
I have found it. However the error says:
Code:
ERROR: CONFIG_IKCONFIG_PROC is invalid
It is unset
Allowed values : y
Comment says: Required by hybris-boot init-script
it was not referring to CONFIG_IKCONFIG_PROC (which was set to y in the config) but to CONFIG_IKCONFIG which was unset indeed.

Now, kernel config fixed, kernel recompiled and the 'rpm/dhd/helpers/build_packages.sh' is running.
 

The Following 2 Users Say Thank You to edp17 For This Useful Post:
edp17's Avatar
Posts: 592 | Thanked: 706 times | Joined on Jul 2019 @ UK
#705
It takes for ages. It currently is building the ngf-plugin-native-vibrator.spec.
I need some sleep. Will report tomorrow.
Again big THANK YOU for @mautz!!!
 

The Following 2 Users Say Thank You to edp17 For This Useful Post:
edp17's Avatar
Posts: 592 | Thanked: 706 times | Joined on Jul 2019 @ UK
#706
It looks like the process stuck at building the ngfd-plugin-native-vibrator.spec. I has been doing that step for 4.5 hours.
 

The Following User Says Thank You to edp17 For This Useful Post:
Posts: 635 | Thanked: 1,535 times | Joined on Feb 2014 @ Germany
#707
Then you need to restart it, i think libhybris takes the most time to build.
 

The Following 2 Users Say Thank You to mautz For This Useful Post:
edp17's Avatar
Posts: 592 | Thanked: 706 times | Joined on Jul 2019 @ UK
#708
Originally Posted by mautz View Post
Then you need to restart it, i think libhybris takes the most time to build.
I thought so, but didn't expect the script hanging at one step for over 3 hours.

I have double checked the relevant section in hadk-faq.
It suggests to change some values in 'patterns/templates/jolla-hw-adaptation-@DEVICE@.yaml'
I have checked both and they are already set as
Code:
ngfd-plugin-native-vibrator
qt5-feedback-haptics-native-vibrator
(I have found a commit here which is about the same change.)
So, I did the 'sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper rm ngfd-plugin-droid-vibrator' what the hadk-faq suggested and restarted the 'rpm/dhd/helpers/build_packages.sh'.

It will have about 8 hours to run while I get home, so I am very curious about the result.
 

The Following User Says Thank You to edp17 For This Useful Post:
edp17's Avatar
Posts: 592 | Thanked: 706 times | Joined on Jul 2019 @ UK
#709
My other concern is the message
Code:
Repository 'adaptation0' is invalid.
[adaptation0|plugin:/ssu?repo=adaptation0] Valid metadata not found at specified URL
But it might be a red herring and not at all relevant to that hanging script.
 

The Following User Says Thank You to edp17 For This Useful Post:
edp17's Avatar
Posts: 592 | Thanked: 706 times | Joined on Jul 2019 @ UK
#710
It is much much better! Now it already has passed the step 'ngfd-plugin-native-vibrator.spec' where it previously hang. How that wonderful would be if it completes in an hour and I can start building the image. In that case in this evening I might can flash it on the phone to try.
 

The Following User Says Thank You to edp17 For This Useful Post:
Reply

Tags
hammerhead, nexus5, sailfishos, sfdroid


 
Forum Jump


All times are GMT. The time now is 22:36.