make P_SHAREDLIB=1 opt make[1]: Entering directory `/var/tmp/portage/net-libs/opal-2.2.8/work/opal-2.2.8' g++ -D_REENTRANT -Wall -DP_64BIT -fPIC -DPIC -DPTRACING -I/var/tmp/portage/net-libs/opal-2.2.8/work/opal-2.2.8/include -DPTRACING -c /var/tmp/portage/net-libs/opal-2.2.8/work/opal-2.2.8/src/sip/sipep.cxx -o /var/tmp/portage/net-libs/opal-2.2.8/work/opal-2.2.8/lib/obj_linux_x86_64_r/sipep.o /usr/include/ptlib/critsec.h: In member function 'SIPAuthentication& SIPAuthentication::operator=(const SIPAuthentication&)': /usr/include/ptlib/critsec.h:234: error: 'PAtomicInteger& PAtomicInteger::operator=(const PAtomicInteger&)' is private /var/tmp/portage/net-libs/opal-2.2.8/work/opal-2.2.8/include/sip/sippdu.h:458: error: within this context /var/tmp/portage/net-libs/opal-2.2.8/work/opal-2.2.8/src/sip/sipep.cxx: In member function 'BOOL SIPEndPoint::GetAuthentication(const PString&, SIPAuthentication&)': /var/tmp/portage/net-libs/opal-2.2.8/work/opal-2.2.8/src/sip/sipep.cxx:1995: note: synthesized method 'SIPAuthentication& SIPAuthentication::operator=(const SIPAuthentication&)' first required here make[1]: *** [/var/tmp/portage/net-libs/opal-2.2.8/work/opal-2.2.8/lib/obj_linux_x86_64_r/sipep.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-libs/opal-2.2.8/work/opal-2.2.8' make: *** [optshared] Error 2 Portage 2.1.3_rc6 (default-linux/amd64/2006.1/desktop, gcc-4.2.0, glibc-2.6-r0, 2.6.21.3 x86_64) ================================================================= System uname: 2.6.21.3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ Gentoo Base System release 1.12.10 Timestamp of tree: Sat, 07 Jul 2007 16:00:11 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r7 sys-apps/sandbox: 1.2.20_alpha2 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.15.92.0.2-r10, 2.16-r1, 2.16.1, 2.16.1-r3, 2.16.90.0.3, 2.16.91.0.1, 2.16.91.0.2, 2.16.91.0.3, 2.16.91.0.4, 2.16.91.0.5, 2.16.91.0.6, 2.16.91.0.7, 2.16.92, 2.16.93, 2.16.94, 2.17, 2.17.50.0.2, 2.17.50.0.3, 2.17.50.0.4, 2.17.50.0.5, 2.17.50.0.6, 2.17.50.0.7, 2.17.50.0.8, 2.17.50.0.9, 2.17.50.0.10, 2.17.50.0.11, 2.17.50.0.12, 2.17.50.0.13, 2.17.50.0.14, 2.17.50.0.15, 2.17.50.0.16, 2.17.50.0.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -pipe -g -Wimplicit-function-declaration" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=k8 -pipe -g" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests buildsyspkg ccache cvs distlocks metadata-transfer noinfo parallel-fetch sandbox sfperms sign splitdebug unmerge-orphans" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" INSTALL_MASK="/usr/share/applications /usr/kde/*/share/applications" LANG="en_US" LDFLAGS="-Wl,-O1 -Wl,-z,relro" LINGUAS="en en_GB de es cs" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/src/gentoo/overlays/vapier/enlightenment" SYNC="rsync://gentoo/gentoo-portage" USE="X a52 aac aalib acl adns aio alsa amd64 apache2 asf audiofile berkdb bitmap-fonts bzip2 cairo cddb cdparanoia cdr cli cracklib crypt cups curl dba directfb divx4linux dri dts dvb dvd dvdr dvdread emboss encode exif fbcon ffmpeg firefox flac flash ftp gd gif glitz glut gphoto2 gpm gtk gtk2 iconv imap imlib ipv6 isdnlog ivtv jbig joystick jpeg jpeg2k libcaca libedit libg++ lzo lzw mad maildir matroska midi mikmod mime mng modplug mp3 mpeg mplayer mudflap multislot musepack mysql ncurses nls nptl nptlonly nsplugin nvidia offensive ogg oggvorbis openal opengl openmp pcre pdf perl pic png ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session sndfile spell spl ssl subtitles svg tcl tcltk tcpd tga theora threads tiff tk truetype truetype-fonts type1-fonts vcd vorbis wma wmf xanim xcomposite xine xinerama xml xml2 xorg xpm xrandr xv xvid xvmc zip 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 mulaw multi null plug rate route share shm softvol" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="mouse keyboard joystick void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB de es cs" USERLAND="GNU" VIDEO_CARDS="nvidia nv ati r128 radeon vga sisusb" Unset: CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Here's an upstream bug report: http://bugzilla.gnome.org/show_bug.cgi?id=443482 I can't explain why, but I found that if I compile dev-libs/pwlib-1.10.7 with gcc-4.2, the compilation of opal will always fail. If I compile pwlib with gcc-4.1, then opal will compile fine with either gcc-4.1 or gcc-4.2.
The reason is improved C++ privacy checking. Auto-generated assignment operators now check if they have visibility for assignment operators of member objects. This means that because this code in sippdu.h is not included (PWLIB_MINOR is only 10): #if PWLIB_MAJOR >= 1 && PWLIB_MINOR >= 11 SIPAuthentication & operator =(const SIPAuthentication & auth) { isProxy = auth.isProxy; authRealm = auth.authRealm; username = auth.username; password = auth.password; nonce = auth.nonce; algorithm = auth.algorithm; opaque = auth.opaque; qopAuth = auth.qopAuth; qopAuthInt = auth.qopAuthInt; cnonce = auth.cnonce; nonceCount.SetValue(auth.nonceCount); return *this; } #endif that the compiler generates its own assignment operator, which fails on this member: mutable PAtomicInteger nonceCount; because PAtomicInteger has a private assignment operator.
*** Bug 187006 has been marked as a duplicate of this bug. ***
*** Bug 187807 has been marked as a duplicate of this bug. ***
*** Bug 188213 has been marked as a duplicate of this bug. ***
*** Bug 188219 has been marked as a duplicate of this bug. ***
*** Bug 188819 has been marked as a duplicate of this bug. ***
Created attachment 128391 [details, diff] pwlib-1.10.7-gcc42-atomic.diff Patch taken from openSUSE, after applying it to pwlib, opal builds fine here. Would be great if the corresponding maintainers could add it to our package
Confirmed the above dev-libs/pwlib patch works for me w/ net-libs/opal-2.2.8 (new install)
Created attachment 131941 [details] Error log
Sorry to inform - the above dev-libs/pwlib patch didn't work for me. An error log is attached https://bugs.gentoo.org/attachment.cgi?id=131941&action=edit . emerge --info Portage 2.1.3.9 (default-linux/x86/2007.0/desktop, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-gentoo-r7 i686) ================================================================= System uname: 2.6.22-gentoo-r7 i686 Intel(R) Celeron(R) CPU 2.13GHz Timestamp of tree: Tue, 25 Sep 2007 14:30:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.5.1-r2 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0_rc4-r1 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18 sys-devel/gcc-config: 1.4.0-r2 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=native -mtune=native" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O3 -march=native -mtune=native" DISTDIR="/usr/portage/distfiles" FEATURES="candy ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="ru_RU.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1 -Wl,--sort-common" LINGUAS="ru en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/enlightenment /usr/portage/local/layman/science /usr/portage/local/layman/sunrise /usr/portage/local/layman/xeffects /usr/portage/local/layman/vmware /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d a52 aac aalib acl acpi akode alsa amrnb amrwb bash-completion berkdb bidi bitmap-fonts bl branding cairo cddb cdparanoia cdr cli cracklib crypt css cups dbus dga djvu dri dts dv dvd dvdnav dvdr dvdread dxr3 eds emboss enca encode esd evo fam fbcon ffmpeg firefox flac fortran ftp fuse gdbm ggi gif gimp glitz gpm gstreamer gtk hal iconv icq jabber java jingle jpeg kde kdehiddenvisibility libcaca live lzo mad md5sum midi mikmod mmx mmxext mng mp2 mp3 mpeg mplayer mudflap musepack nas ncurses newspr nls nptl nptlonly nsplugin ogg openal openexr opengl openmp oss pam pcre pdf perl pertty plugin plugins png pnm pppd pwdb python qt-copy qt3 qt3support qt4 quicktime radio rar readline real reflection rtc samba sasl sdl session slang speex spell spl srt sse sse2 ssl svg symlink tcpd tga theora threads tiff tivo truetype truetype-fonts type1-fonts ucs2 unicode vorbis win32codecs x86 xanim xattr xcb xcomposite xine xml xorg xpm xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Thank You So Much. This patch works great. I made an ebuild with the patch in my local overlay for pwlib. Ekiga hasn't worked in weeks because of the pwlib problem, but know it works great. Thank For Your Time
Is this bug ever remotely relevant w/ 2.2.11?
Please get back to us; this version no longer exists.