Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 130610

Summary: www-client/mozilla-1.7.12-r3: invalid argument to -D: HAS_TMPL_RETENTIONresources/content/p3p.xsl.in
Product: Gentoo Linux Reporter: Martin Mokrejš <mmokrejs>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED WONTFIX    
Severity: normal CC: askwar, fb-gentoo, ray.ishido
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: extensions/p3p/Makefile.in fix

Description Martin Mokrejš 2006-04-20 07:44:08 UTC
I have edited my USE flags and between other have added the xprint flag. I guess that's why I have now problem to re-install same version of mozilla:

i686-pc-linux-gnu-g++ -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\"  -fno-rtti -fno-handle-exceptions  -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=pentium4 -pipe -Wno-deprecated -Wno-return-type -w -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2 -fPIC -shared -Wl,-h -Wl,libp3p.so -Wl,-rpath,/usr/lib/mozilla -o libp3p.so  nsP3PService.o nsP3PUtils.o nsPolicyReference.o nsCompactPolicy.o nsP3PModule.o      -Wl,-rpath,/usr/lib/mozilla  -L../../../dist/bin -lxpcom  -L../../../dist/bin -L/var/tmp/portage/mozilla-1.7.12-r3/work/mozilla/dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl  -Wl,--version-script -Wl,../../../build/unix/gnu-ld-scripts/components-version-script -Wl,-Bsymbolic -lpangoft2-1.0 -ldl -lm    
chmod +x libp3p.so
strip libp3p.so
/var/tmp/portage/mozilla-1.7.12-r3/work/mozilla/config/nsinstall -R -m 755 libp3p.so ../../../dist/lib/components
../../../dist/bin/elf-dynstr-gc ../../../dist/lib/components/libp3p.so
Couldn't GC any strings, exiting.
/var/tmp/portage/mozilla-1.7.12-r3/work/mozilla/config/nsinstall -R -m 755 libp3p.so ../../../dist/bin/components
../../../dist/bin/elf-dynstr-gc ../../../dist/bin/components/libp3p.so
Couldn't GC any strings, exiting.
gmake[4]: Leaving directory `/var/tmp/portage/mozilla-1.7.12-r3/work/mozilla/extensions/p3p/src'
/usr/bin/perl -I../../config ../../config/preprocessor.pl -DNAMESPACE=http://www.w3.org/2000/P3Pv1 \
        resources/content/p3p.xsl.in > p3p200005.xsl
/usr/bin/perl -I../../config ../../config/preprocessor.pl -DNAMESPACE=http://www.w3.org/2000/10/18/P3Pv1 \
        -DHAS_TMPL_RETENTION\
        resources/content/p3p.xsl.in > p3p200010.xsl
../../config/preprocessor.pl: invalid argument to -D: HAS_TMPL_RETENTIONresources/content/p3p.xsl.in
gmake[3]: *** [p3p200010.xsl] Error 255
gmake[3]: *** Deleting file `p3p200010.xsl'
gmake[3]: Leaving directory `/var/tmp/portage/mozilla-1.7.12-r3/work/mozilla/extensions/p3p'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/mozilla-1.7.12-r3/work/mozilla/extensions'
gmake[1]: *** [tier_94] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-1.7.12-r3/work/mozilla'
make: *** [default] Error 2

!!! ERROR: www-client/mozilla-1.7.12-r3 failed.
Call stack:
  ebuild.sh, line 1532:   Called dyn_compile
  ebuild.sh, line 929:   Called src_compile
  mozilla-1.7.12-r3.ebuild, line 204:   Called die



Portage 2.1_pre7-r5 (default-linux/x86/2005.0, gcc-3.4.6, glibc-2.4-r1, 2.6.17-rc1 i686)
=================================================================
System uname: 2.6.17-rc1 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz
Gentoo Base System version 1.12.0_pre17
dev-lang/python:     2.3.4-r1, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/spool/PBS /var/bind /var/qmail/alias /var/qmail/control /var/spool/PBS /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 FFmpeg X Xaw3d a52 aac aalib acpi alsa amr apache2 apm arts ati avi berkdb bitmap-fonts bonobo caca cdparanoia cdr cli cpudetection crypt cscope ctype cups dba dga directfb divx divx5 divx5linux dri dts dv dvb dvd dvdr dvdread eds emacs emacs-w3 emboss encode esd ethereal evo f77 faad faad2 fam fame fbcon ffmpeg flash foomaticdb fortran fvwm fvwm2 gb gd gdbm ggi gif gphoto2 gpm gstreamer gtk gtk2 gtkhtml i8x0 icc iconv ieee1394 ifc imagemagick imlib imlib2 inifile innodb ipv6 isdnlog ithreads java jpeg lcms leim libcaca libg++ libwww lirc live lzo mad matroska mcal mesa mhash mikmod ming mmx mmx2 mmxext motif mozilla mp3 mpeg mule musepack mysql ncurses network nls nptl nptlonly ogg oggvorbis opengl oss pam pcre pda pdflib perl plotutils plugin png ppds pppd pthread pthreads python qt qtx quicktime readline reflection rtc samba scanner scp sdl server session slp spell spl sse sse2 ssl stroke tcltk tcpd tetex theora thread threads tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis win32 win32codecs winvidix wmf x264 xanim xml xml2 xmms xosd xprint xv xvid xvmc zeo zlib elibc_glibc kernel_linux userland_GNU video_cards_ati"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS

# i686-pc-linux-gnu-g++ --version
i686-pc-linux-gnu-g++ (GCC) 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

#
Comment 1 Martin Mokrejš 2006-04-20 07:46:02 UTC
Actually, to ensure you it is the 'xprint' issue:

# emerge -uNp world

These are the packages that would be merged, in order:

Calculating world dependencies... done!
[ebuild   R   ] www-client/mozilla-1.7.12-r3  USE="xprint*" 

#
Comment 2 Apollon Oikonomopoulos 2006-04-20 13:20:25 UTC
Created attachment 85056 [details, diff]
extensions/p3p/Makefile.in fix

This bug is actually due to some typos in mozilla/extensions/p3p/Makefile.in, that cause gmake to bail out. This patch fixes the issue for me.
Comment 3 Martin Mokrejš 2006-04-20 13:29:52 UTC
Right. I think it is better to insert the missing space in front of the backslash character so that the lines are not overly long. I guess upstream won't accept such a patch introducing long lines and possibly breaking their formatting rules. I was just about to submit a bugreport at bugzilla as it occurs also with mozilla-1.7.13 (which I'm just compiling now). Will you report the issue? Thanks!
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-04-22 05:03:29 UTC
*** Bug 130821 has been marked as a duplicate of this bug. ***
Comment 5 fb-gentoo 2006-04-22 05:17:13 UTC
Simply adding a whitespace before the \ is enough actually
Comment 6 Alexander Skwar 2006-04-22 22:34:00 UTC
Isn't this a dupe of bug #127075?
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-04-24 07:46:24 UTC
*** Bug 131103 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-07-22 15:06:07 UTC
Mozilla is dead upstream and will be removed from portage.