Issue 128373 - Build stops in offapi at XBitmapCanvas
Summary: Build stops in offapi at XBitmapCanvas
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: GNU make (show other issues)
Version: 4.2.0-dev
Hardware: All All
: P5 (lowest) Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-27 13:23 UTC by SET
Modified: 2020-05-24 20:10 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description SET 2020-04-27 13:23:53 UTC
Build fails in Linux x86_64 (Arch) as below.

Using either gcc 9.3 or clang 10.0.

How can one resolve this ?

Thank you.


$ pwd
/home/arc/src/aoo/main/offapi
#arc@localhost offapi[0]$ make
[ build RDB ] offapi
[ build HPP ] offapi
mkdir -p /home/arc/src/aoo/main/solver/450/unxlngx6.pro/workdir/UnoApiTarget/ && RESPONSEFILE=/tmp/gbuild.xgXJPL && LD_LIBRARY_PATH=/home/arc/src/aoo/main/solver/450/unxlngx6.pro/lib SOLARBINDIR=/home/arc/src/aoo/main/solver/450/unxlngx6.pro/bin /home/arc/src/aoo/main/solver/450/unxlngx6.pro/bin/regmerge @${RESPONSEFILE} && rm -f ${RESPONSEFILE}
R=/home/arc/src/aoo && S=$R/main && O=$S/solver/450/unxlngx6.pro && W=$O/workdir &&  mkdir -p $W/UnoApiTarget/ && mkdir -p  $W/Misc && RESPONSEFILE=`mktemp -t gbuild.XXXXXX` && echo " -Gc -L -BUCR -O$W/UnoApiHeaders/offapi -X$O/bin/udkapi.rdb $W/UnoApiTarget/offapi.rdb " > ${RESPONSEFILE} && LD_LIBRARY_PATH=$O/lib SOLARBINDIR=$O/bin $O/bin/cppumaker @${RESPONSEFILE} && rm -f ${RESPONSEFILE}
cppumaker ERROR: cannot dump Type 'com/sun/star/rendering/XBitmapCanvas'
make: *** [/home/arc/src/aoo/main/solenv/gbuild/UnoApiTarget.mk:199: /home/arc/src/aoo/main/solver/450/unxlngx6.pro/workdir/UnoApiTarget/offapi.rdb] Error 99
make: *** Deleting file '/home/arc/src/aoo/main/solver/450/unxlngx6.pro/workdir/UnoApiTarget/offapi.rdb'




Using dmake does not help either : 

#arc@localhost offapi[0]$ build
build -- version: -


=============
Building module offapi
=============

Entering /home/arc/src/aoo/main/offapi/prj

cd .. && make -s -r -j1   && make -s -r deliverlog
[ build RDB ] offapi
[ build HPP ] offapi
cppumaker ERROR: cannot dump Type 'com/sun/star/rendering/XBitmapCanvas'
make: *** [/home/arc/src/aoo/main/solenv/gbuild/UnoApiTarget.mk:199: /home/arc/src/aoo/main/solver/450/unxlngx6.pro/workdir/UnoApiTarget/offapi.rdb] Error 99
make: *** Deleting file '/home/arc/src/aoo/main/solver/450/unxlngx6.pro/workdir/UnoApiTarget/offapi.rdb'
dmake:  Error code 2, while making 'all'
ERROR: error 65280 occurred while making /home/arc/src/aoo/main/offapi/prj
Comment 1 Matthias Seidel 2020-04-27 13:29:44 UTC
I have seen that while building AOO on Windows with Cygwin.

It occurred after the upgrade to GNU make 4.3, downgrading to make 4.2 resolved the error.

Just a workaround at the moment...
Comment 2 SET 2020-04-27 17:23:11 UTC
After downgrading GNU make to 4.2, the build indeed completed !

Thank you very much.
Comment 3 Matthias Seidel 2020-05-24 16:23:29 UTC
The latest revision should build with make 4.3.

Could you please test?
Comment 4 SET 2020-05-24 19:55:34 UTC
The latest revision builds in one step using GNU make 4.3.

Thanks and regards.
Comment 5 Matthias Seidel 2020-05-24 20:10:38 UTC
Just for the record:

Fix committed to trunk with:
https://github.com/apache/openoffice/commit/7f3d5d1d1e5d0e51092276ddff205b8a31aab26f

Cherry-picked for AOO42X and AOO418