Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 552260 - dev-lang/perl-5.20* automagical dep on NetworkManager
Summary: dev-lang/perl-5.20* automagical dep on NetworkManager
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 567130 (view as bug list)
Depends on: perl522stable
Blocks:
  Show dependency tree
 
Reported: 2015-06-16 08:41 UTC by Juergen Rose
Modified: 2017-02-19 16:12 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,776.24 KB, text/plain)
2015-06-16 08:41 UTC, Juergen Rose
Details
build.log.bz2 of perl-5.20.2-r1 (build.log.bz2,67.21 KB, application/x-bzip)
2015-06-17 15:09 UTC, Juergen Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2015-06-16 08:41:44 UTC
Created attachment 405214 [details]
build.log

'emerge graphviz' fails with:

libtool: link: x86_64-pc-linux-gnu-g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/crtbeginS.o  .libs/libgv_perl_la-gv.o .libs/libgv_perl_la-gv_builtins.o .libs/libgv_perl_la-gv_dummy_init.o .libs/libgv_perl_la-gv_perl.o   -Wl,-rpath -Wl,/var/tmp/portage/media-gfx/graphviz-2.38.0/work/graphviz-2.38.0/lib/gvc/.libs -Wl,-rpath -Wl,/var/tmp/portage/media-gfx/graphviz-2.38.0/work/graphviz-2.38.0/lib/xdot/.libs -Wl,-rpath -Wl,/var/tmp/portage/media-gfx/graphviz-2.38.0/work/graphviz-2.38.0/lib/cgraph/.libs -Wl,-rpath -Wl,/var/tmp/portage/media-gfx/graphviz-2.38.0/work/graphviz-2.38.0/lib/pathplan/.libs -Wl,-rpath -Wl,/var/tmp/portage/media-gfx/graphviz-2.38.0/work/graphviz-2.38.0/lib/cdt/.libs -L/var/tmp/portage/media-gfx/graphviz-2.38.0/work/graphviz-2.38.0/lib/xdot/.libs -L/var/tmp/portage/media-gfx/graphviz-2.38.0/work/graphviz-2.38.0/lib/cgraph/.libs -L/var/tmp/portage/media-gfx/graphviz-2.38.0/work/graphviz-2.38.0/lib/pathplan/.libs -L/var/tmp/portage/media-gfx/graphviz-2.38.0/work/graphviz-2.38.0/lib/cdt/.libs -L/usr/lib64/perl5/5.20.2/x86_64-linux-thread-multi/CORE -lnsl -lnm -lcrypt -lutil -lpthread ../../lib/gvc/.libs/libgvc.so -L/usr/lib64 /usr/lib64/libltdl.so -ldl /var/tmp/portage/media-gfx/graphviz-2.38.0/work/graphviz-2.38.0/lib/xdot/.libs/libxdot.so /var/tmp/portage/media-gfx/graphviz-2.38.0/work/graphviz-2.38.0/lib/cgraph/.libs/libcgraph.so /var/tmp/portage/media-gfx/graphviz-2.38.0/work/graphviz-2.38.0/lib/pathplan/.libs/libpathplan.so -lexpat -lz ../../lib/cgraph/.libs/libcgraph.so /var/tmp/portage/media-gfx/graphviz-2.38.0/work/graphviz-2.38.0/lib/cdt/.libs/libcdt.so ../../lib/cdt/.libs/libcdt.so -lperl -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/../../../../lib64/crtn.o  -march=amdfam10 -O2 -Wl,-E -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed   -Wl,-soname -Wl,libgv_perl.so -o .libs/libgv_perl.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lnm
collect2: error: ld returned 1 exit status




root@impala:/usr/local/portage/sci-geosciences/qgis(101)# emerge --info '=media-gfx/graphviz-2.38.0::gentoo'
Portage 2.2.18 (python 2.7.10-final-0, default/linux/amd64/13.0, gcc-4.9.2, glibc-2.20-r2, 4.0.5-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.0.5-gentoo-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.2
KiB Mem:     8163596 total,   1365036 free
KiB Swap:   50331640 total,  50111984 free
Timestamp of repository gentoo: Tue, 16 Jun 2015 06:00:02 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25 p1.2) 2.25
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2-r1::gentoo
dev-lang/python:          2.7.10::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.2.3::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.16.4::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25-r1::gentoo
sys-devel/gcc:            4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.0::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage_impala
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

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

