Summary: | net-libs/opal-2.2.8 fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | SpanKY <vapier> |
Component: | Current packages | Assignee: | voip herd (OBSOLETE) <voip+disabled> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | curtlee2002, esigra, fuzzyray, gentoobugs, ladanyi, ryan, tarja-vdv, tim.heinrich, tjzero, vytautas, zlynx |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://bugzilla.gnome.org/show_bug.cgi?id=443482 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 162167 | ||
Attachments: |
pwlib-1.10.7-gcc42-atomic.diff
Error log |
Description
SpanKY
2007-07-07 21:34:52 UTC
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. |