Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mozilla overlay: xulrunner-1.9.1-beta1 not emerging [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2397

PostPosted: Wed Oct 22, 2008 1:37 pm    Post subject: mozilla overlay: xulrunner-1.9.1-beta1 not emerging [SOLVED] Reply with quote

i tried to emerge mozilla-firefox-3.1-beta1 from the mozilla overlay.
this pulls in xulrunner-1.9.1-beta1 as a dependency, since i have the xulrunner useflag set.
emerging this fails with
Code:
x86_64-pc-linux-gnu-g++ -o gfxContext.o -c -I../../../dist/include/system_wrappers -include ../../../config/gcc_hidden.h -DIMPL_THEBES -DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux  -I. -I. -I../../../dist/include/cairo -I../../../dist/include/string -I../../../dist/include/pref -I../../../dist/include/xpcom -I../../../dist/include/unicharutil -I../../../dist/include/lcms -I../../../dist/include/locale -I../../../dist/include   -I../../../dist/include/thebes -I/usr/include/nspr     -I/var/tmp/portage/net-libs/xulrunner-1.9.1_beta1-r1/work/mozilla-central/dist/sdk/include    -fPIC  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\"  -fno-rtti -fno-handle-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long -pipe -march=nocona -fPIC -Wno-return-type -w -fno-strict-aliasing -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -Os -freorder-blocks -fno-reorder-functions  -D_REENTRANT -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12   -D_REENTRANT -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12   -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/gtk-unix-print-2.0   -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2    -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\"  -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/gfxContext.pp gfxContext.cpp
gfxASurface.cpp:59:32: error: gfxDirectFBSurface.h: No such file or directory
gfxASurface.cpp: In static member function 'static already_AddRefed<gfxASurface> gfxASurface::Wrap(cairo_surface_t*)':
gfxASurface.cpp:176: error: expected type-specifier before 'gfxDirectFBSurface'
gfxASurface.cpp:176: error: cannot convert 'int*' to 'gfxASurface*' in assignment
gfxASurface.cpp:176: error: expected `;' before 'gfxDirectFBSurface'
gmake[5]: *** [gfxASurface.o] Error 1
gmake[5]: *** Waiting for unfinished jobs....
gmake[5]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.1_beta1-r1/work/mozilla-central/gfx/thebes/src'
gmake[4]: *** [libs] Error 2
gmake[4]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.1_beta1-r1/work/mozilla-central/gfx/thebes'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.1_beta1-r1/work/mozilla-central/gfx'
gmake[2]: *** [libs_tier_gecko] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.1_beta1-r1/work/mozilla-central'
gmake[1]: *** [tier_gecko] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.1_beta1-r1/work/mozilla-central'
make: *** [default] Error 2
 *
 * ERROR: net-libs/xulrunner-1.9.1_beta1-r1 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 5046:  Called die
 * The specific snippet of code:
 * emake || die "emake failed"
 * The die message:
 * emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-libs/xulrunner-1.9.1_beta1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/xulrunner-1.9.1_beta1-r1/temp/environment'.
 *
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.10"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info

>>> Failed to emerge net-libs/xulrunner-1.9.1_beta1-r1, Log file:

>>>  '/var/tmp/portage/net-libs/xulrunner-1.9.1_beta1-r1/temp/build.log'

 * Messages for package net-libs/xulrunner-1.9.1_beta1-r1:

 *
 * ERROR: net-libs/xulrunner-1.9.1_beta1-r1 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 5046:  Called die
 * The specific snippet of code:
 * emake || die "emake failed"
 * The die message:
 * emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-libs/xulrunner-1.9.1_beta1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/xulrunner-1.9.1_beta1-r1/temp/environment'.
 *

 * GNU info directory index is up-to-date.

#


apparently the header file gfxDirectFBSurface.h is not found while compiling the source file gfxASurface.cpp.
the header file is located at ../public/, which is not included with -I.
can anybody with make skills fix this?


Last edited by alex.blackbit on Sun Oct 26, 2008 1:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2397

PostPosted: Sat Oct 25, 2008 9:47 pm    Post subject: Reply with quote

i just tried without the xulrunner useflag. the result is the same, the firefox emerge crashes with the same error message.
Back to top
View user's profile Send private message
hajit
n00b
n00b


Joined: 07 Sep 2007
Posts: 7
Location: Russia

PostPosted: Sun Oct 26, 2008 6:36 am    Post subject: Reply with quote

Code:
USE="-directfb" emerge -1 cairo && emerge mozilla-firefox

works for me
Back to top
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2397

PostPosted: Sun Oct 26, 2008 10:06 am    Post subject: Reply with quote

thanks for the hint, hajit.
xulrunner is currently emerging and i believe it already passed the critical section.
i didn't get the connection gfxDirectFBSurface.h => cairo => directfb.
how did you know that?
thanks again.
Back to top
View user's profile Send private message
hajit
n00b
n00b


Joined: 07 Sep 2007
Posts: 7
Location: Russia

PostPosted: Sun Oct 26, 2008 12:12 pm    Post subject: Reply with quote

Quote:
how did you know that?

It's a long story :twisted:
Back to top
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2397

PostPosted: Sun Oct 26, 2008 1:41 pm    Post subject: Reply with quote

since emerge finished, i know now that your tip did the trick and i have a working firefox-3.1beta1 now, with the xulrunner useflag, which means that all my xulrunner dependent applications use xulrunner 1.9.1-beta1 now. no problems so far. i believe that firefox would also have emerged without the xulrunner useflag.
thanks again for the help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum