Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 465324 - dev-libs/zthread-2.3.2-r1 - ../include/zthread/Guard.h:431:5: error: 'extract' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
Summary: dev-libs/zthread-2.3.2-r1 - ../include/zthread/Guard.h:431:5: error: 'extract...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 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:
Depends on:
Blocks:
 
Reported: 2013-04-10 02:49 UTC by jms
Modified: 2019-04-18 13:00 UTC (History)
2 users (show)

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


Attachments
build log (dev-libs:zthread-2.3.2-r1:20130409-231420.log,16.60 KB, text/plain)
2013-04-10 02:50 UTC, jms
Details
environment (environment,103.63 KB, text/plain)
2013-04-10 02:51 UTC, jms
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jms 2013-04-10 02:49:07 UTC
zthread-2.3.2-r1 fail to compile


Reproducible: Always

Actual Results:  
mv -f .deps/AtomicCount.Tpo .deps/AtomicCount.Plo
/bin/sh ../libtool --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../include   -march=native -O2 -pipe -Wall -DNDEBUG  -march=native -O2 -pipe -Wall -DNDEBUG -MT FastMutex.lo -MD -MP -MF .deps/FastMutex.Tpo -c -o FastMutex.lo FastMutex.cxx
mv -f .deps/ConcurrentExecutor.Tpo .deps/ConcurrentExecutor.Plo
/bin/sh ../libtool --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../include   -march=native -O2 -pipe -Wall -DNDEBUG  -march=native -O2 -pipe -Wall -DNDEBUG -MT FastRecursiveMutex.lo -MD -MP -MF .deps/FastRecursiveMutex.Tpo -c -o FastRecursiveMutex.lo FastRecursiveMutex.cxx
In file included from SemaphoreImpl.h:26:0,
                 from CountingSemaphore.cxx:24:
../include/zthread/Guard.h: In instantiation of 'ZThread::Guard<LockType, LockingPolicy>::Guard(ZThread::Guard<U, V>&) [with U = ZThread::FastLock; V = ZThread::LockedScope; LockType = ZThread::FastLock; LockingPolicy = ZThread::UnlockedScope]':
SemaphoreImpl.h:159:45:   required from 'void ZThread::SemaphoreImpl<List>::acquire() [with List = ZThread::fifo_list]'
CountingSemaphore.cxx:51:20:   required from here
../include/zthread/Guard.h:431:5: error: 'extract' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
../include/zthread/Guard.h:431:5: note: declarations in dependent base 'ZThread::LockHolder<ZThread::FastLock>' are not found by unqualified lookup
../include/zthread/Guard.h:431:5: note: use 'this->extract' instead
In file included from ConditionImpl.h:26:0,
                 from Condition.cxx:24:
