Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 327731 - net-libs/opal-3.6.7 compile failure: could not find a linkable ptlib
Summary: net-libs/opal-3.6.7 compile failure: could not find a linkable ptlib
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mounir Lamouri (volkmar) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-10 22:52 UTC by renato gallo
Modified: 2010-10-28 00:07 UTC (History)
4 users (show)

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


Attachments
config.log for opal-3.6.8 (config.log,24.12 KB, text/plain)
2010-08-20 20:22 UTC, Alexandre Rostovtsev (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description renato gallo 2010-07-10 22:52:50 UTC
+++ This bug was initially created as a clone of Bug #277385 +++

This is a dup of bug #271048 but now ekiga, opal and ptlib are in the main tree instead of an overlay.  But #271048 is closed, I thought a new bug might be needed for this issue to be noticed.


 * opal-3.6.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                        [ ok ]
 * checking ebuild checksums ;-) ...                                                         [ ok ]
 * checking auxfile checksums ;-) ...                                                        [ ok ]
 * checking miscfile checksums ;-) ...                                                       [ ok ]
 * Using: sun-jdk-1.6
>>> Unpacking source...
>>> Unpacking opal-3.6.2.tar.bz2 to /var/tmp/portage/net-libs/opal-3.6.2/work
>>> Source unpacked in /var/tmp/portage/net-libs/opal-3.6.2/work
>>> Preparing source in /var/tmp/portage/net-libs/opal-3.6.2/work/opal-3.6.2 ...
 * Applying opal-3.6.2-as-needed.patch ...                                                    [ ok ]
 * Applying opal-3.6.2-system-ilbc.patch ...                                                  [ ok ]
 * Applying opal-3.6.2-sbc.patch ...                                                          [ ok ]
 * Applying opal-3.6.2-jdkroot.patch ...                                                      [ ok ]
 * Applying opal-3.6.2-gcc-4.4.patch ...                                                      [ ok ]
 * Running aclocal ...                                                                        [ ok ]
 * Running autoconf ...                                                                       [ ok ]
 * Running aclocal ...                                                                        [ ok ]
 * Running autoconf ...                                                                       [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-libs/opal-3.6.2/work/opal-3.6.2 ...
 * econf: updating opal-3.6.2/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating opal-3.6.2/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-versioncheck --enable-shared --disable-zrtp --disable-localspeex --disable-localspeexdsp --disable-localgsm --disable-localilbc --disable-samples --disable-libavcodec-stackalign-hack --enable-default-to-full-capabilties --enable-aec --disable-msrp --disable-spandsp --enable-g711plc --enable-rfc4103 --disable-debug --disable-capi --disable-fax --disable-t38 --enable-ffmpeg-h263 --enable-h224 --enable-h281 --enable-h323 --enable-h450 --enable-h460 --enable-h501 --disable-iax --disable-ivr --disable-ixj --enable-java --disable-lid --enable-plugins --enable-rfc4175 --enable-sbc --enable-sip --enable-sipim --enable-statistics --enable-video --disable-vpb --enable-h264 --disable-x264-link-static
checking for i686-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether i686-pc-linux-gnu-g++ accepts -g... yes
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
configure: gcc version is 4.3.3
checking if gcc version is valid... yes
checking for working bit scan intrinsic... yes
configure: Opal version is 3.6.2
checking where plugins are being installed... /usr/lib/opal-3.6.2
checking wether to build a shared library... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking Debugging support... no
checking for PTLIB... yes
Version:  2.6.2
CFLAGS:   -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -fno-exceptions -I/usr/include/SDL  
CXXFLAGS: -felide-constructors -Wreorder
DEBUG:    -lpt_d -lsasl2 -lssl -lcrypto -lz -lexpat -lSDL -lpthread -lresolv -ldl  
RELEASE:  -lpt -lsasl2 -lssl -lcrypto -lz -lexpat -lSDL -lpthread -lresolv -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.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_configure
 *             environment, line 4464:  Called econf '--enable-versioncheck' '--enable-shared' '--disable-zrtp' '--disable-localspeex' '--disable-localspeexdsp' '--disable-localgsm' '--disable-localilbc' '--disable-samples' '--disable-libavcodec-stackalign-hack' '--enable-default-to-full-capabilties' '--enable-aec' '--disable-msrp' '--disable-spandsp' '--enable-g711plc' '--enable-rfc4103' '--disable-debug' '--disable-capi' '--disable-fax' '--disable-t38' '--enable-ffmpeg-h263' '--enable-h224' '--enable-h281' '--enable-h323' '--enable-h450' '--enable-h460' '--enable-h501' '--disable-iax' '--disable-ivr' '--disable-ixj' '--enable-java' '--disable-lid' '--enable-plugins' '--enable-rfc4175' '--enable-sbc' '--enable-sip' '--enable-sipim' '--enable-statistics' '--enable-video' '--disable-vpb' '--enable-h264' '--disable-x264-link-static'
 *               ebuild.sh, line  534:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 *  The die message:
 *   econf failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/net-libs:opal-3.6.2:20090711-013035.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/opal-3.6.2/temp/environment'.
 * 
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.14"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info

>>> Failed to emerge net-libs/opal-3.6.2, Log file:

>>>  '/var/log/portage/net-libs:opal-3.6.2:20090711-013035.log'
Comment 1 renato gallo 2010-07-10 22:53:27 UTC
opal-3.6.7
tried even to make an ebuild for opal-3.6.8

same bug again and whatever:

 emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.31.6 x86_64)
