Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 643812 - net-analyzer/mrtg fails to run with the 17.1 experimental profiles
Summary: net-analyzer/mrtg fails to run with the 17.1 experimental profiles
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 687688 (view as bug list)
Depends on:
Blocks: no-symlink-lib
  Show dependency tree
 
Reported: 2018-01-07 18:18 UTC by Kostas Kavourakis
Modified: 2019-06-20 15:41 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kostas Kavourakis 2018-01-07 18:18:38 UTC
The mrtg utility is a perl script. The build process puts it perl modules in /usr/lib64/mrtg2/ on my amd64 system but the path to look for them is hardcoded in the script to look at /usr/lib/mrtg2/ instead.

If I manually change the line:
use lib "${FindBin::Bin}${main::SL}..${main::SL}lib${main::SL}mrtg2";

to
use lib "${FindBin::Bin}${main::SL}..${main::SL}lib64${main::SL}mrtg2";

the script starts to work. A search revealed that this has been reported back in 2006 here https://bugs.gentoo.org/143982 but that bug was dismissed as invalid at the time. It's now back to bug us!

emerge --info output:

Portage 2.3.13 (python 3.5.4-final-0, default/linux/amd64/17.1, gcc-6.4.0, glibc-2.25-r9, 4.14.11-gentoo-r2 x86_64)
=================================================================
System uname: Linux-4.14.11-gentoo-r2-x86_64-AMD_Phenom-tm-_II_X4_955_Processor-with-gentoo-2.4.1
KiB Mem:     7905724 total,   2122580 free
KiB Swap:    1048572 total,   1047028 free
Timestamp of repository gentoo: Sun, 07 Jan 2018 09:30:01 +0000
Head commit of repository gentoo: fe919208c78e3bd1cdfa2e25f4e229e146ce1019
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.9.6::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.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=x86-64 -mtune=native -O2 -pipe -w"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
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/apache2-php7.0/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=x86-64 -mtune=native -O2 -pipe -w"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --keep-going --quiet-build=n --autounmask-write=y"
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"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.ntua.gr/pub/linux/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://gentoo.mirror.web4u.cz/"
LANG="POSIX"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="64bit X aalib acl acpi aio alpn amd64 apache2 apng authdaemond authlib branding bzip2 cairo caps cli client console cron crypt ctype cups curl cxx dbus dedicated dnssec dri exif expat extensions fam fbcondecor ffmpeg foomaticdb fortran ftp g3dvl gbm gd gdbm geoip gif glamor glibc-omitfp glut gmp gnutls gtk gtkhtml guile iconv icu idn imagemagick imap imlib infinality intl ipc iproute2 ipv6 ithreads java jpeg lcdfilter lcms less libass libav libcaca libkms libnotify libwww lm_sensors logrotate mad magic maildir matroska memcache memcached mhash mikmod mmap mmx mmxext mng mod modules motif mp3 mpeg msn multilib mysql ncurses networking new-login nftables nls nptl nsplugin ogg opengl openmp overlay pam passwordsave pcre pdf php pic png policykit portinuse ppds python quicktime rar readline regex rtc samba sasl seccomp setproctitle slang spell srt sse sse2 sse3 ssl startup-notification svg sync-plugin-portage tcpd text threads tiff tproxy transparency truetype tty-helpers ucd-compat udev unicode urandom usb vhosts vorbis webinterface x264 xcomposite xinerama xml xmlreader xv xvid xvmc zlib" ABI_X86="64" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_core authn_dbd authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi dav dav_fs dav_lock dbd deflate dir env expires ext_filter file_cache filter headers http2 ident imagemap include info log_config logio mime mime_magic negotiation rewrite setenvif 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" CURL_SSL="gnutls" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard evdev" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb 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_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="radeon vesa" XTABLES_ADDONS="account chaos checksum condition delude dhcpmac fuzzy geoip iface ipmark ipp2p ipset6 ipv4options length2 logmark lscan pknock psd quota2 rawnat steal sysrq tarpit tee"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2018-01-09 05:50:34 UTC
Should be fixed in -r2. Please test.
Comment 2 Kostas Kavourakis 2018-01-09 06:39:37 UTC
(In reply to Jeroen Roovers from comment #1)
> Should be fixed in -r2. Please test.

Just emerged the new version, appears to run correctly for me.
Comment 3 David Seifert gentoo-dev 2018-01-09 15:46:24 UTC
Dear jer, please use GLEP 66 tags as I have advised you to before. Furthermore, your summary line is too long, which has been highlighted by mgorny earlier. The summary line would be a lot shorter had you used GLEP 66 tags. Please use these new tags, that also have git receive hooks to close bugs etc. like the rest of us.
Comment 4 Pacho Ramos gentoo-dev 2019-06-20 15:40:36 UTC
*** Bug 687688 has been marked as a duplicate of this bug. ***