maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview (https://talk.maemo.org/showthread.php?t=96932)

edp17 2019-11-14 02:00

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
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. :eek:

mautz 2019-11-14 02:05

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
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.

edp17 2019-11-14 02:11

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by mautz (Post 1561966)
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. :o

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

edp17 2019-11-14 02:25

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
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. :D

edp17 2019-11-14 02:49

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
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!!! :D

edp17 2019-11-14 06:37

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
It looks like the process stuck at building the ngfd-plugin-native-vibrator.spec. I has been doing that step for 4.5 hours.

mautz 2019-11-14 07:40

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Then you need to restart it, i think libhybris takes the most time to build.

edp17 2019-11-14 08:04

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by mautz (Post 1561973)
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. :rolleyes:

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. :)

edp17 2019-11-14 08:06

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
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.

edp17 2019-11-14 08:12

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
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. :eek:


All times are GMT. The time now is 21:54.

vBulletin® Version 3.8.8