=================================================================
System uname: Linux-2.6.31.6-x86_64-AMD_Phenom-tm-_9950_Quad-Core_Processor-with-gentoo-2.0.1
Timestamp of tree: Fri, 09 Jul 2010 11:30:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.10
dev-lang/python:     2.5.4-r2, 2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.8.0-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     9999
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc:       4.3.3-r2, 4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /usr/share/X11/xkb /usr/share/config /var/bind /var/spool/torque"
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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="it_IT.utf@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="it en no nb"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib abyss accessibility acl ads alsa amd64 amr apache2 applet archive artworkextra async asyncns authdaemond authfile autoipd automount autotrace avahi ban bash-completion beagle berkdb bluetooth bookmarks branding bugzilla bzip2 cairo capi caps case cdda cdr celt cgi cifsupcall cisco cjk clamav clamdtop cleartype cli connection-sharing consolekit contrast cpusets cracklib crypt ctype cups curl cvs cxx dbus deflate deskbar device-mapper dga dhclient dhcpcd dirac directfb diskio djvu dlz dmx dns dri dtmf dvb dvd dvdr dvi elf elisp emacs emacs22icons emf encode esd examples exchange exif expat extensible extensions extras faac faad fam fax fbcon fbcondecor ffmpeg fftw filter flac fontconfig fontforge fortran fpx ftp fuse fusion galago gcdmaster gd gdbm gdu ggi gif gimp glitz gnome gnome-keyring gnomecd gpg gphoto2 gpm graphviz gs gsf gsm gstreamer gtk guile gzip-el h224 h281 h323 hal hdri hesiod heterogeneous howl-compat http http-forms http-server iax iconv icu idn ieee1394 ifsession imagemagick imap imlib ipv6 ivr ixj java jbig jpeg jpeg2k json kdrive kerberos krb5 lame lasi lcms ldap ldirectord lensfun libcaca libnotify libsamplerate lid lilo lirc lm_sensors lqr lzo mad maildir management mdnsresponder-compat mfd-rewrites mhash milter ming mmap mmx mng modules mono moonlight motif mozsha1 mp3 mpeg mpi mudflap multilib mysql mysqli mythtv nas nat nautilus ncurses net network networking networkmanager nls nntp nptl nptlonly nsplugin nss odbc ogg old-daemons openexr opengl openmp openntpd openssl opensslcrypt oss overlays pam parse-clocks pbs pccts pcre pdf perl php pic pipechan pkcs11 plotutils png policykit poll posix ppds pppd pst pulseaudio python python3 q32 q8 qt3support qt4 quotas radius rar raw readline reflection resolvconf rewrite rle romio rpm rrdcgi ruby samba sample sasl sbc schroedinger sdb-ldap sdl secure-delete semantic-desktop sendmail sensord server session shaper sip sipim sitemisc slang slp smp smux snmp sockets socks5 softquota sound speex spell spl sql sqlite srtp sse sse2 ssl startup-notification stats subversion svg swat swig sysfs syslog t1lib taglib tcl tcpd test-programs theora threads tiff timezone tk toolbar toolkit-scroll-bars tools tracker truetype tslib unicode unrar urandom usb utils v4l v4l2 vcd vda vdpau vhook vhosts vim-syntax vorbis vpb vroot vt vxml wav wavpack webdav webkit winbind wmf wxwidgets x264 xcb xemacs xen xft xine xinerama xinetd xml xmlreader xmlrpc xmlwriter xmp xorg xpm xscreensaver xsl xv xvid xvmc zeroconf zlib zsh-completion" 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 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" APACHE2_MPMS="event" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse acecad aiptek elographics fpit hyperpen joystick mutouch penmount synaptics tslib virtualbox vmmouse void " KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en no nb" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="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"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2010-08-20 20:20:27 UTC
I am getting this error with the opal-3.6.8 ebuild from the tree.

