Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 227263 - app-office/openoffice-2.4.1 compilation fails on /crashrep/source/unx
Summary: app-office/openoffice-2.4.1 compilation fails on /crashrep/source/unx
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-15 17:02 UTC by BedOS_Gui
Modified: 2008-10-16 20:58 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge--info,10.52 KB, text/plain)
2008-06-18 19:47 UTC, BedOS_Gui
Details
build environnment (environment,227.21 KB, text/plain)
2008-06-18 19:47 UTC, BedOS_Gui
Details

Note You need to log in before you can comment on or make changes to this bug.
Description BedOS_Gui 2008-06-15 17:02:12 UTC
When compiling openoffice-2.4.1 this error occurs :

=============
Building module crashrep
=============
/var/tmp/paludis/app-office-openoffice-2.4.1/work/ooo/build/OOH680_m17/crashrep/scripts
mkout -- version: 1.7
Making ../unxlngx6.pro/misc/crash_report.sh
-------------
/var/tmp/paludis/app-office-openoffice-2.4.1/work/ooo/build/OOH680_m17/crashrep/source/all
-------------
mkdir ../../unxlngx6.pro/misc/crash_res/
rm -f ../../unxlngx6.pro/misc/crash_res/crashrep.ulf
ulfex -p crashrep -i crashrep.ulf -o ../../unxlngx6.pro/misc/crash_res/crashrep.ulf.unxlngx6.pro -m localize.sdf -l all

UlfEx 1 Copyright 2000 Sun Microsystems, Inc. All Rights Reserved.
====================================================================

Processing File crashrep.ulf ...

=================================================

mv ../../unxlngx6.pro/misc/crash_res/crashrep.ulf.unxlngx6.pro ../../unxlngx6.pro/misc/crash_res/crashrep.ulf
rm -f ../../unxlngx6.pro/misc/crash_res/crashrep.ulf.unxlngx6.pro
/var/tmp/paludis/app-office-openoffice-2.4.1/work/ooo/build/OOH680_m17/crashrep/source/unx
------------------------------
Making: ../../unxlngx6.pro/obj/main.obj
x86_64-pc-linux-gnu-g++ -Wreturn-type -fmessage-length=0 -c -O2 -fno-strict-aliasing -Wuninitialized   -I.  -I../../unxlngx6.pro/inc/crash_report.bin -I../inc -I../../inc/pch -I../../inc -I../../unx/inc -I../../unxlngx6.pro/inc -I. -I/var/tmp/paludis/app-office-openoffice-2.4.1/work/ooo/build/OOH680_m17/solver/680/unxlngx6.pro/inc/stl -I/var/tmp/paludis/app-office-openoffice-2.4.1/work/ooo/build/OOH680_m17/solver/680/unxlngx6.pro/inc/external -I/var/tmp/paludis/app-office-openoffice-2.4.1/work/ooo/build/OOH680_m17/solver/680/unxlngx6.pro/inc -I/var/tmp/paludis/app-office-openoffice-2.4.1/work/ooo/build/OOH680_m17/solenv/unxlngx6/inc -I/var/tmp/paludis/app-office-openoffice-2.4.1/work/ooo/build/OOH680_m17/solenv/inc -I/var/tmp/paludis/app-office-openoffice-2.4.1/work/ooo/build/OOH680_m17/res -I/var/tmp/paludis/app-office-openoffice-2.4.1/work/ooo/build/OOH680_m17/solver/680/unxlngx6.pro/inc/stl -I/var/tmp/paludis/app-office-openoffice-2.4.1/work/ooo/build/OOH680_m17/solenv/inc/Xp31 -I/opt/sun-jdk-1.6.0.06/include -I/opt/sun-jdk-1.6.0.06/include/linux -I/opt/sun-jdk-1.6.0.06/include/native_threads/include -Idefault_x_includes     -I/var/tmp/paludis/app-office-openoffice-2.4.1/work/ooo/build/OOH680_m17/solver/680/unxlngx6.pro/inc/offuh -I. -I../../res -I. -pipe -march=native -pipe -msse3 -DGL_GLEXT_PROTOTYPES -Wno-ctor-dtor-privacy -fno-use-cxa-atexit -fvisibility-inlines-hidden -g -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy     -Wno-non-virtual-dtor    -DLINUX -DUNX -DVCL -DGCC -DC341 -DX86_64 -DCVER=C341 -DNPTL -DGLIBC=2 -DX86_64 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/include/g++-v4 -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DGSTREAMER -DCUI -DSOLAR_JAVA -DOOH680=OOH680     -fexceptions -fno-enforce-eh-specs -DEXCEPTIONS_ON  -o ../../unxlngx6.pro/obj/main.o /var/tmp/paludis/app-office-openoffice-2.4.1/work/ooo/build/OOH680_m17/crashrep/source/unx/main.cxx
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/include/g++-v4/ext/hash_map:64,
                 from /var/tmp/paludis/app-office-openoffice-2.4.1/work/ooo/build/OOH680_m17/solver/680/unxlngx6.pro/inc/stl/hash_map:39,
                 from /var/tmp/paludis/app-office-openoffice-2.4.1/work/ooo/build/OOH680_m17/crashrep/source/unx/main.cxx:49:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/include/g++-v4/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
