Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 413951 - dev-libs/beecrypt fails to build with GCC 4.7
Summary: dev-libs/beecrypt fails to build with GCC 4.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 420823 (view as bug list)
Depends on:
Blocks: gcc-4.7
  Show dependency tree
 
Reported: 2012-04-29 07:12 UTC by Ryan Hill (RETIRED)
Modified: 2012-06-12 15:49 UTC (History)
4 users (show)

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


Attachments
patch proposal (beecrypt-4.2.1-gcc47.patch,331 bytes, text/plain)
2012-06-03 16:10 UTC, Olivier Huber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Hill (RETIRED) gentoo-dev 2012-04-29 07:12:19 UTC
/bin/sh ../../libtool --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -m64 -DHAVE_CONFIG_H -I. -I../.. -I../../include  -D_FORTIFY_SOURCE=2  -DOPTIMIZE_X86_64  -O2 -march=native -pipe -D_FORTIFY_SOURCE=2 -DNDEBUG -Wa,--noexecstack -c -o Properties.lo Properties.cxx
libtool: compile:  x86_64-pc-linux-gnu-g++ -m64 -DHAVE_CONFIG_H -I. -I../.. -I../../include -D_FORTIFY_SOURCE=2 -DOPTIMIZE_X86_64 -O2 -march=native -pipe -D_FORTIFY_SOURCE=2 -DNDEBUG -Wa,--noexecstack -c Properties.cxx  -fPIC -DPIC -o .libs/Properties.o
In file included from ../../include/beecrypt/c++/util/Hashtable.h:42:0,
                 from ../../include/beecrypt/c++/util/Properties.h:36,
                 from Properties.cxx:25:
../../include/beecrypt/c++/util/AbstractSet.h: In instantiation of 'bool beecrypt::util::AbstractSet<E>::equals(const beecrypt::lang::Object*) const [with E = beecrypt::util::Map<beecrypt::lang::Object, beecrypt::lang::Object>::Entry]':
Properties.cxx:228:1:   required from here
../../include/beecrypt/c++/util/AbstractSet.h:59:27: error: 'containsAll' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
../../include/beecrypt/c++/util/AbstractSet.h:59:27: note: declarations in dependent base 'beecrypt::util::AbstractCollection<beecrypt::util::Map<beecrypt::lang::Object, beecrypt::lang::Object>::Entry>' are not found by unqualified lookup
../../include/beecrypt/c++/util/AbstractSet.h:59:27: note: use 'this->containsAll' instead
../../include/beecrypt/c++/util/AbstractSet.h: In instantiation of 'bool beecrypt::util::AbstractSet<E>::equals(const beecrypt::lang::Object*) const [with E = beecrypt::lang::Object]':
Properties.cxx:228:1:   required from here
../../include/beecrypt/c++/util/AbstractSet.h:59:27: error: 'containsAll' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
../../include/beecrypt/c++/util/AbstractSet.h:59:27: note: declarations in dependent base 'beecrypt::util::AbstractCollection<beecrypt::lang::Object>' are not found by unqualified lookup
../../include/beecrypt/c++/util/AbstractSet.h:59:27: note: use 'this->containsAll' instead
make[4]: *** [Properties.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/dev-libs/beecrypt-4.2.1/work/beecrypt-4.2.1/c++/util'
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2012-04-29 07:14:01 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"
Comment 2 stephen.thomas 2012-05-29 15:01:27 UTC
Try adding -fpermissive, as mentioned here:
https://aur.archlinux.org/packages.php?ID=16387
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2012-06-02 03:35:01 UTC
Well yes, it says so right in the error message...  That's hardly a solution though.
Comment 4 Olivier Huber 2012-06-03 16:10:45 UTC
Created attachment 314059 [details]
patch proposal

the package builds fine with this patch. Tests are ok.
Comment 5 Marco Leogrande 2012-06-05 20:40:23 UTC
Confirming that the patch in comment #4 works as intended.
Comment 6 Michael Palimaka (kensington) gentoo-dev 2012-06-07 16:45:32 UTC
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.
Comment 7 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-06-12 15:49:26 UTC
*** Bug 420823 has been marked as a duplicate of this bug. ***