Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Dec 2015 06:59:48 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        Don Lewis <truckman@FreeBSD.org>
Cc:        office@FreeBSD.org, freebsd-ports@freebsd.org
Subject:   Re: [Bug 205242] editors/libreoffice (5.0.3, r403255) does not build in poudriere on 11.0-CURRENT r276659
Message-ID:  <20151214055948.GA3238@c720-r285885-amd64>
In-Reply-To: <201512132310.tBDNAR8C077879@gw.catspoiler.org>
References:  <20151213162000.GA3775@c720-r285885-amd64> <201512132310.tBDNAR8C077879@gw.catspoiler.org>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Sunday, December 13, 2015 a las 03:10:27PM -0800, Don Lewis escribió:

> >> The port build in poudriere stops at the end after many hours with:
> >> 
> >> [build LNK] StaticLibrary/libvclmain.a
> >> [build LNK] Executable/gengal.bin
> >> [build GAL] arrows
> >> 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
> >> ...
> > 
> > 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

I have even instructed the exec of the tool in 'gengal.sh' with an echo
and a truss:

# execute binary
echo "$sd_prog/gengal.bin" "$@" "-env:INIFILENAME=vnd.sun.star.pathname:$sd_prog/redirectrc" >> gengal.txt.$$
exec truss -o "gengal.tr.$$" "$sd_prog/gengal.bin" "$@" \
    "-env:INIFILENAME=vnd.sun.star.pathname:$sd_prog/redirectrc"

but could not find the output files gengal.tr.pid and gengal.txt.pid in
the saved workspace :-(

maybe the wrapper shell script was not called;

...
> 
> I usually use testport -i, which drops into a shell inside the build
> jail after the build finishes.  That allows me to tweak things inside
> the jail and rerun make or try other commands to quickly see the result.
> In your case the command would be:
> 
> poudriere testport -j freebsd-head -p ports-20151208 -i -o editors/libreoffice

I will try this, it is already launched but takes 5h to get to the
point; thanks

	matthias

-- 
Matthias Apitz, ✉ guru@unixarea.de, 🌐 http://www.unixarea.de/  ☎ +49-176-38902045



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151214055948.GA3238>