xpdf: Typo in debian/rules
Trent Buck
trentbuck at gmail.com
Thu Sep 21 19:50:10 UTC 2006
Package: xpdf
Version: 3.01-9
Severity: serious
Justification: no longer builds from source
Line 20 of debian/rules is missing a backslash:
11 ./configure \
12 --prefix=/usr \
13 --sysconfdir=/etc/xpdf \
14 --mandir=/usr/share/man \
15 --with-x \
16 --enable-freetype2 \
17 --enable-opi \
18 --enable-wordlist \
19 --enable-multithreaded \
20 --with-Xm-includes=$(shell pwd)/lesstif
21 --with-freetype2-includes=/usr/include/freetype2 \
22 --with-t1-includes=/usr/include
Here is the full build log:
-*- mode: compilation; default-directory: "/tmp/" -*-
Compilation started at Fri Sep 22 05:48:44
fakeroot apt-get --build source xpdf
Skipping already downloaded file 'xpdf_3.01-8.dsc'
Skipping already downloaded file 'xpdf_3.01.orig.tar.gz'
Skipping already downloaded file 'xpdf_3.01-8.diff.gz'
Need to get 0B of source archives.
Skipping unpack of already unpacked source in xpdf-3.01
dpkg-buildpackage: source package is xpdf
dpkg-buildpackage: source version is 3.01-9
dpkg-buildpackage: source changed by Hamish Moffatt <hamish at debian.org>
dpkg-buildpackage: host architecture i386
debian/rules clean
dh_testdir
/usr/bin/make -i distclean
make[1]: Entering directory `/tmp/xpdf-3.01'
cd goo; /usr/bin/make clean
make[2]: Entering directory `/tmp/xpdf-3.01/goo'
rm -f GHash.o GList.o GString.o gmempp.o gfile.o FixedPoint.o gmem.o parseargs.o libGoo.a
make[2]: Leaving directory `/tmp/xpdf-3.01/goo'
cd fofi; /usr/bin/make clean
make[2]: Entering directory `/tmp/xpdf-3.01/fofi'
rm -f FoFiBase.o FoFiEncodings.o FoFiTrueType.o FoFiType1.o FoFiType1C.o libfofi.a
make[2]: Leaving directory `/tmp/xpdf-3.01/fofi'
cd splash; /usr/bin/make clean
make[2]: Entering directory `/tmp/xpdf-3.01/splash'
rm -f Splash.o SplashBitmap.o SplashClip.o SplashFTFont.o SplashFTFontEngine.o SplashFTFontFile.o SplashFont.o SplashFontEngine.o SplashFontFile.o SplashFontFileID.o SplashPath.o SplashPattern.o SplashScreen.o SplashState.o SplashT1Font.o SplashT1FontEngine.o SplashT1FontFile.o SplashXPath.o SplashXPathScanner.o libsplash.a
make[2]: Leaving directory `/tmp/xpdf-3.01/splash'
cd xpdf; /usr/bin/make clean
make[2]: Entering directory `/tmp/xpdf-3.01/xpdf'
rm -f Annot.o Array.o BuiltinFont.o BuiltinFontTables.o Catalog.o CharCodeToUnicode.o CMap.o CoreOutputDev.o Decrypt.o Dict.o Error.o FontEncodingTables.o Function.o Gfx.o GfxFont.o GfxState.o GlobalParams.o JArithmeticDecoder.o JBIG2Stream.o JPXStream.o Lexer.o Link.o NameToCharCode.o Object.o Outline.o OutputDev.o Page.o Parser.o PDFCore.o PDFDoc.o PDFDocEncoding.o PSOutputDev.o PSTokenizer.o SecurityHandler.x.o SplashOutputDev.o Stream.o TextOutputDev.o UnicodeMap.o UnicodeTypeTable.o XPDFApp.o XPDFCore.o XPDFTree.o XPDFViewer.o XpdfPluginAPI.o XRef.o xpdf.o xpdf
rm -f Annot.o Array.o BuiltinFont.o BuiltinFontTables.o Catalog.o CharCodeToUnicode.o CMap.o Decrypt.o Dict.o Error.o FontEncodingTables.o Function.o Gfx.o GfxFont.o GfxState.o GlobalParams.o JArithmeticDecoder.o JBIG2Stream.o JPXStream.o Lexer.o Link.o NameToCharCode.o Outline.o Object.o OutputDev.o Page.o Parser.o PDFDoc.o PDFDocEncoding.o PSOutputDev.o PSTokenizer.o SecurityHandler.o Stream.o UnicodeMap.o XpdfPluginAPI.o XRef.o pdftops.o pdftops
rm -f Annot.o Array.o BuiltinFont.o BuiltinFontTables.o Catalog.o CharCodeToUnicode.o CMap.o Decrypt.o Dict.o Error.o FontEncodingTables.o Function.o Gfx.o GfxFont.o GfxState.o GlobalParams.o JArithmeticDecoder.o JBIG2Stream.o JPXStream.o Lexer.o Link.o NameToCharCode.o Object.o Outline.o OutputDev.o Page.o Parser.o PDFDoc.o PDFDocEncoding.o PSTokenizer.o SecurityHandler.o Stream.o TextOutputDev.o UnicodeMap.o UnicodeTypeTable.o XpdfPluginAPI.o XRef.o pdftotext.o pdftotext
rm -f Annot.o Array.o BuiltinFont.o BuiltinFontTables.o Catalog.o CharCodeToUnicode.o CMap.o Decrypt.o Dict.o Error.o FontEncodingTables.o Function.o Gfx.o GfxFont.o GfxState.o GlobalParams.o JArithmeticDecoder.o JBIG2Stream.o JPXStream.o Lexer.o Link.o NameToCharCode.o Object.o Outline.o OutputDev.o Page.o Parser.o PDFDoc.o PDFDocEncoding.o PSTokenizer.o SecurityHandler.o Stream.o UnicodeMap.o XpdfPluginAPI.o XRef.o pdfinfo.o pdfinfo
rm -f Annot.o Array.o BuiltinFont.o BuiltinFontTables.o Catalog.o CharCodeToUnicode.o CMap.o Decrypt.o Dict.o Error.o FontEncodingTables.o Function.o Gfx.o GfxFont.o GfxState.o GlobalParams.o JArithmeticDecoder.o JBIG2Stream.o JPXStream.o Lexer.o Link.o NameToCharCode.o Object.o Outline.o OutputDev.o Page.o Parser.o PDFDoc.o PDFDocEncoding.o PSTokenizer.o SecurityHandler.o Stream.o UnicodeMap.o XpdfPluginAPI.o XRef.o pdffonts.o pdffonts
rm -f Annot.o Array.o BuiltinFont.o BuiltinFontTables.o Catalog.o CharCodeToUnicode.o CMap.o Decrypt.o Dict.o Error.o FontEncodingTables.o Function.o Gfx.o GfxFont.o GfxState.o GlobalParams.o JArithmeticDecoder.o JBIG2Stream.o JPXStream.o Lexer.o Link.o NameToCharCode.o Object.o Outline.o OutputDev.o Page.o Parser.o PDFDoc.o PDFDocEncoding.o PSTokenizer.o SecurityHandler.o SplashOutputDev.o Stream.o TextOutputDev.o UnicodeMap.o UnicodeTypeTable.o XpdfPluginAPI.o XRef.o pdftoppm.o pdftoppm
rm -f Annot.o Array.o BuiltinFont.o BuiltinFontTables.o Catalog.o CharCodeToUnicode.o CMap.o Decrypt.o Dict.o Error.o FontEncodingTables.o Function.o Gfx.o GfxFont.o GfxState.o GlobalParams.o ImageOutputDev.o JArithmeticDecoder.o JBIG2Stream.o JPXStream.o Lexer.o Link.o NameToCharCode.o Object.o Outline.o OutputDev.o Page.o Parser.o PDFDoc.o PDFDocEncoding.o PSTokenizer.o SecurityHandler.o Stream.o UnicodeMap.o XpdfPluginAPI.o XRef.o pdfimages.o pdfimages
make[2]: Leaving directory `/tmp/xpdf-3.01/xpdf'
rm -f config.log config.status config.cache
rm -f aconf.h
rm -f Makefile goo/Makefile xpdf/Makefile
rm -f goo/Makefile.dep fofi/Makefile.dep splash/Makefile.dep xpdf/Makefile.dep
rm -f goo/Makefile.in.bak fofi/Makefile.in.bak splash/Makefile.in.bak xpdf/Makefile.in.bak
touch goo/Makefile.dep
touch fofi/Makefile.dep
touch splash/Makefile.dep
touch xpdf/Makefile.dep
make[1]: Leaving directory `/tmp/xpdf-3.01'
rm -rf *~ debian/*~ debian/files* build-stamp aconf.h
rm -rf fofi/Makefile splash/Makefile
dh_clean
dpatch deapply-all
reverting patch 99_autoconf from ./ ... ok.
reverting patch 41_lesstif_cpp from ./ ... ok.
reverting patch 40_lesstif_copy from ./ ... ok.
reverting patch 32_vscroll from ./ ... ok.
reverting patch 31_fullscreen from ./ ... ok.
reverting patch 30_3.01pl2 from ./ ... ok.
reverting patch 23_security3 from ./ ... ok.
reverting patch 20_resize from ./ ... ok.
reverting patch 08_core_action from ./ ... ok.
reverting patch 07_decrypt from ./ ... ok.
reverting patch 06_splashpath from ./ ... ok.
reverting patch 05_gmem from ./ ... ok.
reverting patch 05_freetype-2.2 from ./ ... ok.
reverting patch 04_freetype-glyph from ./ ... ok.
reverting patch 03_freetype-build from ./ ... ok.
reverting patch 02_permissions from ./ ... ok.
reverting patch 01_manpage from ./ ... ok.
rm -rf patch-stamp debian/patched
debian/rules build
dpatch apply-all
applying patch 01_manpage to ./ ... ok.
applying patch 02_permissions to ./ ... ok.
applying patch 03_freetype-build to ./ ... ok.
applying patch 04_freetype-glyph to ./ ... ok.
applying patch 05_freetype-2.2 to ./ ... ok.
applying patch 05_gmem to ./ ... ok.
applying patch 06_splashpath to ./ ... ok.
applying patch 07_decrypt to ./ ... ok.
applying patch 08_core_action to ./ ... ok.
applying patch 20_resize to ./ ... ok.
applying patch 23_security3 to ./ ... ok.
applying patch 30_3.01pl2 to ./ ... ok.
applying patch 31_fullscreen to ./ ... ok.
applying patch 32_vscroll to ./ ... ok.
applying patch 40_lesstif_copy to ./ ... ok.
applying patch 41_lesstif_cpp to ./ ... ok.
applying patch 99_autoconf to ./ ...smr.m4:42: warning: underquoted definition of smr_SWITCH
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
smr.m4:94: warning: underquoted definition of smr_ARG_WITHLIB
smr.m4:147: warning: underquoted definition of smr_ARG_WITHINCLUDES
smr.m4:207: warning: underquoted definition of smr_CHECK_LIB
/usr/share/aclocal/tcl.m4:20: warning: underquoted definition of SC_PATH_TCLCONFIG
/usr/share/aclocal/tcl.m4:124: warning: underquoted definition of SC_PATH_TKCONFIG
/usr/share/aclocal/tcl.m4:228: warning: underquoted definition of SC_LOAD_TCLCONFIG
/usr/share/aclocal/tcl.m4:295: warning: underquoted definition of SC_LOAD_TKCONFIG
/usr/share/aclocal/tcl.m4:332: warning: underquoted definition of SC_PROG_TCLSH
/usr/share/aclocal/tcl.m4:378: warning: underquoted definition of SC_BUILD_TCLSH
/usr/share/aclocal/tcl.m4:406: warning: underquoted definition of SC_ENABLE_SHARED
/usr/share/aclocal/tcl.m4:446: warning: underquoted definition of SC_ENABLE_FRAMEWORK
/usr/share/aclocal/tcl.m4:501: warning: underquoted definition of SC_ENABLE_THREADS
/usr/share/aclocal/tcl.m4:600: warning: underquoted definition of SC_ENABLE_SYMBOLS
/usr/share/aclocal/tcl.m4:657: warning: underquoted definition of SC_ENABLE_LANGINFO
/usr/share/aclocal/tcl.m4:708: warning: underquoted definition of SC_CONFIG_MANPAGES
/usr/share/aclocal/tcl.m4:840: warning: underquoted definition of SC_CONFIG_CFLAGS
/usr/share/aclocal/tcl.m4:2035: warning: underquoted definition of SC_SERIAL_PORT
/usr/share/aclocal/tcl.m4:2164: warning: underquoted definition of SC_MISSING_POSIX_HEADERS
/usr/share/aclocal/tcl.m4:2244: warning: underquoted definition of SC_PATH_X
/usr/share/aclocal/tcl.m4:2330: warning: underquoted definition of SC_BLOCKING_STYLE
/usr/share/aclocal/tcl.m4:2395: warning: underquoted definition of SC_TIME_HANDLER
/usr/share/aclocal/tcl.m4:2472: warning: underquoted definition of SC_BUGGY_STRTOD
/usr/share/aclocal/tcl.m4:2534: warning: underquoted definition of SC_TCL_LINK_LIBS
/usr/share/aclocal/tcl.m4:2611: warning: underquoted definition of SC_TCL_EARLY_FLAG
/usr/share/aclocal/tcl.m4:2623: warning: underquoted definition of SC_TCL_EARLY_FLAGS
/usr/share/aclocal/tcl.m4:2657: warning: underquoted definition of SC_TCL_64BIT_FLAGS
/usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
ok.
#dpatch call-all -a=pkg-info >patch-stamp
touch patch-stamp
dh_testdir
#CC=gcc-4.0 CXX=g++-4.0 ./configure
./configure \
--prefix=/usr \
--sysconfdir=/etc/xpdf \
--mandir=/usr/share/man \
--with-x \
--enable-freetype2 \
--enable-opi \
--enable-wordlist \
--enable-multithreaded \
--with-Xm-includes=/tmp/xpdf-3.01/lesstif
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for library containing strerror... none required
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for OS/2 (with EMX)... no
checking for DOS (with DJGPP)... no
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers in standard search path
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for gethostbyname... (cached) yes
checking select() and fd_set in sys/select.h and sys/bsdtypes.h... not needed
checking FD_ZERO and strings.h or bstring.h... not needed
checking for rewinddir... yes
checking for popen... yes
checking for mkstemp... yes
checking for mkstemps... no
checking whether select takes fd_set arguments... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... 1
checking for fseeko... yes
checking for fseek64... no
checking for ftell64... no
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether to use Xpm library... maybe
checking where to find the Xpm header files...
checking X11/xpm.h usability... yes
checking X11/xpm.h presence... yes
checking for X11/xpm.h... yes
checking for XpmCreatePixmapFromData in -lXpm... yes
using Xpm library
checking whether to use Xext library... maybe
checking where to find the Xext header files...
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking for XextAddDisplay in -lXext... yes
using Xext library
checking whether to use Xp library... maybe
checking where to find the Xp header files...
checking X11/extensions/Print.h usability... yes
checking X11/extensions/Print.h presence... yes
checking for X11/extensions/Print.h... yes
checking for XpStartPage in -lXp... yes
using Xp library
checking whether to use Xt library... maybe
checking where to find the Xt header files...
checking X11/Intrinsic.h usability... yes
checking X11/Intrinsic.h presence... yes
checking for X11/Intrinsic.h... yes
checking for XtAppInitialize in -lXt... yes
using Xt library
checking whether to use Xm library... maybe
checking where to find the Xm header files... (cached) /tmp/xpdf-3.01/lesstif
checking Xm/XmAll.h usability... yes
checking Xm/XmAll.h presence... yes
checking for Xm/XmAll.h... yes
checking for XmCreateForm in -lXm... yes
using Xm library
checking whether to use Sgm library... maybe
checking where to find the Sgm header files...
checking Sgm/HPanedW.h usability... no
checking Sgm/HPanedW.h presence... no
checking for Sgm/HPanedW.h... no
not using Sgm library
checking for XtAppSetExitFlag in -lXt... yes
checking whether to use t1 library... maybe
checking where to find the t1 header files...
checking t1lib.h usability... yes
checking t1lib.h presence... yes
checking for t1lib.h... yes
checking for T1_InitLib in -lt1... yes
using t1 library
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for freetype2... yes
checking whether to use libpaper library... maybe
checking where to find the libpaper header files...
checking paper.h usability... yes
checking paper.h presence... yes
checking for paper.h... yes
checking for paperinit in -lpaper... yes
using libpaper library
configure: creating ./config.status
config.status: creating Makefile
config.status: creating goo/Makefile
config.status: creating fofi/Makefile
config.status: creating splash/Makefile
config.status: creating xpdf/Makefile
config.status: creating aconf.h
with-freetype2-includes=/usr/include/freetype2 \
--with-t1-includes=/usr/include
/bin/sh: with-freetype2-includes=/usr/include/freetype2: not found
make: [build-stamp] Error 127 (ignored)
/usr/bin/make
make[1]: Entering directory `/tmp/xpdf-3.01'
cd goo; /usr/bin/make
make[2]: Entering directory `/tmp/xpdf-3.01/goo'
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I. -c GHash.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I. -c GList.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I. -c GString.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I. -c gmempp.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I. -c gfile.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I. -c FixedPoint.cc
gcc -g -O2 -DHAVE_CONFIG_H -I.. -I. -c -o gmem.o gmem.c
gcc -g -O2 -DHAVE_CONFIG_H -I.. -I. -c -o parseargs.o parseargs.c
rm -f libGoo.a
ar rc libGoo.a GHash.o GList.o GString.o gmempp.o gfile.o FixedPoint.o gmem.o parseargs.o
ranlib libGoo.a
make[2]: Leaving directory `/tmp/xpdf-3.01/goo'
cd fofi; /usr/bin/make
make[2]: Entering directory `/tmp/xpdf-3.01/fofi'
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c FoFiBase.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c FoFiEncodings.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c FoFiTrueType.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c FoFiType1.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c FoFiType1C.cc
rm -f libfofi.a
ar rc libfofi.a FoFiBase.o FoFiEncodings.o FoFiTrueType.o FoFiType1.o FoFiType1C.o
ranlib libfofi.a
make[2]: Leaving directory `/tmp/xpdf-3.01/fofi'
cd splash; /usr/bin/make
make[2]: Entering directory `/tmp/xpdf-3.01/splash'
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I. -I/usr/include/freetype2 -c Splash.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I. -I/usr/include/freetype2 -c SplashBitmap.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I. -I/usr/include/freetype2 -c SplashClip.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I. -I/usr/include/freetype2 -c SplashFTFont.cc
SplashFTFont.cc: In member function ‘virtual SplashPath* SplashFTFont::getGlyphPath(int)’:
SplashFTFont.cc:220: error: invalid conversion from ‘int (*)(const FT_Vector*, void*)’ to ‘int (*)(FT_Vector*, void*)’
SplashFTFont.cc:220: error: invalid conversion from ‘int (*)(const FT_Vector*, void*)’ to ‘int (*)(FT_Vector*, void*)’
SplashFTFont.cc:220: error: invalid conversion from ‘int (*)(const FT_Vector*, const FT_Vector*, void*)’ to ‘int (*)(FT_Vector*, FT_Vector*, void*)’
SplashFTFont.cc:220: error: invalid conversion from ‘int (*)(const FT_Vector*, const FT_Vector*, const FT_Vector*, void*)’ to ‘int (*)(FT_Vector*, FT_Vector*, FT_Vector*, void*)’
make[2]: *** [SplashFTFont.o] Error 1
make[2]: Leaving directory `/tmp/xpdf-3.01/splash'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/xpdf-3.01'
make: *** [build-stamp] Error 2
Build command ‘cd xpdf-3.01 && dpkg-buildpackage -b -uc’ failed.
E: Child process failed
Compilation exited abnormally with code 100 at Fri Sep 22 05:49:09
-- System Information:
Debian Release: testing/unstable
APT prefers dapper-updates
APT policy: (500, 'dapper-updates'), (500, 'dapper-security'), (500, 'dapper')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.15-25-k7
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
More information about the ubuntu-users
mailing list