/var/tmp/paludis/app-office-openoffice-2.4.1/work/ooo/build/OOH680_m17/crashrep/source/unx/main.cxx: In function 'std::string trim_string(const std::string&)':
/var/tmp/paludis/app-office-openoffice-2.4.1/work/ooo/build/OOH680_m17/crashrep/source/unx/main.cxx:138: warning: suggest parentheses around && within ||
/var/tmp/paludis/app-office-openoffice-2.4.1/work/ooo/build/OOH680_m17/crashrep/source/unx/main.cxx:143: warning: suggest parentheses around && within ||
/var/tmp/paludis/app-office-openoffice-2.4.1/work/ooo/build/OOH680_m17/crashrep/source/unx/main.cxx: In function 'bool SendHTTPRequest(FILE*, const char*, short unsigned int, const char*, short unsigned int)':
/var/tmp/paludis/app-office-openoffice-2.4.1/work/ooo/build/OOH680_m17/crashrep/source/unx/main.cxx:364: warning: format '%d' expects type 'int', but argument 5 has type 'size_t'
/var/tmp/paludis/app-office-openoffice-2.4.1/work/ooo/build/OOH680_m17/crashrep/source/unx/main.cxx:372: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
/var/tmp/paludis/app-office-openoffice-2.4.1/work/ooo/build/OOH680_m17/crashrep/source/unx/main.cxx: In function 'void setup_program_dir(const char*)':
/var/tmp/paludis/app-office-openoffice-2.4.1/work/ooo/build/OOH680_m17/crashrep/source/unx/main.cxx:591: error: 'PATH_MAX' was not declared in this scope
/var/tmp/paludis/app-office-openoffice-2.4.1/work/ooo/build/OOH680_m17/crashrep/source/unx/main.cxx:594: error: 'szCanonicProgPath' was not declared in this scope
dmake:  Error code 1, while making '../../unxlngx6.pro/obj/main.obj'
---* tg_merge.mk *---

ERROR: Error 65280 occurred while making /var/tmp/paludis/app-office-openoffice-2.4.1/work/ooo/build/OOH680_m17/crashrep/source/unx
make: *** [stamp/build] Error 1

!!! ERROR in app-office/openoffice-2.4.1:
!!! In src_compile at line 6607
!!! Build failed

The 2.4.1_rcX compilations had worked fine, but perhaps is it due to GCC-4.3.1 or GLIBC-2.8 migration.

Reproducible: Always
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2008-06-18 06:40:06 UTC
OOo should work fine with gcc 4.3 and glibc 2.8

Please provide your output of emerge info

