pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/36052: fonts/mkfontdir -current package fails to build on Linux 2.6



>Number:         36052
>Category:       pkg
>Synopsis:       fonts/mkfontdir -current package fails to build on Linux 2.6
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 21 16:05:01 +0000 2007
>Originator:     Ulrich Habel
>Release:        Linux 2.6
>Organization:
http://habel.name
>Environment:
Linux spiff 2.6.17-11-generic #2 SMP Thu Feb 1 19:52:28 UTC 2007 i686 GNU/Linux
>Description:
when building fonts/mkfontdir as package it fails with the following error:

=> Unwrapping files-to-be-installed.
===> Installing for mkfontdir-1.0.2
test -z "/usr/pkg/bin" || mkdir -p -- "/usr/pkg/bin"
 /usr/bin/install -c -o root -g root -m 555 'mkfontdir' '/usr/pkg/bin/mkfontdir'
test -z "/usr/pkg/man/man1" || mkdir -p -- "/usr/pkg/man/man1"
 /usr/bin/install -c -o root -g root -m 444 'mkfontdir.1x' 
'/usr/pkg/man/man1/mkfontdir.1x'
=> Automatic manual page handling
pkg_create: can't stat `/usr/pkg/man/man1/mkfontdir.1'
=> Registering installation for mkfontdir-1.0.2
pkg_admin: mkfontdir-1.0.2: File `/usr/pkg/man/man1/mkfontdir.1' is in 
+CONTENTS but not on filesystem!
mkfontdir-1.0.2 requires installed package mkfontscale-1.0.3
===> Building binary package for mkfontdir-1.0.2
Creating package /usr/pkgsrc/packages/All/mkfontdir-1.0.2.tgz
Using SrcDir value of /usr/pkg
Registering depends: mkfontscale>=1.0.1.
Registering build depends: digest>=20010302.
pkg_create: can't stat `/usr/pkg/man/man1/mkfontdir.1'
tar: Unable to access man/man1/mkfontdir.1 (No such file or directory)
tar: WARNING! These file names were not selected:
man/man1/mkfontdir.1
pkg_create: /usr/pkg/bin/tar command failed with code 1
ERROR: pkg_create -K pkg failed (2)
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/fonts/mkfontdir
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/fonts/mkfontdir
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/fonts/mkfontdir

>How-To-Repeat:
build fonts/mkfontdir on Linux
>Fix:
same problem as PR pkg/36050? Here is a patch for it:

--- Makefile.orig       2007-03-21 16:49:51.000000000 +0100
+++ Makefile    2007-03-21 16:50:01.000000000 +0100
@@ -15,6 +15,8 @@
 
 DEPENDS+=              mkfontscale>=1.0.1:../../fonts/mkfontscale
 
+CONFIGURE_ENV+=                APP_MAN_SUFFIX=1
+
 GNU_CONFIGURE=         yes
 
 .include "../../mk/bsd.pkg.mk"




Home | Main Index | Thread Index | Old Index