Summary: | www-client/epiphany-2.26.3-r2 fails to build against xulrunner-1.9.2 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Fernando (likewhoa) <email> |
Component: | New packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dabbott, gentoo, hicham.haouari, krellan, marduk, pacho, sirius82, thomas.jaeger, wasundwarum |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 288249 | ||
Attachments: |
build.log
epiphany-2.26.3-system-nspr.patch epiphany-2.26.3-xul192.patch ebuild that i use fix building with xulrunner-1.9.2 taken from fedora add nspr to cflags and libs fix a missing glib header |
Description
Fernando (likewhoa)
2010-02-05 15:43:18 UTC
Created attachment 218539 [details]
build.log
No reason to link bug 281827 here. (In reply to comment #2) > No reason to link bug 281827 here. > The reason I added bug 281827 in the blocks field was so that I can keep track of it since this package is blocking me from building a catalyst image for Gentoo ten's 10.2 release. this is likewhoa btw :) What xulrunner version do you have installed? (In reply to comment #4) > What xulrunner version do you have installed? > net-libs/xulrunner-1.9.2-r1 (In reply to comment #4) > What xulrunner version do you have installed? > I ran into another epiphany bug which made the ebuild forget about a libsoup-gnome dependency and now epiphany compiles. I cannot reproduce the bug in question anymore therefore I will just set resolution to INVALID until someone else is able to reproduce it. The main reason I believe I ran into this bug was because of an outdated stage3 from november of last year. Thank you for your time. Maybe the problem was about epiphany-2.26 not being able to build with xulrunner-1.9.2, but I doubt it will ever be fixed :-( (since upstream now uses webkit). Well, I just got the same error and I fixed it with a patch from here: http://cvs.fedoraproject.org/viewvc/devel/galeon/galeon-2.0.7-moz192.patch?revision=1.1&view=markup. I had to further add /usr/include/nspr to the plugins/desktopfile build path and it successfully built and installed. Doesnt mean it works though ;) EphyBrowser initialization failed for 0x78f3d0 epiphany fails emerge Reproducible: Always Steps to Reproduce: 1. emerge =www-client/epiphany-2.26.3-r2 This is the log file: ../embed/mozilla/.libs/libephymozillaembed.a(libephymozillaembed_la-EphyXULAppIn fo.o):(.data.rel.ro._ZTV14EphyXULAppInfo[vtable for EphyXULAppInfo]+0x4c): undef ined reference to `EphyXULAppInfo::GetWidgetToolkit(nsACString&)' ../embed/mozilla/.libs/libephymozillaembed.a(libephymozillaembed_la-EphyXULAppIn fo.o):(.data.rel.ro._ZTV14EphyXULAppInfo[vtable for EphyXULAppInfo]+0x78): undef ined reference to `non-virtual thunk to EphyXULAppInfo::GetWidgetToolkit(nsACStr ing&)' /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld: epiph any: hidden symbol `EphyXULAppInfo::GetWidgetToolkit(nsACString&)' isn't defined /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld: final link failed: Nonrepresentable section on output collect2: ld returned 1 exit status libtool: link: rm -f ".libs/epiphanyS.o" make[4]: *** [epiphany] Error 1 make[4]: Leaving directory `/var/tmp/portage/www-client/epiphany-2.26.3-r2/work/ epiphany-2.26.3/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/www-client/epiphany-2.26.3-r2/work/ epiphany-2.26.3/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/www-client/epiphany-2.26.3-r2/work/ epiphany-2.26.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/www-client/epiphany-2.26.3-r2/work/epiphany-2.26.3' make: *** [all] Error 2 * ERROR: www-client/epiphany-2.26.3-r2 failed: * compile failure * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 3115: Called gnome2_src_compile * environment, line 2459: Called die * The specific snippet of code: * emake || die "compile failure" emerge --info: Portage 2.1.7.16 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.28-gentoo-r5 i686) ================================================================= System uname: Linux-2.6.28-gentoo-r5-i686-Intel-R-_Pentium-R-_Dual_CPU_T2310_@_1.46GHz-with-gentoo-1.12.13 Timestamp of tree: Thu, 25 Feb 2010 21:30:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.10 dev-lang/python: 2.5.4-r2, 2.6.4 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm skype-eula" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="C" LDFLAGS="-Wl,-O1" LINGUAS="en it" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa apache2 berkdb bluetooth branding bzip2 cairo cdr cleartype cli consolekit cracklib crypt cups cxx dbus djvu dri dts dv dvd dvdr eds embedded emboss encode evo fam fat ffmpeg firefox flac fontconfig fortran fts3 gdbm gif gimp gnome gphoto2 gpm gstreamer gtk hal iconv imagemagick ioctl ipv6 jadetex java jpeg jpeg2k kde ldap libnotify mad mikmod mjpeg mmx mng modules mp3 mp4 mpeg mplayer mudflap mysql mysqli nautilus ncurses netboot nls nptl nptlonly ntfs ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection samba sdl secure-delete session spell spl sql sse sse2 sse3 ssh ssl startup-notification svg sysfs tcpd theora threads thunar tiff truetype unicode usb v4l v4l2 vnc vorbis webkit win32codecs x264 x86 xml xmlreader xmlrpc xmlwriter xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en it" NETBEANS_MODULES="ide java php webcommon websvccommon nb profiler cnd j2ee xml profiler ruby dlight harness" RUBY_TARGETS="ruby18 jruby" USERLAND="GNU" VIDEO_CARDS="intel" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Please don't mark this bug as INVALID. It's a real bug, I just ran into it after doing "emerge -vuDN world" after an "emerge --sync" done within the last few days. It happens when doing the final big link, to create the "epiphany" executable. Here's the last few lines of the error output: libtool: link: x86_64-pc-linux-gnu-g++ -fno-rtti -fshort-wchar -march=native -ggdb -O2 -pipe -Wall -Wno-unused -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -march=native -ggdb -O2 -pipe .libs/epiphanyS.o -Wl,-O1 -o epiphany epiphany-ephy-main.o -Wl,--export-dynamic -pthread -Wl,--export-dynamic ./.libs/libephymain.a ../src/bookmarks/.libs/libephybookmarks.a /usr/lib64/libavahi-gobject.so -L/usr/lib64 ../embed/.libs/libephyembedfactory.a -L/usr/lib64/xulrunner-devel-1.9.2/lib ../embed/mozilla/.libs/libephymozillaembed.a ../embed/.libs/libephyembed.a ../lib/widgets/.libs/libephywidgets.a ../lib/.libs/libephymisc.a /usr/lib64/libenchant.so ../lib/egg/.libs/libegg.a -L/usr/lib64/xulrunner-devel-1.9.2/bin -lxpcomglue -lplds4 -lplc4 -lnspr4 ./.libs/libpyphany.a /usr/lib64/libxslt.so /usr/lib64/libgnomeui-2.so /usr/lib64/libgnome-keyring.so /usr/lib64/libbonoboui-2.so /usr/lib64/libgnomecanvas-2.so /usr/lib64/libgailutil.so /usr/lib64/libXinerama.so /usr/lib64/libXi.so /usr/lib64/libXcursor.so /usr/lib64/libXcomposite.so /usr/lib64/libXdamage.so /usr/lib64/libXfixes.so /usr/lib64/libgnome-2.so /usr/lib64/libgnomevfs-2.so /usr/lib64/libgnutls.so /usr/lib64/libtasn1.so /usr/lib64/libgcrypt.so /usr/lib64/libgpg-error.so /usr/lib64/libavahi-glib.so /usr/lib64/libavahi-client.so /usr/lib64/libavahi-common.so -lssl -lcrypto /usr/lib64/libpopt.so /usr/lib64/libbonobo-2.so /usr/lib64/libbonobo-activation.so /usr/lib64/libORBitCosNaming-2.so /usr/lib64/libart_lgpl_2.so /usr/lib64/libglade-2.0.so /usr/lib64/libxml2.so /usr/lib64/libgnome-desktop-2.so /usr/lib64/libXrandr.so /usr/lib64/libXext.so /usr/lib64/libgconf-2.so /usr/lib64/libORBit-2.so /usr/lib64/libstartup-notification-1.so /usr/lib64/libxcb-aux.so /usr/lib64/libxcb-event.so /usr/lib64/libxcb-atom.so /usr/lib64/libSM.so -luuid /usr/lib64/libICE.so /usr/lib64/libcanberra-gtk.so /usr/lib64/libgthread-2.0.so -lrt /usr/lib64/libcanberra.so /usr/lib64/libvorbisfile.so /usr/lib64/libvorbis.so -logg /usr/lib64/libltdl.so /usr/lib64/libnotify.so /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libdbus-glib-1.so -lnsl /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libgio-2.0.so -lresolv /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpangoft2-1.0.so /usr/lib64/libcairo.so /usr/lib64/libpixman-1.so /usr/lib64/libpng12.so /usr/lib64/libXrender.so /usr/lib64/libX11.so /usr/lib64/libxcb.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so /usr/lib64/libpango-1.0.so -lm /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so -lz /usr/lib64/libexpat.so /usr/lib64/libgmodule-2.0.so /usr/lib64/libdbus-1.so -L/usr/lib/python2.6/config -lpython2.6 -lpthread -ldl -lutil /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so -pthread -Wl,-rpath -Wl,/usr/lib64 ../embed/mozilla/.libs/libephymozillaembed.a(libephymozillaembed_la-EphyXULAppInfo.o):(.data.rel.ro._ZTV14EphyXULAppInfo[vtable for EphyXULAppInfo]+0x98): undefined reference to `EphyXULAppInfo::GetWidgetToolkit(nsACString&)' ../embed/mozilla/.libs/libephymozillaembed.a(libephymozillaembed_la-EphyXULAppInfo.o):(.data.rel.ro._ZTV14EphyXULAppInfo[vtable for EphyXULAppInfo]+0xf0): undefined reference to `non-virtual thunk to EphyXULAppInfo::GetWidgetToolkit(nsACString&)' /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: epiphany: hidden symbol `EphyXULAppInfo::GetWidgetToolkit(nsACString&)' isn't defined /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Nonrepresentable section on output collect2: ld returned 1 exit status libtool: link: rm -f ".libs/epiphanyS.o" make[4]: *** [epiphany] Error 1 make[4]: Leaving directory `/var/tmp/portage/www-client/epiphany-2.26.3-r3/work/epiphany-2.26.3/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/www-client/epiphany-2.26.3-r3/work/epiphany-2.26.3/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/www-client/epiphany-2.26.3-r3/work/epiphany-2.26.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/www-client/epiphany-2.26.3-r3/work/epiphany-2.26.3' make: *** [all] Error 2 Here's the output from "emerge --info =www-client/epiphany-2.26.3-r3": Portage 2.1.7.17 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-1.12.13 Timestamp of tree: Mon, 08 Mar 2010 03:45:01 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.4-r1 dev-python/pycrypto: 2.1.0_beta1 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.32 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -ggdb -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -ggdb -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ " LANG="en_US.utf8" LDFLAGS="-Wl,-O1" LINGUAS="en_US.utf8 en_US en" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 apache apache2 artworkextra avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cdr cjk cli consolekit cracklib crypt cups curl cxx dbus dga dirac dri dts dv dvb dvd dvdr eds emboss encode evo expat extras faac faad fam ffmpeg fftw firefox flac fontconfig fortran fuse gdbm gif gmplayer gnome gnutls gpm gsm gstreamer gtk guile hal hddtemp httpd iconv ipv6 jack java jpeg jpeg2k json kde ldap libnotify libsamplerate libvisual lm_sensors lua mad mdnsresponder-compat midi mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib mysql ncurses networking nls nptl nptlonly nsplugin nvidia odbc offensive ogg opengl openmp oss pam pcre pdf perl png posix ppds pppd pulseaudio python qt3support qt4 quicktime readline reflection ruby samba schroedinger sdl secure-delete semantic-desktop session sndfile snmp sockets speex spell spl sql sse sse2 ssl startup-notification stream svg sysfs tcl tcpd tga theora thunar tiff timidity tk truetype unicode usb v4l v4l2 vim-syntax vorbis webkit wifi x264 xext xinerama xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http" DVB_CARDS="af9005 bcm3510 cx18 cx231xx cx23885 dibusb-usb1 dibusb-usb2 mpc718 nxt200x opera1 or51132 or51211 pvrusb2 sp8870 sp887x tda10045 tda10046 ttpci ttusb-dec usb-a800 usb-bluebird usb-dib0700 usb-dtt200u usb-umt usb-vp702x usb-vp7045 usb-wt220u vp7041 " ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US.utf8 en_US en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY True, this bug is not invalid. *** Bug 308421 has been marked as a duplicate of this bug. *** Blocking 2.28 release/stable to keep track since epiphany-2.28* will not go stable. From my point of view this is invalid since epiphany-2.26 is not supposed to work with *testing* xulrunner-1.9.2 (people mixing testing and stable should get used to suffer problems because of the "mix") This shouldn't also block gnome 2.28 stabilization since this won't "hurt" people until xulrunner-1.9.2 goes to stable (this is why I suggested to try to pull epiphany-2.29 and 2.30 in main tree as soon as possible, that way we could try to stable it before full gnome 2.30) Created attachment 222741 [details, diff]
epiphany-2.26.3-system-nspr.patch
Created attachment 222743 [details, diff] epiphany-2.26.3-xul192.patch I tried above patches inspired from http://cvs.fedoraproject.org/viewvc/devel/galeon/galeon-2.0.7-moz192.patch?revision=1.1&view=markup but without success :-( But I attach them as maybe any other people with programming knowledges could fix this This is the error I get applying them, seems that something needs to be modified in plugins/desktop-file/plugin.cpp: libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN=\"ephy-desktop-file-plugin\" -I../../lib -I/usr/include/xulrunner-1.9.2 /unstable/. -I/usr/include/xulrunner-1.9.2/unstable/dom -I/usr/include/xulrunner-1.9.2/unstable/plugin -DXPCOM_GLUE -fshort-wchar -DXP_UNIX -I/usr/include/xu lrunner-1.9.2 -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/libpng12 -fno-rtti -fshort-wchar -march=native -O2 -pipe -Wal l -Wno-unused -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -march=native -O2 -pi pe -MT libdesktopfileplugin_la-plugin.lo -MD -MP -MF .deps/libdesktopfileplugin_la-plugin.Tpo -c plugin.cpp -fPIC -DPIC -o .libs/libdesktopfileplugin_la-plu gin.o In file included from /usr/include/xulrunner-1.9.2/nsDebug.h:42, from /usr/include/xulrunner-1.9.2/nsCOMPtr.h:59, from plugin.cpp:44: /usr/include/xulrunner-1.9.2/nscore.h:51:21: error: prtypes.h: No such file or directory In file included from /usr/include/xulrunner-1.9.2/nsISupports.h:10, from /usr/include/xulrunner-1.9.2/domstubs.h:10, from /usr/include/xulrunner-1.9.2/nsIDOMWindow.h:10, from plugin.cpp:45: /usr/include/xulrunner-1.9.2/nsrootidl.h:12:20: error: prtime.h: No such file or directory In file included from /usr/include/xulrunner-1.9.2/nsDebug.h:42, from /usr/include/xulrunner-1.9.2/nsCOMPtr.h:59, from plugin.cpp:44: /usr/include/xulrunner-1.9.2/nscore.h:342: error: 'PRUint32' does not name a type /usr/include/xulrunner-1.9.2/nscore.h:355: error: 'PRUint32' does not name a type In file included from /usr/include/xulrunner-1.9.2/nscore.h:363, from /usr/include/xulrunner-1.9.2/nsDebug.h:42, from /usr/include/xulrunner-1.9.2/nsCOMPtr.h:59, from plugin.cpp:44: /usr/include/xulrunner-1.9.2/nsError.h:324: error: 'nsresult' does not name a type In file included from /usr/include/xulrunner-1.9.2/nsDebug.h:42, from /usr/include/xulrunner-1.9.2/nsCOMPtr.h:59, from plugin.cpp:44: /usr/include/xulrunner-1.9.2/nscore.h:398: error: 'PRUint16' does not name a type In file included from /usr/include/xulrunner-1.9.2/nsDebug.h:49, from /usr/include/xulrunner-1.9.2/nsCOMPtr.h:59, from plugin.cpp:44: /usr/include/xulrunner-1.9.2/nsXPCOM.h:106: error: ISO C++ forbids declaration of 'nsresult' with no type /usr/include/xulrunner-1.9.2/nsXPCOM.h:106: error: typedef 'nsresult' is initialized (use __typeof__ instead) /usr/include/xulrunner-1.9.2/nsXPCOM.h:106: error: 'nsGetModuleProc' was not declared in this scope /usr/include/xulrunner-1.9.2/nsXPCOM.h:144: error: 'nsresult' does not name a type /usr/include/xulrunner-1.9.2/nsXPCOM.h:158: error: 'nsGetModuleProc' does not name a type /usr/include/xulrunner-1.9.2/nsXPCOM.h:201: error: 'nsresult' does not name a type /usr/include/xulrunner-1.9.2/nsXPCOM.h:221: error: 'nsresult' does not name a type /usr/include/xulrunner-1.9.2/nsXPCOM.h:235: error: 'nsresult' does not name a type /usr/include/xulrunner-1.9.2/nsXPCOM.h:248: error: 'nsresult' does not name a type /usr/include/xulrunner-1.9.2/nsXPCOM.h:261: error: 'nsresult' does not name a type /usr/include/xulrunner-1.9.2/nsXPCOM.h:274: error: 'nsresult' does not name a type /usr/include/xulrunner-1.9.2/nsXPCOM.h:302: error: 'nsresult' does not name a type /usr/include/xulrunner-1.9.2/nsXPCOM.h:307: error: 'nsresult' does not name a type /usr/include/xulrunner-1.9.2/nsXPCOM.h:325: warning: 'NS_Alloc' initialized and declared 'extern' /usr/include/xulrunner-1.9.2/nsXPCOM.h:325: error: 'PRSize' was not declared in this scope /usr/include/xulrunner-1.9.2/nsXPCOM.h:346: error: 'PRSize' has not been declared /usr/include/xulrunner-1.9.2/nsXPCOM.h:388: warning: 'NS_DebugBreak' initialized and declared 'extern' /usr/include/xulrunner-1.9.2/nsXPCOM.h:388: error: variable or field 'NS_DebugBreak' declared void /usr/include/xulrunner-1.9.2/nsXPCOM.h:388: error: 'PRUint32' was not declared in this scope /usr/include/xulrunner-1.9.2/nsXPCOM.h:389: error: expected primary-expression before 'const' /usr/include/xulrunner-1.9.2/nsXPCOM.h:389: error: expected primary-expression before 'const' /usr/include/xulrunner-1.9.2/nsXPCOM.h:390: error: expected primary-expression before 'const' /usr/include/xulrunner-1.9.2/nsXPCOM.h:390: error: 'PRInt32' was not declared in this scope /usr/include/xulrunner-1.9.2/nsXPCOM.h:425: error: 'PRUint32' has not been declared /usr/include/xulrunner-1.9.2/nsXPCOM.h:428: error: 'PRUint32' has not been declared /usr/include/xulrunner-1.9.2/nsXPCOM.h:441: error: 'nsrefcnt' has not been declared /usr/include/xulrunner-1.9.2/nsXPCOM.h:442: error: 'PRUint32' has not been declared /usr/include/xulrunner-1.9.2/nsXPCOM.h:445: error: 'nsrefcnt' has not been declared /usr/include/xulrunner-1.9.2/nsXPCOM.h:471: error: 'PRBool' does not name a type /usr/include/xulrunner-1.9.2/nsXPCOM.h:474: error: 'PRBool' does not name a type /usr/include/xulrunner-1.9.2/nsXPCOM.h:480: error: 'PRBool' does not name a type /usr/include/xulrunner-1.9.2/nsXPCOM.h:571: error: 'nsresult' does not name a type /usr/include/xulrunner-1.9.2/nsXPCOM.h:574: error: 'nsresult' does not name a type In file included from /usr/include/xulrunner-1.9.2/nsCOMPtr.h:59, from plugin.cpp:44: /usr/include/xulrunner-1.9.2/nsDebug.h:289: error: expected constructor, destructor, or type conversion before 'void' In file included from /usr/include/xulrunner-1.9.2/nsISupportsBase.h:44, from /usr/include/xulrunner-1.9.2/nsISupportsUtils.h:49, from /usr/include/xulrunner-1.9.2/nsCOMPtr.h:64, from plugin.cpp:44: /usr/include/xulrunner-1.9.2/nsID.h:54: error: expected constructor, destructor, or type conversion before 'struct' make[3]: *** [libdesktopfileplugin_la-plugin.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/www-client/epiphany-2.26.3-r3/work/epiphany-2.26.3/plugins/desktop-file' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/www-client/epiphany-2.26.3-r3/work/epiphany-2.26.3/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/www-client/epiphany-2.26.3-r3/work/epiphany-2.26.3' make: *** [all] Error 2 Not any fault of Gentoo, but I FYI the fact is that Epiphany 2.28 still has many regressions compared to 2.26 (missing features, broken extensions, problems rendering some sites). This is one reason that while I'm on ~amd64 I still use Epiphany 2.26. But while it would be nice to have Epiphany 2.26 work with xulrunner 1.9.2*, I do know how to use package.mask :) I got it working well with 1.9.2, i will attach the ebuild and patches ive used Created attachment 222999 [details]
ebuild that i use
Created attachment 223003 [details, diff]
fix building with xulrunner-1.9.2 taken from fedora
Created attachment 223005 [details, diff]
add nspr to cflags and libs
Created attachment 223007 [details, diff]
fix a missing glib header
i got gmail-notifier working too, if anyone is interested, please let me, to share the fixes (In reply to comment #24) > i got gmail-notifier working too, if anyone is interested, please let me, to > share the fixes > Really thanks a lot for your help on this :-) Sadly, I don't have much time today for working on this, but I will test the patches as soon as I am able to (if nobody else beats me ;-)) About sharing gmail-notify patches, I think that people in bug 139911 will welcome them and, of course, its upstream also :-) Best regards i meant epiphany-gmail-notifier : http://code.google.com/p/epiphany-gmail-notifier/ , not the standalone program :) i don't know if i should submit it as a separate ebuild, or use epiphany-extensions with gmail useflag Comment on attachment 223003 [details, diff]
fix building with xulrunner-1.9.2 taken from fedora
Like epiphany-2.26.3-xul192.patch
Comment on attachment 222741 [details, diff]
epiphany-2.26.3-system-nspr.patch
epiphany-nspr.patch looks more complete
Patches make it build but, finally, epiphany doesn't work, since it's unable to browse any page and, when closing it, the following is shown: ** (epiphany:7285): WARNING **: EphyBrowser initialization failed for 0x275c410 Can you start with a new profile ? or delete any epiphany related stuff in $HOME ( .gnome2/epiphany .gconf/app/epiphany ), and see if it works (In reply to comment #30) > Can you start with a new profile ? or delete any epiphany related stuff in > $HOME ( .gnome2/epiphany .gconf/app/epiphany ), and see if it works > Silly me, I was using the same profiles I were using with 2.28 :-S Now seems to start and work ok (I need to check it more, like downloads, ftp...). Thanks In you attached ebuild I have seen that you are also running the following: sed -i s/TextZoom/FullZoom/ embed/mozilla/EphyBrowser.cpp || die is it xul-1.9.2 specific? I mean, maybe it would make it break with xulrunner-1.9.1 (it wouldn't be a major problem but, in that case, RDEPEND should be fixed to require xulrunner-1.9.2) full page zoom is introduced with gecko-1.9, so no breakage with 1.9.0 or 1.9.1 OK, I will CC mozilla team for checking if the patches are ok and if anything more needs to be modified to work ok with xulrunner-1.9.2 (In reply to comment #33) > OK, I will CC mozilla team for checking if the patches are ok and if anything > more needs to be modified to work ok with xulrunner-1.9.2 > nspr patch is fine, other patch is up to you all to test. removing mozilla team. Thanks a lot Jory Fixed in -r4 Thanks a lot Hicham You are welcome. However, I still have one remark. It would have been better to add a message at pkg_postinst() about the famous initialization error : "EphyBrowser initialization failed for ...", and suggest creating a new profile in that case. (In reply to comment #37) > You are welcome. > > However, I still have one remark. It would have been better to add a message at > pkg_postinst() about the famous initialization error : "EphyBrowser > initialization failed for ...", and suggest creating a new profile in that > case. > Yes, I also thought about it (the offending dir seems to be ~/.gnome2/epiphany/mozilla) but, since my profile had a lot of cruft, I preferred to wait a bit to see if any other users are getting that problem *** Bug 312817 has been marked as a duplicate of this bug. *** > Yes, I also thought about it (the offending dir seems to be
> ~/.gnome2/epiphany/mozilla) but, since my profile had a lot of cruft, I
> preferred to wait a bit to see if any other users are getting that problem
>
removing ~/.gnome2/epiphany/mozilla works only once. Second start same problem :-(
(In reply to comment #40) > > Yes, I also thought about it (the offending dir seems to be > > ~/.gnome2/epiphany/mozilla) but, since my profile had a lot of cruft, I > > preferred to wait a bit to see if any other users are getting that problem > > > > removing ~/.gnome2/epiphany/mozilla works only once. Second start same problem > :-( > Did you read http://bugs.gentoo.org/show_bug.cgi?id=303583#c30 ? (In reply to comment #40) > > Yes, I also thought about it (the offending dir seems to be > > ~/.gnome2/epiphany/mozilla) but, since my profile had a lot of cruft, I > > preferred to wait a bit to see if any other users are getting that problem > > > > removing ~/.gnome2/epiphany/mozilla works only once. Second start same problem > :-( > rm ~/.gnome2/epiphany/mozilla/epiphany/compreg.dat is enough in my case (tested on three machines) and I only need to run it one time. |