Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 725206 - net-misc/smbc-1.2.2-r3: ld: /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line
Summary: net-misc/smbc-1.2.2-r3: ld: /lib64/libtinfo.so.6: error adding symbols: DSO m...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tinfo
  Show dependency tree
 
Reported: 2020-05-25 07:18 UTC by Agostino Sarubbo
Modified: 2022-07-28 18:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,19.98 KB, text/plain)
2020-05-25 07:18 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-05-25 07:18:28 UTC
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.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-25 07:18:33 UTC
Created attachment 641556 [details]
build.log

build log and emerge --info
Comment 2 Jakov Smolić archtester gentoo-dev 2021-02-19 19:48:46 UTC
> /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
Comment 3 Larry the Git Cow gentoo-dev 2022-07-28 18:34:52 UTC
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(-)