Hi Christoph! On Thu, Mar 21, 2019 at 08:57:09AM +0100, Christoph Biedl wrote: > as I've prepared a new version of src:file for a stretch point release > and the changes have been somewhat bigger, I wanted to rebuild the > diffoscope package as additional check for possible regressions. > > Turns out the test suite fails even *before* using the updated file > package.
That's a bug, that was reported yesterday and I already uploaded a new version to stable-new, now waiting for SRM. See: bug: https://bugs.debian.org/925051 p-u: https://bugs.debian.org/925161 git: https://salsa.debian.org/reproducible-builds/diffoscope/commits/stretch > After blatantly disabling the test, things got worse: > > __________________ ERROR at setup of test_obj_identification > ___________________ > | > | > lambda: specialize(FilesystemFile(filename)) > | ) > | > | filename = > '/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/tests/comparators/../data/test1.o' > | > | tests/comparators/utils/data.py:35: > | _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ _ > | diffoscope/comparators/utils/specialize.py:38: in specialize > | flag = cls.recognizes(file) > | _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ _ > | > | file = <<class 'diffoscope.comparators.binary.FilesystemFile'> > /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/tests/comparators/../data/test1.o> > | > | @staticmethod > | def recognizes(file): > | if isinstance(file, FilesystemFile) and not > os.path.lexists(file.name): > | > assert Config().new_file, '%s does not exist' % file.name > | E AssertionError: > /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/tests/comparators/../data/test1.o > does not exist > | > | file = <<class 'diffoscope.comparators.binary.FilesystemFile'> > /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/tests/comparators/../data/test1.o> > | > | diffoscope/comparators/missing_file.py:40: AssertionError > > ... and several more. This is a new one though… :\ I must say that that ENOENT there reminds me of a dpkg-source thing, check debian/source/options. Do you perhaps pass some flags to dpkg-source through ~/.devscripts (in case you use debuild) or ~/.config/dpkg/buildpackage.conf or something else? Somewhere in the archived bugs there should be one about this matter. The problem is that dpkg-source excludes from the tarball the .o files that are used for the test. Could you try rebuilding with the tip of the stretch branch I linked above (the only missing commit is an updated changelog, waiting for SRM to approve the upload). If it still fails, I'd be interested in the full log. For convinience, this is the (unsigned) source package built by me: https://volatile.mapreri.org/2019-03-21/0626fb90b70be4fe0d8c9b7c59d9af16/diffoscope_78+deb9u1.dsc indexing is disabled, but `dget` over that URL should also pull the tarball. -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. more about me: https://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
signature.asc
Description: PGP signature
_______________________________________________ Reproducible-builds mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/reproducible-builds
