Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54687 - openoffice-ximian-1.1.59 fails when building project external
Summary: openoffice-ximian-1.1.59 fails when building project external
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-21 13:39 UTC by Ernst Sjöstrand
Modified: 2004-08-12 12:18 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ernst Sjöstrand 2004-06-21 13:39:30 UTC
I've tried with CFLAGS="", and CFLAGS="-O2".
I'll try it with MAKEOPTS="" now also.

zapp ernstp # emerge info
Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo)
=================================================================
System uname: 2.6.7-gentoo i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -march=k8 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe -march=k8 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/private_overlay /usr/local/bmg_gnome_current /usr/local/bmg_overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac alsa apache2 apm avi berkdb bonobo cdr crypt cups curl dga doc dvd encode esd faad fam fbcon ffmpeg foomaticdb gcj gdbm gif gimpprint gnome gnomedb gnutls gphoto2 gpm gtk gtk2 gtkhtml icq imap imlib imlib2 jabber java jpeg kde ldap libg++ libwww mad mikmod mmap mmx mng mono mozilla mpeg mpeg4 msn ncurses nls nptl objc offensive oggvorbis openal opengl oscar pam pda pdflib perl plotutils png pthreads python readline samba scanner sdk sdl slang spell ssl stencil-buffer svg svga tcltk tcpd theora threads tiff truetype type1 uml unicode usb x86 xine xml2 xv zlib"

=============
Building project external
=============
/var/tmp/portage/openoffice-ximian-1.1.59/work/oo_1.1.1_src/external/w4w
mkout -- version: 1.3
------------------------------
Making: ../unxlngi4.pro/misc/w4w.dpc
dmake subdmake=true  -f makefile.mk strip="true" product="full" depend=t ALLDPC
------------------------------
No Dependencies
-------------
/var/tmp/portage/openoffice-ximian-1.1.59/work/oo_1.1.1_src/external/gcc3_specific
gccinstlib.pl libstdc++.so.5 /var/tmp/portage/openoffice-ximian-1.1.59/work/oo_1.1.1_src/solver/645/unxlngi4.pro/lib
printf (...) interpreted as function at /var/tmp/portage/openoffice-ximian-1.1.59/work/oo_1.1.1_src/solenv/bin/gccinstlib.pl line 77.
Foo at /var/tmp/portage/openoffice-ximian-1.1.59/work/oo_1.1.1_src/solenv/bin/gccinstlib.pl line 70.
dmake:  Error code 255, while making '/var/tmp/portage/openoffice-ximian-1.1.59/work/oo_1.1.1_src/solver/645/unxlngi4.pro/lib/libstdc++.so.5'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-ximian-1.1.59/work/oo_1.1.1_src/external/gcc3_specific

!!! ERROR: app-office/openoffice-ximian-1.1.59 failed.
!!! Function src_compile, Line 382, Exitcode 1
!!! Build failed!


Reproducible: Always
Steps to Reproduce:
Comment 1 Ernst Sjöstrand 2004-06-21 14:06:52 UTC
MAKEOPTS="" didn't help either.
Comment 2 Ernst Sjöstrand 2004-08-01 08:54:07 UTC
Same happens with 1.1.60.
I'll try 1.1.61 right now...
Comment 3 Ernst Sjöstrand 2004-08-12 12:18:01 UTC
Allright, I've tracked the bug, and posted about it on ximians bugzilla.
So I'll check this as upstream I guess?

The fix would be something like this:

--- solenv/bin/gccinstlib.pl.old   2004-08-11 15:18:41.614064656 +0200
+++ solenv/bin/gccinstlib.pl       2004-08-11 15:19:26.851187568 +0200
@@ -105,7 +105,7 @@

     $cc = $ENV{'CC'} || die "No CC environment set";

-    open (GCCOut, "$cc -print-search-dirs|") || die "Failed to exec $cc -print-search-dirs: $!";
+    open (GCCOut, "bash -c \"LC_ALL=local $cc -print-search-dirs\"|") || die "Failed to exec $cc -print-search-dirs: $!";

     while (<GCCOut>) {
         if (/^([a-zA-Z]+): [=]{0,1}(.*)/) {