Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 2013 13:09:36 +0100
From:      Alan Hicks <ahicks@p-o.co.uk>
To:        Alexandr Matveev <timon@timon.net.nz>, freebsd-ports@freebsd.org
Subject:   Re: poudriere and x11-fonts in FreeBSD-9.2 jail
Message-ID:  <525FD380.7040104@p-o.co.uk>
In-Reply-To: <525F9E98.2020407@timon.net.nz>
References:  <525F9E98.2020407@timon.net.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------070603050502060101070805
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>

--------------070603050502060101070805
Content-Type: text/plain; charset=UTF-8;
 name="patch-configure"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="patch-configure"

LS0tIGNvbmZpZ3VyZS5vcmlnCTIwMTMtMTAtMTUgMTQ6MzI6NTAuMDAwMDAwMDAwICswMDAw
CisrKyBjb25maWd1cmUJMjAxMy0xMC0xNSAxNDozMzozNS4wMDAwMDAwMDAgKzAwMDAKQEAg
LTQ2ODEsMTIgKzQ2ODEsNyBAQAogCiAKIAlGQ0NBQ0hFX1dBUk49J2VjaG8gIioqIFdhcm5p
bmc6IGZvbnRzLmNhY2hlIG5vdCBidWlsdCIgOyBlY2hvICIqKiBHZW5lcmF0ZSB0aGlzIGZp
bGUgbWFudWFsbHkgb24gaG9zdCBzeXN0ZW0gdXNpbmcgZmMtY2FjaGUiJwotCWlmIHRlc3Qg
eCIkRkNDQUNIRSIgPSB4IDsgdGhlbgotCQlSVU5fRkNDQUNIRT0iJHtGQ0NBQ0hFX1dBUk59
IgotCWVsc2UKLQkJUlVOX0ZDQ0FDSEU9J0AoaWYgdGVzdCAteiAiJChERVNURElSKSI7IHRo
ZW4gZWNobyAkKEZDQ0FDSEUpICQoZm9udGRpcik7ICQoRkNDQUNIRSkgJChmb250ZGlyKTsg
ZWxzZScKLQkJUlVOX0ZDQ0FDSEU9IiR7UlVOX0ZDQ0FDSEV9ICR7RkNDQUNIRV9XQVJOfSA7
IGZpKSIKLQlmaQorCVJVTl9GQ0NBQ0hFPSIke0ZDQ0FDSEVfV0FSTn0iCiAKIAogCg==
--------------070603050502060101070805--



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