First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 215447
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: OpenOffice Team <openoffice@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Stefan Werner <dustbln@gmx.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
openoffice240.log.bz2 emerge log application/octet-stream Stefan Werner 2008-03-30 16:23 0000 442.41 KB Details
gentoo-2.4.0.diff-6750.out error log of failed patch text/plain Nicola Rauseo 2008-04-15 18:10 0000 5.45 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 215447 depends on: Show dependency tree
Show dependency graph
Bug 215447 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-03-30 16:21 0000
When I try to emerge OpenOffice 2.4.0 I always get the following error:

----------------
Making: ../../unxlngi6.pro/slo/parserfragments.obj
In file included from
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/filter/source/svg/parserfragments.cxx:20:
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/filter/source/svg/spirit_supplements.hxx:47:
error: expected initializer before '<' token
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/filter/source/svg/parserfragments.cxx:
In function `bool svgi::parseTransform(const char*, basegfx::B2DHomMatrix&)':
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/filter/source/svg/parserfragments.cxx:347:
error: call of overloaded `assign_a(bool&, bool)' is ambiguous
/usr/include/boost/spirit/actor/assign_actor.hpp:90: note: candidates are:
boost::spirit::ref_const_ref_actor<T, ValueT, boost::spirit::assign_action>
boost::spirit::assign_a(T&, const ValueT&) [with T = bool, ValueT = bool]
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/filter/source/svg/spirit_supplements.hxx:43:
note:                 boost::spirit::assigner<Target, Value>
boost::spirit::assign_a(Target&, Value) [with Target = bool, Value = bool]
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/filter/source/svg/parserfragments.cxx:364:
error: call of overloaded
`push_back_a(std::vector<com::sun::star::geometry::AffineMatrix2D,
std::allocator<com::sun::star::geometry::AffineMatrix2D> >&,
com::sun::star::geometry::AffineMatrix2D&)' is ambiguous
/usr/include/boost/spirit/actor/push_back_actor.hpp:91: note: candidates are:
boost::spirit::ref_const_ref_actor<T, ValueT, boost::spirit::push_back_action>
boost::spirit::push_back_a(T&, const ValueT&) [with T =
std::vector<com::sun::star::geometry::AffineMatrix2D,
std::allocator<com::sun::star::geometry::AffineMatrix2D> >, ValueT =
com::sun::star::geometry::AffineMatrix2D]
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/filter/source/svg/spirit_supplements.hxx:72:
note:                 boost::spirit::back_pusher<Target, Value>
boost::spirit::push_back_a(Target&, const Value&) [with Target =
std::vector<com::sun::star::geometry::AffineMatrix2D,
std::allocator<com::sun::star::geometry::AffineMatrix2D> >, Value =
com::sun::star::geometry::AffineMatrix2D]

[...]

/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/filter/source/svg/parserfragments.cxx:452:
  instantiated from here
/usr/include/boost/spirit/core/scanner/scanner.hpp:252: warning: declaration of
'iteration_policy_t' shadows a member of 'this'
dmake:  Error code 1, while making '../../unxlngi6.pro/slo/parserfragments.obj'
---* tg_merge.mk *---

ERROR: Error 65280 occurred while making
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/filter/source/svg
make: *** [stamp/build] Error 1
 *
 * ERROR: app-office/openoffice-2.4.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 5374:  Called die
 * The specific snippet of code:
 *       make || die "Build failed"
 *  The die message:
 *   Build failed
 *
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/var/log/portage/app-office:openoffice-2.4.0:20080329-221929.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/app-office/openoffice-2.4.0/temp/environment'.
 *
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="." JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
----------------
(please see attached complete log)

Reproducible: Always

Steps to Reproduce:
1. emerge openoffice-2.4.0
2.
3.




Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-3.4.6, glibc-2.6.1-r0,
2.6.24-gentoo-r3 i686)
=================================================================
System uname: 2.6.24-gentoo-r3 i686 AMD Athlon(tm) 64 X2 Dual Core Processor
5200+
Timestamp of tree: Sun, 30 Mar 2008 01:15:01 +0000
ccache version 2.3 [disabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.3
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.4.3-r4, 1.5.26
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -msse3 -fomit-frame-pointer -fno-ident"
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/lib/fax /usr/lib/mozilla/defaults/pref
/usr/share/config /var/bind /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild
/etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -msse3 -fomit-frame-pointer -fno-ident"
DISTDIR="/usr/portage/distfiles"
FEATURES="digest distlocks parallel-fetch sandbox sfperms strict
unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://gentoo.mirror.solnet.ch
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirror.etf.bg.ac.yu/gentoo
http://gentoo.inode.at/ http://mirror.uni-c.dk/pub/gentoo/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://gentoo.intergenia.de"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed"
LINGUAS="de de_DE"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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/local/layman/voip
/usr/portage/local/layman/pro-audio /usr/portage/local/layman/sunrise
/usr/portage/local/layman/synce /usr/portage/local/layman/berkano
/usr/portage/local/layman/vmware /usr/portage/local/layman/sabayon
/usr/portage/local/layman/gentoo-de /usr/portage/local/layman/gentopia
/usr/portage/local/layman/gentoo-china /usr/portage/local/layman/font-overlay
/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X aac aalib accessibility acl acpi ads alsa avi bash-completion
berkdb branding browserplugin cairo cdr cli cracklib crypt css cups dbus dga
directfb dlloader dri dvb dvd dvdr dvdread eds emboss encode ethereal evo exif
fam fbcon ffmpeg firefox flac flash foomaticdb fortran gatos gd gdbm ggi gif
gnokii gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal iconv idn
imagemagick imap imlib ipv6 isdnlog java jikes joystick jpeg jpeg2k kde
kdeenablefinal kerberos kicker kipi ldap lirc lm_sensors logitech-mouse
logrotate mad maildir matrox mbox mcal midi mikmod mmx motif mp3 mpeg mplayer
mudflap nas ncurses network newspr nls nocd nptl nptlonly nsplugin offensive
ogg oggvorbis openexr opengl openmp oss pam pcre pda pdf pdflib perl pertty png
ppds pppd python qt qt-copy qt3 qt3support qt4 quicktime rdesktop readline
reflection samba scanner sdl session skey slp sms snmp spell spf spl sse2 sse3
ssl subtitles svg svgalib tcpd theora tiff truetype unicode usb v4l vcd vorbis
win32codecs x86 xcomposite xinerama xml xorg xosd xv zlib" ALSA_CARDS="ali5451
als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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"
FRITZCAPI_CARDS="fcpci" INPUT_DEVICES="evdev keyboard mouse aiptek"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LINGUAS="de de_DE" USERLAND="GNU" VIDEO_CARDS="fbdev nv
nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
----------------
also tried LDFLAGS  without -Wl,--as-needed (for OO and boost)
----------------
both versions produce the same error:
dev-libs/boost-1.34.1-r2  USE="-debug -doc -icu -pyste -tools"
dev-libs/boost-1.33.1-r1  USE="icu threads -bcp -bjam -debug -doc -pyste
-threadsonly"

------- Comment #1 From Stefan Werner 2008-03-30 16:23:06 0000 -------
Created an attachment (id=147698) [edit]
emerge log

------- Comment #2 From Oleg Popov 2008-04-13 14:00:07 0000 -------
I use the same versions of gcc and glibc and i have the same error.
I used the following patch:

----------------
--- old/patches/src680/svg-import-filter.diff   2008-04-12 23:55:36.000000000
+0400
+++ new/patches/src680/svg-import-filter.diff   2008-03-06 21:09:06.000000000
+0300
@@ -692,7 +692,7 @@
 +                      $(SLO)$/units.obj
 +
 +.IF "$(COMID)"=="gcc3"
-+.IF "$(CCNUMVER)">="000400000000" 
++.IF "$(CCNUMVER)">="000300040006" 
 +CFLAGS+=-DUSE_MODERN_SPIRIT
 +.ENDIF
  .ENDIF
---------------

...and it compiled successfully.

------- Comment #3 From Oleg Popov 2008-04-13 14:03:50 0000 -------
P.S.
>  +                      $(SLO)$/units.obj
These aren't 22 <space>'s but 3 <TAB>'s

------- Comment #4 From Target 2008-04-13 14:56:15 0000 -------
(In reply to comment #2)
>  +.IF "$(COMID)"=="gcc3"
> -+.IF "$(CCNUMVER)">="000400000000" 

Am I reading that right? Did they actually try to check for Schrodinger's gcc?

------- Comment #5 From Stefan Werner 2008-04-13 22:14:25 0000 -------
Great, it compiled successfully with the patch applied.
Thanks for this solution! 

For me it looks like some includes for boost/spirit are left out when
"DUSE_MODERN_SPIRIT" is set (?) but I don't see why this affects only special
gcc versions and why there aren't masses of bug reports out there?

------- Comment #6 From Hanno Meyer-Thurow 2008-04-14 10:34:07 0000 -------
".../filter/source/svg/spirit_supplements.hxx:47: error: expected initializer
before '<' token"

The error is a "template <" white-space inbetween.

Still, I think the system boost, may it be 1.33.x or 1.34.x, works just fine
without the extra code that is compiled there.

The internal boost of openoffice is 1.30.x with newer spirit version. So, quite
fscked up setup which results in such makefiles.

Just for the record, this would be a better patch:
----------------
--- old/patches/src680/svg-import-filter.diff   2008-04-12 23:55:36.000000000
+0400
+++ new/patches/src680/svg-import-filter.diff   2008-03-06 21:09:06.000000000
+0300
@@ -692,7 +692,7 @@
 +                      $(SLO)$/units.obj
 +
 +.IF "$(COMID)"=="gcc3"
-+.IF "$(CCNUMVER)">="000400000000" 
++.IF "$(CCNUMVER)">="000400000000" || "$(SYSTEM_BOOST)"=="YES"
 +CFLAGS+=-DUSE_MODERN_SPIRIT
 +.ENDIF
  .ENDIF
---------------

------- Comment #7 From Andreas Proschofsky 2008-04-15 06:55:51 0000 -------
*** Bug 217137 has been marked as a duplicate of this bug. ***

------- Comment #8 From Andreas Proschofsky 2008-04-15 11:06:36 0000 -------
I've just updated the ebuild to include Hannos patch (thanks!) Please resync
and try if this indeed solves the problem for you.

------- Comment #9 From Nicola Rauseo 2008-04-15 18:10:25 0000 -------
Created an attachment (id=149832) [edit]
error log of failed patch

the patch fail

------- Comment #10 From Andreas Proschofsky 2008-04-21 21:05:32 0000 -------
(In reply to comment #8)
> I've just updated the ebuild to include Hannos patch (thanks!) Please resync
> and try if this indeed solves the problem for you.
> 

Should be fixed now, closing

First Last Prev Next    No search results available      Search page      Enter new bug