Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 188149 - media-video/camserv-0.5.1-r2 failed w/ libtool-1.5.23b
Summary: media-video/camserv-0.5.1-r2 failed w/ libtool-1.5.23b
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libtool-1.5.23
  Show dependency tree
 
Reported: 2007-08-08 19:19 UTC by Zillode
Modified: 2008-01-22 13:58 UTC (History)
4 users (show)

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


Attachments
A complete build log (build.log,18.90 KB, text/plain)
2007-08-08 19:20 UTC, Zillode
Details
Use system libtool. (camserv-0.5.1-libtool.patch,2.87 KB, patch)
2008-01-21 23:41 UTC, Samuli Suominen (RETIRED)
Details | Diff
Include string.h for 'memcpy'. (camserv-0.5.1-qa.patch,382 bytes, patch)
2008-01-21 23:45 UTC, Samuli Suominen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zillode 2007-08-08 19:19:37 UTC
* ERROR: media-video/camserv-0.5.1-r2 failed.


Reproducible: Always

Actual Results:  
Making all in libltdl
make[1]: Entering directory `/var/tmp/portage/media-video/camserv-0.5.1-r2/work/camserv-0.5.1/libltdl'
make  all-am
make[2]: Entering directory `/var/tmp/portage/media-video/camserv-0.5.1-r2/work/camserv-0.5.1/libltdl'
/bin/sh ./libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.     -march=athlon64 -O2 -pipe -msse3 -c -o ltdl.lo `test -f 'ltdl.c' || echo './'`ltdl.c
./libtool: line 323: s,^.*/,,g: No such file or directory
./libtool: line 737: -e: command not found
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require --mode=MODE be specified.
./libtool: line 1048: -e: command not found
./libtool: line 1048: -e: command not found
./libtool: line 1048: -e: command not found
./libtool: line 1048: -e: command not found
./libtool: line 1048: -e: command not found
./libtool: line 1048: -e: command not found
./libtool: line 1048: -e: command not found
./libtool: line 1048: -e: command not found
./libtool: line 1048: -e: command not found
./libtool: line 1048: -e: command not found
./libtool: line 1100: -e: command not found
: compile: cannot determine name of library object from `'
make[2]: *** [ltdl.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-video/camserv-0.5.1-r2/work/camserv-0.5.1/libltdl'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/media-video/camserv-0.5.1-r2/work/camserv-0.5.1/libltdl'
make: *** [all-recursive] Error 1



ZilPC lhoste # emerge --info
Portage 2.1.3_rc9 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6-r0, 2.6.22-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5600+
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 08 Aug 2007 04:50:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.ibiblio.org/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo ftp://ftp.fu-berlin.de/unix/X11/ftp.x.org ftp://ftp.sunet.se/pub/X11 http://gentoo.osuosl.org/distfiles/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en"
MAKEOPTS="-j3"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.belnet.be/gentoo-portage"
USE="3dnow 3dnowext 64bit 7zip X a52 aac acpi akode alsa amarok amd amd64 amr amrnb amrr amrwb apache2 api arts asf audiofile bash-completion berkdb bitmap-fonts boost branding browserplugin cairo cdr cli cracklib crypt cscope css cups dbus devhelp dia dict dmi doc dri dv dvd dvdnav dvdr dvdread emboss encode enscript esd ethereal evo examples fam fastcgi ffmpeg firefox flac flash fortran ftp gdbm gif gimp gimpprint glade glib gnomedb gnutls gphoto2 gpm graphviz gs gstreamer hal iconv ieee1394 imagemagick imap imlib isdnlog java javascript jikes joystick jpeg jpeg2k kcal kde kdeenablefinal kerberos keyring ladspa lame latex ldap libg++ libnotify libsexy libvisual libwww logitech-mouse logrotate logwatch lyrics mad mcal md5 md5sum midi mikmod mmx mmxext mng mono mp3 mp4 mpeg mpeg2 mplayer mplayer-bin msn mudflap mysql ncurses net network networking new-login nforce nls no-htdocs no-seamonkey no-suexec nptl nptlonly nsplugin nvidia ogg on-the-fly-crypt openexr opengl openmp opera optimizations oss pam pcre pdf perl php plotutils png postscript pppd preview-latex python qt qt-static qt3 qt3support qt4 quicktime rar rdesktop readline reflection restrict-javascript ruby samba scanner sdl seamonkey session sftp slang spell spl sql sqlite sqlite3 sse sse2 ssl ssse3 subversion svg svgz svn-mirror tcpd tetex themes theora threads thunderbird tidy tiff tracker truetype truetype-fonts type1-fonts unicode usb v4l videos vim vim-pager vim-with-x visual vnc vorbis win32ddl wxwindows x264 xinerama xml xorg xpm xscreensaver xv xvid xvmc xvnc yv12 zlib" 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" LIRC_DEVICES="serial usb devinput mouseremote mouseremote_ps2 pctv" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Zillode 2007-08-08 19:20:10 UTC
Created attachment 127315 [details]
A complete build log
Comment 2 Zillode 2007-08-08 19:21:58 UTC
(same result without -O2 -pipe -msse)
Comment 3 Edward "Hades" 2007-08-10 14:29:42 UTC
/me had the same error.
seems that some of child libtool files lacks SED variable
worked around this way:

# export SED=sed
# emerge camserv

Comment 4 Paulo J. Matos 2007-10-04 20:01:51 UTC
Same here with libtool 1.5.24.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2008-01-21 23:41:14 UTC
Created attachment 141527 [details, diff]
Use system libtool.

Fix building by using system libtool.

Possible problem: I'm hardcoding -lltdl in camserv/Makefile.am, but I'm not sure is that right thing to do.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2008-01-21 23:45:12 UTC
Created attachment 141530 [details, diff]
Include string.h for 'memcpy'.

jpg_filter.c is calling memcpy but isn't including string.h, do it now.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2008-01-22 13:58:13 UTC
bah, committed -- if anyone has better (and tested!) suggestions instead of hardcoding -lltdl feel free to reopen

builds cleanly now