Ekiga src_configure fails when ptlib was built without 'xml' use flag. Ekiga configures but compile fails when opal was built without 'xml' use flag. Building ptlib and opal with xml use flag fixes the problem. Reproducible: Always Steps to Reproduce: 1. have ebuild dependencies met but net-libs/ptlib and/or net-libs/opal built withouth xml 2. try to build ekiga Actual Results: >>> Starting src_configure econf: updating /var/tmp/paludis/net-voip-ekiga-3.9.90/work/ekiga-3.9.90/config.guess with /usr/share/gnuconfig/config.guess econf: updating /var/tmp/paludis/net-voip-ekiga-3.9.90/work/ekiga-3.9.90/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --libdir=/usr/lib64 --disable-dependency-tracking --disable-maintainer-mode --enable-libtool-lock --enable-avahi --disable-dbus --disable-dbus_service --disable-gtk-debug --disable-opal-debug --disable-gdu --disable-eds --disable-gconf --disable-schemas-install --disable-gstreamer --disable-h323 --enable-kde --enable-kab --disable-ldap --disable-notify --enable-mmx --disable-nls --disable-shm --disable-static-libs --disable-xcap --disable-xv --disable-maintainer-mode --disable-scrollkeeper --disable-silent-rules --disable-schemas-install --build=x86_64-pc-linux-gnu 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 for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking how to create a ustar tar archive... gnutar checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports nested variables... yes checking for x86_64-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 how to print strings... printf checking for style of include used by make... GNU checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1920000 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking dependency style of x86_64-pc-linux-gnu-g++... none checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... no checking for x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for x86_64-pc-linux-gnu-gcc option to accept ISO C99... unsupported checking whether we are using the GNU C++ compiler... (cached) yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... (cached) yes checking dependency style of x86_64-pc-linux-gnu-g++... (cached) none checking for library containing strerror... none required checking for ANSI C header files... (cached) yes checking whether OS type is supported... yes checking Byte order... checking whether byte ordering is bigendian... no little endian checking whether NLS is requested... no checking for intltool >= 0.35.0... 0.50.2 found checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.16.1 checking for XML::Parser... ok checking for GTK... yes checking for GLIB... yes checking for boostlib >= 1.34... yes checking whether the Boost::Signals library is available... yes checking for exit in -lboost_signals-mt... yes checking for XML... yes checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for x86 platform... no checking libv4l1-videodev.h usability... no checking libv4l1-videodev.h presence... no checking for libv4l1-videodev.h... no checking linux/videodev2.h usability... yes checking linux/videodev2.h presence... yes checking for linux/videodev2.h... yes checking linux/videodev.h usability... no checking linux/videodev.h presence... no checking for linux/videodev.h... no checking for AVAHI... yes checking for KDE... yes checking kapplication.h usability... yes checking kapplication.h presence... yes checking for kapplication.h... yes checking for ki18n in -lkdeui... no checking kabc/addressee.h usability... yes checking kabc/addressee.h presence... yes checking for kabc/addressee.h... yes checking gnome-doc-utils >= 0.3.2... yes checking for PTLIB... yes checking for OPAL... yes checking for PTLIB support for expat... no configure: error: You need ptlib expat support to compile ekiga !!! ERROR in net-voip/ekiga-3.9.90::gentoo: !!! In econf at line 2216 !!! econf failed !!! Call stack: !!! * econf (/var/tmp/paludis/net-voip-ekiga-3.9.90/temp/loadsaveenv:2216) !!! * gnome2_src_configure (/var/tmp/paludis/net-voip-ekiga-3.9.90/temp/loadsaveenv:4126) !!! * src_configure (/var/tmp/paludis/net-voip-ekiga-3.9.90/temp/loadsaveenv:5627) !!! * ebuild_f_configure (/usr/libexec/paludis/2/src_configure.bash:54) !!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:668) !!! * main (/usr/libexec/paludis/ebuild.bash:691) diefunc: making ebuild PID 12386 exit with error die trap: exiting with error. 'xml' in ptlib, but not in opal yields: [...] /bin/sh ../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -fno-exceptions -I/usr/include/opal -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -fno-exceptions -I/usr/include -I/usr/include/libxml2 -march=native -O2 -pipe -fomit-frame-pointer -fno-strict-overflow -Wall -Wextra -Winit-self -Wswitch-default -Wswitch-enum -Wstrict-aliasing=2 -Wfloat-equal -Wshadow -lX11 -Wl,-O1 -Wl,--as-needed -o ekiga assistant.o conf.o main.o main_window.o statusmenu.o ekiga.o ../lib/libekiga.la -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -Wl,--export-dynamic -pthread -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lopal -lpthread -lrt -lssl -lcrypto -lexpat -lresolv -ldl -lpt -lspeexdsp -lpthread -lrt -lssl -lcrypto -lexpat -lresolv -ldl -lpt -L/usr/lib64 -lboost_signals-mt -lxml2 *** Warning: Linking the executable ekiga against the loadable module *** libekiga.so is not portable! libtool: link: x86_64-pc-linux-gnu-g++ -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -fno-exceptions -I/usr/include/opal -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -fno-exceptions -I/usr/include -I/usr/include/libxml2 -march=native -O2 -pipe -fomit-frame-pointer -fno-strict-overflow -Wall -Wextra -Winit-self -Wswitch-default -Wswitch-enum -Wstrict-aliasing=2 -Wfloat-equal -Wshadow -Wl,-O1 -o .libs/ekiga assistant.o conf.o main.o main_window.o statusmenu.o ekiga.o -Wl,--export-dynamic -pthread -lX11 -Wl,--as-needed ../lib/.libs/libekiga.so -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lopal -lspeexdsp -lpthread -lrt -lssl -lcrypto -lexpat -lresolv -ldl -lpt -L/usr/lib64 -lboost_signals-mt -lxml2 -pthread -Wl,-rpath -Wl,/usr/lib64/ekiga/3.9.90 assistant.o: In function `_GLOBAL__sub_I_ekiga_assistant_get_type': assistant.cpp:(.text.startup+0x4f): undefined reference to `PFactoryLoader::SIP_Presentity_link()' main_window.o: In function `_GLOBAL__sub_I_ekiga_main_window_get_type': main_window.cpp:(.text.startup+0x4f): undefined reference to `PFactoryLoader::SIP_Presentity_link()' statusmenu.o: In function `_GLOBAL__sub_I_statuses': statusmenu.cpp:(.text.startup+0x4f): undefined reference to `PFactoryLoader::SIP_Presentity_link()' conf.o: In function `_GLOBAL__sub_I__Z25gnomemeeting_conf_upgradev': conf.cpp:(.text.startup+0x4f): undefined reference to `PFactoryLoader::SIP_Presentity_link()' main.o: In function `_GLOBAL__sub_I_main': main.cpp:(.text.startup+0x58f): undefined reference to `PFactoryLoader::SIP_Presentity_link()' ekiga.o:ekiga.cpp:(.text.startup+0x4f): more undefined references to `PFactoryLoader::SIP_Presentity_link()' follow ../lib/.libs/libekiga.so: undefined reference to `SIP_Presentity::SubProtocolKey()' collect2: ld returned 1 exit status make[3]: *** [ekiga] Error 1 make[3]: Leaving directory `/var/tmp/paludis/net-voip-ekiga-3.9.90/work/ekiga-3.9.90/src' make[2]: Leaving directory `/var/tmp/paludis/net-voip-ekiga-3.9.90/work/ekiga-3.9.90/src' make[2]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/paludis/net-voip-ekiga-3.9.90/work/ekiga-3.9.90' make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 !!! ERROR in net-voip/ekiga-3.9.90::gentoo: !!! In /usr/libexec/paludis/utils/emake at line 30 !!! emake returned error 2 !!! Call stack: !!! * paludis_die_or_error_func (/usr/libexec/paludis/die_functions.bash:67) !!! * main (/usr/libexec/paludis/utils/emake:30) diefunc: making ebuild PID 26831 exit with error die trap: exiting with error. Expected Results: builds when ebuild dependencies are met
*** Bug 442790 has been marked as a duplicate of this bug. ***
Fixed in net-voip/ekiga-4.0.0 Thanks for the report, Benjamin. Cheers,