Also: Is this exact bug reproducable?
Comment 2 BedOS_Gui 2008-06-18 19:47:07 UTC
Created attachment 157491 [details]
emerge --info
Comment 3 BedOS_Gui 2008-06-18 19:47:40 UTC
Created attachment 157493 [details]
build environnment
Comment 4 BedOS_Gui 2008-06-18 19:49:36 UTC
(In reply to comment #1)
> OOo should work fine with gcc 4.3 and glibc 2.8
> 
> Please provide your output of emerge info
> 
> Also: Is this exact bug reproducable?
> 

Yes, after merging with paludis, emerge causes same error : 

=============
Building module crashrep
=============
/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/crashrep/scripts
mkout -- version: 1.7
Making ../unxlngx6.pro/misc/crash_report.sh
-------------
/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/crashrep/source/all
-------------
mkdir ../../unxlngx6.pro/misc/crash_res/
rm -f ../../unxlngx6.pro/misc/crash_res/crashrep.ulf
ulfex -p crashrep -i crashrep.ulf -o ../../unxlngx6.pro/misc/crash_res/crashrep.ulf.unxlngx6.pro -m localize.sdf -l all

UlfEx 1 Copyright 2000 Sun Microsystems, Inc. All Rights Reserved.
====================================================================

Processing File crashrep.ulf ...

=================================================

mv ../../unxlngx6.pro/misc/crash_res/crashrep.ulf.unxlngx6.pro ../../unxlngx6.pro/misc/crash_res/crashrep.ulf
rm -f ../../unxlngx6.pro/misc/crash_res/crashrep.ulf.unxlngx6.pro
/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/crashrep/source/unx
------------------------------
Making: ../../unxlngx6.pro/obj/main.obj
x86_64-pc-linux-gnu-g++ -Wreturn-type -fmessage-length=0 -c -O2 -fno-strict-aliasing -Wuninitialized   -I.  -I../../unxlngx6.pro/inc/crash_report.bin -I../inc -I../../inc/pch -I../../inc -I../../unx/inc -I../../unxlngx6.pro/inc -I. -I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solver/680/unxlngx6.pro/inc/stl -I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solver/680/unxlngx6.pro/inc/external -I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solver/680/unxlngx6.pro/inc -I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solenv/unxlngx6/inc -I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solenv/inc -I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/res -I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solver/680/unxlngx6.pro/inc/stl -I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solenv/inc/Xp31 -I/opt/sun-jdk-1.6.0.06/include -I/opt/sun-jdk-1.6.0.06/include/linux -I/opt/sun-jdk-1.6.0.06/include/native_threads/include -Idefault_x_includes     -I/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solver/680/unxlngx6.pro/inc/offuh -I. -I../../res -I. -pipe -march=native -pipe -msse3 -DGL_GLEXT_PROTOTYPES -Wno-ctor-dtor-privacy -fno-use-cxa-atexit -fvisibility-inlines-hidden -g -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy     -Wno-non-virtual-dtor    -DLINUX -DUNX -DVCL -DGCC -DC341 -DX86_64 -DCVER=C341 -DNPTL -DGLIBC=2 -DX86_64 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/include/g++-v4 -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DGSTREAMER -DCUI -DSOLAR_JAVA -DOOH680=OOH680     -fexceptions -fno-enforce-eh-specs -DEXCEPTIONS_ON  -o ../../unxlngx6.pro/obj/main.o /var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/crashrep/source/unx/main.cxx
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/include/g++-v4/ext/hash_map:64,
                 from /var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/solver/680/unxlngx6.pro/inc/stl/hash_map:39,
                 from /var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/crashrep/source/unx/main.cxx:49:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/include/g++-v4/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/crashrep/source/unx/main.cxx: In function 'std::string trim_string(const std::string&)':
/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/crashrep/source/unx/main.cxx:138: warning: suggest parentheses around && within ||
/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/crashrep/source/unx/main.cxx:143: warning: suggest parentheses around && within ||
/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/crashrep/source/unx/main.cxx: In function 'bool SendHTTPRequest(FILE*, const char*, short unsigned int, const char*, short unsigned int)':
/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/crashrep/source/unx/main.cxx:364: warning: format '%d' expects type 'int', but argument 5 has type 'size_t'
/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/crashrep/source/unx/main.cxx:372: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/crashrep/source/unx/main.cxx: In function 'void setup_program_dir(const char*)':
/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/crashrep/source/unx/main.cxx:591: error: 'PATH_MAX' was not declared in this scope
/var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/crashrep/source/unx/main.cxx:594: error: 'szCanonicProgPath' was not declared in this scope
dmake:  Error code 1, while making '../../unxlngx6.pro/obj/main.obj'
---* tg_merge.mk *---

ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-2.4.1/work/ooo/build/OOH680_m17/crashrep/source/unx
make: *** [stamp/build] Error 1
 * 
 * ERROR: app-office/openoffice-2.4.1 failed.
Comment 5 BedOS_Gui 2008-06-21 18:02:08 UTC
The compilation error is related to USE flag "debug". Without it the compilation works fine.
Comment 6 BedOS_Gui 2008-08-22 18:09:30 UTC
(In reply to comment #5)
> The compilation error is related to USE flag "debug". Without it the
> compilation works fine.
> 
Fresh openoffice-3.0.0_beta2 compiles fine with "debug" USE flag.
Comment 7 Björn Michaelsen 2008-09-08 14:28:31 UTC
see
http://www.openoffice.org/issues/show_bug.cgi?id=86637
fixed upstream.
patch:
http://porting.openoffice.org/source/browse/porting/crashrep/source/unx/main.cxx?rev=1.30&r1=1.28&r2=1.29

so bug is propably WONTFIX/UPSTREAM ...
Comment 8 Andreas Proschofsky (RETIRED) gentoo-dev 2008-10-16 20:58:24 UTC
Should be fixed with 3.0, closing