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

Bug 644236

Summary: net-nds/tac_plus-4.0.4.27a : configure: error: in /.../tacacs+-F4.0.4.27a :
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Tony Vroon (RETIRED) <chainsaw>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-nds:tac_plus-4.0.4.27a:20180111-152936.log
temp.tbz2

Description Toralf Förster gentoo-dev 2018-01-11 17:39:23 UTC
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... no
configure: error: in `/var/tmp/portage/net-nds/tac_plus-4.0.4.27a/work/tacacs+-F4.0.4.27a':
configure: error: C compiler cannot create executables
See `config.log' for more details


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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma_libressl_20180106-201622

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

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

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
  [5]   pypy (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-nds/tac_plus
[ebuild  N    ] net-nds/tac_plus-4.0.4.19-r4  USE="tcpd -debug -finger -maxsess -skey -static-libs"
Comment 1 Toralf Förster gentoo-dev 2018-01-11 17:39:28 UTC
Created attachment 514362 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-01-11 17:39:32 UTC
Created attachment 514364 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-01-11 17:39:37 UTC
Created attachment 514366 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-01-11 17:39:41 UTC
Created attachment 514368 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-01-11 17:39:46 UTC
Created attachment 514370 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-01-11 17:39:51 UTC
Created attachment 514372 [details]
net-nds:tac_plus-4.0.4.27a:20180111-152936.log
Comment 7 Toralf Förster gentoo-dev 2018-01-11 17:39:56 UTC
Created attachment 514374 [details]
temp.tbz2
Comment 8 Tony Vroon (RETIRED) gentoo-dev 2018-03-14 09:25:25 UTC
Is "-lnsl" no longer available with GCC 7.2.0?
configure:3975: checking whether the C compiler works
configure:3997: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -O2 -pipe -march=native -Wall -I/usr/local/include -Wl,-O1 -Wl,--as-needed -L/usr/local/lib -L/lib conftest.c -lnsl -lcrypt  >&5
/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
configure:4001: $? = 1
configure:4039: result: no
Comment 9 Larry the Git Cow gentoo-dev 2021-03-30 21:45:54 UTC
The bug has been closed via the following commit(s):

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

commit c49495704d6cb88eceabfeedc467d144c10fb2c4
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-03-30 21:25:48 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-03-30 21:45:43 +0000

    net-nds/tac_plus: add missing net-libs/libnsl dep
    
    Fixes build with newer glibc.
    
    Closes: https://bugs.gentoo.org/644236
    Signed-off-by: Sam James <sam@gentoo.org>

 net-nds/tac_plus/tac_plus-4.0.4.19-r4.ebuild | 1 +
 net-nds/tac_plus/tac_plus-4.0.4.27a.ebuild   | 1 +
 2 files changed, 2 insertions(+)