ports/182714: x11-fonts/*: some need NO_STAGE=yes removed
Kalten
kalten at gmx.at
Sat Oct 5 20:40:02 UTC 2013
>Number: 182714
>Category: ports
>Synopsis: x11-fonts/*: some need NO_STAGE=yes removed
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Oct 05 20:40:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Kalten
>Release: 9.2-RELEASE amd64
>Organization:
>Environment:
FreeBSD 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 root at bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Compiling inside a jail with 9.2-RELEASE amd64 in ports-mgmt/poudriere.
At least the following ports (presumably more) have the same problem at
installation:
x11-fonts/font-adobe-utopia-type1
x11-fonts/font-bh-ttf
x11-fonts/font-bh-type1
x11-fonts/font-bitstream-type1
x11-fonts/font-ibm-type1
x11-fonts/font-misc-ethiopic
x11-fonts/font-misc-meltho
x11-fonts/font-xfree86-type1
The error is:
---SCHNIPP---
=======================<phase: install >============================
===> Installing for font-bh-ttf-1.0.3
===> Generating temporary packing list
===> Checking if x11-fonts/font-bh-ttf already installed
test -z "/usr/local/etc/fonts/conf.avail" || /bin/mkdir -p "/usr/local/etc/fonts/conf.avail"
install -o root -g wheel -m 444 42-luxi-mono.conf '/usr/local/etc/fonts/conf.avail'
test -z "/usr/local/lib/X11/fonts/TTF" || /bin/mkdir -p "/usr/local/lib/X11/fonts/TTF"
install -o root -g wheel -m 444 luximbi.ttf luximb.ttf luximri.ttf luximr.ttf luxirbi.ttf luxirb.ttf luxirri.ttf luxirr.ttf luxisbi.ttf luxisb.ttf luxisri.ttf luxisr.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
mkdir -p /usr/local/etc/fonts/conf.d
ln -s ../conf.avail/42-luxi-mono.conf /usr/local/etc/fonts/conf.d
/usr/local/bin/fc-cache /usr/local/lib/X11/fonts/TTF
/usr/local/lib/X11/fonts/TTF: failed to write cache
*** [install-data-hook] Error code 1
Stop in /wrkdirs/usr/ports/x11-fonts/font-bh-ttf/work/font-bh-ttf-1.0.3.
*** [install-data-am] Error code 1
Stop in /wrkdirs/usr/ports/x11-fonts/font-bh-ttf/work/font-bh-ttf-1.0.3.
*** [install-am] Error code 1
Stop in /wrkdirs/usr/ports/x11-fonts/font-bh-ttf/work/font-bh-ttf-1.0.3.
*** [do-install] Error code 1
Stop in /usr/ports/x11-fonts/font-bh-ttf.
===> Cleaning for font-bh-ttf-1.0.3
---schnapp---
>How-To-Repeat:
build those packages in ports-mgmt/poudriere in a 9.2-RELEASE amd64 jail and up
to date portstree.
>Fix:
Those x11-font ports need the ``NO_STAGE=yes'' entry in theire Makefiles to be
removed (see attached patch. Be aware!!! I have pached it for those eight ports,
but it is very likely a more wide spreading problem in connection with
``fc-cache''!!!).
I do not know what the NO_STAGE mechanism realy does, but it seems to generate
the skeleton of the system directories in the ports work directory ere the
installation begins? So that seems to allow ``fc-cache'' to write to some
directory it could not write to otherwise? (font-cache directory of user root?)
Patch attached with submission follows:
--- font-adobe-utopia-type1/Makefile.orig 2013-10-01 18:07:46.000000000 +0200
+++ font-adobe-utopia-type1/Makefile 2013-10-05 21:42:45.000000000 +0200
@@ -10,5 +10,5 @@
XORG_CAT= font
-NO_STAGE= yes
+#NO_STAGE= yes
.include <bsd.port.mk>
--- font-bh-ttf/Makefile.orig 2013-10-01 18:07:46.000000000 +0200
+++ font-bh-ttf/Makefile 2013-10-05 21:08:45.000000000 +0200
@@ -10,5 +10,5 @@
XORG_CAT= font
-NO_STAGE= yes
+#NO_STAGE= yes
.include <bsd.port.mk>
--- font-bh-type1/Makefile.orig 2013-10-01 18:07:47.000000000 +0200
+++ font-bh-type1/Makefile 2013-10-05 21:43:23.000000000 +0200
@@ -10,5 +10,5 @@
XORG_CAT= font
-NO_STAGE= yes
+#NO_STAGE= yes
.include <bsd.port.mk>
--- font-bitstream-type1/Makefile.orig 2013-10-01 18:07:47.000000000 +0200
+++ font-bitstream-type1/Makefile 2013-10-05 21:43:54.000000000 +0200
@@ -10,5 +10,5 @@
XORG_CAT= font
-NO_STAGE= yes
+#NO_STAGE= yes
.include <bsd.port.mk>
--- font-ibm-type1/Makefile.orig 2013-10-01 18:07:46.000000000 +0200
+++ font-ibm-type1/Makefile 2013-10-05 21:44:24.000000000 +0200
@@ -10,5 +10,5 @@
XORG_CAT= font
-NO_STAGE= yes
+#NO_STAGE= yes
.include <bsd.port.mk>
--- font-misc-ethiopic/Makefile.orig 2013-10-01 18:07:47.000000000 +0200
+++ font-misc-ethiopic/Makefile 2013-10-05 21:44:54.000000000 +0200
@@ -11,5 +11,5 @@
INSTALLS_TTF= yes
FONTDIR= TTF OTF
-NO_STAGE= yes
+#NO_STAGE= yes
.include <bsd.port.mk>
--- font-misc-meltho/Makefile.orig 2013-10-01 18:07:46.000000000 +0200
+++ font-misc-meltho/Makefile 2013-10-05 21:45:28.000000000 +0200
@@ -11,5 +11,5 @@
INSTALLS_TTF= yes
FONTDIR= OTF
-NO_STAGE= yes
+#NO_STAGE= yes
.include <bsd.port.mk>
--- font-xfree86-type1/Makefile.orig 2013-10-01 18:07:46.000000000 +0200
+++ font-xfree86-type1/Makefile 2013-10-05 21:45:53.000000000 +0200
@@ -10,5 +10,5 @@
XORG_CAT= font
-NO_STAGE= yes
+#NO_STAGE= yes
.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list