do_configure failed for pth-2.0.7 package #autotools #bitbake #scarthgap #yocto
Hi all,
I am trying to move the yocto kirkstone branch to scarthgap version and while starting the migration, I am getting following issue:-
checking for stack setup via makecontext... ../pth-2.0.7/configure: line 22539: syntax error near unexpected token `;;'
| ../pth-2.0.7/configure: line 22539: ` ;;' | NOTE: The following config.log files may provide further information. | NOTE: /home/kavita/yocto-setup-scarthgap/build/tmp/work/cortexa53-crypto-poky-linux/pth/2.0.7/build/config.log | ERROR: configure failed | WARNING: exit code 1 from a shell command.
ERROR: Task (/home/kavita/yocto-setup-scarthgap/layers/poky/../meta-jci-app-4017es/recipes-support/pth/pth_2.0.7.bb:do_configure) failed with exit code '1'
I checked the autconf version has been changed from 2.71 to 2.72e.
Is anyone else faced the same issue? Please provide some solution or fix.
Thanks,
Kavita Awasthi
Unfortunately this information is not sufficient to give any answer to this issue - it would be much easier if we could see the recipe you are trying to build.
Is the recipe available online somewhere, or are you able to share it somehow? If you are applying any patches, they would be very useful to see also (unless the error happens without them too).
Quoted 26 lines · kavita.mnnit via lists.yoctoproject.org
Hi all,
I am trying to move the yocto kirkstone branch to scarthgap version and while starting the migration, I am getting following issue:- checking for stack setup via makecontext... ../pth-2.0.7/configure: line 22539: syntax error near unexpected token `;;'| ../pth-2.0.7/configure: line 22539: ` ;;' | NOTE: The following config.log files may provide further information. | NOTE: /home/kavita/yocto-setup-scarthgap/build/tmp/work/cortexa53-crypto-poky-linux/pth/2.0.7/build/config.log | ERROR: configure failed | WARNING: exit code 1 from a shell command.ERROR: Task (/home/kavita/yocto-setup-scarthgap/layers/poky/../meta-jci-app-4017es/recipes-support/pth/pth_2.0.7.bb:do_configure) failed with exit code '1' I checked the autconf version has been changed from 2.71 to 2.72e.
Is anyone else faced the same issue? Please provide some solution or fix.
Thanks,
Kavita Awasthi-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#64644): https://lists.yoctoproject.org/g/yocto/message/64644
Mute This Topic: https://lists.yoctoproject.org/mt/110840172/6084445
Mute #scarthgap:https://lists.yoctoproject.org/g/yocto/mutehashtag/scarthgap Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto Mute #autotools:https://lists.yoctoproject.org/g/yocto/mutehashtag/autotools Mute #bitbake:https://lists.yoctoproject.org/g/yocto/mutehashtag/bitbake Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] [yocto scarthgap] do_configure failed for pth-2.0.7 package #scarthgap #yocto #autotools #bitbake
Here is the path to the recipe which is unable to build with the autoconf 2.72e recipe
https://git.openembedded.org/openembedded-core/tree/meta/recipes-support/pth/pth_2.0.7.bb?h=fido
Please let me know, if you need any other information.
Re: [yocto] [yocto scarthgap] do_configure failed for pth-2.0.7 package #scarthgap #yocto #autotools #bitbake
Why don't you try npth instead, as mentioned in:
https://git.openembedded.org/openembedded-core/commit/meta/recipes-support/pth/pth_2.0.7.bb?id=22c0b4c5034f929a1b1145f49b835387856e80b1
Quoted 19 lines · kavita.mnnit via lists.yoctoproject.org
Here is the path to the recipe which is unable to build with the autoconf 2.72e recipe
https://git.openembedded.org/openembedded-core/tree/meta/recipes-support/pth/pth_2.0.7.bb?h=fido
Please let me know, if you need any other information.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#64647): https://lists.yoctoproject.org/g/yocto/message/64647
Mute This Topic: https://lists.yoctoproject.org/mt/110840172/3617156
Mute #scarthgap:https://lists.yoctoproject.org/g/yocto/mutehashtag/scarthgap Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto Mute #autotools:https://lists.yoctoproject.org/g/yocto/mutehashtag/autotools Mute #bitbake:https://lists.yoctoproject.org/g/yocto/mutehashtag/bitbake Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] [yocto scarthgap] do_configure failed for pth-2.0.7 package #scarthgap #yocto #autotools #bitbake
Actually in my project, there is a dependency of pth package. We are using with the Kirkstone as well. Now with the scarthgap release, autoconf version has been changed. When I am rolling back to old autoconf version, its building successfully.
Now, I am pth package recipe to use the autoconf old version while other ones will use newer version.
Re: [yocto] [yocto scarthgap] do_configure failed for pth-2.0.7 package #scarthgap #yocto #autotools #bitbake
In reply to [email protected]I'm almost sure that this is way too late, sorry if this is the case...
Earlier today I already had the luck of debugging some other autoconf scripts, and this one came to my mind, and wanted to take a look at it. There seems to be a typo in the config script (slipped quotation), which was apparently handled differently by previous autoconf versions.
If you are still interested, you can find the necessary patch for pth here:
https://gist.github.com/OldManYellsAtCloud/3d3419a4799749ee1adb98e22122b54f
It compiled for me successfully on Scarthgap, and I could also link a simple program against it successfully, which it also ran fine. (Can't guarantee though anything)
Quoted 6 lines · kavita.mnnit via Lists.Yoctoproject.Org
Here is the path to the recipe which is unable to build with the autoconf 2.72e recipe
https://git.openembedded.org/openembedded-core/tree/meta/recipes-support/pth/pth_2.0.7.bb?h=fido
Please let me know, if you need any other information.