../include/zthread/Guard.h: In instantiation of 'ZThread::Guard<LockType, LockingPolicy>::Guard(ZThread::Guard<U, V>&) [with U = ZThread::FastLock; V = ZThread::LockedScope; LockType = ZThread::FastLock; LockingPolicy = ZThread::UnlockedScope]':
ConditionImpl.h:235:45:   required from 'void ZThread::ConditionImpl<List>::wait() [with List = ZThread::fifo_list]'
Condition.cxx:52:17:   required from here
../include/zthread/Guard.h:431:5: error: 'extract' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
../include/zthread/Guard.h:431:5: note: declarations in dependent base 'ZThread::LockHolder<ZThread::FastLock>' are not found by unqualified lookup
../include/zthread/Guard.h:431:5: note: use 'this->extract' instead
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../include -march=native -O2 -pipe -Wall -DNDEBUG -march=native -O2 -pipe -Wall -DNDEBUG -MT FastMutex.lo -MD -MP -MF .deps/FastMutex.Tpo -c FastMutex.cxx  -fPIC -DPIC -o .libs/FastMutex.o
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../include -march=native -O2 -pipe -Wall -DNDEBUG -march=native -O2 -pipe -Wall -DNDEBUG -MT FastRecursiveMutex.lo -MD -MP -MF .deps/FastRecursiveMutex.Tpo -c FastRecursiveMutex.cxx  -fPIC -DPIC -o .libs/FastRecursiveMutex.o
make[3]: *** [CountingSemaphore.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [Condition.lo] Error 1
In file included from FastRecursiveLock.h:50:0,
                 from FastRecursiveMutex.cxx:24:
linux/FastRecursiveLock.h: In constructor 'ZThread::FastRecursiveLock::FastRecursiveLock()':
linux/FastRecursiveLock.h:49:74: warning: missing braces around initializer for 'char [4]' [-Wmissing-braces]
mv -f .deps/FastRecursiveMutex.Tpo .deps/FastRecursiveMutex.Plo
mv -f .deps/FastMutex.Tpo .deps/FastMutex.Plo
make[3]: Leaving directory `/var/tmp/portage/dev-libs/zthread-2.3.2-r1/work/ZThread-2.3.2/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-libs/zthread-2.3.2-r1/work/ZThread-2.3.2/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-libs/zthread-2.3.2-r1/work/ZThread-2.3.2/src'
make: *** [all-recursive] Error 1
emake failed
 * ERROR: dev-libs/zthread-2.3.2-r1 failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 2884:  Called die
 * The specific snippet of code:
 *       emake || die;
 * 



emerge --info zthread
Portage 2.1.11.60 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.2, glibc-2.15-r3, 3.8.5-gentoo-jms-3.8.5 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.8.5-gentoo-jms-3.8.5-x86_64-Intel-R-_Core-TM-_i5-3210M_CPU_@_2.50GHz-with-gentoo-2.1
KiB Mem:     8115148 total,    338004 free
KiB Swap:    8396796 total,   8396796 free
Timestamp of tree: Tue, 09 Apr 2013 13:15:01 +0000
ld GNU ld (GNU Binutils) 2.22
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/cmake:           2.8.10.2-r1
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.10.3, 1.11.6, 1.12.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            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
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
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/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/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="/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 ao avahi bash-completion berkdb bindist bluetooth branding bzip2 cairo cdaudio cdda cddb cdparanoia cdr cjk cli consolekit cracklib crypt css cups cxx dbus declarative dhcpcd dri dts dv dvb dvd dvdnav dvdr emboss encode evdev exif fam firefox flac fontconfig fortran gd gdbm gif gpm gtk gzip iconv icu imap ipv6 jpeg jpeg2k kde kipi laptop lcms ldap libav libnotify lzma lzo mad maildir matroska memlimit mhash mikmod mime mmap mmx mng mod modules motif mp3 mp4 mpeg mtp mudflap multilib mysql ncurse ncurses nls nptl ogg openal opengl openmp oss pam pango pcmcia pcre pdf phonon plasma png policykit ppds pulseaudio qt3support qt4 quicktime raw readline resolvconf scanner sdl semantic-desktop sematic-deskyop session smp spell sse sse2 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification svg syslog taglib tcpd theora thumbnail tidy tiff truetype udev udisks unicode upower usb utf8 v4l v4l2 vaapi vcd video vim-syntax vorbis wifi wxwidgets x x264 xcb xcomposit xcomposite xine xinerama xml xosd xpm xscreensaver xulrunner xv xvid xvmc zip zlib" ABI_X86="64 32" 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="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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB en es fr en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3 php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel vesa" 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"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 jms 2013-04-10 02:50:04 UTC
Created attachment 345050 [details]
build log
Comment 2 jms 2013-04-10 02:51:07 UTC
Created attachment 345052 [details]
environment
Comment 3 jms 2013-04-10 03:01:07 UTC
I can compile 
 dev-libs/zthread-2.3.2-r3
just fine

maybe it's time to bug 463040

https://bugs.gentoo.org/show_bug.cgi?id=463040
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-04-18 13:00:51 UTC
This is apparently patched.