Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317607 - media-video/ogmrip-0.13.4 fails parallel install
Summary: media-video/ogmrip-0.13.4 fails parallel install
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:
 
Reported: 2010-04-28 09:00 UTC by Martin Jansa
Modified: 2014-08-22 23:47 UTC (History)
6 users (show)

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


Attachments
build.log (build.log,141.86 KB, text/plain)
2010-04-28 09:01 UTC, Martin Jansa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Jansa 2010-04-28 09:00:52 UTC
/tmp/tmpwork/portage/media-video/ogmrip-0.13.4/work/ogmrip-0.13.4/libogmrip/.libs/libogmrip.so: file not recognized: File truncated
collect2: ld returned 1 exit status
libtool: install: error: relink `libogmrip-acopy.la' with the above command before installing it
make[2]: *** [install-audio_codecsLTLIBRARIES] Error 1
make[2]: *** Waiting for unfinished jobs....

I'll attach build.log.


Reproducible: Always
Comment 1 Martin Jansa 2010-04-28 09:01:45 UTC
Created attachment 229489 [details]
build.log
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-04-28 09:06:15 UTC
Looks like FEATURES="ccache" failure ...
Comment 3 Martin Jansa 2010-04-28 09:15:32 UTC
added FEATURES="-ccache" to be sure, but still fails.

gcc-4.5.0 AND -j5 fails
gcc-4.5.0 AND -j1 works
gcc-4.4.3 AND -j1 works
gcc-4.4.3 AND -j5 works
gcc-4.4.3 AND -j10 works


jama ~ # emerge --info
Portage 2.2_rc67 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.3, glibc-2.11.1-r0, 2.6.34-rc5-JaMa-00211-gb91ce4d x86_64)
=================================================================
System uname: Linux-2.6.34-rc5-JaMa-00211-gb91ce4d-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.0.1
Timestamp of tree: Wed, 28 Apr 2010 07:00:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p5
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r1, 3.1.2-r2
dev-python/pycrypto: 2.1.0
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.7.9-r2, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.4.3-r2, 4.5.0
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA RTCW-ETEULA PUEL dlj-1.1 skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=barcelona -pipe -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=barcelona -pipe -ftree-vectorize -fvisibility-inlines-hidden -fvisibility=hidden"
DISTDIR="/tmp/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB"
LC_ALL="cs_CZ.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="cs en_GB en"
MAKEOPTS="-j5"
PKGDIR="/tmp/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp/tmpwork"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/enlightenment /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac aalib acl acpi aio alsa amd64 amr apache2 avahi bash-completion berkdb bidi bluetooth branding bzip2 cairo ccache cdparanoia cdr cdrom cgi cli consolekit cracklib crypt cups curl cxx dbus dga dri dts dvb dvd dvdr emboss encode exif fam fbcon ffmpeg firefox flac flash fmod fontconfig ftp gallium gd gif gkrellm glib glut gnutls gpgme gpm gps gstreamer gzip hal iconv icq imagemagick imap imlib innodb ipv6 irc irda jabber java java5 java6 javascript joystick jpeg kde kpathsea kqemu krb4 kvm lame lcms libcaca libnotify libwww linuxthreads-tls lirc live lm_sensors logrotate mad maildir matroska mikmod mime mmx mng modules mozilla mp3 mp4 mpeg mplayer mudflap multilib mysql mysqli ncurses network nls nntp nocd nptl nptlonly nsplugin ogg openal opencore-amr opengl openmp oss pam pango pcre pdf perl phonon php pic png policykit pop portaudio posix ppds pppd python python3 qt3support qt4 readline reflection rss rsync rtc samba sasl screen sdl semantic-desktop session silc slang smartcard smime smtp sndfile sockets spell spl sse sse2 ssh ssl startup-notification stream subversion svg svgz symlink sysfs tcpd theora threads tiff truetype unicode usb utempter uudeview v4l v4l2 vde vdpau vdr videos vim vorbis webkit wxwindows x264 xanim xcb xcomposite xinetd xml xmlreader xmlrpc xorg xosd xpm xscreensaver xsl xulrunner xv xvid zip zlib zvbi" 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs en_GB en" LIRC_DEVICES="devinput" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler ruby soa visualweb webcommon websvccommon xml dlight enterprise" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm armeb i386 x86_64" RUBY_TARGETS="ruby19 ruby18 jruby" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="vesa nv v4l nouveau nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Panagiotis Christopoulos (RETIRED) gentoo-dev 2010-05-03 14:03:10 UTC
Please paste your whole build.log. Also, the error is the same with all those gcc versions and make's --jobs numbers?
Comment 5 Panagiotis Christopoulos (RETIRED) gentoo-dev 2010-05-03 14:03:39 UTC
s/paste/upload
Comment 6 Martin Jansa 2010-05-03 15:34:28 UTC
(In reply to comment #4)
> Please paste your whole build.log. Also, the error is the same with all those
> gcc versions and make's --jobs numbers?

Attached build.log is not whole or do you want whole console output in case portage didn't print everything to log?

And yes error is the same because there is only one combination which fails here:
"gcc-4.5.0 AND -j5 fails"

I can try to reproduce with -j2 for build.log easier to read.
Comment 7 Joost Ruis 2010-05-25 08:57:56 UTC
If it matters, I can confirm the issue ONLY on the amd64 arch.
Parallel make fails and it only works for me doing: MAKEOPTS="-j1" emerge -av media-video/ogmrip
Comment 8 Sam M W 2010-06-30 20:38:28 UTC
I confirm that with sys-devel/gcc-4.4.3-r2 and -j2, the build fails on x86_64.
With -j1 the build succeeded.
Comment 9 Allen Brooker (AllenJB) 2010-07-11 10:41:58 UTC
Confirmed on amd64 with MAKEOPTS="-j3 --load-average=2". Fixed with 'MAKEOPTS="-j1" emerge -1 ogmrip'

Open two months - it's a parallel build issue, Can we have this fixed in the ebuild already please?
Comment 10 Jan Vansteenkiste 2010-07-13 14:48:12 UTC
Problem seems to have vanished in 0.3.15 (see bug #326727).
Comment 11 Danilo Schembri 2010-07-29 21:53:09 UTC
I confirm the issue for this combination:
- media-video/ogmrip-0.13.5
- x86_32
- MAKEOPTS="-j2"
- CBUILD="i686-pc-linux-gnu"
- CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"

Running compilation twice (or three times) doesn't solve.
Comment 12 Danilo Schembri 2010-07-29 21:56:57 UTC
With 'MAKEOPTS="-j1" emerge -1 ogmrip' it compiles correctly (and runs).
Comment 13 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-07-30 14:44:34 UTC
Confirmed, going to work around, but please keep the bug open.
Comment 14 David Mainzer 2010-08-13 09:48:00 UTC
ogmrip ... needs media-libs/glitz ... should be added to the ebuild!
Comment 15 Olivier Rolland 2010-08-13 09:58:55 UTC
What makes you think that ogmrip depends on glitz ?
Comment 16 David Mainzer 2010-08-13 10:03:36 UTC
libtool: link: x86_64-pc-linux-gnu-gcc -shared  .libs/ogmdvd-cell-renderer-language.o .libs/ogmdvd-chapter-list.o .libs/ogmdvd-drive-chooser.o .libs/ogmdvd-drive-chooser-widget.o .libs/ogmdvd-drive-chooser-dialog.o .libs/ogmdvd-marshal.o .libs/ogmdvd-title-chooser.o .libs/ogmdvd-title-chooser-widget.o   -Wl,-rpath -Wl,/var/tmp/portage/media-video/ogmrip-0.13.5/work/ogmrip-0.13.5/libogmdvd/.libs -Wl,--as-needed -L/usr/local/lib -L/usr/pkg/lib ../libogmdvd/.libs/libogmdvd.so -L/usr/lib64 -L/usr/lib /usr/lib64/libenca.so /usr/lib64/libglade-2.0.so /usr/lib64/libglitz-glx.so -lGL /usr/lib64/libXext.so /usr/lib64/libglitz.so /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libxml2.so /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libgio-2.0.so -lresolv /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpangoft2-1.0.so /usr/lib64/libcairo.so /usr/lib64/libpixman-1.so /usr/lib64/libpng14.so /usr/lib64/libXrender.so /usr/lib64/libX11.so /usr/lib64/libxcb.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so /usr/lib64/libpango-1.0.so -lm /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so -lz /usr/lib64/libexpat.so /usr/lib64/libgconf-2.so /usr/lib64/libORBit-2.so /usr/lib64/libgmodule-2.0.so /usr/lib64/libdbus-glib-1.so /usr/lib64/libdbus-1.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgthread-2.0.so -lpthread -lrt /usr/lib64/libglib-2.0.so /usr/lib64/libdvdread.so -ldl  -march=nocona -Wl,-O1 -Wl,--export-dynamic -pthread -Wl,--export-dynamic -pthread   -pthread -Wl,-soname -Wl,libogmdvd-gtk.so.1 -o .libs/libogmdvd-gtk.so.1.0.0

so it looks lite ogmrip needs 
/usr/lib64/libglitz.so
/usr/lib64/libglitz-glx.so

or do i a misstake ... my emerge failed without installing glitz!!

Best David
Comment 17 Olivier Rolland 2010-08-13 11:05:14 UTC
OGMRip does not need glitz but one of its dependency certainly does.
Comment 18 Samuli Suominen (RETIRED) gentoo-dev 2010-08-13 11:18:55 UTC
Full stop.
This bug has nothing to do with glitz, it's a parallel make failure, MAKEOPTS="-j1" in src_install.
Comment 19 Steve Dibb (RETIRED) gentoo-dev 2014-08-22 23:47:43 UTC
0.13.6 forces one job for install, closing as fixed