[Pkg-fonts-bugs] Bug#705437: fontforge: failed to build with -j4 option

Hideki Yamane henrich at debian.or.jp
Mon Apr 15 01:24:45 UTC 2013


Package: fontforge
Version: 0.0.20120101+git-2
Severity: normal

Hi,

 building fontforge package with -j4 option on my box fails.
 

(snip)
sed -e '1,$ s/REPLACE_ME_WITH_MAJOR_VERSION/1/' -e '1,$ s/REPLACE_ME_WITH_MINOR_VERSION/0/' < exelibstamp.pre > exelibstamp.c
/bin/bash ../libtool --mode=compile gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I/usr/include/freetype2/ -I/usr/include/freetype2 -I/usr/include/libxml2/ -I/usr/include/cairo -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2   -pthread -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -D_FORTIFY_SOURCE=2 -I/usr/include/python2.7 -I../inc -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts  -DHAVE_CONFIG_H '-DSHAREDIR="/usr/share/fontforge"' -DLIBDIR='"/usr/lib"' -D_FORTIFY_SOURCE=2 -I/usr/include/python2.7 '-DPREFIX="/usr"' -c exelibstamp.c
libtool: compile:  gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I/usr/include/freetype2/ -I/usr/include/freetype2 -I/usr/include/libxml2/ -I/usr/include/cairo -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -pthread -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -D_FORTIFY_SOURCE=2 -I/usr/include/python2.7 -I../inc -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H -DSHAREDIR=\"/usr/share/fontforge\" -DLIBDIR=\"/usr/lib\" -D_FORTIFY_SOURCE=2 -I/usr/include/python2.7 -DPREFIX=\"/usr\" -c exelibstamp.c  -fPIC -DPIC -o .libs/exelibstamp.o
/bin/bash ../libtool --mode=link gcc  -Wl,-z,relro -L/usr/local/lib -o fontforge \
	    alignment.o anchorsaway.o autowidth2dlg.o basedlg.o bdfinfo.o bitmapdlg.o bitmapview.o charinfo.o charview.o clipui.o combinations.o contextchain.o cursors.o cvaddpoints.o cvdebug.o cvdgloss.o cvexportdlg.o cvfreehand.o cvgetinfo.o cvgridfit.o cvhand.o cvhints.o cvimportdlg.o cvknife.o cvpalettes.o cvpointer.o cvruler.o cvshapes.o cvstroke.o cvtranstools.o displayfonts.o effectsui.o encodingui.o fontinfo.o fontview.o freetypeui.o fvfontsdlg.o fvmetricsdlg.o gotodlg.o groupsdlg.o histograms.o images.o kernclass.o layer2layer.o lookupui.o macencui.o math.o metricsview.o mmdlg.o nonlineartransui.o oflib.o openfontdlg.o prefs.o problems.o pythonui.o savefontdlg.o scriptingdlg.o scstylesui.o searchview.o sftextfield.o showatt.o simplifydlg.o splashimage.o startui.o statemachine.o tilepath.o transform.o ttfinstrsui.o uiutil.o windowmenu.o justifydlg.o deltaui.o stamp.o exelibstamp.lo ../libfontforge.la -rpath /usr/lib ../libgdraw.la ../libgutils.la ../libgunicode.la -lSM -lIC!
 E -lcairo -lfontconfig -lpangoxft-1.0 -lpangoft2-1.0 -lXft -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0   -lXft -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0   -lX11  -ldl  -lpthread -ldl -lutil -lm -lpython2.7 -lpthread -lgif -lpng12 -lz -ltiff -ljpeg -lfreetype -lxml2 -lspiro -luninameslist -lgif -lm
