First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 132758
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: voip herd <voip@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Marcin Deranek <gringo@slonko.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
linphone-1.3.5.ebuild linphone-1.3.5.ebuild text/plain Stefan Schweizer 2006-05-09 06:35 0000 2.49 KB Details
linphone.patch Patch to fix errno problems patch Marcin Deranek 2006-05-09 10:14 0000 256 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 132758 depends on: Show dependency tree
Bug 132758 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: 2006-05-08 22:16 0000
Compile of linphone 1.3.5 fails with the following error on AMD64 platform:

<snip>
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for correct ltmain.sh version... no
configure: error:

*** [Gentoo] sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.22, ltmain.sh = "1.5.22 Debian 1.5.22-4") ***

Please run:

  libtoolize --copy --force

if appropriate, please contact the maintainer of this
package (or your distribution) for help.

make[2]: *** [config.status] Error 1
make[2]: Leaving directory
`/var/tmp/portage/linphone-1.3.5/work/linphone-1.3.5/oRTP'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/linphone-1.3.5/work/linphone-1.3.5'make: *** [all] Error 2

------- Comment #1 From Marcin Deranek 2006-05-08 22:18:26 0000 -------
Forgot that one..

Portage 2.1_pre10-r5 (default-linux/amd64/2005.1, gcc-4.1.0, glibc-2.4-r2,
2.6.16-beyond3 x86_64)
=================================================================
System uname: 2.6.16-beyond3 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.0_pre19
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -mtune=athlon64 -ftracer -frename-registers -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild
/etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon64 -mtune=athlon64 -ftracer -frename-registers
-pipe"DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib accessibility acpi adns alsa apm audiofile avi
bash-completion bcmath berkdb bidi bindist bitmap-fonts bluetooth bzip2 cairo
cdparanoia cdr clamav cli crypt cscope ctype cups curl curlwrappers dga dio
directfb dri dts dv dvb dvd dvdr dvdread emul-linux-x86 encode evo exif expat
fbcon ffmpeg fftw flac flatfile foomaticdb ftp gb gcj gd gdbm ggi gif ginac
glitz glut gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal
iconv idn imagemagick imlib ipv6 isdnlog java javascript jikes jpeg jpeg2k lcms
lesstif libcaca libedit libgda libwww lm_sensors lzw lzw-tiff m17n-lib mad
maildir matroska mbox mcal memlimit mhash mikmod mime mmap mng mono motif mp3
mpeg mpi msession ncurses nls nptl nsplugin offensive ogg oggvorbis openal
opengl osc oss pam pcntl pcre pda pdf pdflib perl pic plotutils png portaudio
posix ppds pppd python quicktime readline recode reflection scanner sdl session
sharedmem shorten simplexml skey slang slp sndfile snmp sockets sox speex spell
ssl svg sysvipc szip tcltk tcpd test theora threads tidy tiff truetype
truetype-fonts type1-fonts unicode usb v4l vcd videos vorbis wifi wmf wxwindows
x264 xine xinerama xml xml2 xmlrpc xorg xosd xpm xsl xv xvid yaz zlib
elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux
userland_GNU video_cards_radeon video_cards_fglrx video_cards_vesa"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #2 From Stefan Schweizer 2006-05-09 05:46:51 0000 -------
I added inherit autotools and

    #132758
    eautoreconf

in there, that should fix all possible autotools problems, thanks.
Please sync in one hour and try again

------- Comment #3 From Stefan Schweizer 2006-05-09 06:35:35 0000 -------
Created an attachment (id=86476) [edit]
linphone-1.3.5.ebuild

I was not able to get this working .. I really wonder why I get compile
problems after eautoreconf ..

------- Comment #4 From Stefan Schweizer 2006-05-09 06:36:31 0000 -------
obvious solution did not work .. can you please try the attached ebuild and
tell me if it works for you?
When have you synced last?

------- Comment #5 From Marcin Deranek 2006-05-09 10:13:08 0000 -------
I used to sync portage, before I complain :-))

It seems attached ebuild helps, but compilation fails again in different place
complaining about errno & co.. See attached patch to fix the problem.

Unfortunately patch doesn't solve the problem completely. There are 2 other
issues :
- readline isn't detected:
Adding '#define HAVE_READLINE_READLINE_H 1' to config.h and '-lreadline' to
AM_CFLAGS in console/Makefile solves the problem
- libosip2 isn't detected
Adding '-losip2' to AM_CFLAGS in gnome/Makefile and console/Makefile helps.

These are just my hacks, but most probably there is better way of solving that
problem..
BTW: I do not readline dependency in the ebuild..

------- Comment #6 From Marcin Deranek 2006-05-09 10:14:50 0000 -------
Created an attachment (id=86491) [edit]
Patch to fix errno problems

Might be gcc-4 related..

------- Comment #7 From Stefan Schweizer 2006-05-09 10:34:52 0000 -------
ok, your workarounds help. Now I just need to have a patch that I can apply
before eautoreconf .. ie not patching generated files.

Do you want to provide that? :)
I gave up at the readline point when trying ..

------- Comment #8 From Marcin Deranek 2006-05-09 11:23:42 0000 -------
It seem your fix was good, but not complete:

AT_M4DIR="${S}/m4" eautoreconf

fixes the problem.. It doesn't require any additional patch, so disregard any
patches I sent previously :-)

More info at http://www.gentoo.org/proj/en/qa/autofailure.xml

Compiles on stable x86 as well :-)

------- Comment #9 From Stefan Schweizer 2006-05-09 11:44:59 0000 -------
Thanks, that works! Committed

------- Comment #10 From Jakub Moc (RETIRED) 2006-05-09 14:06:19 0000 -------
*** Bug 132824 has been marked as a duplicate of this bug. ***

First Last Prev Next    No search results available      Search page      Enter new bug