hello tino, when i just apt-get source, debuild will run normally. but if i `touch configure.ac` the failure happens even without my patches. and my patches modify configure.ac indeed. build log attached. anything we can do? alex On 03/05/2014 08:52 AM, Pino Toscano
wrote:
Hi, -- best regards, alex |
dpkg-buildpackage -rfakeroot -D -us -uc dpkg-buildpackage: source package poppler dpkg-buildpackage: source version 0.22.5-4 dpkg-buildpackage: source distribution unstable dpkg-buildpackage: source changed by Pino Toscano <p...@debian.org> dpkg-source --before-build poppler-0.22.5 dpkg-buildpackage: host architecture i386 fakeroot debian/rules clean dh clean --parallel --with gir dh_testdir -O--parallel debian/rules override_dh_auto_clean make[1]: Entering directory `/usr/local/src/poppler/poppler-0.22.5' dh_auto_clean rm -f glib/reference/html/* rm -f debian/libpoppler-glib8.symbols debian/libpoppler-qt4-4.symbols make[1]: Leaving directory `/usr/local/src/poppler/poppler-0.22.5' dh_clean -O--parallel dpkg-source -b poppler-0.22.5 dpkg-source: info: using source format `3.0 (quilt)' dpkg-source: info: building poppler using existing ./poppler_0.22.5.orig.tar.gz dpkg-source: warning: ignoring deletion of file glib/reference/html/poppler-poppler.html dpkg-source: warning: ignoring deletion of file glib/reference/html/index.sgml dpkg-source: warning: ignoring deletion of file glib/reference/html/right.png dpkg-source: warning: ignoring deletion of file glib/reference/html/api-index-0-22.html dpkg-source: warning: ignoring deletion of file glib/reference/html/annotation-glossary.html dpkg-source: warning: ignoring deletion of file glib/reference/html/api-index-0-12.html dpkg-source: warning: ignoring deletion of file glib/reference/html/poppler.devhelp2 dpkg-source: warning: ignoring deletion of file glib/reference/html/PopplerAnnot.html dpkg-source: warning: ignoring deletion of file glib/reference/html/PopplerMovie.html dpkg-source: warning: ignoring deletion of file glib/reference/html/ch01.html dpkg-source: warning: ignoring deletion of file glib/reference/html/poppler-PopplerAction.html dpkg-source: warning: ignoring deletion of file glib/reference/html/left.png dpkg-source: warning: ignoring deletion of file glib/reference/html/api-index-0-18.html dpkg-source: warning: ignoring deletion of file glib/reference/html/PopplerPage.html dpkg-source: warning: ignoring deletion of file glib/reference/html/PopplerDocument.html dpkg-source: warning: ignoring deletion of file glib/reference/html/style.css dpkg-source: warning: ignoring deletion of file glib/reference/html/api-index-0-16.html dpkg-source: warning: ignoring deletion of file glib/reference/html/up.png dpkg-source: warning: ignoring deletion of file glib/reference/html/PopplerMedia.html dpkg-source: warning: ignoring deletion of file glib/reference/html/api-index-deprecated.html dpkg-source: warning: ignoring deletion of file glib/reference/html/PopplerFormField.html dpkg-source: warning: ignoring deletion of file glib/reference/html/api-index-0-14.html dpkg-source: warning: ignoring deletion of file glib/reference/html/poppler-Version-and-Features-Information.html dpkg-source: warning: ignoring deletion of file glib/reference/html/api-index-full.html dpkg-source: warning: ignoring deletion of file glib/reference/html/PopplerAttachment.html dpkg-source: warning: ignoring deletion of file glib/reference/html/PopplerLayer.html dpkg-source: warning: ignoring deletion of file glib/reference/html/index.html dpkg-source: warning: ignoring deletion of file glib/reference/html/api-index-0-20.html dpkg-source: warning: ignoring deletion of file glib/reference/html/home.png dpkg-source: info: building poppler in poppler_0.22.5-4.debian.tar.xz dpkg-source: info: building poppler in poppler_0.22.5-4.dsc debian/rules build dh build --parallel --with gir dh_testdir -O--parallel debian/rules override_dh_auto_configure make[1]: Entering directory `/usr/local/src/poppler/poppler-0.22.5' dh_auto_configure -- --enable-libjpeg --enable-libpng --enable-libtiff --enable-splash-output --enable-cairo-output --enable-poppler-glib --enable-poppler-qt4 --enable-poppler-cpp --enable-gtk-doc --enable-xpdf-headers --enable-introspection=yes --enable-cms=lcms2 --disable-gtk-test configure: WARNING: unrecognized options: --disable-maintainer-mode checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /usr/local/src/poppler/poppler-0.22.5/missing: Unknown `--is-lightweight' option Try `/usr/local/src/poppler/poppler-0.22.5/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 ISO C89... none needed checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/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 byte ordering is bigendian... no checking build system type... i486-pc-linux-gnu checking host system type... i486-pc-linux-gnu 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... 805306365 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert i486-pc-linux-gnu file names to i486-pc-linux-gnu format... func_convert_file_noop checking how to convert i486-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... dlltool 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 command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs 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) supports shared libraries... yes checking whether -lc should be explicitly linked in... 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... yes checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) none checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for library containing strerror... none required checking for gcc option to accept ISO C99... -std=gnu99 checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) none checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for X... libraries , headers 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 stdint.h... (cached) yes checking whether gettimeofday is declared... yes checking for gettimeofday... yes checking for localtime_r... yes checking for gmtime_r... yes checking for rand_r... yes checking for gethostbyname... (cached) yes checking for nanosleep... yes checking for LIBOPENJPEG... no checking for opj_cio_open in -lopenjpeg... yes checking openjpeg.h usability... yes checking openjpeg.h presence... yes checking for openjpeg.h... yes ./configure: line 19597: test: x: unary operator expected checking for TIFFOpen in -ltiff... yes checking tiffio.h usability... yes checking tiffio.h presence... yes checking for tiffio.h... yes checking for popen... yes checking for mkstemp... yes checking for mkstemps... yes checking for strcpy_s... no checking for strcat_s... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for _LARGEFILE_SOURCE value needed for large files... no checking for fseek64... no checking for ftell64... no checking for libjpeg6b... no checking for libjpeg... -ljpeg checking jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking libjpeg.h works correctly... ok checking for LIBPNG... yes checking for FREETYPE... yes checking which font configuration to use... fontconfig checking for FONTCONFIG... yes checking for CAIRO... yes checking for PDFTOCAIRO... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for sys/stat.h... (cached) yes checking for POPPLER_GLIB... yes checking for gobject-introspection... yes checking for glib-mkenums... /usr/bin/glib-mkenums checking for gtkdoc-check... /usr/bin/gtkdoc-check checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf checking for GTKDOC_DEPS... yes checking whether to build gtk-doc documentation... yes checking for POPPLER_QT4... yes checking for POPPLER_QT4_TEST... yes checking for moc... moc checking for Qt4 moc... moc checking for iconv... yes checking for working iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for LCMS... yes checking for test data in /usr/local/src/poppler/poppler-0.22.5/./../test... no configure: WARNING: No test data found in /usr/local/src/poppler/poppler-0.22.5/./../test. You will not be able to run 'make check' successfully.
The test data is not included in the source packages and is also not part of the main git repository. Instead, you can checkout the test data from its own git repository with: git clone git://git.freedesktop.org/git/poppler/test You should checkout the test data as a sibling of your poppler source folder or specify the location of your checkout with --with-testdatadir=/path/to/checkoutdir/test. checking that generated files are newer than configure... done 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 poppler/Makefile config.status: creating utils/Makefile config.status: creating glib/Makefile config.status: creating glib/poppler-features.h config.status: creating glib/reference/Makefile config.status: creating glib/reference/version.xml config.status: creating glib/demo/Makefile config.status: creating test/Makefile config.status: creating qt4/Makefile config.status: creating qt4/src/Makefile config.status: creating qt4/tests/Makefile config.status: creating qt4/demos/Makefile config.status: creating cpp/Makefile config.status: creating cpp/poppler-version.h config.status: creating cpp/tests/Makefile config.status: creating poppler.pc config.status: creating poppler-uninstalled.pc config.status: creating poppler-cairo.pc config.status: creating poppler-cairo-uninstalled.pc config.status: creating poppler-splash.pc config.status: creating poppler-splash-uninstalled.pc config.status: creating poppler-glib.pc config.status: creating poppler-glib-uninstalled.pc config.status: creating poppler-qt4.pc config.status: creating poppler-qt4-uninstalled.pc config.status: creating poppler-cpp.pc config.status: creating poppler-cpp-uninstalled.pc config.status: creating config.h config.status: creating poppler/poppler-config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-maintainer-mode Building poppler with support for: font configuration: fontconfig splash output: yes cairo output: yes qt4 wrapper: yes glib wrapper: yes introspection: yes cpp wrapper: yes use gtk-doc: yes use libjpeg: yes use libpng: yes use libtiff: yes use zlib: no use libcurl: no use libopenjpeg: yes use cms: yes with lcms2 command line utils: yes test data dir: /usr/local/src/poppler/poppler-0.22.5/./../test make[1]: Leaving directory `/usr/local/src/poppler/poppler-0.22.5' dh_auto_build -O--parallel make[1]: Entering directory `/usr/local/src/poppler/poppler-0.22.5' CDPATH="${ZSH_VERSION+.}:" && cd . && aclocal-1.13 -I m4 /bin/sh: aclocal-1.13: command not found make[1]: *** [aclocal.m4] Error 127 make[1]: Leaving directory `/usr/local/src/poppler/poppler-0.22.5' dh_auto_build: make -j1 returned exit code 2 make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2