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

Bug 186501

Summary: media-video/cinelerra-cvs fails to build on amd64
Product: Gentoo Linux Reporter: Steve Yohanan <steve-gentoo>
Component: New packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED DUPLICATE    
Severity: normal CC: amd64
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
(tail) output of cinerlerra-cvs emerge failure

Description Steve Yohanan 2007-07-24 18:08:46 UTC
emerge'ing cinelerra-cvs-20070607 failed.  when i skimmed the output it appeared that nasm was required.  i ensured that it wasn't already installed, then emerged nasm.  redoing emerge of cinelerra-cvs-20070607 completed without failure.

Reproducible: Always

Steps to Reproduce:
1. ensure nasm isn't already installed on system
2. emerge cinelerra-cvs-20070607
3. note failure due to nasm

Actual Results:  
i neglected to capture the original error output before working around the issue.


there was some similar issues in bug #161250 related to an unspecified nasm dependency.  perhaps this can shed some light on the issue.
Comment 1 Steve Yohanan 2007-07-24 18:10:06 UTC
Created attachment 125900 [details]
emerge --info
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-07-24 19:31:52 UTC
(In reply to comment #0)
> emerge'ing cinelerra-cvs-20070607 failed.  when i skimmed the output it
> appeared that nasm was required.  i ensured that it wasn't already installed,
> then emerged nasm.  redoing emerge of cinelerra-cvs-20070607 completed without
> failure.

It already depends on dev-lang/nasm, really don't see what's the "wrong dependency" here. Kindly reopen with some errors. 
Comment 3 Steve Yohanan 2007-07-24 19:52:26 UTC
Created attachment 125909 [details]
(tail) output of cinerlerra-cvs emerge failure

doubt this is an amd64 issue (which is the platform i'm on); however, though the ebuild shows some dependency on nasm, it doesn't actually pull in nasm.  to test, i went back and unmerged nasm then re-emerge'd media-video/cinelerra-cvs.  it does *not* try to pull in nasm, and the ebuild eventually fails (see attachement).  below is the output of my command-line call to emerge (note the lack of nasm).  when i explicitly re-emerge nasm beforehand, then everything builds fine.

-----------------------------------------------------------------
# emerge --ask cinelerra-cvs

These are the packages that would be merged, in order:

Calculating dependencies  ..... ..... ..... ... done!
[ebuild   R   ] media-video/cinelerra-cvs-20070607  USE="3dnow alsa ieee1394 mmx opengl oss truetype (-altivec) -css -esd -static" 0 kB 

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] 
-----------------------------------------------------------------
Comment 4 Alexis Ballier gentoo-dev 2007-07-25 05:28:23 UTC
actually, it shouldn't even try to use nasm on amd64. It probably needs some use.masking for mmx and/or 3dnow.

if anybody from video or am64 could investigate and fix this, that'd be great, my internet connection at home has been down for a few days and I don't know when it'll be working again :(


iirc it was possible to use yasm to compile their embedded libmpeg2 and thus it would be possible to fix it without use.masking but I'd prefer removing it and linking against the one provided by the system. [And there are other mmx asm parts that are definitely not x86_64 compatible, but I don't remmember if they are compiled if mmx is turned on]
Comment 5 Alexis Ballier gentoo-dev 2007-07-26 02:26:59 UTC
actually there was already a bug opened...

*** This bug has been marked as a duplicate of bug 178033 ***