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 ..
Created attachment 192094 [details] Environment Environment logged
Created attachment 192097 [details] build log (compressed)
openoffice 3.1 builds WITHOUT useflag kde
*** This bug has been marked as a duplicate of bug 238539 ***