g-cpan
    location: /var/lib/cpan
    masters: gentoo
    priority: 1

g-octave
    location: /var/lib/g-octave
    masters: gentoo
    priority: 2

sage-on-gentoo
    location: /var/lib/layman/sage-on-gentoo
    masters: gentoo
    priority: 50

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

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

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL Intel-SDP dlj-1.1 skype-eula skype-4.0.0.7-copyright googleearth AdobeFlash-11.x cadsoft Oracle-BCLA-JavaSE MakeMKV-EULA NVIDIA-CUDA Nero-AAC-EULA GIMPS"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync 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="-j5"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnow 3dnowext 64bit R X Xaw3d a52 aac accessibility acl acpi admin afs alsa amd64 amr ao apache2 apng applet archive armadillo arpack asf aspell assistant atlas audacious audiofile automap automount bash-completion berkdb blas blast bluetooth bluray boost bzip2 cairo cdda cddb cdf cdio cdparanoia cdr cg cgi chm cli cmake cracklib crypt css cups curl cxx daap db dbi dbm dbus declarative designer devhelp device-mapper dga dia dirac djvu doc dot dri ds2490 ds9097 ds9097u dts dv dvb dvd dvdr dvi dynamicplugin eds egl elf emacs emboss emf encode epiphany evo examples excel exif expat extensions extra extras faac faad fam ffmpeg fftw firefox fits flac fltk fontconfig foomaticdb fortran fortran95 fpm fpx ftp fuse g3dvl gcj gd gdal gdbm gdu gedit geoip geolocation geos gfortran gif gimp git glade glib glpk gml gmp gnome gnome-keyring gnome-print gnuplot gnutls gold gphoto2 gpm grammar graphics graphtft graphviz grass gsl gsm gstreamer gtk gtk3 gudev guile hddtemp hdf hdf5 hdri html http httpd hvm hwdb iconv icq icu id3tag ide imagemagick imap inotify introspection ipod ipv6 ithreads jabber jadetex java java6 jbig jit john jpeg jpeg2k kate kde kdepim kdrive kerberos keymap kpathsea kvm ladspa lame lapack latex lcms ldap lensfun libffi libgda libkms libnotify libsamplerate live lm_sensors lua lzma lzo mad mail maildir mapnik math matroska media-library mercurial mikmod mkl mmx mmxext mng mod modules mono motif mozilla mp3 mp4 mpeg mpi mpi-threads mplayer mtp multilib multimedia musepack musicbrainz mysql mysqli nautilus ncurses netcdf netpbm network networking nfs nls nntp nptl nsplugin ntfs ntp numpy obex objc ocaml ocr octave odbc ofa ogdi ogg openexr opengl openmp openvg pam pango pcre pda pdf pdl2 perl plasma plotutils plugins png podcast policykit portaudio posix postgres postscript ppds preview-latex proj projectm pstricks pulseaudio python python-bindings q16 q32 qemu qhull qt3support qt4 qt5 quicktime raw readline reiserfs reports rle romio rpc rrdcgi rrdtool sage samba sasl schroedinger science sdk sdl secure-delete semantic-desktop server session shout sip slang slp smart smbclient smp sms sndfile snmp soap sockets sound soup sox speex spell sql sqlite sse sse2 sse3 sse4 sse4a ssl stlport subtitles subversion sudo suexec svg svm swig systemd szip t1lib tcl tcpd tex tex4ht texmacs theora thesaurus threads thunderbird tidy tiff tk tools truetype udev udisks unicode usb utempter v4l v4l2 vaapi vala valgrind vdpau video virt-network virtualbox visio vorbis vpx vtk wav webdav webdav-serf webkit wmf wxwidgets x264 xa xattr xcb xetex xext xft xine xml xmlreader xmlrpc xpm xv xvid xvmc yaml youtube zlib zvbi" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_core authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info lbmethod_byrequests log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif slotmem_shm so socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon fuji ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" CURL_SSL="nss" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev void" KERNEL="linux" LCD_DEVICES="cfontz hd44780 mtxorb ncurses X lcd2usb lcdlinux png usblcd SureElec" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en fr ru" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy gsf harness ide identity j2ee java mobility nb php profiler websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nouveau displaylink" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON



