Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 445344 - www-client/seamonkey-2.14-r1 - .../work/comm-release/mozilla/content/media/ogg/nsOggReader.h:14:26: fatal error: vorbis/c odec.h: No such file or directory
Summary: www-client/seamonkey-2.14-r1 - .../work/comm-release/mozilla/content/media/og...
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 13:19 UTC by Milka
Modified: 2012-12-03 07:59 UTC (History)
1 user (show)

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


Attachments
build.log.gz (build.log.gz,310.43 KB, application/x-gzip)
2012-11-30 13:19 UTC, Milka
Details
activate MOZ_VORBIS for MOZ_OGG (seamonkey-2.14-r1-bug-445344.patch,453 bytes, patch)
2012-12-03 07:59 UTC, Milka
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Milka 2012-11-30 13:19:07 UTC
Created attachment 331050 [details]
build.log.gz

I wanted to update my Seamonkey.

[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"

First I have to hack the mozconfig-3.eclass due to bug 445330. This disabled the webrtc. But that is probably not related to this bug. The compilation failed with this error:

make[7]: Entering directory `/var/tmp/portage/www-client/seamonkey-2.14-r1/work/comm-release/seamonk/mozilla/content/media/ogg'
x86_64-pc-linux-gnu-g++ -o nsOggDecoder.o -c -I../../../dist/stl_wrappers -I../../../dist/system_wrappers -include /var/tmp/portage/www-client/seamonkey-2.14-r1/work/comm-release/mozilla/config/gcc_hidden.h -DMOZ_GLUE_IN_PROGRAM -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES  -DSTATIC_EXPORTABLE_JS_API -DMOZ_SUITE=1  -I/var/tmp/portage/www-client/seamonkey-2.14-r1/work/comm-release/mozilla/content/media/ogg -I. -I../../../dist/include  -I/usr/include/nspr -I/usr/include/nss      -fPIC  -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -march=k8 -pipe -mno-avx -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -std=gnu++0x -pthread -pipe  -DNDEBUG -DTRIMMED -g -Os -freorder-blocks -finline-limit=50 -fomit-frame-pointer    -DMOZILLA_CLIENT -include ../../../mozilla-config.h -MD -MF .deps/nsOggDecoder.o.pp /var/tmp/portage/www-client/seamonkey-2.14-r1/work/comm-release/mozilla/content/media/ogg/nsOggDecoder.cpp
nsOggCodecState.cpp
In file included from /var/tmp/portage/www-client/seamonkey-2.14-r1/work/comm-release/mozilla/content/media/ogg/nsOggDecoder.cpp:8:0:
/var/tmp/portage/www-client/seamonkey-2.14-r1/work/comm-release/mozilla/content/media/ogg/nsOggReader.h:14:26: fatal error: vorbis/codec.h: No such file or directory

The vorbis/codec.h is actually present in comm-release/mozilla/media/libvorbis/include/ directory. But it is not linked into the comm-release/seamonk/mozilla/dist/include/ directory.

Because I don't need any sound or video I have hacked the mozconfig-3.eclass and disabled ogg. With only --enable-wave (+alsa) it compiles OK.

In the /var/tmp/portage/www-client/seamonkey-2.14-r1/work/comm-release/mozilla/configure MOZ_VORBIS is empty by default and it is set only by MOZ_WEBM but not by MOZ_OGG. Maybe this is the culprit?
Comment 1 Jory A. Pratt gentoo-dev 2012-11-30 20:51:17 UTC
Lars feel free to mark as a duplicate of the webm alsa bug.
Comment 2 Jory A. Pratt gentoo-dev 2012-11-30 20:53:49 UTC

*** This bug has been marked as a duplicate of bug 433930 ***
Comment 3 Milka 2012-12-03 07:59:29 UTC
Created attachment 331278 [details, diff]
activate MOZ_VORBIS for MOZ_OGG

This patch solves it for me.

I have copied code from the MOZ_WEBM section to the MOZ_OGG section. See end of my original report (comment 0).

Tested on amd64. Compiled, running, playing ogg video and sound.

Somebody shall test it on arm because webm on arm uses Tremor instead of Vorbis. I don't know if ogg works with tremor.