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

Bug 556486

Summary: dev-lang/go-1.4.2 - existing preserved libs on every build
Product: Gentoo Linux Reporter: Andrew Udvare <audvare>
Component: [OLD] DevelopmentAssignee: William Hubbs <williamh>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrew Udvare 2015-08-02 07:18:45 UTC
Getting this output when Go is merged and when emerge @preserved-rebuild is used:

!!! existing preserved libs:
>>> package: sys-libs/glibc-2.20-r2
 *  - /lib32/ld-2.20.so
 *  - /lib32/ld-linux.so.2
 *  - /lib32/libc-2.20.so
 *  - /lib32/libc.so.6
 *      used by /usr/lib/go/src/debug/elf/testdata/gcc-386-freebsd-exec (dev-lang/go-1.4.2)

Reproducible: Always

Steps to Reproduce:
1. emerge -v =dev-lang/go-1.4.2
2. emerge -v @preserved-rebuild
Actual Results:  
Should be resolved with step 2.

Expected Results:  
Keeps reporting error about /usr/lib/go/src/debug/elf/testdata/gcc-386-freebsd-exec.

Portage 2.2.20 (python 3.3.5-final-0, hardened/linux/amd64/no-multilib, gcc-4.8.4, glibc-2.20-r2, 3.18.9-hardened x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.18.9-hardened-x86_64-AMD_FX-tm-8150_Eight-Core_Processor-with-gentoo-2.2
KiB Mem:    16386624 total,    512128 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 02 Aug 2015 02:45:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p39::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.3.5-r1::gentoo
dev-util/cmake:           3.2.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.8.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

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

jamiel-gentoo-overlay
    location: /var/lib/layman/jamiel-gentoo-overlay
    masters: gentoo
    priority: 0

vortex
    location: /var/lib/layman/vortex
    masters: gentoo
    priority: 1

tatsh-overlay
    location: /var/lib/layman/tatsh-overlay
    masters: gentoo
    priority: 2

java
    location: /var/lib/layman/java
    masters: gentoo
    priority: 3

srcshelton
    location: /var/lib/layman/srcshelton
    masters: gentoo
    priority: 4

Installed sets: @anfplaylists, @ansible, @bashcomp, @beanstalk, @bloodhound, @cdr, @cgit, @clang, @compass, @cups, @dracut, @driverside, @git, @grub, @libimobiledevice, @media, @micasa, @misc, @mysql, @nginx, @php, @portage-dev, @portage-utilities, @postgresql, @python, @rar, @ssh, @tatshnet, @uwsgi
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.5/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="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg clean-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://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ rsync://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/ rsync://gentoo.mirrors.tds.net/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,--as-needed"
MAKEOPTS="-j9"
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="acl aes amd64 avx bash-completion bzip2 cjk cli cracklib crypt cxx dri ffmpeg fma4 gdbm gif gpm hardened iconv idn ipv6 jemalloc jpeg justify mmx mmxext modules ncurses nls nptl openmp pam pax_kernel pcre pie png popcnt readline session sse sse2 sse3 sse4_1 sse4_2 sse4a ssl ssp ssse3 svg syslog systemd tcpd tiff unicode urandom vim-syntax xattr xop xtpax zlib" 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="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="aes avx fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" DRACUT_MODULES="crypt crypt-gpg crypt-loop dmraid gensplash lvm ssh-client systemd" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev joystick keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="v4l" 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"
USE_PYTHON="2.7 3.3"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-lang/go-1.4.2::gentoo was built with the following:
USE=""
Comment 1 Amy Liffey gentoo-dev 2015-08-03 08:32:06 UTC
*** Bug 556488 has been marked as a duplicate of this bug. ***
Comment 2 William Hubbs gentoo-dev 2015-08-24 15:24:16 UTC
I do not see this happening with Go 1.5.
Can you please test with Go 1.5 and let me know if it still happens for
you?

Thanks,

William
Comment 3 Andrew Udvare 2015-08-24 15:38:12 UTC
Same result, except now it says Go 1.5.

!!! existing preserved libs:
>>> package: sys-libs/glibc-2.20-r2
 *  - /lib32/ld-2.20.so
 *  - /lib32/ld-linux.so.2
 *  - /lib32/libc-2.20.so
 *  - /lib32/libc.so.6
 *      used by /usr/lib/go/src/debug/elf/testdata/gcc-386-freebsd-exec (dev-lang/go-1.5)
 *      used by /usr/lib/go1.4/src/debug/elf/testdata/gcc-386-freebsd-exec (dev-lang/go-bootstrap-1.4.2)

Does not seem likely but is it something to do with glibc, or do I need to rebuild glibc?