Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 99083
Alias:
Product:
Component:
Status: RESOLVED
Resolution: TEST-REQUEST
Assigned To: voip herd <voip@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Miroslav Šulc <fordfrog@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 99083 depends on: Show dependency tree
Bug 99083 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-07-15 01:55 0000
Calculating dependencies ...done!
[ebuild     U ] net-misc/linphone-1.0.1 [0.12.2] +alsa -gnome -ipv6 +xv 0 kB

...
make[2]: Entering directory
`/var/tmp/portage/linphone-1.0.1/work/linphone-1.0.1/coreapi'
if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-I. -I.. -I.. -I../exosip -I../oRTP/include -I../oRTP/ -I../mediastreamer
-I/usr/include -I/usr/include/speex -I/usr/include/    -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DENABLE_TRACE
-DG_LOG_DOMAIN=\"LinphoneCore\"  -D_ORTP_SOURCE  -O2 -march=pentium4
-fomit-frame-pointer -MT linphonecore.lo -MD -MP -MF ".deps/linphonecore.Tpo" -c
-o linphonecore.lo linphonecore.c; \
then mv -f ".deps/linphonecore.Tpo" ".deps/linphonecore.Plo"; else rm -f
".deps/linphonecore.Tpo"; exit 1; fi
mkdir .libs
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../exosip
-I../oRTP/include -I../oRTP/ -I../mediastreamer -I/usr/include
-I/usr/include/speex -I/usr/include/ -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DENABLE_TRACE -DG_LOG_DOMAIN=\"LinphoneCore\"
-D_ORTP_SOURCE -O2 -march=pentium4 -fomit-frame-pointer -MT linphonecore.lo -MD
-MP -MF .deps/linphonecore.Tpo -c linphonecore.c  -fPIC -DPIC -o
.libs/linphonecore.o
linphonecore.c: In function `linphone_core_set_nat_address':
linphonecore.c:1513: error: storage size of 'hints' isn't known
linphonecore.c:1516: error: invalid application of `sizeof' to incomplete type
`addrinfo'
make[2]: *** [linphonecore.lo] Error 1
make[2]: Leaving directory
`/var/tmp/portage/linphone-1.0.1/work/linphone-1.0.1/coreapi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/linphone-1.0.1/work/linphone-1.0.1'
make: *** [all] Error 2

Reproducible: Always
Steps to Reproduce:
1. emerge -uDva linphone
Actual Results:  
Compilation error

Expected Results:  
Should compile and install.

# emerge info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12-gentoo-r5 i686)
=================================================================
System uname: 2.6.12-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://download.startnet.klamovka.kosire.czf/gentoo-mirror
http://mirror.switch.ch/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
ftp://ftp.linux.ee/pub/gentoo/distfiles/ http://gentoo.zie.pg.gda.pl
http://mirror.pudas.net/gentoo ftp://mirror.pudas.net/gentoo
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mir.zyrianes.net/gentoo/"
LANG="cs_CZ"
LC_ALL="cs_CZ"
LINGUAS="cs"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apache2 apm arts artswrappersuid audiofile avi berkdb
bitmap-fonts bmp bonobo bzlib caps cdparanoia cdr crypt cups curl dba dbase
divx4linux dv dvb dvd dvdr dvdread emboss encode esd exif extensions fam ffmpeg
flac flash fluidsynth foomaticdb fortran freetype ftp gd gdal gdbm geos geotiff
gif gimpprint gphoto2 gpm grass gstreamer gtk gtk2 gtkhtml guile iconv
imagemagick imap imlib jack jack-tmpfs java jpeg jpeg2k junit justify kde
kdeenablefinal kerberos ldap libg++ libwww lirc lzw-tiff mad mapserver mcal
mhash mikmod mime ming mjpeg mmx mmxext mng motif mozilla mp3 mpeg mysql mythtv
ncurses nls nptl ogg oggvorbis opengl oss pam pcmcia pdf pdflib perl php png
postgis postgres ppds proj python qt quicktime quotes readline samba scanner sdl
session slang slp snmp speex spell sqlite sse ssl svg svga tcltk tcpd theora
tiff tokenizer transcode truetype truetype-fonts type1-fonts unicode usb v4l vcd
vhosts vorbis wifi win32codecs wmf xbase xine xml xml2 xmms xprint xv xvid zlib
zvbi video_cards_radeon linguas_cs userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS

------- Comment #1 From Stefan Knoblich (RETIRED) 2005-07-15 02:04:01 0000 -------
please try again with ipv6 flag enabled

------- Comment #2 From Miroslav Šulc 2005-07-15 02:48:38 0000 -------
USE="ipv6" emerge -uDva linphone

results in this error:

mkdir .libs
i686-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-DENABLE_TRACE -D_ORTP_SOURCE -O2 -march=pentium4 -fomit-frame-pointer -o
.libs/linphonec linphonec.o commands.o  -pthread ../coreapi/.libs/liblinphone.so
-ldl
../coreapi/.libs/liblinphone.so: undefined reference to `osip_mutex_unlock'
../coreapi/.libs/liblinphone.so: undefined reference to `osip_mutex_destroy'
../coreapi/.libs/liblinphone.so: undefined reference to `osip_cond_init'
../coreapi/.libs/liblinphone.so: undefined reference to `osip_thread_join'
../coreapi/.libs/liblinphone.so: undefined reference to `osip_thread_exit'
../coreapi/.libs/liblinphone.so: undefined reference to `osip_cond_destroy'
../coreapi/.libs/liblinphone.so: undefined reference to `osip_cond_signal'
../coreapi/.libs/liblinphone.so: undefined reference to `osip_mutex_init'
../coreapi/.libs/liblinphone.so: undefined reference to `osip_mutex_lock'
../coreapi/.libs/liblinphone.so: undefined reference to `osip_thread_create'
collect2: ld returned 1 exit status
make[2]: *** [linphonec] Error 1
make[2]: Leaving directory
`/var/tmp/portage/linphone-1.0.1/work/linphone-1.0.1/console'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/linphone-1.0.1/work/linphone-1.0.1'
make: *** [all] Error 2

I don't know whether this error is related to libosip package - I have
net-libs/libosip-2.2.1.

------- Comment #3 From Dead Schorsch 2005-07-15 05:30:50 0000 -------
This time, setting USE="-doc" does not even help.

------- Comment #4 From Anders Hellgren 2005-07-15 07:50:54 0000 -------
Instead of enabling ipv6, removing the ipv6 ifdef from linphonecore.c solves
the
first problem.

-#ifdef INET6
 #include <netdb.h>
-#endif


The second issue is fixed by compiling libosip with USE="threads".

------- Comment #5 From Stefan Knoblich (RETIRED) 2005-07-15 09:17:40 0000 -------
i've revived the ipv6 patch from the 0.12.x ebuilds  
  

------- Comment #6 From Stefan Knoblich (RETIRED) 2005-07-15 12:15:14 0000 -------
Fixed the libosip-2.2.1 ebuild to always build with threading support, 
going to close this bug if everything works fine now(?) 

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug