Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271048 - net-libs/opal-3.6.2 fails to compile with ptlib-2.6.2
Summary: net-libs/opal-3.6.2 fails to compile with ptlib-2.6.2
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-24 11:55 UTC by Juergen Rose
Modified: 2009-07-30 07:43 UTC (History)
6 users (show)

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


Attachments
/var/tmp/portage/net-libs/opal-3.6.2/work/opal-3.6.2/config.log (config.log,21.47 KB, text/plain)
2009-05-24 11:59 UTC, Juergen Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2009-05-24 11:55:56 UTC
'emerge -vDu opal' fails with:
...
checking for PTLIB... yes
Version:  2.6.2
CFLAGS:   -DP_64BIT=1 -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -fno-exceptions -I/usr/kerberos/include -I/usr/include/SDL  
CXXFLAGS: -felide-constructors -Wreorder
DEBUG:    -lpt_d -lsasl2 -lssl -lcrypto -lexpat -lSDL -lpthread -lodbc -ldl  
RELEASE:  -lpt -lsasl2 -lssl -lcrypto -lexpat -lSDL -lpthread -lodbc -ldl  
checking ptlib version... 2.6.2
configure: error: Could not find a linkable ptlib in specified environment to verify symbols (debug ptlib: no)

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-libs/opal-3.6.2/work/opal-3.6.2/config.log
 * 
 * ERROR: net-libs/opal-3.6.2 failed.


Reproducible: Always




root@condor:/root(46)# emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.29-gentoo x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-gentoo-2.0.0
Timestamp of tree: Sun, 24 May 2009 11:30:16 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.8
dev-lang/python:     2.5.4-r2, 2.6.2
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
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/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
FFLAGS="-march=nocona -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="C"
LDFLAGS="-Wl,-O1"
LINGUAS="de fr"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages/"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/zugaina /usr/local/portage/layman/dotnet /usr/local/portage/layman/science /usr/local/portage/layman/lordvan /usr/local/portage/layman/java-overlay /usr/local/portage/layman/jokey /usr/local/portage/layman/perl-experimental /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi administrator afs aiglx alsa amd64 amrr ao aotuv apache2 asf atlas auctex audacious audiofile automount bash-completion beagle berkdb bjam blas bluetooth bonobo boo boost branding bzip2 c++ cairo cdda cddb cdf cdio cdparanoia cdr cgi chm cli consolekit corba cracklib cran crypt cups curl cxx daap dbus device-mapper dga dia divx djvu dlloader dmi doc dri ds3490 dv dvb dvd dvdr dvdread dvi dxr3 dynagraph eds effects elf emacs emboss encode epiphany esd evo examples exif expat extra fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortran fpx galago gd gdal gdbm geos gif gimp gimpprint ginac glade glib glitz gml gmp gnokii gnome gnome-keyring gnuplot gnutls gphoto2 gpm graphics graphviz gs gsl gsm gstreamer gtk guile hal hardened harness hddtemp hdf hdf5 hlapi http hvm iconv icq icu id3 ide imagemagick imap innodb ipod ipv6 irda irmc isdnlog ithreads jabber java java5 java6 jbig john jpeg jpeg2k kde kde4 kdeprefix kerberos kexi keyring kvm ladspa lame lapack latex lcms ldap libffi libgda libnotify libsamplerate lirc lm_sensors lua lzo lzw mad maildir mailwrapper math matroska midi mikmod mmx mmxext mng mod mono motif mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mplayer mtp mudflap multilib musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs numarray numeric nvidia obex ocaml octave odbc ogdi ogg ole opengl openmp pae pam pcre pda pdf perl pipechan plotutils plugins png podcast policykit posix postgres postscript ppds pppd preview-latex proj projectx pstricks python qhull qt3 qt3support qt4 quicktime readline reflection reiserfs rhythmbox rle rpc rrdcgi rrdtool samba sasl science sdl session slang slp smp sndfile snmp soup sox speex spell spl sqlite sse sse2 ssl startup-notification stlport subtitles subversion suexec svg sysfs szip t1lib tcl tcpd tex theora threads thunderbird tidy tiff tk truetype unicode usb userlocales utempter v4l2 vorbis wav webkit wmf wxwindows xattr xcb xemacs xext xine xml xmlreader xmlrpc xorg xpm xulrunner xv xvid xvmc zlib zvbi" ALSA_CARDS="intel8x0" 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" DVB_CARDS="cx8800 cx88xx tda1004x saa713" ELIBC="glibc" INPUT_DEVICES="keyboard mouse                " KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" NETBEANS_MODULES="ide websvccommon nb harness apisupport groovy gsf j2ee java xml" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Juergen Rose 2009-05-24 11:59:40 UTC
Created attachment 192291 [details]
/var/tmp/portage/net-libs/opal-3.6.2/work/opal-3.6.2/config.log
Comment 2 Juergen Rose 2009-05-24 12:09:21 UTC
opal-3.6.2 is needed by ekiga-3.2.4 from the zugaina overlay.
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2009-05-25 14:59:09 UTC
layman -i zugaina
* zugaina
* ~~~~~~~
* Source  : rsync://gentoo.zugaina.org/zugaina-portage
* Contact : ycarus@zugaina.org
* Type    : Rsync; Priority: 50
* 
* Description:
*   collection of ebuilds by ycarus
* 
* Link:
* 
*   http://gentoo.zugaina.org/
* 
* *** This is no official gentoo overlay ***
* 

