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

Bug 465148

Summary: =dev-libs/crypto++-5.6.2 stable request
Product: Gentoo Linux Reporter: M. B. <tomboy64>
Component: [OLD] LibraryAssignee: Crypto team [DISABLED] <crypto+disabled>
Severity: enhancement Keywords: STABLEREQ
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 467274    

Description M. B. 2013-04-08 20:11:16 UTC
5.6.1-r1 (stable) fails to build.
5.6.1-r3 (testing) and 5.6.2 (testing) both build successfully.

for testing purposes i also set: FEATURES=-ccache MAKEOPTS=-j1


 * Package:    dev-libs/crypto++-5.6.1-r1
 * Repository: gentoo
 * Maintainer:
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   ccache preserve-libs sandbox
>>> Unpacking source...
>>> Unpacking to /var/tmp/portage/dev-libs/crypto++-5.6.1-r1/work
>>> Source unpacked in /var/tmp/portage/dev-libs/crypto++-5.6.1-r1/work
>>> Preparing source in /var/tmp/portage/dev-libs/crypto++-5.6.1-r1/work ...
 * Applying crypto++-5.6.1-fix_build_system.patch ...
 [ ok ]
 * Applying crypto++-5.6.1-sunos.patch ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/crypto++-5.6.1-r1/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-libs/crypto++-5.6.1-r1/work ...
make -j1 -f GNUmakefile CXX=x86_64-pc-linux-gnu-g++ 'CXXFLAGS=-march=bdver1 -O1 -mfma -mtbm --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=bdver1 -pipe' LIBDIR=lib64 
libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -march=bdver1 -O1 -mfma -mtbm --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=bdver1 -pipe -c wake.cpp
libtool: compile:  x86_64-pc-linux-gnu-g++ -march=bdver1 -O1 -mfma -mtbm --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=bdver1 -pipe -c wake.cpp  -fPIC -DPIC -o .libs/wake.o
In file included from wake.h:5:0,
                 from wake.cpp:4:
