Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277385 - net-libs/opal-3.6.2 compile failure: could not find a linkable ptlib
Summary: net-libs/opal-3.6.2 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: 2009-07-11 03:44 UTC by Colin Macdonald
Modified: 2010-08-22 11:14 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Colin Macdonald 2009-07-11 03:44:27 UTC
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 Rafał Mużyło 2009-07-11 04:54:51 UTC
Looking at the other bug, as it has the config.log attached
(as opposed to this one), I'd say the problem lies in
ptlib, not opal.
But it's build system seems to be of Frankenstein type.
Comment 2 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-07-11 14:04:20 UTC
Can you copy USE flags used for ptlib and opal ?
Comment 3 Christian HOFFMANN 2009-07-11 17:50:22 UTC
I was laso stopped by this message today. My workaround was to add use flag to ptlib.

My use flags are:
[ebuild   R   ] net-libs/ptlib-2.6.2  USE="alsa asn audio config-file dns dtmf ffmpeg ftp http http-forms http-server ipv6 jabber mail pch pipechan qos remote shmvideo soap ssl stun url v4l v4l2 video video-file vxml wav xml xmlrpc -debug -doc -esd -examples -ieee1394 -ldap -odbc -oss -sasl -sdl -serial -snmp -socks -telnet -tts" 0 kB
[ebuild   R   ] net-libs/opal-3.6.2  USE="audio dns dtmf ffmpeg h224 h281 h323 iax ipv6 ivr plugins rfc4175 sbc sip sipim srtp ssl theora video vxml wav x264 xml -capi -debug -doc -examples -fax -ixj -java -ldap -lid -stats -swig -vpb -x264-static" 0 kB
Comment 4 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-07-11 18:10:40 UTC
(In reply to comment #3)
> I was laso stopped by this message today. My workaround was to add use flag to
> ptlib.

Which ones did you add ?
Comment 5 Colin Macdonald 2009-07-12 01:25:42 UTC
Mine are:

[ebuild   R   ] net-libs/ptlib-2.6.2  USE="alsa asn audio config-file dns dtmf esd ffmpeg http jabber pipechan qos sasl sdl serial shmvideo snmp soap socks ssl stun url v4l v4l2 video vxml wav xml xmlrpc -debug -doc -examples -ftp -http-forms -http-server -ieee1394 -ipv6 -ldap -mail -odbc -oss -pch -remote -telnet -tts -video-file" 0 kB [0]

[ebuild     U ] net-libs/opal-3.6.2 [3.4.2] USE="audio%* dns%* dtmf%* ffmpeg%* h224%* h281%* h323%* java plugins%* rfc4175%* sbc%* sip%* sipim%* ssl%* stats%* theora%* video%* vxml%* wav%* x264%* xml%* -capi% -debug -doc -examples% -fax% -iax% -ipv6% -ivr% -ixj% -ldap% -lid% -srtp% -swig% -vpb% -x264-static%" 0 kB [1=>0]

[ebuild     U ] net-voip/ekiga-3.2.4 [3.0.1] USE="avahi dbus gconf gnome gstreamer%* h323%* libnotify mmx%* nls%* shm%* sip%* v4l%* xcap%* xv -debug -doc -eds -kde% -kontact% -ldap -static%" LINGUAS="-am% -ar% -as% -az% -be% -bg% -bn% -bn_IN% -bs% -ca% -crh% -cs% -cy% -da% -de% -dz% -el% -en_CA% -en_GB% -eo% -es% -et% -eu% -fa% -fi% -fr% -ga% -gl% -gu% -he% -hi% -hr% -hu% -id% -is% -it% -ja% -ka% -kn% -ko% -ku% -lt% -lv% -mai% -mk% -ml% -mn% -mr% -ms% -nb% -ne% -nl% -nn% -oc% -or% -pa% -pl% -pt% -pt_BR% -ro% -ru% -rw% -si% -sk% -sl% -sq% -sr% -sr@latin% -sv% -ta% -te% -th% -tr% -uk% -vi% -wa% -xh% -zh_CN% -zh_HK% -zh_TW%" 11 kB [1=>0]
Comment 6 Cedric Godin 2009-07-12 12:58:54 UTC
after looking in config.log file, I did a ldd -r /usr/lib/libpt.so and had a lot of undefined symbols. looking at them, I saw a lot of HTTP and ASN ref. so I added all the http* and asn use flag and now opal can emerge. Hope this helps
Comment 7 Colin Macdonald 2009-07-13 05:24:56 UTC
Indeed, enabling http-forms and http-server in ptlib fixes it for me.
Comment 8 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-07-13 15:14:50 UTC
xmlrpc USE flags actually needs http-server and http-forms USE flags in addition of http USE flag.

I've open a bug upstream [1] and the check has been updated in the ebuild.
It will not really 'fix' the bug but the precess will die if your configuration is not safe. If you think it's not a good way to manage it, please yell in bug 276475.

[1] https://sourceforge.net/tracker/?func=detail&aid=2820814&group_id=204472&atid=989748

Thanks for your reports.
Comment 9 Jan Bessai 2010-08-22 11:14:53 UTC
This bug appears again with net-libs/ptlib-2.6.7