This is an auto-filed bug because net-misc/smbc fails to compile with -fno-common or gcc-10. The issue was originally discovered on amd64, but it may be reproducible on other arches as well. If you think that a different summary clarifies the issue better, feel free to change it. Attached build log and emerge --info. NOTE: To reproduce this issue you may want to set CFLAGS="${CFLAGS} -fno-common" or compile it with gcc-10 that enables -fno-common by default.
Created attachment 641556 [details] build.log build log and emerge --info
> /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: > smbc-smbc.o: undefined reference to symbol 'nodelay' > /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: > /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line This seems to be a problem with ncurses
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ac3b599ab69b5b1d7d10a38b649fb3100fbe238 commit 9ac3b599ab69b5b1d7d10a38b649fb3100fbe238 Author: Ben Kohler <bkohler@gentoo.org> AuthorDate: 2022-07-28 18:32:59 +0000 Commit: Ben Kohler <bkohler@gentoo.org> CommitDate: 2022-07-28 18:34:45 +0000 net-misc/smbc: update EAPI 7 -> 8, lots of build fixes, ~amd64 keyword Closes: https://bugs.gentoo.org/833344 Closes: https://bugs.gentoo.org/731698 Closes: https://bugs.gentoo.org/725206 Signed-off-by: Ben Kohler <bkohler@gentoo.org> .../smbc-1.2.2-multiple-definitions-gcc10.patch | 46 ++++++++++ .../smbc/files/smbc-1.2.2-samba4-includes.patch | 99 ++++++++++++++++++++++ net-misc/smbc/files/smbc-1.2.2-tinfo.patch | 18 ++++ net-misc/smbc/smbc-1.2.2-r3.ebuild | 18 ++-- 4 files changed, 176 insertions(+), 5 deletions(-)