secblock.h: In instantiation of ‘CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned char; bool T_Align16 = false; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned char*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type = long unsigned int]’:
secblock.h:247:19:   required from ‘CryptoPP::SecBlock<T, A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsigned char; A = CryptoPP::AllocatorWithCleanup<unsigned char>; CryptoPP::SecBlock<T, A>::size_type = long unsigned int]’
strciphr.h:134:7:   required from ‘CryptoPP::SymmetricCipherFinal<BASE, INFO>::SymmetricCipherFinal() [with BASE = CryptoPP::ConcretePolicyHolder<CryptoPP::WAKE_Policy<CryptoPP::EnumToType<CryptoPP::ByteOrder, 1> >, CryptoPP::AdditiveCipherTemplate<CryptoPP::AbstractPolicyHolder<CryptoPP::AdditiveCipherAbstractPolicy, CryptoPP::SymmetricCipher> >, CryptoPP::AdditiveCipherAbstractPolicy>; INFO = CryptoPP::WAKE_OFB_Info<CryptoPP::EnumToType<CryptoPP::ByteOrder, 1> >]’
wake.cpp:10:25:   required from here
secblock.h:91:3: error: ‘CheckSize’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
secblock.h:91:3: note: declarations in dependent base ‘CryptoPP::AllocatorBase<unsigned char>’ are not found by unqualified lookup
secblock.h:91:3: note: use ‘this->CheckSize’ instead
make: *** [wake.lo] Fehler 1
emake failed
 * ERROR: dev-libs/crypto++-5.6.1-r1 failed (compile phase):
 *   emake failed
 * Call stack:
 *, line  93:  Called src_compile
 *   environment, line 2382:  Called die
 * The specific snippet of code:
 *       emake -f GNUmakefile CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" LIBDIR="$(get_libdir)" || die "emake failed"
 * If you need support, post the output of `emerge --info '=dev-libs/crypto++-5.6.1-r1'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/crypto++-5.6.1-r1'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/crypto++-5.6.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/crypto++-5.6.1-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/crypto++-5.6.1-r1/work'
 * S: '/var/tmp/portage/dev-libs/crypto++-5.6.1-r1/work'

emerge --info
emerge --info
Portage (default/linux/amd64/13.0/desktop, gcc-4.7.2, glibc-2.15-r3, 3.5.7-gentoo x86_64)
System uname: Linux-3.5.7-gentoo-x86_64-AMD_A8-4500M_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.1
KiB Mem:     3459516 total,    197444 free
KiB Swap:    8388604 total,   8125312 free
Timestamp of tree: Mon, 08 Apr 2013 01:45:02 +0000
ld GNU ld (GNU Binutils) 2.22
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3, 4.7.2-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo science tbc gentoo-haskell bitcoin mine
Installed sets: @myset-fonts, @myset-snort, @myset-xmonad
CFLAGS="-march=bdver1 -O2 -mfma -mtbm --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=bdver1 -pipe"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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=bdver1 -O2 -mfma -mtbm --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=bdver1 -pipe"
EMERGE_DEFAULT_OPTS="--jobs=6 --load-average=4"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy ccache 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 webrsync-gpg"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5 --load-average=5"
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"
PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/portage/local/layman/tbc /usr/portage/local/layman/haskell /usr/portage/local/layman/bitcoin /usr/portage/local/mine"
USE="256-color 3dnow 3dnowext 64bit X a52 aac aacplus aalib accessibility acl acpi alsa amd64 amr aotuv apng archive assistant avx bash-completion berkdb blksha1 bluetooth bluray boost branding bzip2 c++0x cairo caps cblas-external cdda cddax cdr cg chappa clamdtop cleartype cli color consolekit cracklib crypt css cups curl cxx dbus dcc_video dcc_voice declarative device-mapper dga dhcpcd dia dirac disk-partition djvu dlz dri dts dvd dvdr dynamicplugin egl emboss enca encode examples exif faac fam fat fbcon ffmpeg firefox flac focused-urgency font-styles fontconfig foomaticdb fortran frei0r ftp fuse g3dvl gallium gbm gd gdbm geoip ggi gif gimp git gles gles1 gles2 glitz gmail gmp gnutls go gost gpg gphoto2 gpm graphite gre gs gstreamer gtk gtk2 gudev gui hddtemp help helpers hoogle hpn hwdb hyperestraier iconv icu id3tag idn imap inkjar inotify iostats ipv6 iso14755 jabber jadetex java java6 javascript jingle jpeg jpeg2k keymap kpathsea ladspa laptop latex lcms ldap libass libcaca libkms libnotify libv4l libv4l2 live lm_sensors lock lyrics lzma lzo mad matroska mercurial mime minizip mjpeg mmap mmx mmxext mng modules mousewheel mp2 mp3 mp4 mpeg mplayer msn mudflap multilib music mysql ncurses network nls nntp nodrm nptl nsplugin ntfs ntp nut ocr octave offensive offlinehelp ogg okteta opengl openmp openssl openvg optimization otr pam pango passfile pcre pdf pdfimport perl php png policykit pop postscript ppds profile python qt3support qt4 qthelp quicktime rar readline reiser4 reiserfs rss rtc rtmp samba sasl savedconfig schroedinger script scripts sdl secure-delete session sidebar skins skype smime smp smtp sound speex spell sql sqlite sse sse2 sse3 sse4 sse41 sse4_1 sse4a ssh ssl ssse3 startup-notification stk strong-optimization subtitles subversion svg symlink system-boost system-cxx-headers system-ffmpeg system-jpeg system-sqlite t1lib tables tcpd templates theora threads thunar tidy tiff timezone tor-hardening transparent-proxy trayicon truetype twolame udev udisks unicode unlock-notify upnp upower usb v4l v4l2 vaapi vcd video videos vim-pager vim-syntax vim-with-x vorbis vpx vst wcwidth weather-metar weather-xoap webgl webkit wifi winpopup wma wps wxwidgets x264 xanim xcb xcomposite xfce xfs xft xhtml xinerama xml xorg xosd xpfast xpm xpsmall xscreensaver xv xvfb xvid xvmc yahoo zip zlib" ABI_X86="64" ALSA_CARDS="ca0106" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en fr ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="radeon" 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"

Reproducible: Always
Comment 1 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2013-04-25 20:29:52 UTC
That's a dupe of bug 403197, let's change it to stablereq, shall we?
Comment 2 Tim Harder gentoo-dev 2013-05-31 07:11:05 UTC
Let's stabilize 5.6.2 instead.

Arches, please test and stabilize:
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-06-01 15:13:49 UTC
Stable for HPPA.
Comment 4 Marco Ziebell 2013-06-14 14:42:29 UTC
amd64 ok
Comment 5 Agostino Sarubbo gentoo-dev 2013-06-24 17:01:08 UTC
ppc stable
Comment 6 Agostino Sarubbo gentoo-dev 2013-06-25 10:40:16 UTC
ppc64 stable
Comment 7 Agostino Sarubbo gentoo-dev 2013-06-25 12:30:25 UTC
x86 stable
Comment 8 Agostino Sarubbo gentoo-dev 2013-06-25 13:01:56 UTC
amd64 stable
Comment 9 Agostino Sarubbo gentoo-dev 2013-06-26 03:04:46 UTC
alpha stable
Comment 10 Agostino Sarubbo gentoo-dev 2013-06-29 16:30:56 UTC
sparc stable. Last arch, closing