On 05/02/2018 09:42 PM, Jakub Wilk wrote: >> AssertionError: 'Unable to revert mtime: /usr/local/share/fonts\n' != '' > > The test fails because there was an unexpected warning on stderr. > Apparently this one was generated by fontconfig: > https://cgit.freedesktop.org/fontconfig/tree/src/fccache.c?h=2.13.0#n127 > No idea why it was emitted, though... > > I can't reproduce this failure. I tried building pdf2djvu in an up-to-date > clean amd64 chroot, and the build succeeded. > > Is this reproducible for you? Does it happen every time? > > Does /usr/local/share/fonts exist in your build environment? (It doesn't in > my chroot, even after installing all the build-dependencies.) >
Thanks for checking this over. It appears again here: <cut> $ sbuild -d unstable pdf2djvu sbuild (Debian sbuild) 0.73.0 (23 Dec 2016) on varuna +==============================================================================+ | pdf2djvu (amd64) Wed, 02 May 2018 20:41:46 +0000 | +==============================================================================+ Package: pdf2djvu Distribution: unstable Machine Architecture: amd64 Host Architecture: amd64 Build Architecture: amd64 Build Type: full {...} test-xmp-recreate.test.test_verbatim ... ok ====================================================================== FAIL: test-1px-font.test.test ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/<<PKGBUILDDIR>>/tests/test-1px-font.py", line 25, in test self.pdf2djvu().assert_() File "/<<PKGBUILDDIR>>/tests/tools.py", line 143, in assert_ assert_multi_line_equal(self.stderr, stderr) AssertionError: 'Unable to revert mtime: /usr/local/share/fonts\n' != '' - Unable to revert mtime: /usr/local/share/fonts -------------------- >> begin captured stdout << --------------------- $ ../pdf2djvu -q /<<PKGBUILDDIR>>/tests/test-1px-font.pdf -o /<<PKGBUILDDIR>>/tests/test-1px-font.djvu --------------------- >> end captured stdout << ---------------------- ---------------------------------------------------------------------- Ran 84 tests in 6.375s </cut> </cut> I've checked for the presence of that folder, my sbuild unstable chroot has it/gets it: <cut> $ schroot -d / -c unstable-amd64-sbuild -u root # ls /usr/local/share/ man # apt-get build-dep pdf2djvu {...} The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils curl debhelper dh-autoreconf dh-strip-nondeterminism djvulibre-bin file fontconfig-config fonts-dejavu-core gettext gettext-base groff-base icu-devtools intltool-debian libarchive-zip-perl libbsd0 libbz2-dev libc-l10n libcroco3 libcurl3 libdjvulibre-dev libdjvulibre-text libdjvulibre21 libexif-dev libexif12 libexiv2-14 libexiv2-dev libexpat1 libfile-stripnondeterminism-perl libfontconfig1 libfreetype6 libfreetype6-dev libglib2.0-0 libgraphicsmagick++-q16-12 libgraphicsmagick++1-dev libgraphicsmagick-q16-3 libgraphicsmagick1-dev libgssapi-krb5-2 libice-dev libice6 libicu-dev libicu57 libjbig-dev libjbig0 libjpeg-dev libjpeg62-turbo libjpeg62-turbo-dev libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblcms2-2 liblcms2-dev libldap-2.4-2 libldap-common libltdl-dev libltdl7 liblzma-dev libmagic-mgc libmagic1 libncurses5 libnghttp2-14 libnspr4 libnss3 libopenjp2-7 libpipeline1 libpng-dev libpng16-16 libpoppler-dev libpoppler-private-dev libpoppler74 libpsl5 libpthread-stubs0-dev libpython-stdlib libpython2.7-minimal libpython2.7-stdlib libreadline7 librtmp1 libsasl2-2 libsasl2-modules-db libsigsegv2 libsm-dev libsm6 libsqlite3-0 libssh2-1 libssl1.0.2 libssl1.1 libtiff-dev libtiff5 libtiff5-dev libtiffxx5 libtimedate-perl libtool libwebp-dev libwebp6 libwebpdemux2 libwebpmux3 libwmf-dev libwmf0.2-7 libx11-6 libx11-data libx11-dev libxau-dev libxau6 libxcb1 libxcb1-dev libxdmcp-dev libxdmcp6 libxext-dev libxext6 libxml2 libxml2-dev locales m4 man-db mime-support pkg-config po-debconf python python-minimal python-nose python-pil python-pkg-resources python2.7 python2.7-minimal readline-common ucf uuid-dev x11-common x11proto-core-dev x11proto-dev x11proto-xext-dev xorg-sgml-doctools xtrans-dev zlib1g-dev 0 upgraded, 139 newly installed, 0 to remove and 0 not upgraded. Need to get 86.2 MB of archives. {...} # ls /usr/local/share/ fonts man </cut> While building with sbuild yields this test failure, building with dpkg-buildpackage within the chroot succeeds: <cut> dpkg-deb: building package 'pdf2djvu-dbgsym' in '../pdf2djvu-dbgsym_0.9.8-1_amd64.deb'. dpkg-deb: building package 'pdf2djvu' in '../pdf2djvu_0.9.8-1_amd64.deb'. dpkg-genbuildinfo dpkg-genchanges >../pdf2djvu_0.9.8-1_amd64.changes dpkg-genchanges: info: including full source code in upload dpkg-source --after-build pdf2djvu-0.9.8 dpkg-buildpackage: info: full upload (original source is included) # ls /usr/local/share/ fonts man </cut> I've checked a porterbox (barriere), the same there, apt-get build-dep pdf2djvu brings that folder up while building within the same chroot succeeds. Some stranger ... Daniel -- 4096R/DF5182C8 (sten...@debian.org) http://www.danielstender.com/