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

Bug 604224

Summary: dev-libs/protobuf-2.6.1-r3 - aclocal: Can't locate /usr/local/lib64/perl5/5.22.3/x86_64-linux/ Permission denied at /usr/bin/aclocal-1.15 line 35.
Product: Gentoo Linux Reporter: ta2002 <throw_away_2002>
Component: Current packagesAssignee: SpanKY <vapier>
Severity: normal CC: tomboy64
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description ta2002 2016-12-31 08:25:50 UTC
Not much to the log:

 * Package:    dev-libs/protobuf-2.6.1-r3
 * Repository: gentoo
 * Maintainer:
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU zlib
 * FEATURES:   sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking protobuf-2.6.1.tar.bz2 to /var/tmp/portage/dev-libs/protobuf-2.6.1-r3/work
>>> Source unpacked in /var/tmp/portage/dev-libs/protobuf-2.6.1-r3/work
>>> Preparing source in /var/tmp/portage/dev-libs/protobuf-2.6.1-r3/work/protobuf-2.6.1 ...
 * Applying protobuf-2.3.0-asneeded-2.patch ...                                                                             [ ok ]
 * Applying protobuf-2.5.0-emacs-24.4.patch ...                                                                             [ ok ]
 * Applying protobuf-2.6.1-protoc-cmdline.patch ...                                                                         [ ok ]
 * Running eautoreconf in '/var/tmp/portage/dev-libs/protobuf-2.6.1-r3/work/protobuf-2.6.1' ...
 * Running libtoolize --install --copy --force --automake ...                                                               [ ok ]
 * Running aclocal -I m4 ...                                                                                                [ !! ]

 * Failed Running aclocal !
 * Include in your bugreport the contents of:
 *   /var/tmp/portage/dev-libs/protobuf-2.6.1-r3/temp/aclocal.out

 * ERROR: dev-libs/protobuf-2.6.1-r3::gentoo failed (prepare phase):
 *   Failed Running aclocal !
 * Call stack:
 *, line  115:  Called src_prepare
 *   environment, line 7186:  Called autotools-multilib_src_prepare
 *   environment, line 1074:  Called autotools-utils_src_prepare
 *   environment, line 1168:  Called eautoreconf
 *   environment, line 1901:  Called eaclocal
 *   environment, line 1705:  Called autotools_run_tool '--at-m4flags' 'aclocal' '-I' 'm4'
 *   environment, line 1295:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 * If you need support, post the output of `emerge --info '=dev-libs/protobuf-2.6.1-r3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/protobuf-2.6.1-r3::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
and of course, the output of emerge --info =protobuf-2.6.1
 * The complete build log is located at '/var/log/portage/dev-libs:protobuf-2.6.1-r3:20161231-074222.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/protobuf-2.6.1-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/protobuf-2.6.1-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/protobuf-2.6.1-r3/work/protobuf-2.6.1'
 * S: '/var/tmp/portage/dev-libs/protobuf-2.6.1-r3/work/protobuf-2.6.1'

Don't know why it is looking in /usr/local/:

# dog /var/tmp/portage/dev-libs/protobuf-2.6.1-r3/temp/aclocal.out 
***** aclocal *****
***** PWD: /var/tmp/portage/dev-libs/protobuf-2.6.1-r3/work/protobuf-2.6.1
***** aclocal -I m4

Can't locate   /usr/local/lib64/perl5/5.22.3/x86_64-linux/ Permission denied at /usr/bin/aclocal-1.15 line 35.
BEGIN failed--compilation aborted at /usr/bin/aclocal-1.15 line 35.

# emerge -p --info
Portage 2.3.0 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.4, glibc-2.22-r4, 4.4.21-gentoo x86_64)
System uname: Linux-4.4.21-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_750_@_2.67GHz-with-gentoo-2.3
KiB Mem:    12302196 total,   2403884 free
KiB Swap:    4112604 total,   4105532 free
Timestamp of repository gentoo: Sat, 31 Dec 2016 03:00:01 +0000
sh bash 4.2_p53
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.2_p53::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.3_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.6.3::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.22.4::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo

    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://
    priority: -1000

CFLAGS="-march=native -O2 -pipe"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
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"
CXXFLAGS="-march=native -O2 -pipe"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
USE="64bit R X a52 aac aalib accessibility acoustid acpi additions adobe-cff aio alsa amd64 ap arcade asf aspell audio audiofile avcodec avformat blksha1 bluray bookmarks bwscheduler bzip2 cacert cairo caps cdda cdio cdr chm chroot cli client consolekit cpumining cracklib crypt cryptsetup css cups cxx dbus device-mapper dga directfb display-manager djvu downloadorder dri dri3 dvbpsi dvd dvdnav dvdr ebook eigen encode espeak exceptions exif expat fam fbcon ffmpeg filecaps flac fluidsynth fontconfig fortran gallium gbm gcj gcrypt ggi gif glamor glib glibc-omitfp gmp gpg gphoto2 gpm gsm gstreamer gtk handbook hardcoded-tables hddtemp hpn iconv idea imap infowidget inotify iostats ipc ipfilter ipv6 jabber jbig jit joystick jpeg jsbsim kdcraw kde kmod kscreen lame lcms less libass libkms libmpv libsamplerate libwww live lm_sensors logviewer lzma mad matroska mbox mdns-bundled memlimit midi mime minizip mmx mmxext mp3 mp4 mpeg mta mudflap multilib nas ncurses net network no-old-linux nodrm npm nptl ntfsprogs ntp ocamlopt offlinehelp ofx ogg okular opengl openmedia openmp opus oscar osdmenu p2p pcre pdf pie pm-utils png policykit portmon postproc ps qml qt3support quotes raptor readline real recursion-limit redland rtc rtmp savedconfig scanfolder scanner scrypt sdl search seccomp secure-delete sensord shared-glapi shm silc smbclient smtp snapshot sndfile sound speex spell sse sse2 sse2_4way sse2check sse4 ssl ssse3 stats subversion svc svg swscale sysfs taglib tcmalloc tcpd theora threads threadsafe tiff tinfo tls-heartbeat truetype udev udisks unicode upower urandom usb userlocales utils v4l2 vdpau video vorbis vtv wav webdav-neon webinterface widgets x264 xcb xinerama xml xmp xpdf-headers xslt xv xvid yahoo zlib zrtp" ABI_X86="64" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 ssse3 sse4_1 sse4_2" 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="evdev" KERNEL="linux" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia" 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"
Comment 1 SpanKY gentoo-dev 2017-01-02 05:59:43 UTC
/usr/local management is left up to the user.  your system looks broken.