Please contact the overlay maintainer.
Comment 4 Graham Murray 2009-07-03 19:03:20 UTC
I am seeing the same problem with the in-tree ~x86 libpt-2.6.2 and opal-3.6.2 (pulled in as dependency of ekiga upgrade)
Comment 5 Matt Jorde 2009-07-04 08:43:57 UTC
I am also having this issue with the opal 3.6.2 on ~x86.
Comment 6 Colin Macdonald 2009-07-07 17:05:28 UTC
please reopen, I'm also seeing this with the new in-tree ebuilds.
Comment 7 Oliver Maurhart 2009-07-30 07:42:11 UTC
Same here! Portage-Tree. Gnome --> Ekiga --> ptlib.

:(

But after examining the config.log of opal a bit a found these lines:

configure:5580: i686-pc-linux-gnu-g++ -o conftest  -Wall -Wextra -Winit-self -Wstrict-aliasing=2 -Wfloat-equal -Wno-comment -Wno-missing-field-initializers -Wno-unused -fPIC -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -fno-exceptions -I/usr/include/SDL   -felide-constructors -Wreorder -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -fno-exceptions -I/usr/include/SDL   -felide-constructors -Wreorder   conftest.cpp  -lpt -lsasl2 -lldap -llber -lldap_r -lssl -lcrypto -lz -lexpat -lSDL -lpthread -lresolv -ldl   >&5
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../libpt.so: undefined reference to `PHTTPServer::StartResponse(PHTTP::StatusCode, PMIMEInfo&, long)'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../libpt.so: undefined reference to `PHTTPResource::Post(PHTTPRequest&, PStringToString const&, PHTML&)'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../libpt.so: undefined reference to `PHTTPResource::PHTTPResource(PURL const&, PHTTPAuthority const&)'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../libpt.so: undefined reference to `PHTTPResource::OnGETData(PHTTPServer&, PURL const&, PHTTPConnectionInfo const&, PHTTPRequest&)'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../libpt.so: undefined reference to `PHTTPResource::CheckAuthority(PHTTPServer&, PHTTPRequest const&, PHTTPConnectionInfo const&)'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../libpt.so: undefined reference to `PHTTPResource::OnLoadedText(PHTTPRequest&, PString&)'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../libpt.so: undefined reference to `PHTTPResource::OnGET(PHTTPServer&, PURL const&, PMIMEInfo const&, PHTTPConnectionInfo const&)'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../libpt.so: undefined reference to `typeinfo for PHTTPResource'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../libpt.so: undefined reference to `PHTTPResource::CreateRequest(PURL const&, PMIMEInfo const&, PArray<PMultipartFormInfo> const&, PHTTPServer&)'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../libpt.so: undefined reference to `PHTTPResource::OnPOST(PHTTPServer&, PURL const&, PMIMEInfo const&, PStringToString const&, PHTTPConnectionInfo const&)'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../libpt.so: undefined reference to `PHTTPResource::GetExpirationDate(PTime&)'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../libpt.so: undefined reference to `PHTTPResource::LoadData(PHTTPRequest&, PCharArray&)'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../libpt.so: undefined reference to `PHTTPResource::PHTTPResource(PURL const&)'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../libpt.so: undefined reference to `PHTTPResource::OnGETOrHEAD(PHTTPServer&, PURL const&, PMIMEInfo const&, PHTTPConnectionInfo const&, bool)'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../libpt.so: undefined reference to `PHTTPResource::SendData(PHTTPRequest&)'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../libpt.so: undefined reference to `PHTTPResource::~PHTTPResource()'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../libpt.so: undefined reference to `PHTTPResource::OnHEAD(PHTTPServer&, PURL const&, PMIMEInfo const&, PHTTPConnectionInfo const&)'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../libpt.so: undefined reference to `PHTTPResource::IsModifiedSince(PTime const&)'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../libpt.so: undefined reference to `PHTTPResource::LoadText(PHTTPRequest&)'
collect2: ld returned 1 exit status

So ... it's a bug in ptlib, since it does compile right, but misses to install all things needed. This should AFAIC break ALL packages depending on ptlib.

Right after some experiments and tweaks I got over this opal issue by remerging ptlib with these additional USE: "config-file http-forms http-server"

Therefore I suggest to try:

# echo "net-libs/ptlib config-file http-forms http-server" >> /etc/portage/package.use
# emerge -1 -avuDN ptlib

This should fix the opal issue.