setting TCLIBC = "glibc" in local.conf for linux flavour makes no effect on Goofy
The module affected
generated sdcard image
What is the action to reproduce the bug?
Put in local.conf or custom layer.conf: TCLIBC = "glibc"
What is the result you see?
musl image is created; in case of usage 3rd party library with glibc - build of image fails
What is the result you expect?
After setting TCLIBC as "glibc" proper image is build
Frequency?
always
Tested version
All oniro Goofy images on raspberrypi4-64
Do you know any workaround of this issue?
In oniro/meta-oniro-core/conf/distro/oniro-linux.conf replace TCLIBC = "musl" with TCLIBC ?= "musl"
Do you have a fix for this issue?
NO
- Show closed items
Blocks
Is blocked by
Relates to
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Developer
IIRC I used this: https://booting.oniroproject.org/rzr/meta-oniro-blueprint-flutter/-/commit/32a43748227409b82185747804f17b613b6454f7
Any idea when this regression occurred ?
- Author
Have no idea when. On dunfell setting TCLIBC in local.conf / layer.conf was working as expected.
- Developer
I think this was forced by @agherzan as workaround try my above lines to see if it unblocks you.
- Author
Unblock by fixing to musl? Not sure...
- Pavel Zhukov assigned to @landgraf
assigned to @landgraf
- Pavel Zhukov added Doing IssueBug labels
- Pavel Zhukov added teammaintenance label
added teammaintenance label
- Contributor
Patch sent upsteam. Once accepted kiskstone backport and downstream patch will be needed
- Developer
Ok feel free to link related issue, I'll check my side too
- Contributor
Patch merged upstream. waiting for kirkstone https://git.openembedded.org/openembedded-core/commit/?id=de6c3f9cb2c589aecbf8d9d25fa83cd18bf80891
- Pavel Zhukov added 1 deleted label
added 1 deleted label
- Luca Zizolfi added SeverityCritical label
added SeverityCritical label
- Luca Zizolfi removed SeverityCritical label
removed SeverityCritical label
- Luca Zizolfi added SeverityNormal label
added SeverityNormal label
- Luca Zizolfi removed SeverityNormal label
removed SeverityNormal label
- Luca Zizolfi added SeverityMinor label
added SeverityMinor label
- Developer
Ok I confirm this problem on current oniroproject/meta-openembedded 5357c7a40
Is there any pending action to get @landgraf 's patch:
https://git.openembedded.org/openembedded-core/commit/?id=de6c3f9cb2c589aecbf8d9d25fa83cd18bf80891
merged into :
https://git.openembedded.org/openembedded-core/log/?h=kirkstone
It's not there yet or can/should we apply it downstream ?
Collapse replies - Contributor
@pcoval all actions which were needed from our side has been taken already.
- Pavel Zhukov changed milestone to %goofy beta
changed milestone to %goofy beta
- Pavel Zhukov changed iteration to Oniro Core Iterations Jun 1, 2022 - Jun 30, 2022
changed iteration to Oniro Core Iterations Jun 1, 2022 - Jun 30, 2022
- Pavel Zhukov added to epic &144 (closed)
added to epic &144 (closed)
- Pavel Zhukov marked this issue as related to #632 (closed)
marked this issue as related to #632 (closed)
- Pavel Zhukov mentioned in issue #634 (closed)
mentioned in issue #634 (closed)
- Pavel Zhukov changed epic to &126
changed epic to &126
- Pavel Zhukov marked this issue as related to #634 (closed)
marked this issue as related to #634 (closed)
- Luca Favaretto marked this issue as related to #633 (closed)
marked this issue as related to #633 (closed)
- Luca Favaretto removed the relation with #633 (closed)
removed the relation with #633 (closed)
- Developer
Please @asmolniktmi confirm this is not blocking anymore, It wasnt for me with the distro's config I linked above
- Pavel Zhukov mentioned in merge request !150 (merged)
mentioned in merge request !150 (merged)
- Pavel Zhukov mentioned in merge request !151 (merged)
mentioned in merge request !151 (merged)
- Pavel Zhukov closed with merge request !151 (merged)
closed with merge request !151 (merged)
- Pavel Zhukov closed with commit f78cc866
closed with commit f78cc866
- Pavel Zhukov added ValidationReady label
added ValidationReady label
- Luca Favaretto marked this issue as related to #633 (closed)
marked this issue as related to #633 (closed)
- Luca Favaretto removed Doing label
removed Doing label
- Reporter
@landgraf to test the issue do I have to put TCLIBC = "glibc" in oniro/meta-oniro-core/conf/distro/oniro-linux.conf? Or somewhere else?
Collapse replies - Contributor
TCLIBC="glibc" bitbake oniro-image-base
should build the image with glibc, default is musl - Reporter
in the build configuration log is there any information about this library?
- Contributor
there're few ways. The easiest way would be:
Without the fix:
pavel@gentoo /mnt/builds/oniroproject/goofy/builds/build-tclibc $ bitbake -e oniro-image-base | grep '^TCLIBC=' TCLIBC="musl" pavel@gentoo /mnt/builds/oniroproject/goofy/builds/build-tclibc $ TCLIBC=glibc bitbake -e oniro-image-base | grep '^TCLIBC=' TCLIBC="musl"
With the fix:
pavel@gentoo /mnt/builds/oniroproject/goofy/builds/build-tclibc $ bitbake -e oniro-image-base | grep '^TCLIBC=' TCLIBC="musl" pavel@gentoo /mnt/builds/oniroproject/goofy/builds/build-tclibc $ TCLIBC=glibc bitbake -e oniro-image-base | grep '^TCLIBC=' TCLIBC="glibc"
- Luca Favaretto added ValidationPassed label and removed ValidationReady label
added ValidationPassed label and removed ValidationReady label