libtool: link: gcc -Wl,-z -Wl,relro -o .libs/fontforge alignment.o anchorsaway.o autowidth2dlg.o basedlg.o bdfinfo.o bitmapdlg.o bitmapview.o charinfo.o charview.o clipui.o combinations.o contextchain.o cursors.o cvaddpoints.o cvdebug.o cvdgloss.o cvexportdlg.o cvfreehand.o cvgetinfo.o cvgridfit.o cvhand.o cvhints.o cvimportdlg.o cvknife.o cvpalettes.o cvpointer.o cvruler.o cvshapes.o cvstroke.o cvtranstools.o displayfonts.o effectsui.o encodingui.o fontinfo.o fontview.o freetypeui.o fvfontsdlg.o fvmetricsdlg.o gotodlg.o groupsdlg.o histograms.o images.o kernclass.o layer2layer.o lookupui.o macencui.o math.o metricsview.o mmdlg.o nonlineartransui.o oflib.o openfontdlg.o prefs.o problems.o pythonui.o savefontdlg.o scriptingdlg.o scstylesui.o searchview.o sftextfield.o showatt.o simplifydlg.o splashimage.o startui.o statemachine.o tilepath.o transform.o ttfinstrsui.o uiutil.o windowmenu.o justifydlg.o deltaui.o stamp.o .libs/exelibstamp.o  -L/usr/local/lib ../.libs/libfontforg!
 e.so ../.libs/libgdraw.so ../.libs/libgutils.so ../.libs/libgunicode.so -lSM -lICE -lpangoxft-1.0 -lpangoft2-1.0 -lfontconfig -lXft -lpangocairo-1.0 -lpango-1.0 /usr/lib/x86_64-linux-gnu/libcairo.so -lgobject-2.0 -lglib-2.0 -lX11 -ldl -lutil -lpython2.7 -lpthread -lpng12 -lz /usr/lib/x86_64-linux-gnu/libtiff.so -ljpeg /usr/lib/x86_64-linux-gnu/libfreetype.so -lxml2 /usr/lib/libspiro.so /usr/lib/libuninameslist.so /usr/lib/libgif.so -lm -pthread -Wl,-rpath -Wl,/usr/lib
make[2]: Leaving directory `/tmp/buildd/fontforge-0.0.20120101+git/fontforge'
make[1]: Leaving directory `/tmp/buildd/fontforge-0.0.20120101+git'
/usr/bin/make -C fontforge FontForge.pot
make[1]: Entering directory `/tmp/buildd/fontforge-0.0.20120101+git/fontforge'
echo "If this doesn't work try make fontforge-old.pot instead"
If this doesn't work try make fontforge-old.pot instead
xgettext --from-code=UTF-8 -k_ -kN_ -kS_ -kU_ -kNU_ -kP_:1,2 --add-comments=GT: -oFontForge.pot *.c ../gdraw/*.c
patch < pottitle.patch
patching file FontForge.pot
make[1]: Leaving directory `/tmp/buildd/fontforge-0.0.20120101+git/fontforge'
touch build-stamp
 fakeroot debian/rules binary
make: lsb_release: Command not found
dh_testdir
dh_testroot
dh_testdir
dh_testdir
dh_prep -s --exclude ./fontforge/FontForge-MenuShortCuts.pot.orig --exclude ./fontforge/nowakowskittfinstr.c.orig --exclude ./fontforge/scstyles.c.orig
[ ! -f Makefile ] || /usr/bin/make distclean
dh_testroot
make[1]: Entering directory `/tmp/buildd/fontforge-0.0.20120101+git'
( cd fontforge ; /usr/bin/make distclean )
make[2]: Entering directory `/tmp/buildd/fontforge-0.0.20120101+git/fontforge'
rm -f fontforge sfddiff fontimage acorn2sfd fontimage fontlint \
		../libfontforge.la exelibstamp.c libstamp.c
