[Bug 205242] editors/libreoffice (5.0.3, r403255) does not build in poudriere on 11.0-CURRENT r276659

Michael Jung mikej at mikej.com
Tue Dec 15 22:32:07 UTC 2015


On 2015-12-15 09:02, Matthias Apitz wrote:
> El día Monday, December 14, 2015 a las 06:59:48AM +0100, Matthias
> Apitz escribió:
> 
>> > > There are other (older) cases visible with Google showing the same
>> > > problem, for example:
>> > > https://forums-web2.gentoo.org/viewtopic-t-1025000.html
>> > > saying that the dir ..../Gallery/arrows/ only contains two empty files
>> > > with the names arrows.sdv and arrows.thm. The files are not part of the
>> > > tar file in /usr/ports/distfiles.... so they are perhaps generated wrong
>> > > on the run.
>> 
>> I could save the workspace and it shows that the two mentioned files 
>> are
>> zero sized:
>> 
>> # ls -l libreoffice-5.0.3.2/workdir/Gallery/arrows/arrows.*
>> -rw-r--r--  1 guru  wheel  0 Dec 13 21:48 
>> libreoffice-5.0.3.2/workdir/Gallery/arrows/arrows.sdv
>> -rw-r--r--  1 guru  wheel  0 Dec 13 21:48 
>> libreoffice-5.0.3.2/workdir/Gallery/arrows/arrows.thm
>> 
>> the files are generated by some tool 'gengal'
>> 
>> libreoffice-5.0.3.2/svx/source/gengal
>> libreoffice-5.0.3.2/svx/source/gengal/gengal.sh
>> libreoffice-5.0.3.2/svx/source/gengal/gengal.cxx
> 
> The shell script gengal.sh is not used;
> 
> I was unable to use 'poudriere testport ...' with this the make cores 
> at
> some earlier point.
> 
> I've built it again the port within podriere mit more verbosity; the
> failing part is this:
> 
> ...
> [build LNK] Executable/gengal.bin
> S=/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2 &&
> I=$S/instdir && W=$S/workdir &&  clang++    -Wl,-z,origin
> '-Wl,-rpath,$ORIGIN' -Wl,-rpath-link,$I/program
> -fstack-protector-strong -Wl,-rpath-link,/lib:/usr/lib
> -Wl,-z,combreloc  -Wl,--hash-style=gnu  -Wl,--dynamic-list-cpp-new
> -Wl,--dynamic-list-cpp-typeinfo -Wl,-Bsymbolic-functions
> -L$W/LinkTarget/StaticLibrary -L$I/sdk/lib  -L$I/program  -L$I/program
> -L/usr/local/lib -fstack-protector   -L/usr/local/lib
> $W/CxxObject/svx/source/gengal/gengal.o     -Wl,--start-group
> $W/LinkTarget/StaticLibrary/libvclmain.a
> $W/LinkTarget/StaticLibrary/libglxtest.a   -lGL -lX11  -Wl,--end-group
> -Wl,--no-as-needed -lbasegfxlo -luno_sal -ltllo -lsvllo -lsvtlo
> -lcomphelper -luno_cppu -luno_cppuhelpergcc3 -lutllo -lvcllo
> -lsvxcorelo -o $I/program/gengal.bin
> TEMPFILE=/tmp/gbuild.XXXXXX.KP2AjNiW &&  mv ${TEMPFILE}
> /wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2/workdir/LinkTarget/Executable/gengal.bin.objectlist
> touch
> /wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2/workdir/Executable/gengal.run
> mkdir -p
> /wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2/workdir/Gallery/
> mkdir -p
> /wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2/workdir/Gallery/arrows/
> mkdir -p
> /wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2/workdir/Package/prepared/Gallery/Files/
> && touch
> /wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2/workdir/Package/prepared/Gallery/Files/arrows
> [build GAL] arrows
> S=/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2 &&
> I=$S/instdir && W=$S/workdir &&  rm -f $W/Gallery/arrows/* &&
> RESPONSEFILE=/tmp/gbuild.XXXXXX.bLFqAu2F &&   SAL_USE_VCLPLUGIN=svp
> LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$I/program:$I/program"
>   $I/program/gengal.bin "-env:BRAND_BASE_DIR=file://$S/instdir"
> "-env:CONFIGURATION_LAYERS=xcsxcu:file://$I/share/registry"
> "-env:UNO_SERVICES=file://$W/Rdb/ure/services.rdb
> file://$W/ComponentTarget/comphelper/util/comphelp.component
> file://$W/ComponentTarget/configmgr/source/configmgr.component
> file://$W/ComponentTarget/drawinglayer/drawinglayer.component
> file://$W/ComponentTarget/framework/util/fwk.component
> file://$W/ComponentTarget/i18npool/util/i18npool.component
> file://$W/ComponentTarget/package/source/xstor/xstor.component
> file://$W/ComponentTarget/package/util/package2.component
> file://$W/ComponentTarget/sax/source/expatwrap/expwrap.component
> file://$W/ComponentTarget/sfx2/util/sfx.component
> file://$W/ComponentTarget/svgio/svgio.component
> file://$W/ComponentTarget/svx/util/svx.component
> file://$W/ComponentTarget/svx/util/svxcore.component
> file://$W/ComponentTarget/ucb/source/core/ucb1.component
> file://$W/ComponentTarget/ucb/source/ucp/file/ucpfile1.component
> file://$W/ComponentTarget/unoxml/source/service/unoxml.component"
> "-env:UNO_TYPES= file://$I/program/types/offapi.rdb
> file://$I/program/types.rdb"
> -env:URE_INTERNAL_LIB_DIR=file://$I/program
> -env:LO_LIB_DIR=file://$I/program --build-tree --destdir
> file://$S/extras/source/gallery --name "arrows" --path
> $W/Gallery/arrows --filenames file://$RESPONSEFILE  && rm
> $RESPONSEFILE && touch $W/Gallery/arrows.done
> Work on gallery
> 'file:///wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2/workdir/Gallery/arrows'
> Existing themes: 0
> Existing themes: 1
> Failed to acquire theme
> /wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2/solenv/gbuild/Gallery.mk:72:
> recipe for target
> '/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2/workdir/Gallery/arrows.done'
> failed
> gmake[2]: ***
> [/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2/workdir/Gallery/arrows.done]
> Error 1
> 
> I still have a copy of the failed workspace.
> 
> 	matthias

FWIW

# $FreeBSD: head/editors/libreoffice/Makefile 403436 2015-12-09 
23:43:30Z jbeich $

built without error for me on FreeBSD 11.0-CURRENT #10 r291494M today.

using poudriere-devel-3.1.99.20151204

The log file ended with

[root at bsd11 
/usr/local/poudriere/data/logs/bulk/head-default/latest-per-pkg]# tail 
-15 libreoffice-5.0.3_1.log
/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2/bin/distro-install-sdk
/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2/bin/distro-install-file-lists
Generating package file lists for FreeBSD ports...
gmake[1]: Leaving directory 
'/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2'
====> Compressing man pages (compress-man)
===========================================================================
=======================<phase: package        
 >============================
===>  Building package for libreoffice-5.0.3_1
===========================================================================
====>> Cleaning up wrkdir
===>  Cleaning for libreoffice-5.0.3_1
====>> Warning: Leftover processes:
USER   PID %CPU %MEM   VSZ  RSS TT  STAT STARTED    TIME COMMAND
build of editors/libreoffice ended at Tue Dec 15 15:26:29 EST 2015
build time: 03:54:42
[root at bsd11 
/usr/local/poudriere/data/logs/bulk/head-default/latest-per-pkg]#

I'll be happy to post the log file or provide additional info if help 
other regard
this as (s)HAM


--mikej


More information about the freebsd-ports mailing list