Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 323805

Summary: media-libs/libvpx-0.9.0_p20100612 fails to compile: parallel-make issue
Product: Gentoo Linux Reporter: Dennis Schridde <devurandom>
Component: [OLD] LibraryAssignee: media-video herd <media-video>
Status: RESOLVED FIXED    
Severity: normal CC: betelgeuse, levertond
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Dennis Schridde 2010-06-13 17:03:09 UTC
media-libs/libvpx-0.9.0_p20100612 fails to compile, probably because of a parallel make issue:
    [LN]      /var/tmp/portage/media-libs/libvpx-0.9.0_p20100612/image//usr/lib64/libvpx.so
    [INSTALL] /var/tmp/portage/media-libs/libvpx-0.9.0_p20100612/image//usr/lib64/libvpx.a
ln: creating symbolic link `/var/tmp/portage/media-libs/libvpx-0.9.0_p20100612/image//usr/lib64/libvpx.so': No such file or directory

libvpx.so should depend on libvpx.so.0.9.0, so that the latter is created before the former. This will solve the problem that /usr/lib64 does not exist when the symlink is created.

Reproducible: Always
Comment 1 Dennis Schridde 2010-06-13 17:03:58 UTC
Created attachment 235197 [details]
build.log
Comment 2 Dennis Schridde 2010-06-13 17:07:48 UTC
The next run yielded:
    [INSTALL] /var/tmp/portage/media-libs/libvpx-0.9.0_p20100612/image//usr/lib64/libvpx.a
    [INSTALL] /var/tmp/portage/media-libs/libvpx-0.9.0_p20100612/image//usr/include/vpx/vpx_encoder.h
    [LN]      /var/tmp/portage/media-libs/libvpx-0.9.0_p20100612/image//usr/lib64/libvpx.so
    [LN]      /var/tmp/portage/media-libs/libvpx-0.9.0_p20100612/image//usr/lib64/libvpx.so.0
    [LN]      /var/tmp/portage/media-libs/libvpx-0.9.0_p20100612/image//usr/lib64/libvpx.so.0.9
    [INSTALL] /var/tmp/portage/media-libs/libvpx-0.9.0_p20100612/image//usr/lib64/libvpx.so.0.9.0

This time libvpx.a was created (by chance, not due to a fix/workaround) before libvpx.so, which also made the issue not appear.
-> This really is a parallel-make issue.
Comment 3 Petteri R├Ąty (RETIRED) gentoo-dev 2010-10-22 14:43:29 UTC
Committed a workaround until media-video gets to add a proper patch.
Comment 4 Alexis Ballier gentoo-dev 2011-06-23 16:04:58 UTC
fixed in upstream git; workaround removed in -9999, not worth backporting imho -> fixed