Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52799 - media-libs/libddmpeg-1.6 fails on x86
Summary: media-libs/libddmpeg-1.6 fails on x86
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-02 11:13 UTC by Herbie Hopkins (RETIRED)
Modified: 2004-06-03 03:27 UTC (History)
3 users (show)

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 Herbie Hopkins (RETIRED) gentoo-dev 2004-06-02 11:13:59 UTC
emerge libddmpeg fails complaining that sed failed. The cause seems to be the use amd64 line (minor slip I presume) calling die for any arch other than amd64. The resolution is to just add some backets.
replace:
use amd64 && sed -e "s:-march=i386:-fPIC:" -i "Makefile" || die "sed failed"
with:
use amd64 &&  ( sed -e "s:-march=i386:-fPIC:" -i "Makefile" || die "sed failed" )

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Olivier Crete (RETIRED) gentoo-dev 2004-06-03 02:34:22 UTC
the proposed fix works.. and the original ebuild also replaced march with the content of the CFLAGS's mcpu.. which is VERY bad..
Comment 2 Olivier Crete (RETIRED) gentoo-dev 2004-06-03 03:27:39 UTC
oops, actually the proposed patch did a die un a subshell, replaced it with
if use amd64; then sed||die ; fi
in CVS...