Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 372883 - www-client/firefox-5.0 depends on dev-lang/yasm for libjpeg-turbo
Summary: www-client/firefox-5.0 depends on dev-lang/yasm for libjpeg-turbo
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-24 19:42 UTC by Dmitri Bogomolov
Modified: 2012-02-12 14:35 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,20.87 KB, text/plain)
2011-06-24 19:44 UTC, Dmitri Bogomolov
Details
firefox-5.0-r1.ebuild.diff (firefox-5.0-r1.ebuild.diff,472 bytes, patch)
2011-07-02 21:28 UTC, Dmitri Bogomolov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitri Bogomolov 2011-06-24 19:42:31 UTC
Emerge www-client/firefox-5.0 fails with USE="-webm"

Reproducible: Always




This is the end of build.log:

checking for YASM assembler... checking for yasm... no
configure: error: yasm is required to build with libjpeg-turbo's optimized JPEG decoding routines, but you do not appear to have yasm installed.  Either install it or configure with --disable-libjpeg-turbo to use the pure C JPEG decoder.  See https://developer.mozilla.org/en/YASM for more details.
*** Fix above errors and then restart with               "make -f client.mk build"
make[1]: *** [configure] Error 1
make[1]: Leaving directory `/var/calculate/tmp/portage/www-client/firefox-5.0/work/mozilla-release'
make: *** [obj-i686-pc-linux-gnu/Makefile] Error 2
emake failed
Comment 1 Dmitri Bogomolov 2011-06-24 19:44:56 UTC
Created attachment 278037 [details]
build.log
Comment 2 Dmitri Bogomolov 2011-07-02 21:28:12 UTC
Created attachment 278889 [details, diff]
firefox-5.0-r1.ebuild.diff

possible fix
Comment 3 Nirbheek Chauhan (RETIRED) gentoo-dev 2012-01-28 05:57:46 UTC
Hum. We should be using the system jpeg, since we use libjpeg-turbo by default in the portage tree now (virtual/jpeg).

Jory, should we add the yasm dep or pass --enable-system-jpeg?
Comment 4 Jory A. Pratt gentoo-dev 2012-02-03 16:11:39 UTC
(In reply to comment #3)
> Hum. We should be using the system jpeg, since we use libjpeg-turbo by default
> in the portage tree now (virtual/jpeg).
> 
> Jory, should we add the yasm dep or pass --enable-system-jpeg?

We should be psasing --enable-system-jpeg why we are not is beyond me.
Comment 5 Nirbheek Chauhan (RETIRED) gentoo-dev 2012-02-04 00:10:23 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Hum. We should be using the system jpeg, since we use libjpeg-turbo by default
> > in the portage tree now (virtual/jpeg).
> > 
> > Jory, should we add the yasm dep or pass --enable-system-jpeg?
> 
> We should be psasing --enable-system-jpeg why we are not is beyond me.

Probably because Firefox isn't ported to jpeg-turbo-1.2 yet[1], and jpeg-turbo-1.2 is ~arch in portage.

1. https://bugzilla.mozilla.org/show_bug.cgi?id=698519
Comment 6 Jory A. Pratt gentoo-dev 2012-02-12 14:32:03 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > (In reply to comment #3)
> > > Hum. We should be using the system jpeg, since we use libjpeg-turbo by default
> > > in the portage tree now (virtual/jpeg).
> > > 
> > > Jory, should we add the yasm dep or pass --enable-system-jpeg?
> > 
> > We should be psasing --enable-system-jpeg why we are not is beyond me.
> 
> Probably because Firefox isn't ported to jpeg-turbo-1.2 yet[1], and
> jpeg-turbo-1.2 is ~arch in portage.
> 
> 1. https://bugzilla.mozilla.org/show_bug.cgi?id=698519

Actually this is a mute point, refer to mozcoreconf-2.eclass and you will see --enable-system-jpeg is already passed.
Comment 7 Nirbheek Chauhan (RETIRED) gentoo-dev 2012-02-12 14:35:44 UTC
Ah yes, closing then.