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

Bug 641476

Summary: net-analyzer/argus-3.0.8.2-r1 : /.../ld: cannot find -lnsl
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
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    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-analyzer:argus-3.0.8.2-r1:20171217-152639.log
temp.tbz2

Description Toralf Förster gentoo-dev 2017-12-17 15:49:16 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed -I. -I/usr/include -I./../include  -DHAVE_CONFIG_H -c ArgusSflow.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed -I. -I/usr/include -I./../include  -DHAVE_CONFIG_H -o ../bin/argus argus.o ArgusModeler.o ArgusSource.o ArgusUtil.o ArgusOutput.o ArgusUdp.o ArgusTcp.o ArgusIcmp.o ArgusIgmp.o ArgusEsp.o ArgusArp.o ArgusFrag.o ArgusUdt.o ArgusLcp.o ArgusIsis.o ArgusAuth.o Argus802.11.o ArgusApp.o ArgusEvents.o ArgusNetflow.o ArgusSflow.o -Wl,-O1 -Wl,--as-needed -L/usr/lib64 -Wl,-rpath,/usr/lib64 -lpcap -lpthread  -lwrap -lnsl  -lm -lz ../lib/argus_common.a -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lnsl
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:103: ../bin/argus] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-analyzer/argus-3.0.8.2-r1/work/argus-3.0.8.2/argus'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop_abi32+64_20171214-104827

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv net-analyzer/argus
[ebuild  N    ] net-analyzer/argus-3.0.8.2-r1  USE="libtirpc tcpd -debug -sasl"
Comment 1 Toralf Förster gentoo-dev 2017-12-17 15:49:19 UTC
Created attachment 510486 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-12-17 15:49:22 UTC
Created attachment 510488 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-12-17 15:49:25 UTC
Created attachment 510490 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-12-17 15:49:28 UTC
Created attachment 510492 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-12-17 15:49:30 UTC
Created attachment 510494 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-12-17 15:49:33 UTC
Created attachment 510496 [details]
net-analyzer:argus-3.0.8.2-r1:20171217-152639.log
Comment 7 Toralf Förster gentoo-dev 2017-12-17 15:49:36 UTC
Created attachment 510498 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2018-05-01 14:06:27 UTC
The bug has been closed via the following commit(s):

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

commit 33c58c412955e0a70fd40de97b8cab1405504fa6
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2018-05-01 14:06:04 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2018-05-01 14:06:04 +0000

    net-analyzer/argus: Add missing libnsl dependency, bug 641476
    
    Closes: https://bugs.gentoo.org/641476
    Package-Manager: Portage-2.3.31, Repoman-2.3.9

 net-analyzer/argus/argus-3.0.8.2-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)