Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 643862

Summary: net-im/mcabber-1.1.0 - ld: cannot find -lnsl
Product: Gentoo Linux Reporter: Anton Kochkov <anton.kochkov>
Component: Current packagesAssignee: Wolfram Schlich (RETIRED) <wschlich>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 636158, 646004    

Description Anton Kochkov 2018-01-08 05:36:17 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include  -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include       -O2 -march=core2 -mtune=generic -O2 -pipe -Wall -D_GNU_SOURCE -c -o nohtml.o nohtml.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include  -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include       -O2 -march=core2 -mtune=generic -O2 -pipe -Wall -D_GNU_SOURCE -c -o modules.o modules.c
../hgcset.sh "../mcabber" "../mcabber"
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -march=core2 -mtune=generic -O2 -pipe -Wall -D_GNU_SOURCE  -Wl,-O1 -Wl,--as-needed -o mcabber main.o roster.o events.o commands.o compl.o hbuf.o screen.o settings.o hooks.o utf8.o histolog.o utils.o pgp.o xmpp.o xmpp_helper.o xmpp_iq.o xmpp_iqrequest.o xmpp_muc.o xmpp_s10n.o caps.o help.o carbons.o otr.o nohtml.o modules.o  -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lloudmouth-1 -lglib-2.0 -L/usr/lib64 -lgpgme -lassuan -lgpg-error -lotr   -lpanelw  -lncursesw
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -march=core2 -mtune=generic -O2 -pipe -Wall -D_GNU_SOURCE -Wl,-O1 -o mcabber main.o roster.o events.o commands.o compl.o hbuf.o screen.o settings.o hooks.o utf8.o histolog.o utils.o pgp.o xmpp.o xmpp_helper.o xmpp_iq.o xmpp_iqrequest.o xmpp_muc.o xmpp_s10n.o caps.o help.o carbons.o otr.o nohtml.o modules.o -Wl,--export-dynamic -pthread  -Wl,--as-needed -lgmodule-2.0 /usr/lib64/libloudmouth-1.so -lgobject-2.0 -lidn -lresolv -lnsl -lgnutls -lglib-2.0 -L/usr/lib64 -lgpgme /usr/lib64/libassuan.so /usr/lib64/libotr.so /usr/lib64/libgcrypt.so -lgpg-error -lpanelw -lncursesw -pthread
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lnsl
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:522: mcabber] Error 1
make[2]: Leaving directory '/var/tmp/portage/net-im/mcabber-1.1.0/work/mcabber-1.1.0/mcabber'
make[1]: *** [Makefile:422: all] Error 2
make[1]: Leaving directory '/var/tmp/portage/net-im/mcabber-1.1.0/work/mcabber-1.1.0/mcabber'
make: *** [Makefile:476: all-recursive] Error 1


emerge --info output:

Portage 2.3.19 (python 2.7.14-final-0, hardened/linux/amd64/no-multilib, gcc-5.4.0, glibc-2.26-r5, 3.3.2-hardened x86_64)
=================================================================
System uname: Linux-3.3.2-hardened-x86_64-Intel-R-_Core-TM-_i7_CPU_930_@_2.80GHz-with-gentoo-2.4.1
KiB Mem:     8167824 total,   1184692 free
KiB Swap:   16016792 total,  15903516 free
Timestamp of repository gentoo: Mon, 08 Jan 2018 03:45:01 +0000
Head commit of repository gentoo: ca867bcc34fa438c48e0632de7fe07db7c986fb8
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p2) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.26.1-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.6.4::gentoo
dev-util/cmake:           3.10.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo, 7.1.0-r1::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.14::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.us.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

gentoo-xvilka
    location: /var/lib/layman/gentoo-xvilka
    masters: gentoo
    priority: 1

godin
    location: /var/lib/layman/godin
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind /var/qmail/alias /var/qmail/control /var/spool/munin-async/.ssh /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64 berkdb bzip2 cli crypt cvs cxx dri gdbm git gnutls hardened iconv ipv6 lighttpd mercurial mmx modules ncurses nls nptl openmp pam pcre perl php pie postgresql python readline sbcl seccomp sse sse2 sse4 ssl ssp ssse3 subversion tcpd unicode urandom xattr xml xmlrpc xsl xtpax zlib" ABI_X86="64" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Larry the Git Cow gentoo-dev 2018-03-15 21:35:51 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8d4a8c0345414adca6f730da489adfc1db26ba0

commit a8d4a8c0345414adca6f730da489adfc1db26ba0
Author:     Andrey Utkin <andrey_utkin@gentoo.org>
AuthorDate: 2018-03-15 21:33:55 +0000
Commit:     Andrey Utkin <andrey_utkin@gentoo.org>
CommitDate: 2018-03-15 21:35:26 +0000

    net-im/mcabber: add dep on libnsl
    
    Acked-by: Wolfram Schlich <wschlich@gentoo.org>
    Closes: https://bugs.gentoo.org/643862
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-im/mcabber/mcabber-1.1.0.ebuild | 1 +
 net-im/mcabber/mcabber-9999.ebuild  | 1 +
 2 files changed, 2 insertions(+)
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2018-04-28 16:08:53 UTC
Please either backport this or stabilize a newer mcabber version.
Comment 3 Larry the Git Cow gentoo-dev 2018-04-30 20:37:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b465b6b3348b19f4a67cfd7d77c8c54480cb3d75

commit b465b6b3348b19f4a67cfd7d77c8c54480cb3d75
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2018-04-30 20:37:21 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2018-04-30 20:37:40 +0000

    net-im/mcabber: Add missing libnsl dependency, bug 643862
    
    Closes: https://bugs.gentoo.org/643862
    Package-Manager: Portage-2.3.31, Repoman-2.3.9

 net-im/mcabber/mcabber-1.0.5.ebuild | 1 +
 1 file changed, 1 insertion(+)