Bug 1186897 - libreoffice-4.4.0.3-2.fc22 fails to build on s390
Summary: libreoffice-4.4.0.3-2.fc22 fails to build on s390
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libreoffice
Version: rawhide
Hardware: s390
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Tardon
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ZedoraTracker
TreeView+ depends on / blocked
 
Reported: 2015-01-28 19:33 UTC by Dan Horák
Modified: 2015-03-03 11:11 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-03 11:11:21 UTC
Type: Bug


Attachments (Terms of Use)

Description Dan Horák 2015-01-28 19:33:26 UTC
from build.log at http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=1716217

S=/builddir/build/BUILD/libreoffice-4.4.0.3 && I=$S/instdir && W=$S/workdir &&  mkdir -p $W/CxxObject/bridges/source/cpp_uno/gcc3_linux_s390/ $W/Dep/CxxObject/bridges/source/cpp_uno/gcc3_linux_s390/ && cd /builddir/build/BUILD/libreoffice-4.4.0.3 &&   g++ -DCPPU_ENV=gcc3 -DLIBO_INTERNAL_ONLY -DLINUX -DNDEBUG -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DS390 -DUNIX -DUNX -D_PTHREADS -D_REENTRANT  -DRTL_USING   -DHAVE_POSIX_FALLOCATE   -DHAVE_GCC_VISIBILITY_FEATURE -fvisibility=hidden   -Wall -Wnon-virtual-dtor -Wendif-labels -Wextra -Wundef -Wunused-macros -fmessage-length=0 -fno-common -pipe  -fvisibility-inlines-hidden -fPIC -Wshadow -Woverloaded-virtual -std=gnu++11  -ggdb2  -DEXCEPTIONS_ON -fexceptions -fno-enforce-eh-specs -O2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m31 -march=z9-109 -mtune=z10  -fno-omit-frame-pointer -fno-strict-aliasing    -c $S/bridges/source/cpp_uno/gcc3_linux_s390/except.cxx -o $W/CxxObject/bridges/source/cpp_uno/gcc3_linux_s390/except.o  -I$S/bridges/source/cpp_uno/gcc3_linux_s390/ -I$S/bridges/inc  -I$S/include  -I/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.40-19.b12.fc22.s390/include -I/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.40-19.b12.fc22.s390/include/linux -I$S/config_host  -I/usr/include  -I$W/UnoApiHeadersTarget/udkapi/comprehensive    
[build CXX] bridges/source/cpp_uno/gcc3_linux_s390/uno2cpp.cxx
/builddir/build/BUILD/libreoffice-4.4.0.3/bridges/source/cpp_uno/gcc3_linux_s390/cpp2uno.cxx:363:77: error: macro "assert" passed 2 arguments, but takes just 1
     assert(nMemberPos < pTypeDescr->nAllMembers, "### illegal member index!");
                                                                             ^
/builddir/build/BUILD/libreoffice-4.4.0.3/bridges/source/cpp_uno/gcc3_linux_s390/cpp2uno.cxx: In function 'typelib_TypeClass {anonymous}::cpp_mediate(sal_uInt32, void**, void**, void**, sal_Int64*)':
/builddir/build/BUILD/libreoffice-4.4.0.3/bridges/source/cpp_uno/gcc3_linux_s390/cpp2uno.cxx:363:5: error: 'assert' was not declared in this scope
     assert(nMemberPos < pTypeDescr->nAllMembers, "### illegal member index!");
     ^
/builddir/build/BUILD/libreoffice-4.4.0.3/bridges/source/cpp_uno/gcc3_linux_s390/cpp2uno.cxx:363:5: note: suggested alternatives:
In file included from /usr/include/boost/mpl/aux_/na_assert.hpp:23:0,
                 from /usr/include/boost/mpl/arg.hpp:25,
                 from /usr/include/boost/mpl/placeholders.hpp:24,
                 from /usr/include/boost/iterator/iterator_categories.hpp:17,
                 from /usr/include/boost/unordered/detail/util.hpp:16,
                 from /usr/include/boost/unordered/detail/buckets.hpp:14,
                 from /usr/include/boost/unordered/detail/table.hpp:10,
                 from /usr/include/boost/unordered/detail/equivalent.hpp:14,
                 from /usr/include/boost/unordered/unordered_map.hpp:17,
                 from /usr/include/boost/unordered_map.hpp:16,
                 from /builddir/build/BUILD/libreoffice-4.4.0.3/bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx:29,
                 from /builddir/build/BUILD/libreoffice-4.4.0.3/bridges/inc/bridges/cpp_uno/shared/cppinterfaceproxy.hxx:29,
                 from /builddir/build/BUILD/libreoffice-4.4.0.3/bridges/source/cpp_uno/gcc3_linux_s390/cpp2uno.cxx:26:
/usr/include/boost/mpl/assert.hpp:78:28: note:   'mpl_::assert'
 template< bool C >  struct assert        { typedef void* type; };
                            ^
/usr/include/boost/mpl/assert.hpp:78:28: note:   'mpl_::assert'
/builddir/build/BUILD/libreoffice-4.4.0.3/solenv/gbuild/LinkTarget.mk:189: recipe for target '/builddir/build/BUILD/libreoffice-4.4.0.3/workdir/CxxObject/bridges/source/cpp_uno/gcc3_linux_s390/cpp2uno.o' failed
make[1]: *** [/builddir/build/BUILD/libreoffice-4.4.0.3/workdir/CxxObject/bridges/source/cpp_uno/gcc3_linux_s390/cpp2uno.o] Error 1
make[1]: *** Waiting for unfinished jobs....


This is from s390 (32-bit) and I haven't checked yet whether s390x (64-bit) has the same problem (the build was cancelled before it would build cpp2uno.cxx).

Version-Release number of selected component (if applicable):
libreoffice-4.4.0.3-2.fc22

FWIW the 4.3 series builds fine in F-21


Note You need to log in before you can comment on or make changes to this bug.