Summary: | dev-libs/beecrypt fails to build with GCC 4.7 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ryan Hill (RETIRED) <rhill> |
Component: | [OLD] GCC Porting | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dark.knight.ita, gnu_andrew, oli.huber, stephen.thomas |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 390247 | ||
Attachments: | patch proposal |
Description
Ryan Hill (RETIRED)
2012-04-29 07:12:19 UTC
Portage 2.2.0_alpha101 (default/linux/amd64/10.0/developer, gcc-4.7.0-pre9999, glibc-2.15-r1, 3.2.12-gentoo x86_64) ================================================================= System uname: Linux-3.2.12-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_820_@_1.73GHz-with-gentoo-2.1 Timestamp of tree: Sun, 29 Apr 2012 05:30:01 +0000 ccache version 3.1.7 [enabled] app-shells/bash: 4.2_p24-r1 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.5.4-r4, 2.6.8, 2.7.3-r1 dev-util/ccache: 3.1.7 dev-util/cmake: 2.8.7-r5 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1 sys-apps/openrc: 0.9.9.3 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.5 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.3.6-r1, 4.4.7, 4.5.3-r2, 4.5.4_pre9999::toolchain, 4.6.3::tundra, 4.6.4_pre9999::toolchain, 4.7.0_pre9999::toolchain sys-devel/gcc-config: 1.7 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.3 (virtual/os-headers) sys-libs/glibc: 2.15-r1 Repositories: gentoo tundra gcc-porting toolchain dirtyepic Installed sets: @system ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -g -pipe -D_FORTIFY_SOURCE=2" 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/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CPPFLAGS="-D_FORTIFY_SOURCE=2" CXXFLAGS="-O2 -march=native -g -pipe -D_FORTIFY_SOURCE=2" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y --quiet-build=n" FEATURES="assume-digests binpkg-logs ccache clean-logs compress-build-logs compressdebug distlocks ebuild-locks fixlafiles multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms sign split-log splitdebug strict test test-fail-continue unknown-features-warn unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org/" LANG="en_US.utf8" LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed" LINGUAS="en en_CA en_US" MAKEOPTS="-j16 V=1" PKGDIR="/usr/portage/packages" 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="/usr/portage" PORTDIR_OVERLAY="/home/dirtyepic/overlay /home/dirtyepic/svn/gcc-porting /home/dirtyepic/svn/toolchain /home/dirtyepic/svn/dirtyepic" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE_PYTHON="2.5 2.6 2.7" Try adding -fpermissive, as mentioned here: https://aur.archlinux.org/packages.php?ID=16387 Well yes, it says so right in the error message... That's hardly a solution though. Created attachment 314059 [details]
patch proposal
the package builds fine with this patch. Tests are ok.
Confirming that the patch in comment #4 works as intended. Thanks everyone, this is now fixed in CVS. + 07 Jun 2012; Michael Palimaka <kensington@gentoo.org> + +files/beecrypt-4.2.1-gcc-4.7.patch, beecrypt-4.2.1.ebuild: + Fix build with GCC 4.7 wrt bug #413951. Thanks to Olivier Huber + <oli.huber@gmail.com> for the patch. *** Bug 420823 has been marked as a duplicate of this bug. *** |