Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270801 - Openoffice 3.1 fails due build during UnxFilePicker.obj
Summary: Openoffice 3.1 fails due build during UnxFilePicker.obj
Status: RESOLVED DUPLICATE of bug 238539
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-22 09:45 UTC by Christian Kotz
Modified: 2009-05-24 08:17 UTC (History)
0 users

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


Attachments
Environment (environment,217.49 KB, text/plain)
2009-05-22 09:46 UTC, Christian Kotz
Details
build log (compressed) (build.log.tar.bz2,310 bytes, text/plain)
2009-05-22 09:48 UTC, Christian Kotz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Kotz 2009-05-22 09:45:37 UTC
building openoffice fails due to 
ooo/build/ooo310-m11/fpicker/source/unx/kde_unx/UnxFilePicker.cxx:812: error: 'snprintf' was not declared in this scope

Reproducible: Always

Steps to Reproduce:
1. export MAKEOPTS="-j1"
2. emerge openoffice
3.

Actual Results:  
compile error:
...
------------------------------
Making: ../../../unxlngx6.pro/slo/fps_kde.uno_version.obj
gcc -Wreturn-type -fmessage-length=0 -c -O2 -fno-strict-aliasing -Wuninitialized -DENABLE_LAYOUT_EXPERIMENTAL=0   -I.  -I../../../unxlngx6.pro/inc/fps_kde.uno -I../inc -I../../../inc/pch -I../../../inc -I../../../unx/inc -I../../../unxlngx6.pro/inc -I. -I/media/gentooext/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/solver/310/unxlngx6.pro/incdont_use_stl -I/media/gentooext/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/solver/310/unxlngx6.pro/inc/external -I/media/gentooext/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/solver/310/unxlngx6.pro/inc -I/media/gentooext/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/solenv/unxlngx6/inc -I/media/gentooext/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/solenv/inc -I/media/gentooext/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/res -I/media/gentooext/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/solver/310/unxlngx6.pro/incdont_use_stl -I/media/gentooext/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/solenv/inc/Xp31 -I/opt/sun-jdk-1.6.0.13/include -I/opt/sun-jdk-1.6.0.13/include/linux -I/opt/sun-jdk-1.6.0.13/include/native_threads/include -Idefault_x_includes  -I/media/gentooext/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/solver/310/unxlngx6.pro/inc/offuh -I. -I../../../res -I. -pipe -pipe -march=athlon64 -mtune=k8 -DGL_GLEXT_PROTOTYPES  -Wall -Wextra -Wendif-labels -fpic -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.4.0/include/g++-v4 -DSUPD=310 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DGSTREAMER -DENABLE_LAYOUT=1 -DCUI -DSOLAR_JAVA   -DSHAREDLIB -D_DLL_   -o ../../../unxlngx6.pro/slo/fps_kde.uno_version.o ../../../unxlngx6.pro/misc/fps_kde.uno_version.c
if test -e ../../../unxlngx6.pro/slo/fps_kde.uno_version.o ; then touch ../../../unxlngx6.pro/slo/fps_kde.uno_version.obj ; fi
Compiling: fpicker/source/unx/kde_unx/UnxCommandThread.cxx
Compiling: fpicker/source/unx/kde_unx/UnxFilePicker.cxx
/media/gentooext/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/fpicker/source/unx/kde_unx/UnxFilePicker.cxx: In member function 'void UnxFilePicker::initFilePicker()':
/media/gentooext/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/fpicker/source/unx/kde_unx/UnxFilePicker.cxx:812: error: 'snprintf' was not declared in this scope
/media/gentooext/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/fpicker/source/unx/kde_unx/UnxFilePicker.cxx: In member function 'void UnxFilePicker::sendCommand(const rtl::OUString&)':
/media/gentooext/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/fpicker/source/unx/kde_unx/UnxFilePicker.cxx:871: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result
dmake:  Error code 1, while making '../../../unxlngx6.pro/slo/UnxFilePicker.obj'

