Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 437890 - app-arch/p7zip-9.13* with sys-devel/gcc-4.7 - ../../Common/../../Common/DynamicBuffer.h:20:5: error: ‘SetCapacity’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
Summary: app-arch/p7zip-9.13* with sys-devel/gcc-4.7 - ../../Common/../../Common/Dynam...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Justin Lecher (RETIRED)
: 467880 (view as bug list)
Depends on:
Blocks: gcc-4.7
  Show dependency tree
Reported: 2012-10-10 20:17 UTC by Morse
Modified: 2013-04-30 06:39 UTC (History)
1 user (show)

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

app-arch:p7zip-9.13-r3:20121010-202103.log.gz (20121010-202103.log.gz,8.53 KB, application/x-gzip)
2012-10-10 20:28 UTC, Jeroen Roovers (RETIRED)
fix for bug in 9.13 (0001-Fix-bug-on-gcc-4.7-SetCapacity-was-not-declared-in-t.patch,1.92 KB, patch)
2012-12-07 20:12 UTC, Daniel Santos
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Morse 2012-10-10 20:17:42 UTC
p7zip-9.20.1-r3 builds OK.

Can't attach emerge --info right now, but is it really necessary?
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-10-10 20:19:46 UTC
1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-10-10 20:28:08 UTC
Created attachment 326226 [details]

CXX=x86_64-pc-linux-gnu-g++-4.7.1 ebuild p7zip-9.13-r3.ebuild manifest clean test install
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-10-10 20:28:29 UTC
Wed Oct 10 22:28:12 CEST 2012
Portage 2.2.0_alpha136 (default/linux/amd64/10.0/no-multilib, gcc-4.5.3, glibc-2.15-r2, 3.4.9-gentoo-JeR x86_64)
System uname: Linux-3.4.9-gentoo-JeR-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-gentoo-2.1
Timestamp of tree: Wed, 10 Oct 2012 15:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.6
sys-devel/binutils:       2.21.1-r1, 2.22-r1
sys-devel/gcc:            4.5.3-r2, 4.5.4, 4.6.2, 4.7.1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo JeR
ACCEPT_LICENSE="* AdobeFlash-10.1"
CFLAGS="-march=k8-sse3 -msahf --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=k8 -O2 -ggdb -pipe -Wall"
CONFIG_PROTECT="/etc /usr/lib/distcc/bin /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /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=k8-sse3 -msahf --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=k8 -O2 -ggdb -pipe -Wall"
FCFLAGS="-march=k8-sse3 -msahf --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=k8 -O2 -ggdb -pipe -Wall"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles multilib-strict news notitles parallel-fetch protect-owned sandbox sfperms sign splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-march=k8-sse3 -msahf --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=k8 -O2 -ggdb -pipe -Wall"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
LINGUAS="en en_GB nl"
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"
USE="3dnow 3dnowext 64bit X a52 aac aalib acl alsa amd64 amr avx bash-completion berkdb bzip2 cli consolekit cracklib crypt cups custom-cflags custom-optimization cxx dbus device-mapper dirac dmalloc dnssec dri dts dv dvd exif extras faac fortran gdbm geoip gif gsm gstreamer gtk gtk3 hwdb iconv idn ipq ipv6 jpeg jpeg2k kde kqemu kvm lcms libdnet libnet libnl lzo mjpeg mms mmx mmxext modules mp3 mpeg mpi mudflap multislot musepack ncurses network nfq nls nptl ntfsprogs ogg opengl openmp pam pcre pdf perl perl-geoipupdate playlist png policykit pppd python qt3support quicktime readline romio rtmp schroedinger session smp speex spoof-source sse sse2 ssl svg symux tcpd theora threads tiff truetype unicode v4l v4l2 vaapi vcd vde vorbis vpx wavpack wmf x264 xcb xft xml xnest xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="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="evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB nl" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="i386" QEMU_USER_TARGETS="i386" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="mga nvidia" 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"
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2012-10-11 05:49:50 UTC
Please use version 9.20.1. That one works.
Comment 5 Daniel Santos 2012-12-07 20:12:33 UTC
Created attachment 331758 [details, diff]
fix for bug in 9.13

(In reply to comment #4)
> Please use version 9.20.1. That one works.

Crap! I hate when this happens! Google didn't give me a hit on this bug report so assumed it wasn't fixed I figured that I would fix it and posted a bug upstream with a patch here:  Only, that project is a fork of p7zip, not the actual upstream :(

Anyway, if anybody cares, here's a patch for 9.13.  Maybe we can get the administrator to modify robots.txt to be a little more search engine friendly, without too much of a burden on the site.
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2013-04-30 06:39:23 UTC
*** Bug 467880 has been marked as a duplicate of this bug. ***