First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 145265
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Television related Applications in Gentoo's Portage <media-tv@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Martin May <gandalf@dergraue.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mjpegtools-1.8.0-as-needed.patch mjpegtools-1.8.0-as-needed.patch - with dependencies now patch Matthias Schwarzott 2006-08-28 12:04 0000 1015 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 145265 depends on: Show dependency tree
Bug 145265 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-08-27 09:23 0000
Hello together!

When I try to emerge mjpegtools, this ends up as follows:

.....
x86_64-pc-linux-gnu-gcc -shared  .libs/liblavrec_la-liblavrec.o
.libs/liblavrec_la-audiolib.o .libs/liblavrec_la-frequencies.o  -llavfile
-llavjpeg -lm  -march=x86-64 -mcpu=x86-64 -march=nocona -pthread -Wl,-soname
-Wl,liblavrec-1.8.so.0 -o .libs/liblavrec-1.8.so.0.0.0
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -llavfile
collect2: ld returned 1 exit status
make[2]: *** [liblavrec.la] Error 1
make[2]: *** Waiting for unfinished jobs....
x86_64-pc-linux-gnu-gcc -shared  .libs/liblavjpeg_la-jpegutils.o 
/usr/lib64/libjpeg.so -lm  -march=x86-64 -mcpu=x86-64 -march=nocona -pthread
-Wl,-soname -Wl,liblavjpeg-1.8.so.0 -o .libs/liblavjpeg-1.8.so.0.0.0
(cd .libs && rm -f liblavjpeg-1.8.so.0 && ln -s liblavjpeg-1.8.so.0.0.0
liblavjpeg-1.8.so.0)
(cd .libs && rm -f liblavjpeg.so && ln -s liblavjpeg-1.8.so.0.0.0
liblavjpeg.so)
x86_64-pc-linux-gnu-ar cru .libs/liblavjpeg.a  liblavjpeg_la-jpegutils.o
x86_64-pc-linux-gnu-ranlib .libs/liblavjpeg.a
creating liblavjpeg.la
(cd .libs && rm -f liblavjpeg.la && ln -s ../liblavjpeg.la liblavjpeg.la)
x86_64-pc-linux-gnu-gcc -shared  .libs/liblavfile_la-editlist.o
.libs/liblavfile_la-lav_io.o .libs/liblavfile_la-avilib.o 
/usr/lib64/libjpeg.so /usr/lib64/libdv.so /usr/lib64/libgtk.so -L/usr/lib64
/usr/lib64/libgdk.so /usr/lib64/libXi.so /usr/lib64/libXext.so
/usr/lib64/libX11.so /usr/lib64/libglib.so -lm  -march=x86-64 -mcpu=x86-64
-march=nocona -pthread -Wl,-soname -Wl,liblavfile-1.8.so.0 -o
.libs/liblavfile-1.8.so.0.0.0
(cd .libs && rm -f liblavfile-1.8.so.0 && ln -s liblavfile-1.8.so.0.0.0
liblavfile-1.8.so.0)
(cd .libs && rm -f liblavfile.so && ln -s liblavfile-1.8.so.0.0.0
liblavfile.so)
x86_64-pc-linux-gnu-ar cru .libs/liblavfile.a  liblavfile_la-editlist.o
liblavfile_la-lav_io.o liblavfile_la-avilib.o
x86_64-pc-linux-gnu-ranlib .libs/liblavfile.a
creating liblavfile.la
(cd .libs && rm -f liblavfile.la && ln -s ../liblavfile.la liblavfile.la)
make[2]: Leaving directory
`/var/tmp/portage/mjpegtools-1.8.0-r1/work/mjpegtools-1.8.0/lavtools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/mjpegtools-1.8.0-r1/work/mjpegtools-1.8.0'
make: *** [all] Error 2

!!! ERROR: media-video/mjpegtools-1.8.0-r1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  mjpegtools-1.8.0-r1.ebuild, line 100:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.


I tried also disabling the other USE-Flags:
USE="-X -gtk -png -sdl -v4l" emerge mjpegtools
with the same result.

Would be great to get some help. Thanks a lot!
Martin


"emerge --info" gives:
Portage 2.1-r2 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3,
2.6.18-rc4-mm2 x86_64)
=================================================================
System uname: 2.6.18-rc4-mm2 x86_64 Intel(R) Core(TM)2 CPU          6400  @
2.13GHz
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona"
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/gconf /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms
strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE@euro"
LINGUAS="de"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac acpi alsa avi berkdb bitmap-fonts bzip2 cairo chroot cli
crypt cups dhcp dlloader dmi dri dvb dvbplayer dvd dvdr dvdread eds emboss
encode ffmpeg foomaticdb fortran gcc64 gif gimp gimpprint glut gpm gstreamer
gtk gtk2 gzip h323 hal hbci id3 imlib ipv6 isdnlog java jpeg jpeg2k kde lame
lm_sensors lzw lzw-tiff mp3 mp4 mpeg nas ncurses nls no-seamonkey nptl nptlonly
nvidia opengl openssh pam pcre pdf pdflib perl png pppd print proj python qt3
qt4 readline reflection reiserfs scanner sdl sensord session spell spl ssl svg
tcpd threads threadsafe tiff truetype truetype-fonts type1-fonts unicode usb
v4l v4l2 vcd vim wmf x264 xcomposite xine xinerama xmms xorg xpm xprint xrandr
xscreensaver xv xvid zip zlib elibc_glibc input_devices_keyboard
input_devices_mouse input_devices_evdev kernel_linux linguas_de userland_GNU
video_cards_nvidia video_cards_vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Matthias Schwarzott 2006-08-27 12:20:17 0000 -------
Bad! Could have something todo with as-needed patch. It adds a new (for strict
case needed) inter-lib dependency. Perhaps a makefile-depend is missing.

Can you please check if it works with

MAKEOPTS="-j1" emerge mjpegtools

------- Comment #2 From Michael Ditum 2006-08-27 12:32:23 0000 -------
I had the same problem with my AMD system and MAKEOPTS="-j1" emerge mjpegtools
fixed it.

------- Comment #3 From Martin May 2006-08-27 12:42:34 0000 -------
MAKEOPTS="-j1" emerge mjpegtools

Yes! Works for me, too!

Thanks
Martin

------- Comment #4 From Matthias Schwarzott 2006-08-28 12:04:33 0000 -------
Created an attachment (id=95309) [edit]
mjpegtools-1.8.0-as-needed.patch - with dependencies now

------- Comment #5 From Matthias Schwarzott 2006-08-28 12:06:53 0000 -------
That "-j1" works is a sign that the depends inside the Makefile are missing.
Can you check if it works with that updated file
mjpegtools-1.8.0-as-needed.patch.
Replace the original file inside /usr/portage/media-video/mjpegtools/file.

------- Comment #6 From Martin May 2006-08-28 13:40:58 0000 -------
I emerged it once again, after updating the patch using MAKEOPTS="-j3"
Now it works!
Well done!

Greetings
Martin

------- Comment #7 From Jakub Moc (RETIRED) 2006-08-29 09:34:39 0000 -------
*** Bug 145490 has been marked as a duplicate of this bug. ***

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