rm -rf FontForge.app __MACOSX
rm -f *.o
dh_installchangelogs
rm -f *.lo
rm -rf .libs
rm -f Makefile
make[2]: Leaving directory `/tmp/buildd/fontforge-0.0.20120101+git/fontforge'
( cd Unicode ; /usr/bin/make distclean )
make[2]: Entering directory `/tmp/buildd/fontforge-0.0.20120101+git/Unicode'
rm -f *.o *.lo ../libgunicode.la .libs/* .libs Makefile
rm: cannot remove '.libs': Is a directory
make[2]: [distclean] Error 1 (ignored)
make[2]: Leaving directory `/tmp/buildd/fontforge-0.0.20120101+git/Unicode'
( cd gutils ; /usr/bin/make distclean )
make[2]: Entering directory `/tmp/buildd/fontforge-0.0.20120101+git/gutils'
rm -fr *.lo *.o ../libgutils.la Makefile ../libgioftp.la .libs/* .libs
make[2]: Leaving directory `/tmp/buildd/fontforge-0.0.20120101+git/gutils'
( cd gdraw ; /usr/bin/make distclean )
make[2]: Entering directory `/tmp/buildd/fontforge-0.0.20120101+git/gdraw'
rm -rf *.lo *.o ../libgdraw.la .libs/* .libs Makefile
dh_installdirs -s
make[2]: Leaving directory `/tmp/buildd/fontforge-0.0.20120101+git/gdraw'
( cd plugins ; /usr/bin/make distclean )
make[2]: Entering directory `/tmp/buildd/fontforge-0.0.20120101+git/plugins'
rm -rf .libs *.la *.lo
rm -rf Makefile
make[2]: Leaving directory `/tmp/buildd/fontforge-0.0.20120101+git/plugins'
if test -d gtkui; then cd gtkui ; /usr/bin/make distclean ; fi
( cd po ; rm *.mo Makefile* )
( cd pyhook ; rm setup.py ; for dir in * ; do if test -d $dir -a "$dir" != "CVS" ; then  rm -rf $dir ; fi; done)
rm -rf .libs
rm Makefile config.cache config.log config.status libtool fontforge.pc systemspecific inc/config.h
rm: cannot remove 'config.cache': No such file or directory
make[1]: [distclean] Error 1 (ignored)
make[1]: Leaving directory `/tmp/buildd/fontforge-0.0.20120101+git'
./configure --build x86_64-linux-gnu --prefix=/usr --libdir=\${prefix}/lib --mandir=\${prefix}/share/man --with-regular-link --enable-devicetables --enable-pyextension --enable-type3 --with-freetype-src --with-freetype-bytecode=no --without-x CFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security" CPPFLAGS="-D_FORTIFY_SOURCE=2" CXXFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security" FFLAGS="-g -O2" LDFLAGS="-Wl,-z,relro" 
/usr/bin/make install prefix=/tmp/buildd/fontforge-0.0.20120101+git/debian/fontforge/usr libdir=/tmp/buildd/fontforge-0.0.20120101+git/debian/libfontforge1/usr/lib
make[1]: Entering directory `/tmp/buildd/fontforge-0.0.20120101+git'
make[1]: *** No rule to make target `install'.  Stop.
make[1]: Leaving directory `/tmp/buildd/fontforge-0.0.20120101+git'
make: *** [install] Error 2
make: *** Waiting for unfinished jobs....
checking for gcc... gcc
checking whether the C compiler works... dh_installdocs
dh_installmenu
yes
checking for C compiler default output file name... a.out
checking for suffix of executables... dh_installmime

checking whether we are cross compiling... dh_installman
dh_link
no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... dh_python2 -ppython-fontforge
yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... dh_strip --exclude=fontforge-nox --dbg-package=fontforge-dbg
none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for an ANSI C-conforming const... # strip again to clean up the binaries in fontforge-nox:
dh_strip
yes
checking how to run the C preprocessor... gcc -E
checking for X... disabled
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... dh_compress
dh_fixperms
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... dh_makeshlibs
yes
checking for strings.h... yes
checking for inttypes.h... dh_installdeb
yes
checking for stdint.h... yes
dh_shlibdeps
checking for unistd.h... dh_gencontrol
yes
checking whether byte ordering is bigendian... no
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 3458764513820540925
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... no
checking for mawk... mawk
checking command to parse /usr/bin/nm -B output from gcc object... dpkg-gencontrol: warning: Depends field of package fontforge: unknown substitution variable ${shlibs:Depends}
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
dpkg-gencontrol: warning: Depends field of package fontforge-nox: unknown substitution variable ${shlibs:Depends}
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for library containing dlopen... -ldl
checking for library containing inet_aton... dpkg-gencontrol: warning: Depends field of package libfontforge1: unknown substitution variable ${shlibs:Depends}
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
none required
checking for library containing iconv... none required
Checking for python...2.7
yes
checking for tzset... dpkg-gencontrol: warning: Depends field of package libgdraw4: unknown substitution variable ${shlibs:Depends}
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
yes
checking for /usr/include/freetype2... yes
checking for /usr/include/libxml2/libxml... yes
checking for DGifOpenFileName in -lgif... yes
checking for ExtensionBlock.Function in gif_lib.h...  yes
checking for deflateEnd in -lz... yes
checking for png_create_read_struct in -lpng16... no
checking for png_create_read_struct in -lpng15... dpkg-gencontrol: warning: Depends field of package python-fontforge: unknown substitution variable ${shlibs:Depends}
dpkg-gencontrol: warning: Depends field of package python-fontforge: unknown substitution variable ${python:Depends}
dpkg-gencontrol: warning: Provides field of package python-fontforge: unknown substitution variable ${python:Provides}
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dpkg-gencontrol: warning: package python-fontforge: unknown substitution variable ${python:Versions}
no
checking for png_create_read_struct in -lpng14... no
checking for png_create_read_struct in -lpng12... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for jpeg_CreateDecompress in -ljpeg... dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dh_md5sums
yes
checking jpeglib.h usability... dh_builddeb
dpkg-deb: building package `fontforge' in `../fontforge_0.0.20120101+git-3_amd64.deb'.
dpkg-deb: building package `libfontforge-dev' in `../libfontforge-dev_0.0.20120101+git-3_amd64.deb'.
dpkg-deb: building package `libfontforge1' in `../libfontforge1_0.0.20120101+git-3_amd64.deb'.
dpkg-deb: building package `fontforge-nox' in `../fontforge-nox_0.0.20120101+git-3_amd64.deb'.
dpkg-deb: building package `python-fontforge' in `../python-fontforge_0.0.20120101+git-3_amd64.deb'.
dpkg-deb: building package `libgdraw4' in `../libgdraw4_0.0.20120101+git-3_amd64.deb'.
yes
checking jpeglib.h presence... dpkg-deb: building package `fontforge-dbg' in `../fontforge-dbg_0.0.20120101+git-3_amd64.deb'.
yes
checking for jpeglib.h... yes
checking for TIFFOpen in -ltiff... yes
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for TaggedSpiroCPsToBezier in -lspiro... yes
checking spiroentrypoints.h usability... yes
checking spiroentrypoints.h presence... yes
checking for spiroentrypoints.h... yes
checking for xmlParseFile in -lxml2... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking for stdint.h... (cached) yes
checking fontconfig/fontconfig.h usability... yes
checking fontconfig/fontconfig.h presence... yes
checking for fontconfig/fontconfig.h... yes
checking for FcConfigCreate in -lfontconfig... yes
checking for cairo_set_scaled_font in -lcairo... yes
checking for X11/Xft/Xft.h... yes
checking for FT_New_Memory_Face in -lfreetype... yes
checking for pthread_create in -lpthread... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for snprintf... yes
checking for long double with more range or precision than double... yes
checking for long long ...  yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for UnicodeNameAnnot in -luninameslist... yes
cat: ./VERSION: No such file or directory
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  'Makefile.in' seems to ignore the --datarootdir setting
config.status: creating Unicode/Makefile
config.status: creating gutils/Makefile
config.status: creating gdraw/Makefile
config.status: creating fontforge/Makefile
config.status: creating po/Makefile
config.status: creating plugins/Makefile
config.status: creating systemspecific
config.status: creating fontforge.pc
config.status: creating pyhook/setup.py
config.status: creating inc/config.h
config.status: executing libtool commands
Configuration defines: -DHAVE_CONFIG_H
CFLAGS: -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I/usr/include/freetype2/ -I/usr/include/freetype2 -I/usr/include/libxml2/ -I/usr/include/cairo -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -pthread -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
Non DlOpenable or Static Libraries: -lgif -lpng12 -lz -ltiff -ljpeg -lfreetype -lxml2 -lspiro -luninameslist
 *******************************************************************
 * This version of fontforge will only run scripts. No X libraries *
 * (or X include files or some such) were found so there is NO user*
 * interface!!!!! If you want a UI try installing X11 on your      *
 * system.                                                         *
 * Caveat: You will probably need to install two packages, the     *
 *  base X11 package and the developer SDK package                 *
 *******************************************************************

touch configure-stamp-nox
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
E: Failed autobuilding of package




More information about the Pkg-fonts-bugs mailing list