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, ✉ g...@unixarea.de, 🌐 http://www.unixarea.de/  ☎ 
+49-176-38902045
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to