ERROR: Error 65280 occurred while making /media/gentooext/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/fpicker/source/unx/kde_unx
rmdir /tmp/8927
...

Expected Results:  
ebuild install openoffice 3.1

error probably caused by missing #include?
compile says:
...
------------------------------
Making: ../../../unxlngx6.pro/slo/fps_kde.uno_version.obj
gcc -Wreturn-type -fmessage-length=0 -c -O2 -fno-strict-aliasing -Wuninitialized -DENABLE_LAYOUT_EXPERIMENTAL=0   -I.  -I../../../unxlngx6.pro/inc/fps_kde.uno -I../inc -I../../../inc/pch -I../../../inc -I../../../unx/inc -I../../../unxlngx6.pro/inc -I. -I/media/gentooext/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/solver/310/unxlngx6.pro/incdont_use_stl -I/media/gentooext/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/solver/310/unxlngx6.pro/inc/external -I/media/gentooext/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/solver/310/unxlngx6.pro/inc -I/media/gentooext/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/solenv/unxlngx6/inc -I/media/gentooext/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/solenv/inc -I/media/gentooext/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/res -I/media/gentooext/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/solver/310/unxlngx6.pro/incdont_use_stl -I/media/gentooext/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/solenv/inc/Xp31 -I/opt/sun-jdk-1.6.0.13/include -I/opt/sun-jdk-1.6.0.13/include/linux -I/opt/sun-jdk-1.6.0.13/include/native_threads/include -Idefault_x_includes  -I/media/gentooext/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/solver/310/unxlngx6.pro/inc/offuh -I. -I../../../res -I. -pipe -pipe -march=athlon64 -mtune=k8 -DGL_GLEXT_PROTOTYPES  -Wall -Wextra -Wendif-labels -fpic -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.4.0/include/g++-v4 -DSUPD=310 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DGSTREAMER -DENABLE_LAYOUT=1 -DCUI -DSOLAR_JAVA   -DSHAREDLIB -D_DLL_   -o ../../../unxlngx6.pro/slo/fps_kde.uno_version.o ../../../unxlngx6.pro/misc/fps_kde.uno_version.c
if test -e ../../../unxlngx6.pro/slo/fps_kde.uno_version.o ; then touch ../../../unxlngx6.pro/slo/fps_kde.uno_version.obj ; fi
Compiling: fpicker/source/unx/kde_unx/UnxCommandThread.cxx
Compiling: fpicker/source/unx/kde_unx/UnxFilePicker.cxx
/media/gentooext/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/fpicker/source/unx/kde_unx/UnxFilePicker.cxx: In member function 'void UnxFilePicker::initFilePicker()':
/media/gentooext/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/fpicker/source/unx/kde_unx/UnxFilePicker.cxx:812: error: 'snprintf' was not declared in this scope
/media/gentooext/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/fpicker/source/unx/kde_unx/UnxFilePicker.cxx: In member function 'void UnxFilePicker::sendCommand(const rtl::OUString&)':
/media/gentooext/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/fpicker/source/unx/kde_unx/UnxFilePicker.cxx:871: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result
dmake:  Error code 1, while making '../../../unxlngx6.pro/slo/UnxFilePicker.obj'

ERROR: Error 65280 occurred while making /media/gentooext/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/fpicker/source/unx/kde_unx
rmdir /tmp/8927
..
Comment 1 Christian Kotz 2009-05-22 09:46:42 UTC
Created attachment 192094 [details]
Environment

Environment logged
Comment 2 Christian Kotz 2009-05-22 09:48:48 UTC
Created attachment 192097 [details]
build log (compressed)
Comment 3 Christian Kotz 2009-05-23 09:38:50 UTC
openoffice 3.1 builds WITHOUT useflag kde
Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2009-05-24 08:17:38 UTC

*** This bug has been marked as a duplicate of bug 238539 ***