Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 278917 - www-client/galeon-2.0.7-r1 fails to compile due to errors in MozRegisterComponents.cpp:29
Summary: www-client/galeon-2.0.7-r1 fails to compile due to errors in MozRegisterCompo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Nirbheek Chauhan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 282170
  Show dependency tree
 
Reported: 2009-07-24 10:23 UTC by Florian Streibelt
Modified: 2009-08-21 08:27 UTC (History)
5 users (show)

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


Attachments
galeon-2.0.7-r1-build.log (galeon-2.0.7-r1-build.log,534.52 KB, text/plain)
2009-07-24 10:24 UTC, Florian Streibelt
Details
Patch adapted from 263990 (galeon-2.0.7-moz191.patch,417 bytes, text/plain)
2009-07-25 10:33 UTC, Michael Mauch
Details
Patch for the ebuild (galeon-2.0.7-r1.patch,390 bytes, patch)
2009-07-25 10:35 UTC, Michael Mauch
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Streibelt 2009-07-24 10:23:44 UTC
the emerge fails on ~amd64 after:

In file included from GeckoPrintSession.cpp:35:
GeckoPrintSession.h:50: warning: 'GeckoPrintSession' declared with greater visibility than the type of its field 'GeckoPrintSession::<anonymous>'
GeckoPrintSession.h:50: warning: 'GeckoPrintSession' declared with greater visibility than its base 'nsSupportsWeakReference'
mv -f .deps/GeckoPrintSession.Tpo .deps/GeckoPrintSession.Plo
In file included from GeckoPrintService.cpp:45:
GeckoPrintSession.h:50: warning: 'GeckoPrintSession' declared with greater visibility than the type of its field 'GeckoPrintSession::<anonymous>'
GeckoPrintSession.h:50: warning: 'GeckoPrintSession' declared with greater visibility than its base 'nsSupportsWeakReference'
mv -f .deps/GeckoPrintService.Tpo .deps/GeckoPrintService.Plo
make[3]: Leaving directory `/var/tmp/portage/www-client/galeon-2.0.7-r1/work/galeon-2.0.7/mozilla'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/www-client/galeon-2.0.7-r1/work/galeon-2.0.7/mozilla'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/www-client/galeon-2.0.7-r1/work/galeon-2.0.7'
make: *** [all] Error 2


Reproducible: Always

Steps to Reproduce:
1. emerge -auvD world 
2. revdep-rebuild 
3. fail.

Actual Results:  
obove error message

Expected Results:  
installation of galeon

Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 24 Jul 2009 08:20:01 +0000
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r2, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
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.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE.UTF8"
LC_ALL="de_DE.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de"
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/local/poverlay"
SYNC="rsync://ftp.spline.de/gentoo-portage"
USE="X acl acpi alsa amd64 avahi bash-completion berkdb bluetooth bzip2 cairo cli cracklib crypt cups dbus dri esd fuse gdbm gif gnome gpm gtk hal iconv iproute2 ipv6 isdnlog jpeg libnotify midi mmx mppe-mppc mudflap multilib nautilus ncurses nls nptl nptlonly obex opengl openmp pam pcre perl png pppd python qt3 qt3support qt4 readline reflection session spl sse sse2 ssl sysfs tcpd threads tiff truetype unicode vorbis xinerama xorg 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="alias asis auth_basic auth_digest authn_alias authn_anon authn_default authn_file authz_default authz_groupfile authz_host authz_owner authz_user dav dav_fs dav_lock dir env expires headers include info log_config logio mime mime_magic negotiation rewrite setenvif unique_id vhost_alias  autoindex  proxy proxy_http proxy_ajp  status userdir" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics joystick wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nv svga nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Florian Streibelt 2009-07-24 10:24:31 UTC
Created attachment 198973 [details]
galeon-2.0.7-r1-build.log

the failing build.log
Comment 2 Florian Streibelt 2009-07-24 10:26:35 UTC
*gnargh* the original _error_ is here:

In file included from MozRegisterComponents.cpp:29:
GeckoPrintSession.h:50: warning: 'GeckoPrintSession' declared with greater visibility than the type of its field 'GeckoPrintSession::<anonymous>'
GeckoPrintSession.h:50: warning: 'GeckoPrintSession' declared with greater visibility than its base 'nsSupportsWeakReference'
MozRegisterComponents.cpp:274: error: 'XULAPPINFO_SERVICE_CONTRACTID' was not declared in this scope
make[3]: *** [MozRegisterComponents.lo] Error 1


Comment 3 Juergen Rose 2009-07-24 16:07:21 UTC
The same error here.
Comment 4 Lukas Zavodny 2009-07-25 06:52:32 UTC
Same here too
Comment 5 Michael Mauch 2009-07-25 10:32:43 UTC
There's a patch for Epiphany at http://bugs.gentoo.org/show_bug.cgi?id=263990 which can be easily adapted. I'll append the patch in a second.
Comment 6 Michael Mauch 2009-07-25 10:33:54 UTC
Created attachment 199098 [details]
Patch adapted from 263990
Comment 7 Michael Mauch 2009-07-25 10:35:00 UTC
Created attachment 199099 [details, diff]
Patch for the ebuild
Comment 8 Lukas Zavodny 2009-07-26 08:12:39 UTC
With this patch it's working. Great. Thx
Comment 9 Robert Bradbury 2009-07-29 14:37:13 UTC
Micahel/Lukas, is there a document somewhere which tells how precisely such posted patches should be applied?  It doesn't look like there is any way to stop an "emerge" between the extract -> verify sums -> apply patches -> configure -> build sequence.  One can apply the patches after the failure by hand, rebuild and use the Makefile install (which is different from the gentoo install usually) but then the "install" step isn't recorded in the package database.  "emerge --resume" doesn't seem to work for single pagages and trying to stick the patches into the portage package hierarchy seems to result in their being lost when the hierarchy is updated (at least my experience seems to indicate that portage deletes all "foreign" files from the directory hierarchy).

Is there specific documentation on how to apply gentoo patches that I am missing?

Thanks.
Comment 10 Michael Mauch 2009-07-29 19:44:07 UTC
(In reply to comment #9)

> Is there specific documentation on how to apply gentoo patches that I am
> missing?

These patches were meant for the maintainer of the ebuild, he knows how to apply patches. (I'll try to answer Robert's question by mail.)
Comment 11 Frank 2009-08-13 21:55:44 UTC
I can confirm, that the patch from #6 is working.
Comment 12 Robert Buchholz (RETIRED) gentoo-dev 2009-08-21 07:06:49 UTC
nirbheek, you added that version. Please fix.
Comment 13 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-08-21 08:27:31 UTC
(In reply to comment #12)
> nirbheek, you added that version. Please fix.
> 

This patch has been appended to the previous patch for build fixing with xulrunner 1.9.1 (w/o a revbump), InCVS.