Bug#358702: FTBFS: bdftopcf.1x / bdftopcf.1 confusion
Package: xfonts-utils
Version: 1:1.0.0-2
Severity: important
Tags: experimental patch
Justification: fails to build from source
Hi,
Compile fails with
cp: cannot stat `debian/tmp/usr/share/man/man1/bdftopcf.1x': No such file or directory
And indeed, the manpage is suffixed with 1: grepping bdftopcf gives:
for FILE in ""bdftopcf-X11R7.0-1.0.0 mkfontdir-X11R7.0-1.0.1 mkfontscale-X11R7.0-1.0.1 font-util-X11R7.0-1.0.0""; do \
make[1]: Entering directory `/goinfre/xfonts-utils-1.0.0/bdftopcf-X11R7.0-1.0.0-obj-i486-gnu'
make[2]: Entering directory `/goinfre/xfonts-utils-1.0.0/bdftopcf-X11R7.0-1.0.0-obj-i486-gnu'
if gcc -DHAVE_CONFIG_H -I. -I../bdftopcf-X11R7.0-1.0.0 -I. -Wall -g -O2 -MT bdftopcf-bdftopcf.o -MD -MP -MF ".deps/bdftopcf-bdftopcf.Tpo" \
-c -o bdftopcf-bdftopcf.o `test -f 'bdftopcf.c' || echo '../bdftopcf-X11R7.0-1.0.0/'`bdftopcf.c; \
then mv -f ".deps/bdftopcf-bdftopcf.Tpo" ".deps/bdftopcf-bdftopcf.Po"; \
else rm -f ".deps/bdftopcf-bdftopcf.Tpo"; exit 1; \
gcc -Wall -g -O2 -o bdftopcf bdftopcf-bdftopcf.o -lXfont
sed -e 's|__vendorversion__|"bdftopcf 1.0.0" "X Version 11"|' -e 's|__xorgversion__|"bdftopcf 1.0.0" "X Version 11"|' -e 's|__xservername__|Xorg|g' -e 's|__xconfigfile__|xorg.conf|g' -e 's|__projectroot__|/usr|g' -e 's|__apploaddir__||' -e 's|__appmansuffix__|1|g' -e 's|__libmansuffix__|3|g' -e 's|__adminmansuffix__|8|g' -e 's|__miscmansuffix__|7|g' -e 's|__filemansuffix__|5|g' < ../bdftopcf-X11R7.0-1.0.0/bdftopcf.man > bdftopcf.1
make[2]: Leaving directory `/goinfre/xfonts-utils-1.0.0/bdftopcf-X11R7.0-1.0.0-obj-i486-gnu'
make[1]: Leaving directory `/goinfre/xfonts-utils-1.0.0/bdftopcf-X11R7.0-1.0.0-obj-i486-gnu'
for FILE in ""bdftopcf-X11R7.0-1.0.0 mkfontdir-X11R7.0-1.0.1 mkfontscale-X11R7.0-1.0.1 font-util-X11R7.0-1.0.0""; do \
make[1]: Entering directory `/goinfre/xfonts-utils-1.0.0/bdftopcf-X11R7.0-1.0.0-obj-i486-gnu'
make[2]: Entering directory `/goinfre/xfonts-utils-1.0.0/bdftopcf-X11R7.0-1.0.0-obj-i486-gnu'
/bin/sh ../bdftopcf-X11R7.0-1.0.0/mkinstalldirs /goinfre/xfonts-utils-1.0.0/debian/tmp/usr/bin
/usr/bin/install -c bdftopcf /goinfre/xfonts-utils-1.0.0/debian/tmp/usr/bin/bdftopcf
/bin/sh ../bdftopcf-X11R7.0-1.0.0/mkinstalldirs /goinfre/xfonts-utils-1.0.0/debian/tmp/usr/share/man/man1
/usr/bin/install -c -m 644 bdftopcf.1 /goinfre/xfonts-utils-1.0.0/debian/tmp/usr/share/man/man1/bdftopcf.1
make[2]: Leaving directory `/goinfre/xfonts-utils-1.0.0/bdftopcf-X11R7.0-1.0.0-obj-i486-gnu'
make[1]: Leaving directory `/goinfre/xfonts-utils-1.0.0/bdftopcf-X11R7.0-1.0.0-obj-i486-gnu'
The attached patch makes it build fine.
Regards,
Samuel
-- System Information:
Debian Release: unstable
APT prefers unstable
APT policy: (900, 'unstable'), (1, 'experimental')
Architecture: hurd-i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)
Versions of packages xfonts-utils depends on:
ii libc6 2.3.6-4 GNU C Library: Shared libraries an
ii libfontenc1 1:1.0.1-1 X11 font encoding library
ii libfreetype6 2.1.10-1.2 FreeType 2 font engine, shared lib
ii libxfont1 1:1.0.0-2 X11 font rasterisation library
ii x11-common 1:7.0.4 X Window System (X.Org) infrastruc
ii xfonts-encodings 1:1.0.0-1 Encodings for X.Org fonts
ii zlib1g 1:1.2.3-11 compression library - runtime
xfonts-utils recommends no packages.
-- no debconf information
--- debian/xfonts-utils.install-orig 2006-03-24 01:18:54.000000000 +0000
+++ debian/xfonts-utils.install 2006-03-24 01:18:16.000000000 +0000
@@ -3,11 +3,11 @@
usr/bin/mkfontdir
usr/bin/mkfontscale
usr/bin/ucs2any
-usr/share/man/man1/bdftopcf.1x
-usr/share/man/man1/bdftruncate.1x
-usr/share/man/man1/mkfontdir.1x
-usr/share/man/man1/mkfontscale.1x
-usr/share/man/man1/ucs2any.1x
+usr/share/man/man1/bdftopcf.1
+usr/share/man/man1/bdftruncate.1
+usr/share/man/man1/mkfontdir.1
+usr/share/man/man1/mkfontscale.1
+usr/share/man/man1/ucs2any.1
usr/share/aclocal/fontutil.m4
usr/lib/pkgconfig/fontutil.pc
../local/update-fonts-alias usr/sbin
Reply to: