Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 650594 - dev-lang/go-1.10 - some files require 64bit libc.so.6
Summary: dev-lang/go-1.10 - some files require 64bit libc.so.6
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-15 21:18 UTC by Alpha Bravo
Modified: 2019-01-05 22:15 UTC (History)
3 users (show)

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


Attachments
output of revdep-rebuild -pv (revdep-rebuild-pv.txt,1.10 KB, text/plain)
2018-03-15 21:18 UTC, Alpha Bravo
Details
emerge --info dev-lang/go (emerge-info-go.txt,5.37 KB, text/plain)
2018-03-15 21:19 UTC, Alpha Bravo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alpha Bravo 2018-03-15 21:18:25 UTC
Created attachment 524082 [details]
output of revdep-rebuild -pv

On armv7a (32bit) revdep-rebuild is unable to "repair" files it assigns to dev-lang/go-1.10

# revdep-rebuild -pv
[...]
 * Broken files that require: libc.so.6 (64bits)
        * /usr/lib/go/src/debug/dwarf/testdata/ranges.elf
[...]
Comment 1 Alpha Bravo 2018-03-15 21:19:16 UTC
Created attachment 524084 [details]
emerge --info dev-lang/go
Comment 2 William Hubbs gentoo-dev 2018-03-22 23:10:28 UTC
Arm team,

does anyone have any suggestions for this bug?

Thanks,

William
Comment 3 William Hubbs gentoo-dev 2018-03-22 23:11:39 UTC
Also, should this block stabilization?
Comment 4 Rick Farina (Zero_Chaos) gentoo-dev 2018-03-23 16:14:16 UTC
<hat="arm lead">any package which gets stabilized on arm needs to be generally tested to be in working order.  what that means depends greatly on the package, for go I guess that is making sure it can compile go code and the resulting binaries work.  if everything works, this bug alone should not block stabilization. </hat>
Comment 5 tka 2019-01-05 22:15:45 UTC
This issue is also present on x86. All affected files are in "testdata" directories. If someone can confirm that these are really just data for testing as the directory names suggest, revdep-rebuild could be made ignore them.


# revdep-rebuild -i -p -v
 * This is the new python coded version
 * Please report any bugs found using it.
 * The original revdep-rebuild script is installed as revdep-rebuild.sh
 * Please file bugs at: https://bugs.gentoo.org/
 * Collecting system binaries and libraries
 * Collecting dynamic linking informations
 * Scanning files
 * Checking dynamic linking consistency
 * Broken files that require: libc.so.6 (64 bits)
	* /usr/lib/go/src/cmd/vendor/github.com/google/pprof/internal/binutils/testdata/exe_linux_64
	* /usr/lib/go/src/debug/dwarf/testdata/ranges.elf
	* /usr/lib/go/src/debug/dwarf/testdata/typedef.elf
 * Assign files to packages
	* /usr/lib/go/src/debug/dwarf/testdata/ranges.elf -> dev-lang/go-1.11.4
	* /usr/lib/go/src/debug/dwarf/testdata/typedef.elf -> dev-lang/go-1.11.4
	* /usr/lib/go/src/cmd/vendor/github.com/google/pprof/internal/binutils/testdata/exe_linux_64 -> dev-lang/go-1.11.4

emerge  --pretend --verbose --oneshot --complete-graph=y dev-lang/go:0/1.11.4

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-lang/go-1.11.4:0/1.11.4::gentoo  USE="-gccgo" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB


# emerge --info =dev-lang/go-1.11.4:0/1.11.4::gentoo
Portage 2.3.54 (python 3.6.6-final-0, default/linux/x86/17.0/hardened, gcc-8.2.0, glibc-2.28-r4, 4.19.13 i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.19.13-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-gentoo-2.6
KiB Mem:     2035080 total,    336332 free
KiB Swap:   16777212 total,  16776692 free
Timestamp of repository gentoo: Sat, 05 Jan 2019 15:00:01 +0000
Head commit of repository gentoo: eb78c7d94e8ae4e13a30ef2688dca081285d7d18
sh bash 4.4_p23
ld GNU ld (Gentoo 2.31.1 p5) 2.31.1
app-shells/bash:          4.4_p23::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.6::gentoo
dev-util/cmake:           3.13.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.40.3::gentoo
sys-apps/sandbox:         2.14::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r3::gentoo
sys-devel/gcc:            5.4.0-r6::gentoo, 8.2.0-r6::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.20::gentoo (virtual/os-headers)
sys-libs/glibc:           2.28-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

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

ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
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.2/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.2/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=native -mtune=native -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --with-bdeps=y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs cgroup collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS=""
MAKEOPTS="-j2"
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="X a52 acl acpi alsa apache2 bzip2 cairo caps cdda cddb cdparanoia crypt cxx dbus dri dts dvd fam ffmpeg fftw flac fontconfig gd gif gimp gmp gnutls gtk hardened iconv icu idn ipv6 java jpeg lame lcms libnotify libtirpc mad matroska mmap mmx mp3 mpeg ncurses nptl ogg opengl openmp pam pcre php pic pie png policykit ppds readline sasl sdl seccomp sse sse2 ssl ssp startup-notification svg theora threads tiff truetype udev udisks unicode upower vorbis x264 x86 xattr xcb xml xtpax xv xvid zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="karbon plan sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" 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" INPUT_DEVICES="evdev" KERNEL="linux" 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-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="i915 intel" XFCE_PLUGINS="logout menu trash" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

dev-lang/go-1.11.4::gentoo was built with the following:
USE="-gccgo"