poudriere and x11-fonts in FreeBSD-9.2 jail
Alan Hicks
ahicks at p-o.co.uk
Thu Oct 17 12:13:21 UTC 2013
This appears to be related to staging and poudriere, I came across this
a few days ago and fixed my ports that were failing by adding the
attached patch as files/patch-configure to each failing port, it
disables running fc-cache.
The following ports compiled successfully font-adobe-utopia-type1
font-bh-ttf font-bh-type1 font-bitstream-type1 font-ibm-type1
font-misc-ethiopic font-misc-meltho font-xfree86-type1.
I tried adding CONFIGURE_ARGS= --cache-file=/dev/null but this did not
appear to work.
Many ports have a post-install that runs fc-cache on install but I did
not have time to investigate and propose a patch and have not filed a
pr. As it only caches the fonts this was not important for me as this
could be done manually if required though another successful font
install would have fixed it.
Hope this helps,
Alan
On 17/10/2013 09:23, Alexandr Matveev wrote:
> Hello.
>
> I'm trying to build font packages with poudriere 3.0.9 on system
> FreeBSD 9.1-RELEASE-p4 amd64:
>
> # poudriere ports -u
> <...>
> Ports tree is already up to date.
>
>
> # poudriere jail -c -v 9.2-RELEASE -a amd64 -j 92amd64-test
> <...>
> ====>> Jail 92amd64-test 9.2-RELEASE amd64 is ready to be used
>
>
> # poudriere bulk -j 92amd64-test -J 4 x11-fonts/xorg-fonts
> <...>
> ====>> [04] Finished build of x11-fonts/font-misc-ethiopic: Failed: install
> ====>> [04] Skipping build of x11-fonts/xorg-fonts: Dependent port
> x11-fonts/font-misc-ethiopic failed
> <...>
> ====>> Failed ports: x11-fonts/font-misc-ethiopic:install
> x11-fonts/font-bh-type1:install x11-fonts/font-bh-ttf:install
> x11-fonts/font-bitstream-type1:install
> x11-fonts/font-misc-meltho:install
> x11-fonts/font-adobe-utopia-type1:install
> x11-fonts/font-xfree86-type1:install x11-fonts/font-ibm-type1:install
>
> ====>> Skipped ports: x11-fonts/xorg-fonts x11-fonts/xorg-fonts-truetype
> x11-fonts/xorg-fonts-type1
>
> ====>> [92amd64-test-default] 51 packages built, 8 failures, 0 ignored,
> 3 skipped
>
>
> Each log file for failed font-* port ended with same errors (failed to
> write to cache directories):
> <...>
> =======================<phase: install >============================
> ===> Installing for font-misc-ethiopic-1.0.3
> ===> Generating temporary packing list
> ===> Checking if x11-fonts/font-misc-ethiopic already installed
> test -z "/usr/local/lib/X11/fonts/OTF" || /bin/mkdir -p
> "/usr/local/lib/X11/fonts/OTF"
> install -o root -g wheel -m 444 GohaTibebZemen.otf
> '/usr/local/lib/X11/fonts/OTF'
> test -z "/usr/local/lib/X11/fonts/TTF" || /bin/mkdir -p
> "/usr/local/lib/X11/fonts/TTF"
> install -o root -g wheel -m 444 GohaTibebZemen.ttf
> '/usr/local/lib/X11/fonts/TTF'
> /usr/bin/make install-data-hook
> /usr/local/bin/mkfontscale /usr/local/lib/X11/fonts/TTF
> /usr/local/bin/mkfontdir /usr/local/lib/X11/fonts/TTF
> /usr/local/bin/mkfontscale /usr/local/lib/X11/fonts/OTF
> /usr/local/bin/mkfontdir /usr/local/lib/X11/fonts/OTF
> /usr/local/bin/fc-cache /usr/local/lib/X11/fonts/TTF
> /usr/local/lib/X11/fonts/OTF
> /usr/local/lib/X11/fonts/TTF: failed to write cache
> /usr/local/lib/X11/fonts/OTF: failed to write cache
> *** [install-data-hook] Error code 2
>
> Stop in
> /wrkdirs/usr/ports/x11-fonts/font-misc-ethiopic/work/font-misc-ethiopic-1.0.3.
> *** [install-data-am] Error code 1
>
> Stop in
> /wrkdirs/usr/ports/x11-fonts/font-misc-ethiopic/work/font-misc-ethiopic-1.0.3.
> *** [install-am] Error code 1
>
> Stop in
> /wrkdirs/usr/ports/x11-fonts/font-misc-ethiopic/work/font-misc-ethiopic-1.0.3.
> *** [do-install] Error code 1
>
> Stop in /usr/ports/x11-fonts/font-misc-ethiopic.
> ===> Cleaning for font-misc-ethiopic-1.0.3
> build of /usr/ports/x11-fonts/font-misc-ethiopic ended at Mon Oct 7
> 12:35:58 BST 2013
>
>
> Could you help me? What I do wrong?
>
> P.S. Full logs available here: http://freebsd.timon.net.nz/poudriere/
>
> -- Alexandr Matveev
>
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>
-------------- next part --------------
--- configure.orig 2013-10-15 14:32:50.000000000 +0000
+++ configure 2013-10-15 14:33:35.000000000 +0000
@@ -4681,12 +4681,7 @@
FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"'
- if test x"$FCCACHE" = x ; then
- RUN_FCCACHE="${FCCACHE_WARN}"
- else
- RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else'
- RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)"
- fi
+ RUN_FCCACHE="${FCCACHE_WARN}"
More information about the freebsd-ports
mailing list