Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91232 - ffmpeg doesn't like parallel building
Summary: ffmpeg doesn't like parallel building
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Alpha Linux
: High minor (vote)
Assignee: media-video herd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-02 14:36 UTC by Decade
Modified: 2006-06-03 05:08 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Decade 2005-05-02 14:36:22 UTC
Tried upgrading ffmpeg. Some file failed with some uvdxy thing not being initialized. Tried disabling parallel building, and it succeeded.

Reproducible: Always
Steps to Reproduce:
1. Try to install ffmpeg with MAKEOPTS="-j4" or such.
2. Try to install ffmpeg with MAKEOPTS="-j1" instead.



Gentoo Base System version 1.4.16
Portage 2.0.51.19 (default-linux/alpha/2005.0, gcc-3.3.2, glibc-2.3.2-r12,
2.4.30 alpha)
=================================================================
System uname: 2.4.30 alpha EV5
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 17:51:24)]
distcc 2.16 alphaev5-unknown-linux-gnu (protocols 1 and 2) (default port 3632)
[enabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.6.3, 1.8.5-r3, 1.4_p6, 1.7.9-r1, 1.9.4, 1.5
sys-devel/binutils:  2.14.90.0.8-r2
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="alpha"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=ev5 -pipe -mieee -fomit-frame-pointer"
CHOST="alphaev5-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=ev5 -pipe -mieee -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig distcc distlocks strict"
GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac aalib acl alpha arts artswrappersuid audiofile avi berkdb
bitmap-fonts cdparanoia cdr cjk crypt cscope cups curl dlloader doc dv dvd eds
emacs encode esd fam fbcon ffmpeg flac font-server foomaticdb fortran fpx gcj
gdbm gif gnome gnutls gpm graphviz gstreamer gtk gtk2 guile idea imagemagick
imlib ipv6 javascript jbig jpeg jpeg2k kde lcms leim libcaca libg++ libwww lua
mad md5sum mikmod mng motif mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg nas
ncurses network nls ogg oggvorbis opengl oss pam pcre pdflib perl pic png povray
python qt quicktime readline samba scanner sdl silc skey slang slp speex spell
ssl tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts
ucs2 unicode usb vim-with-x vorbis wmf xine xinerama xml2 xmms xscreensaver xv
xvid zlib userland_GNU kernel_linux libc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Homer Parker (RETIRED) gentoo-dev 2005-05-03 15:39:53 UTC
I just had the same thing, see http://rafb.net/paste/results/QT8b7439.html for the output.. I know this shows -j2, but I also tried it with -j1.

emerge --info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r5 i686)
=================================================================
System uname: 2.6.11-gentoo-r5 i686 AMD Athlon(TM) XP2400+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May  3 2005, 15:35:05)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=athlon-xp -fomit-frame-pointer -funroll-loops -mmmx -msse -pipe"
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/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 -mcpu=athlon-xp -fomit-frame-pointer -funroll-loops -mmmx -msse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache cvs distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ ftp://mirrors.tds.net/gentoo ftp://gentoo.ccccom.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.1.2/gentoo-portage"
USE="3dnow X acpi alsa apm avi bash-completion berkdb bitmap-fonts bonobo bzlib cdr crypt cups curl dga divx4linux dvd dvdr dvdread eds emboss encode esd fam fbcon ffmpeg foomaticdb fortran ftp gdbm geoip gif gimpprint gmp gnome gnomedb gphoto2 gps gstreamer gtk gtk2 gtkhtml hal howl icq ieee1394 imagemagick imap imlib jabber java jpeg kde libg++ libwww lm_sensors mad memlimit mikmod mmx motif mozilla moznocompose moznoirc moznomail mozzila mp3 mpeg mpi msession msn ncurses nls no-old-linux nodrm nptl nptlonly nvidia offensive ogg oggvorbis opengl oscar oss pam pcntl pcre pdflib perl pic png pnp posix ppds pthreads python qt quicktime readline sasl sdl session sharedmem slp spell sse ssl svga sysvipc szip tcltk tcpd theora tidy tiff truetype truetype-fonts type1-fonts usb userlocales v4l v4l2 vcd vim-with-x vorbis win32codecs wxwindows x86 xml2 xmms xpm xv xvid xvmc yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 2 Luca Barbato gentoo-dev 2005-05-06 16:25:35 UTC
I tested it with -j2 and is working, I'll try to find out if is possible to fix the issue for -j3

please report the issue upstream

Homer your paste isn't valid anymore please attach the log here
Comment 3 Michail Pappas 2005-05-13 12:06:17 UTC
I can confirm the same issue on a P4 with HT/SMP enabled. When makeopts="-j2" ffmpeg compiles nicely. If makeopts="-j3", make stops with an error. Attached please find the log of an unsuccesful compilation.

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r8 i686)
=================================================================
System uname: 2.6.11-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May  4 2005, 22:58:55)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=pentium4 -fomit-frame-pointer -pipe"
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/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 -mcpu=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://files.gentoo.gr ftp://ftp.ntua.gr/pub/linux/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ ftp://ftp.uoi.gr/mirror/OS/gentoo/ http://ftp.ceid.upatras.gr/pub/linux/gentoo ftp://ftp.ceid.upatras.gr/pub/linux/gentoo http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="el_GR.utf8"
LC_ALL="el_GR.utf8"
LINGUAS="el en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa apache2 avi bash-completion berkdb bitmap-fonts bluetooth cdr crypt cups curl dedicated doc dts dv dvd dvdr dvdread eds emboss encode esd ethereal exif fam ffmpeg flac foomaticdb fortran ftp gdbm geoip gif gimpprint gnome gpm gstreamer gtk gtk2 hal icq imagemagick imlib ithreads java javascript joystick jpeg junit lcms libg++ libwww mad matroska mikmod mmx motif mozilla mp3 mpeg msn ncurses nls nptl ogg oggvorbis opengl pam pcre pdflib perl png python quicktime readline samba sdl speex spell sse sse2 ssl svga tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb vcd videos vorbis wxgtk1 wxwindows xine xml2 xv xvid yv12 zlib linguas_el linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-30 15:07:41 UTC
Can't reproduce and no log to check. 
Comment 5 Decade 2006-06-03 05:08:02 UTC
Latest version of gcc (3.4.6) doesn't seem to have this problem anymore. It warns that the uvdxy thing might be uninitialized, but doesn't die because of it.