Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 428464 - dev-lang/go: LDFLAGS ignored
Summary: dev-lang/go: LDFLAGS ignored
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
: 579282 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-07-28 19:30 UTC by Dennis Schridde
Modified: 2016-04-09 19:15 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,11.58 KB, text/plain)
2012-07-28 19:35 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2012-07-28 19:30:45 UTC
scanelf: Invalid ar entry
scanelf: Invalid ar entry
scanelf: Invalid ar entry
scanelf: Invalid ar entry
scanelf: Invalid ar entry
scanelf: Invalid ar entry

 * QA Notice: Files built without respecting LDFLAGS have been detected
 *  Please include the following list of files in your report:
 * /usr/lib/go/src/pkg/debug/dwarf/testdata/typedef.elf
 * /usr/lib/go/src/pkg/debug/elf/testdata/gcc-386-freebsd-exec
 * /usr/lib/go/src/pkg/debug/elf/testdata/gcc-amd64-linux-exec
 * /usr/lib/go/pkg/tool/linux_amd64/addr2line
 * /usr/lib/go/pkg/tool/linux_amd64/nm
 * /usr/lib/go/pkg/tool/linux_amd64/objdump
 * /usr/lib/go/pkg/tool/linux_amd64/pack
 * /usr/lib/go/pkg/tool/linux_amd64/6l
 * /usr/lib/go/pkg/tool/linux_amd64/6a
 * /usr/lib/go/pkg/tool/linux_amd64/6c
 * /usr/lib/go/pkg/tool/linux_amd64/6g
 * /usr/lib/go/pkg/tool/linux_amd64/dist
 * /usr/bin/godoc
 * /usr/bin/go

Reproducible: Always




Portage 2.2.0_alpha120 (default/linux/amd64/10.0/desktop/kde, gcc-4.6.3, glibc-2.15-r2, 3.5.0-gentoo x86_64)                                                                                                                           [16/482]
=================================================================
System uname: Linux-3.5.0-gentoo-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5000+-with-gentoo-2.1
Timestamp of tree: Sat, 28 Jul 2012 17:45:01 +0000
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.2
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo systemd local kde sunrise g-ctan
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=athlon64-sse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0 /var/lib/neatx/home"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/san
dbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-pipe -O2 -march=athlon64-sse3"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS="--depclean-lib-check n --with-bdeps y --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildsyspkg compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn
 unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://distfiles.gentoo.org"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--hash-style=gnu"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/var/cache/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/cache/portage/gentoo"
PORTDIR_OVERLAY="/var/cache/portage/layman/systemd /var/cache/portage/local /var/cache/portage/overlays/kde /var/cache/portage/overlays/sunrise /var/lib/g-ctan"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Dennis Schridde 2012-07-28 19:35:09 UTC
Created attachment 319560 [details]
build.log
Comment 2 SpanKY gentoo-dev 2015-07-13 09:16:28 UTC
i've updated pax-utils (starting w/1.0.4) to not warn about archives like this by default.  so the issue goes away once people upgrade to that.
http://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=9daf7217a29e8542ad80672a3b82ae1b8c497321

that just leaves the LDFLAGS are ignored issue.
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2016-03-02 18:22:48 UTC
Perhaps the go eclasses should define

QA_FLAGS_IGNORED=".*" (matching syntax untested)

or so.
Comment 4 William Hubbs gentoo-dev 2016-04-09 18:48:15 UTC
*** Bug 579282 has been marked as a duplicate of this bug. ***
Comment 5 William Hubbs gentoo-dev 2016-04-09 18:51:04 UTC
The syntax is actually to use single quotes to avoid shell espansion.
I will apply this to the dev-lang/go ebuilds as well as the golang-base
eclass.
Comment 6 William Hubbs gentoo-dev 2016-04-09 19:15:27 UTC
This is now taken care of in the go ebuild and eclasses in the tree.

Thanks for the report.

William