/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libowfat.a(dns_ipq6.o):(.note+0x10): undefined reference to `__you_tried_to_link_a_dietlibc_object_against_glibc' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libowfat.a(dns_random.o):(.note+0x10): undefined reference to `__you_tried_to_link_a_dietlibc_object_against_glibc' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libowfat.a(dns_rcrw.o):(.note+0x10): undefined reference to `__you_tried_to_link_a_dietlibc_object_against_glibc' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libowfat.a(byte_chr.o):(.note+0x10): undefined reference to `__you_tried_to_link_a_dietlibc_object_against_glibc' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-20200814-071838 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10.2.0 * Available Python interpreters, in order of preference: [1] python3.7 [2] python3.9 (fallback) [3] python3.8 (fallback) [4] python3.6 (fallback) [5] python2.7 (fallback) Available Ruby profiles: [1] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.45.2 * The Glorious Glasgow Haskell Compilation System, version 8.8.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Sat Aug 15 03:05:52 PM UTC 2020 emerge -qpvO net-misc/ncp [ebuild N ] net-misc/ncp-1.2.4-r1 USE="-diet"
Created attachment 654804 [details] emerge-info.txt
Created attachment 654806 [details] emerge-history.txt
Created attachment 654808 [details] environment
Created attachment 654810 [details] etc.portage.tbz2
Created attachment 654812 [details] net-misc:ncp-1.2.4-r1:20200815-153911.log
Created attachment 654814 [details] temp.tbz2
[m.mairkeimberger@gmail.com has no BZ account.]
Michael, the email listed in metadata.xml doesn't exist on Bugzilla. Could you change your BZ email (or tree email) to be consistent? Thanks!
Hi, I've tried to reproduce the problem but couldn't. I have the same gcc,binutils and glibc as well as using the same CFLAGS and LDFLAGS as in the report. I even tried with and without the diet USEFLAG but everything built fine. The only suspect i found is that the ebuild uses colon in the sed statement in the ebuild: sed -e '/^ncp:/,+5s:strip:#strip:' \ -i GNUmakefile || die Since you using -falign-functions=32:25:16 in CFLAGS i though you catched a bug like in https://bugs.gentoo.org/685160, however as i did use the same CFLAGS/LDFLAGS and couldn't reproduce the problem i'm not sure about that. Is it possible to run the build without -falign-functions=32:25:16? Fixing the sed wouldn't be a problem but it would be great if it would fix this bug too..
(In reply to Michael Mair-Keimberger (iamnr3) from comment #9) > Is it possible to run the build without -falign-functions=32:25:16? Fixing > the sed wouldn't be a problem but it would be great if it would fix this bug > too.. Sure, In fact: my tinderbox automatically retries to build the package w/o that CFLAGS -iff- the error message indicates an issue with that. This was not the case. But I re-triggered the package manually for you w/o those CFLAGS - and the issue still happened. So the issue here is not related to those flags IMO. Nevertheless you might fix anything along the line if you're already here :)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12551f08288d65fb274ac424e907b571c3161f44 commit 12551f08288d65fb274ac424e907b571c3161f44 Author: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> AuthorDate: 2020-08-16 13:52:55 +0000 Commit: Jonas Stein <jstein@gentoo.org> CommitDate: 2020-08-16 18:50:38 +0000 net-misc/ubridge: update maintainer email Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Bug: https://bugs.gentoo.org/737254 Closes: https://github.com/gentoo/gentoo/pull/17136 Signed-off-by: Jonas Stein <jstein@gentoo.org> net-misc/ubridge/metadata.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Never mind. Seems there was a wrong bug ID in the PR "Bug: https://bugs.gentoo.org/737254"
@ Toralf Thx for testing. I've made a PR [1] in order to fix the sed statement, however i haven't found any other reason yet why this happens.. still investigating.. @ Jonas Sorry about that, i guess mixed up the bug numbers somewhere, actually wanted to link my proxy maintainer bug :) [1] https://github.com/gentoo/gentoo/pull/17162
@Toralf I finally could reproduce the build failure. The problem seems to happen when you try to build ncp without USE="-diet" while dev-libs/libowfat is build with USE="diet" Can you please verify if your dev-libs/libowfat is built with USE="diet"? I will update my PR to USE depend on dev-libs/libowfat[diet=] so that such combinations won't happen again.
(In reply to Michael Mair-Keimberger (iamnr3) from comment #14) > @Toralf > Can you please verify if your dev-libs/libowfat is built with USE="diet"? yes: 17_1-20200814-071838 /var/tmp/tb # emerge -qpvO dev-libs/libowfat [ebuild R ] dev-libs/libowfat-0.32-r1 USE="diet"
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae7177032a6ae2e40d4d70d6d74beac411165732 commit ae7177032a6ae2e40d4d70d6d74beac411165732 Author: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> AuthorDate: 2020-08-18 16:17:36 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2020-09-17 20:35:08 +0000 net-misc/ncp: remove diet use flag, fix bug #737254 Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Closes: https://bugs.gentoo.org/737254 Signed-off-by: Sam James <sam@gentoo.org> net-misc/ncp/files/ncp-1.2.4-fix-makefile.patch | 16 ++++++++++ net-misc/ncp/metadata.xml | 1 - net-misc/ncp/ncp-1.2.4-r2.ebuild | 40 +++++++++++++++++++++++++ 3 files changed, 56 insertions(+), 1 deletion(-)