Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 445330 - www-client/seamonkey-2.14-r1 configure fails with +alsa -webm without yasm
Summary: www-client/seamonkey-2.14-r1 configure fails with +alsa -webm without yasm
Status: RESOLVED DUPLICATE of bug 433930
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-30 12:26 UTC by Milka
Modified: 2012-11-30 21:14 UTC (History)
1 user (show)

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


Attachments
build log (build.log,36.54 KB, text/plain)
2012-11-30 12:26 UTC, Milka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milka 2012-11-30 12:26:20 UTC
Created attachment 331034 [details]
build log

[ebuild      U ] www-client/seamonkey-2.14-r1 [2.13.2] USE="alsa ipc jit -chatzilla -crypt -custom-cflags -custom-optimization -dbus -debug -gstreamer -libnotify -roaming -startup-notification -system-sqlite -webm -wifi" LINGUAS="cs -be -ca -de -en_GB -es_AR -es_ES -fi -fr -gl -hu -it -ja -lt -nb_NO -nl -pl -pt_PT -ru -sk -sv_SE -tr -uk -zh_CN -zh_TW"

Failed with this error:

configure: error: yasm is a required build tool for this architecture when webm is enabled. You may either install yasm or --disable-webm (which disables the WebM video format). See https://developer.mozilla.org/en/YASM for more details.

But the webm is disabled, see attached build.log.

I have looked in the /var/tmp/portage/www-client/seamonkey-2.14-r1/work/comm-release/mozilla/configure. I suspect the culprit is MOZ_WEBRTC. It is set on by default and it also sets MOZ_VP8. MOZ_NATIVE_LIBVPX is empty due to --disable-system-libvpx (-webm). If MOZ_VP8 is set and MOZ_NATIVE_LIBVPX is empty then VPX_X86_ASM is set. VPX_AS is empty because yasm is not installed. VPX_X86_ASM set and VPX_AS empty cause the error.

I have hacked the mozconfig-3.eclass and added the line
mozconfig_annotate '' --disable-webrtc
after the line with --disable-webm. The configure runs OK. (Later I got a compilation error with ogg missing vorbis but that is probably not related to this bug.)

Maybe we need a new USE flag for webrtc? Enabling webrtc shall also enabled system-libvpx?
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2012-11-30 12:39:48 UTC
Anarchy, what do you think? Is a change of mozconfig-3.eclass required in this case?
Comment 2 Jory A. Pratt gentoo-dev 2012-11-30 13:15:04 UTC
(In reply to comment #1)
> Anarchy, what do you think? Is a change of mozconfig-3.eclass required in
> this case?

Alsa and webm are gonna be force enabled soon as we move to fx-17/tb-17 stable esr releases. At that point it wont make a difference yasm will be required.
Comment 3 Jory A. Pratt gentoo-dev 2012-11-30 21:14:36 UTC
Even if yasm is installed the failure is predictable, gonna mark appropriately where I am working things out already.

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