Bug 523235

Summary: openoffice.org-3.1.1-16.1 failed to build during RHEL-6 mass rebuild
Product: Red Hat Enterprise Linux 6 Reporter: Karsten Hopp <karsten>
Component: openoffice.orgAssignee: Caolan McNamara <caolanm>
Status: CLOSED RAWHIDE QA Contact: desktop-bugs <desktop-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 6.0   
Target Milestone: beta   
Target Release: ---   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-14 14:48:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 522407    

Description Karsten Hopp 2009-09-14 14:35:57 UTC
Description of problem:
g++  -Wreturn-type -fmessage-length=0 -c -fsigned-char -fno-omit-frame-pointer -O2 -fno-strict-aliasing -Wuninitialized   -DLEAK_STATIC_DATA -I.  -I../../../unxlngs390x.pro/inc/gcc3_uno -I../inc -I../../../inc/pch -I../../../inc -I../../../unx/inc -I../../../unxlngs390x.pro/inc -I. -I/builddir/build/BUILD/OOO310_m16/solver/310/unxlngs390x.pro/inc/stl -I/builddir/build/BUILD/OOO310_m16/solver/310/unxlngs390x.pro/inc/external -I/builddir/build/BUILD/OOO310_m16/solver/310/unxlngs390x.pro/inc -I/builddir/build/BUILD/OOO310_m16/solenv/unxlngs390x/inc -I/builddir/build/BUILD/OOO310_m16/solenv/inc -I/builddir/build/BUILD/OOO310_m16/res -I/builddir/build/BUILD/OOO310_m16/solver/310/unxlngs390x.pro/inc/stl -I/builddir/build/BUILD/OOO310_m16/solenv/inc/Xp31 -I/usr/lib/jvm/java-1.5.0-gcj/include -I/usr/include  -I/builddir/build/BUILD/OOO310_m16/solver/310/unxlngs390x.pro/inc/offuh -I. -I../../../res -I. -fsigned-char -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -march=z9-109 -mtune=z10 -Wno-ctor-dtor-privacy -fno-use-cxa-atexit -fvisibility-inlines-hidden -g   -fno-omit-frame-pointer  -fPIC -DLINUX -DUNX -DVCL -DGCC -DC300 -DS390X -DCVER=C300 -DNPTL -DGLIBC=2 -DS390 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -DS390X -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/lib/gcc/s390x-redhat-linux/4.4.1/../../../../include/c++/4.4.1 -DSUPD=310 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DGSTREAMER -DCUI -DSOLAR_JAVA   -DSHAREDLIB -D_DLL_   -fexceptions -fno-enforce-eh-specs -DEXCEPTIONS_ON  -o ../../../unxlngs390x.pro/slo/except.o /builddir/build/BUILD/OOO310_m16/bridges/source/cpp_uno/gcc3_linux_s390x/except.cxx 
/builddir/build/BUILD/OOO310_m16/bridges/source/cpp_uno/gcc3_linux_s390x/except.cxx: In member function 'std::type_info* gcc3::RTTI::getRTTI(typelib_CompoundTypeDescription*)':
/builddir/build/BUILD/OOO310_m16/bridges/source/cpp_uno/gcc3_linux_s390x/except.cxx:185: error: 'strdup' was not declared in this scope
/builddir/build/BUILD/OOO310_m16/bridges/source/cpp_uno/gcc3_linux_s390x/except.cxx:190: error: 'strdup' was not declared in this scope
dmake:  Error code 1, while making '../../../unxlngs390x.pro/slo/except.obj'



Steps to Reproduce:
1.run a brew scratch build with the target RHEL-6-rebuild, don't try without --scratch as that won't work
  
Actual results:
https://brewweb.devel.redhat.com/taskinfo?taskID=1949426

Additional info:
We need the exact n-v-r of the fixed package (built in koji dist-f12) so that we can import it into our RHEL-6 tree.

Comment 1 Caolan McNamara 2009-09-14 14:48:20 UTC
lemesee... I fixed that (just an additional strings.h needed) between -r1.3 and -r1.4 of openoffice.org-3.1.0.oooXXXXX.gcc44.buildfixes.patch so anything >= 3.1.1-18.1 should build. 

I suggest taking: openoffice.org-3.1.1-19.6.fc12