configure: Opal version is 3.6.8
checking where plugins are being installed... /usr/lib64/opal-3.6.8
checking wether to build a shared library... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking Debugging support... no
checking for PTLIB... yes
Version:  2.6.7
CFLAGS:   -DP_64BIT=1 -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -fno-exceptions -I/usr/include/SDL  
CXXFLAGS: -felide-constructors -Wreorder
DEBUG:    -lpt_d -lrt -lldap -llber -lldap_r -lssl -lcrypto -lgmp -lz -lexpat -lSDL -lpthread -lodbc -lresolv -ldl  
RELEASE:  -lpt -lrt -lldap -llber -lldap_r -lssl -lcrypto -lgmp -lz -lexpat -lSDL -lpthread -lodbc -lresolv -ldl  
checking ptlib version... 2.6.7
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.8/work/opal-3.6.8/config.log
 * ERROR: net-libs/opal-3.6.8 failed:
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2010-08-20 20:22:39 UTC
Created attachment 243755 [details]
config.log for opal-3.6.8
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2010-09-02 16:17:41 UTC
This seems to be caused by missing dtmf symbols in ptlib:
# ldd -r /usr/lib/libpt.so
	linux-vdso.so.1 =>  (0x00007fff871d8000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x00007f02dcc5c000)
[...]
	libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007f02d6936000)
	libattr.so.1 => /lib/libattr.so.1 (0x00007f02d6730000)
undefined symbol: _ZN6PTonesC1Ej	(/usr/lib/libpt.so)
undefined symbol: _ZN6PTones8GenerateERK7PString	(/usr/lib/libpt.so)

After re-emerging ptlib-2.6.7 with USE="dtmf", I could successfully emerge opal-3.6.7 and ekiga-3.2.7

My complete USE flags for ptlib-2.6.7 were "alsa asn audio doc dtmf ffmpeg http ieee1394 ipv6 jabber ldap odbc oss qos sdl socks ssl stun v4l v4l2 video vxml wav xml -debug -esd -examples -ftp -mail -pch -remote -sasl -serial -shmvideo -snmp -soap -telnet -tts -xmlrpc"
My complete USE flags for opal-3.6.8 were "audio doc ffmpeg h323 iax ipv6 java ldap plugins sbc sip sipim srtp ssl theora video vxml wav x264 xml -capi -celt -debug -dtmf -examples -fax -h224 -h281 -ivr -ixj -lid -stats -swig -vpb -x264-static"
Comment 5 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2010-10-28 00:07:35 UTC
This should be fixed with ptlib-2.6.7-r1.

Thank you for reporting :)