root@impala:/usr/local/portage/sci-geosciences/qgis(102)# emerge -pqv '=media-gfx/graphviz-2.38.0::gentoo'
[ebuild  N    ] media-gfx/graphviz-2.38.0  USE="X cairo doc examples gtk guile java nls pdf perl postscript python qt4 svg tcl -devil -gdk-pixbuf -gts -lasi -ruby -static-libs" PYTHON_TARGETS="python2_7"
Comment 1 Rafał Mużyło 2015-06-16 15:13:09 UTC
Bug 552270 seems to be a duplicate of this one.

OK, first, let's try to establish the source of the problem.

Does 'perl -MExtUtils::Embed -e ldopts' really return '-Wl,-E -Wl,-O1 -Wl,--as-needed  -L/usr/lib64/perl5/5.20.2/x86_64-linux-thread-multi/CORE -lperl -lnsl -lnm -ldl -lm -lcrypt -lutil -lpthread -lc' ?

Is so, recheck 'perl -V' for perllibs value.

If it matches, something went wrong during perl build...so relent build log...
Comment 2 Juergen Rose 2015-06-17 06:43:04 UTC
(In reply to Rafał Mużyło from comment #1)
> Bug 552270 seems to be a duplicate of this one.
> 
> OK, first, let's try to establish the source of the problem.
> 
> Does 'perl -MExtUtils::Embed -e ldopts' really return '-Wl,-E -Wl,-O1
> -Wl,--as-needed  -L/usr/lib64/perl5/5.20.2/x86_64-linux-thread-multi/CORE
> -lperl -lnsl -lnm -ldl -lm -lcrypt -lutil -lpthread -lc' ?
> 
> Is so, recheck 'perl -V' for perllibs value.
> 
> If it matches, something went wrong during perl build...so relent build
> log...

'emerge graphviz' failed on systems, where I removed the networkmanager USE flag from gnome-shell and also removed the installed networkmanager.

After this removal, 'perl -MExtUtils::Embed -e ldopts' says:
root@condor:/root(2)# perl -MExtUtils::Embed -e ldopts
-Wl,-E -Wl,-O1 -Wl,--as-needed  -L/usr/lib64/perl5/5.20.2/x86_64-linux-thread-multi/CORE -lperl -lnsl -lnm -ldl -lm -lcrypt -lutil -lpthread -lc

And 'perl -V' says:
root@condor:/root(3)# perl -V
Summary of my perl5 (revision 5 version 20 subversion 2) configuration:
   
  Platform:
    osname=linux, osvers=4.0.0-gentoo, archname=x86_64-linux-thread-multi
    uname='linux condor 4.0.0-gentoo #2 smp wed apr 22 13:32:31 cest 2015 x86_64 intel(r) core(tm)2 cpu 6600 @ 2.40ghz genuineintel gnulinux '
    config_args='-des -Duseshrplib -Darchname=x86_64-linux-thread -Dcc=x86_64-pc-linux-gnu-gcc -Doptimize=-march=native -O2 -pipe -Dldflags=-Wl,-O1 -Wl,--as-needed -Dprefix=/usr -Dinstallprefix=/usr -Dsiteprefix=/usr/local -Dvendorprefix=/usr -Dscriptdir=/usr/bin -Dprivlib=/usr/lib64/perl5/5.20.2 -Darchlib=/usr/lib64/perl5/5.20.2/x86_64-linux-thread-multi -Dsitelib=/usr/local/lib64/perl5/5.20.2 -Dsitearch=/usr/local/lib64/perl5/5.20.2/x86_64-linux-thread-multi -Dvendorlib=/usr/lib64/perl5/vendor_perl/5.20.2 -Dvendorarch=/usr/lib64/perl5/vendor_perl/5.20.2/x86_64-linux-thread-multi -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Dvendorman1dir=/usr/share/man/man1 -Dvendorman3dir=/usr/share/man/man3 -Dman1ext=1 -Dman3ext=3pm -Dlibperl=libperl.so.5.20.2 -Dlocincpth=/usr/include  -Dglibpth=/lib64 /usr/lib64  -Duselargefiles -Dd_semctl_semun -Dcf_by=Gentoo -Dmyhostname=localhost -Dperladmin=root@localhost -Dinstallusrbinperl=n -Ud_csh -Uusenm -Di_ndbm -Di_gdbm -Di_db -Dusethreads -DDEBUGGING=none -Dinc_version_list=5.20.0/x86_64-linux-thread-multi 5.20.0 5.20.1/x86_64-linux-thread-multi 5.20.1  -Dlibpth=/usr/local/lib64 /lib64 /usr/lib64 -Dnoextensions=ODBM_File'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='x86_64-pc-linux-gnu-gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-march=native -O2 -pipe',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe'
    ccversion='', gccversion='4.9.2', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='x86_64-pc-linux-gnu-gcc', ldflags ='-Wl,-O1 -Wl,--as-needed'
    libpth=/usr/local/lib64 /lib64 /usr/lib64 /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/include-fixed /usr/lib /lib/../lib64 /usr/lib/../lib64 /lib
    libs=-lnsl -lnm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -lgdbm_compat
    perllibs=-lnsl -lnm -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=libc-2.20.so, so=so, useshrplib=true, libperl=libperl.so.5.20.2
    gnulibc_version='2.20'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed'


Characteristics of this binary (from libperl): 
  Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
                        PERL_DONT_CREATE_GVSV
                        PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
                        PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
                        USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS
                        USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
                        USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO
                        USE_PERL_ATOF USE_REENTRANT_API
  Locally applied patches:
        gentoo/hints_hpux - Fix hpux hints
        gentoo/aix_soname - aix gcc detection and shared library soname support
        gentoo/EUMM-RUNPATH - https://bugs.gentoo.org/105054 cpan/ExtUtils-MakeMaker: drop $PORTAGE_TMPDIR from LD_RUN_PATH
        gentoo/config_over - Remove -rpath and append LDFLAGS to lddlflags
        gentoo/opensolaris_headers - [PATCH] Add headers for opensolaris
        gentoo/patchlevel - List packaged patches for perl-5.20.2-r1(#2) in patchlevel.h
        gentoo/cpanplus_definstalldirs - Configure CPANPLUS to use the site directories by default.
        gentoo/cleanup-paths - [PATCH] Cleanup PATH and shrpenv
        gentoo/enc2xs - Tweak enc2xs to follow symlinks and ignore missing @INC directories.
        gentoo/enc2xs_checksums -
        gentoo/darwin-cc-ld - https://bugs.gentoo.org/297751 [PATCH] darwin: Use $CC to link
        gentoo/cpan_definstalldirs - Provide a sensible INSTALLDIRS default for modules installed from CPAN.
        gentoo/interix - [PATCH] Fix interix hints
        gentoo/create_libperl_soname - https://bugs.gentoo.org/286840 [PATCH] Set libperl soname
        gentoo/mod_paths - Add /etc/perl to @INC
        gentoo/EUMM_delete_packlist -
        gentoo/drop_fstack_protector - https://bugs.gentoo.org/348557 [PATCH] Don't force -fstack-protector on everyone
        gentoo/usr_local - [PATCH] Remove /usr/local paths
        gentoo/D-SHA-CFLAGS - https://bugs.gentoo.org/506818 [PATCH] Do not set custom CFLAGS in cpan/Digest-SHA
        gentoo/io_socket_ip_tests -
        debian/cpan-missing-site-dirs - Fix CPAN::FirstTime defaults with nonexisting site dirs if a parent is writable
        debian/regcomp-mips-optim - Downgrade the optimization of regcomp.c on mips and mipsel due to a gcc-4.9 bug
        debian/perldoc-less-R - Tell the 'less' pager to allow terminal escape sequences
        debian/makemaker-pasthru - Pass LD settings through to subdirectories
        fixes/net_smtp_docs - [rt.cpan.org #36038] Document the Net::SMTP 'Port' option
        fixes/memoize_storable_nstore - [rt.cpan.org #77790] Memoize::Storable: respect 'nstore' option not respected
        fixes/document_makemaker_ccflags - [rt.cpan.org #68613] Document that CCFLAGS should include $Config{ccflags}
        fixes/gcc5 -
  Built under linux
  Compiled at May 11 2015 10:08:53
  @INC:
    /etc/perl
    /usr/local/lib64/perl5/5.20.2/x86_64-linux-thread-multi
    /usr/local/lib64/perl5/5.20.2
    /usr/lib64/perl5/vendor_perl/5.20.2/x86_64-linux-thread-multi
    /usr/lib64/perl5/vendor_perl/5.20.2
    /usr/local/lib64/perl5
    /usr/lib64/perl5/vendor_perl/5.20.1/x86_64-linux-thread-multi
    /usr/lib64/perl5/vendor_perl/5.20.1
    /usr/lib64/perl5/vendor_perl
    /usr/lib64/perl5/5.20.2/x86_64-linux-thread-multi
    /usr/lib64/perl5/5.20.2
    .

On two systems it helps to try 'emerge -uvDNe systems', even if it fails due to  https://bugs.gentoo.org/show_bug.cgi?id=552352 or https://bugs.gentoo.org/show_bug.cgi?id=552356).
Comment 3 Rafał Mużyło 2015-06-17 08:36:35 UTC
OK, so the vales do match.

Now, we need dev-lang/perl build log to see when '-lnm' gets added.

Then we can check why it did.

Though if you already removed NetworkManager new log might not get the needed info...
Comment 4 Juergen Rose 2015-06-17 15:03:05 UTC
(In reply to Rafał Mużyło from comment #3)
> OK, so the vales do match.
> 
> Now, we need dev-lang/perl build log to see when '-lnm' gets added.
> 
> Then we can check why it did.
> 
> Though if you already removed NetworkManager new log might not get the
> needed info...

Reemergeing perl-5.20.2-r1 on systems, where I had removed networkmanager, solves my problem with graphviz and missing libnm too.


At a further system with similar software configuration but installed neetworkmanager I generated the attached build.log for perl-5.20.2-r1.
Comment 5 Juergen Rose 2015-06-17 15:09:16 UTC
Created attachment 405286 [details]
build.log.bz2 of perl-5.20.2-r1
Comment 6 Rafał Mużyło 2015-06-17 21:06:16 UTC
OK, that Configure script is a bit of a pain to figure out.

I have an odd feeling that libnm referred here is *NOT* one from NetworkManager - that value in libswanted dates back to 18 January 1995...

Anyway, it's something for perl herd to figure out (perhaps with base-system, if that lib is that old).
Comment 7 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-06-17 21:44:59 UTC
If it helps, this behaviour is consistent with what I see on perl's built independent of Gentoo.

The cause is likely related to how perl collects dependencies from external sources.

Naturally, the dependencies were not really needed, so ld --as-needed stripped them.

But perl %Config is not aware of LD's wisdom, so it still has the data.
Comment 8 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2016-01-21 02:52:55 UTC
Fwiw, the specific conditions that caused this bug is now resolved in 5.23.7, and so will be avoided when 5.24 ships. 

- https://rt.perl.org/Ticket/Display.html?id=127131 
- https://metacpan.org/pod/release/STEVAN/perl-5.23.7/pod/perldelta.pod#Configuration-and-Compilation

`libnm` was something perl linked against opportunistically to be the "new math" library, but network-manager came along and stomped on it instead in the interval of 20 years.
Comment 9 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2016-01-27 02:02:52 UTC
Reopening due to #567130

Because upstream have recognised this is a problem, and the patch for Configure is literally only one line of code[1], it seems plausible that we can backport that fix before 5.24 comes out.


1: https://rt.perl.org/Ticket/Attachment/1383001/743370/0001-Remove-nm-from-libswanted.patch
Comment 10 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2016-05-07 19:34:30 UTC
https://metacpan.org/pod/release/SHAY/perl-5.22.2/pod/perldelta.pod#Configuration-and-Compilation 

Configure no longer probes for libnm by default. Originally this was the "New Math" library, but the name has been re-used by the GNOME NetworkManager.

[perl #127131]
Comment 11 Andreas K. Hüttel archtester gentoo-dev 2016-05-21 21:49:10 UTC
*** Bug 567130 has been marked as a duplicate of this bug. ***
Comment 12 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-02-19 16:02:32 UTC
Fixed in 5.22.3* 

5.20.* gone from tree.