[Reproducible-builds] Bug#829022: python-libarchive-c: FTBFS: tests/test_entry.py::test_check_archiveentry_with_unicode_and_binary_entries_zip2 FAILED

Chris Lamb lamby at debian.org
Wed Jun 29 20:23:12 UTC 2016


Source: python-libarchive-c
Version: 2.1-3
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

python-libarchive-c fails to build from source in unstable/amd64:

  [..]

   Package:              python-libarchive-c
   Version:              2.1-3
   Build architecture:   amd64
   Date:                 Wed, 29 Jun 2016 22:21:30 +0200
   Hostname:             63de54fe7adf
   Uname:                Linux 63de54fe7adf 4.5.0-2-amd64 #1 SMP Debian 4.5.4-1 (2016-05-16) x86_64 GNU/Linux
   /etc/timezone:        Africa/Johannesburg
  
  **************************************************************************************
  ** Installing build dependencies                                                    **
  **************************************************************************************
  
  dh_testdir
  dh_testroot
  dh_prep
  dh_testdir
  dh_testroot
  dh_install
  dh_installdocs
  dh_installchangelogs
  dh_compress
  dh_fixperms
  dh_installdeb
  dh_gencontrol
  dh_md5sums
  dh_builddeb
  dpkg-deb: building package 'python-libarchive-c-build-deps' in '../python-libarchive-c-build-deps_2.1-3_all.deb'.
  
  The package has been created.
  Attention, the package has been created in the current directory,
  not in ".." as indicated by the message above!
  Selecting previously unselected package python-libarchive-c-build-deps.
  (Reading database ... 23075 files and directories currently installed.)
  Preparing to unpack python-libarchive-c-build-deps_2.1-3_all.deb ...
  Unpacking python-libarchive-c-build-deps (2.1-3) ...
  Reading package lists...
  Building dependency tree...
  Reading state information...
  Correcting dependencies... Done
  The following additional packages will be installed:
    libarchive-dev libarchive13 liblzo2-2 python-all python-py python-pytest
    python-setuptools python3-all python3-pkg-resources python3-py
    python3-pytest python3-setuptools
  Suggested packages:
    lrzip subversion python-pytest-xdist python-mock python-setuptools-doc
  The following NEW packages will be installed:
    libarchive-dev libarchive13 liblzo2-2 python-all python-py python-pytest
    python-setuptools python3-all python3-pkg-resources python3-py
    python3-pytest python3-setuptools
  0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
  1 not fully installed or removed.
  Need to get 1740 kB of archives.
  After this operation, 5795 kB of additional disk space will be used.
  Get:1 http://httpredir.debian.org/debian sid/main amd64 liblzo2-2 amd64 2.08-1.2 [54.6 kB]
  Get:2 http://httpredir.debian.org/debian sid/main amd64 libarchive13 amd64 3.2.1-1 [289 kB]
  Get:3 http://httpredir.debian.org/debian sid/main amd64 libarchive-dev amd64 3.2.1-1 [461 kB]
  Get:4 http://httpredir.debian.org/debian sid/main amd64 python-all amd64 2.7.11-2 [938 B]
  Get:5 http://httpredir.debian.org/debian sid/main amd64 python-py all 1.4.31-1 [81.8 kB]
  Get:6 http://httpredir.debian.org/debian sid/main amd64 python-pytest all 2.9.2-1 [166 kB]
  Get:7 http://httpredir.debian.org/debian sid/main amd64 python-setuptools all 20.10.1-1.1 [203 kB]
  Get:8 http://httpredir.debian.org/debian sid/main amd64 python3-all amd64 3.5.1-4 [928 B]
  Get:9 http://httpredir.debian.org/debian sid/main amd64 python3-pkg-resources all 20.10.1-1.1 [112 kB]
  Get:10 http://httpredir.debian.org/debian sid/main amd64 python3-py all 1.4.31-1 [81.9 kB]
  Get:11 http://httpredir.debian.org/debian sid/main amd64 python3-pytest all 2.9.2-1 [167 kB]
  Get:12 http://httpredir.debian.org/debian sid/main amd64 python3-setuptools all 20.10.1-1.1 [122 kB]
  Fetched 1740 kB in 0s (48.8 MB/s)
  Selecting previously unselected package liblzo2-2:amd64.
  (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 23079 files and directories currently installed.)
  Preparing to unpack .../liblzo2-2_2.08-1.2_amd64.deb ...
  Unpacking liblzo2-2:amd64 (2.08-1.2) ...
  Selecting previously unselected package libarchive13:amd64.
  Preparing to unpack .../libarchive13_3.2.1-1_amd64.deb ...
  Unpacking libarchive13:amd64 (3.2.1-1) ...
  Selecting previously unselected package libarchive-dev:amd64.
  Preparing to unpack .../libarchive-dev_3.2.1-1_amd64.deb ...
  Unpacking libarchive-dev:amd64 (3.2.1-1) ...
  Selecting previously unselected package python-all.
  Preparing to unpack .../python-all_2.7.11-2_amd64.deb ...
  Unpacking python-all (2.7.11-2) ...
  Selecting previously unselected package python-py.
  Preparing to unpack .../python-py_1.4.31-1_all.deb ...
  Unpacking python-py (1.4.31-1) ...
  Selecting previously unselected package python-pytest.
  Preparing to unpack .../python-pytest_2.9.2-1_all.deb ...
  Unpacking python-pytest (2.9.2-1) ...
  Selecting previously unselected package python-setuptools.
  Preparing to unpack .../python-setuptools_20.10.1-1.1_all.deb ...
  Unpacking python-setuptools (20.10.1-1.1) ...
  Selecting previously unselected package python3-all.
  Preparing to unpack .../python3-all_3.5.1-4_amd64.deb ...
  Unpacking python3-all (3.5.1-4) ...
  Selecting previously unselected package python3-pkg-resources.
  Preparing to unpack .../python3-pkg-resources_20.10.1-1.1_all.deb ...
  Unpacking python3-pkg-resources (20.10.1-1.1) ...
  Selecting previously unselected package python3-py.
  Preparing to unpack .../python3-py_1.4.31-1_all.deb ...
  Unpacking python3-py (1.4.31-1) ...
  Selecting previously unselected package python3-pytest.
  Preparing to unpack .../python3-pytest_2.9.2-1_all.deb ...
  Unpacking python3-pytest (2.9.2-1) ...
  Selecting previously unselected package python3-setuptools.
  Preparing to unpack .../python3-setuptools_20.10.1-1.1_all.deb ...
  Unpacking python3-setuptools (20.10.1-1.1) ...
  Processing triggers for libc-bin (2.22-13) ...
  Processing triggers for man-db (2.7.5-1) ...
  Setting up liblzo2-2:amd64 (2.08-1.2) ...
  Setting up libarchive13:amd64 (3.2.1-1) ...
  Setting up libarchive-dev:amd64 (3.2.1-1) ...
  Setting up python-all (2.7.11-2) ...
  Setting up python-py (1.4.31-1) ...
  Setting up python-pytest (2.9.2-1) ...
  Setting up python-setuptools (20.10.1-1.1) ...
  Setting up python3-all (3.5.1-4) ...
  Setting up python3-pkg-resources (20.10.1-1.1) ...
  Setting up python3-py (1.4.31-1) ...
  Setting up python3-pytest (2.9.2-1) ...
  Setting up python3-setuptools (20.10.1-1.1) ...
  Setting up python-libarchive-c-build-deps (2.1-3) ...
  Processing triggers for libc-bin (2.22-13) ...
  
  **************************************************************************************
  ** Environment                                                                      **
  **************************************************************************************
  
  PATH=/home/lamby/git/projects/dotfiles/dotfiles/..//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  HOSTNAME=63de54fe7adf
  TERM=xterm
  PAGER=more
  DISPLAY=:0
  DOCKER_IMAGE=lamby-debian-sid
  DEB_BUILD_OPTIONS=parallel=9
  PIP_DOWNLOAD_CACHE=/home/lamby/.cache/pip
  HOME=/home/lamby
  LOGNAME=lamby
  SHLVL=1
  PWD=/home/lamby/temp/cdt.20160629222129.9fIHVScgDG.python-libarchive-c/python-libarchive-c-2.1
  OLDPWD=/home/lamby/temp/cdt.20160629222129.9fIHVScgDG.python-libarchive-c
  GPG_TTY=/dev/console
  QUILT_PATCHES=debian/patches
  QUILT_NO_DIFF_INDEX=1
  QUILT_REFRESH_ARGS=-p ab --no-timestamps --no-index
  DEBEMAIL=lamby at debian.org
  DEBFULLNAME=Chris Lamb
  EDITOR=vim
  LESS=-cgiFx4M
  BLASTER=A220 I5 D1 H5 P330 T6
  _=/usr/bin/env
  
  **************************************************************************************
  ** Building python-libarchive-c 2.1-3 on amd64                                      **
  **************************************************************************************
  
   dpkg-buildpackage -rfakeroot -D -us -uc -b
  dpkg-buildpackage: info: source package python-libarchive-c
  dpkg-buildpackage: info: source version 2.1-3
  dpkg-buildpackage: info: source distribution unstable
  dpkg-buildpackage: info: source changed by Jérémy Bobbio <lunar at debian.org>
   dpkg-source --before-build python-libarchive-c-2.1
  dpkg-buildpackage: info: host architecture amd64
   fakeroot debian/rules clean
  dh clean --with python2,python3 --buildsystem=pybuild
     dh_testdir -O--buildsystem=pybuild
     dh_auto_clean -O--buildsystem=pybuild
  I: pybuild base:184: python2.7 setup.py clean 
  running clean
  removing '/home/lamby/temp/cdt.20160629222129.9fIHVScgDG.python-libarchive-c/python-libarchive-c-2.1/.pybuild/pythonX.Y_2.7/build' (and everything under it)
  'build/bdist.linux-x86_64' does not exist -- can't clean it
  'build/scripts-2.7' does not exist -- can't clean it
  I: pybuild base:184: python3.5 setup.py clean 
  running clean
  removing '/home/lamby/temp/cdt.20160629222129.9fIHVScgDG.python-libarchive-c/python-libarchive-c-2.1/.pybuild/pythonX.Y_3.5/build' (and everything under it)
  'build/bdist.linux-x86_64' does not exist -- can't clean it
  'build/scripts-3.5' does not exist -- can't clean it
     dh_clean -O--buildsystem=pybuild
   debian/rules build
  dh build --with python2,python3 --buildsystem=pybuild
     dh_testdir -O--buildsystem=pybuild
     dh_update_autotools_config -O--buildsystem=pybuild
     dh_auto_configure -O--buildsystem=pybuild
  I: pybuild base:184: python2.7 setup.py config 
  running config
  I: pybuild base:184: python3.5 setup.py config 
  running config
     dh_auto_build -O--buildsystem=pybuild
  I: pybuild base:184: /usr/bin/python setup.py build 
  running build
  running build_py
  creating /home/lamby/temp/cdt.20160629222129.9fIHVScgDG.python-libarchive-c/python-libarchive-c-2.1/.pybuild/pythonX.Y_2.7/build/libarchive
  copying libarchive/__init__.py -> /home/lamby/temp/cdt.20160629222129.9fIHVScgDG.python-libarchive-c/python-libarchive-c-2.1/.pybuild/pythonX.Y_2.7/build/libarchive
  copying libarchive/exception.py -> /home/lamby/temp/cdt.20160629222129.9fIHVScgDG.python-libarchive-c/python-libarchive-c-2.1/.pybuild/pythonX.Y_2.7/build/libarchive
  copying libarchive/ffi.py -> /home/lamby/temp/cdt.20160629222129.9fIHVScgDG.python-libarchive-c/python-libarchive-c-2.1/.pybuild/pythonX.Y_2.7/build/libarchive
  copying libarchive/extract.py -> /home/lamby/temp/cdt.20160629222129.9fIHVScgDG.python-libarchive-c/python-libarchive-c-2.1/.pybuild/pythonX.Y_2.7/build/libarchive
  copying libarchive/read.py -> /home/lamby/temp/cdt.20160629222129.9fIHVScgDG.python-libarchive-c/python-libarchive-c-2.1/.pybuild/pythonX.Y_2.7/build/libarchive
  copying libarchive/write.py -> /home/lamby/temp/cdt.20160629222129.9fIHVScgDG.python-libarchive-c/python-libarchive-c-2.1/.pybuild/pythonX.Y_2.7/build/libarchive
  copying libarchive/entry.py -> /home/lamby/temp/cdt.20160629222129.9fIHVScgDG.python-libarchive-c/python-libarchive-c-2.1/.pybuild/pythonX.Y_2.7/build/libarchive
  I: pybuild base:184: /usr/bin/python3 setup.py build 
  running build
  running build_py
  creating /home/lamby/temp/cdt.20160629222129.9fIHVScgDG.python-libarchive-c/python-libarchive-c-2.1/.pybuild/pythonX.Y_3.5/build/libarchive
  copying libarchive/__init__.py -> /home/lamby/temp/cdt.20160629222129.9fIHVScgDG.python-libarchive-c/python-libarchive-c-2.1/.pybuild/pythonX.Y_3.5/build/libarchive
  copying libarchive/exception.py -> /home/lamby/temp/cdt.20160629222129.9fIHVScgDG.python-libarchive-c/python-libarchive-c-2.1/.pybuild/pythonX.Y_3.5/build/libarchive
  copying libarchive/ffi.py -> /home/lamby/temp/cdt.20160629222129.9fIHVScgDG.python-libarchive-c/python-libarchive-c-2.1/.pybuild/pythonX.Y_3.5/build/libarchive
  copying libarchive/extract.py -> /home/lamby/temp/cdt.20160629222129.9fIHVScgDG.python-libarchive-c/python-libarchive-c-2.1/.pybuild/pythonX.Y_3.5/build/libarchive
  copying libarchive/read.py -> /home/lamby/temp/cdt.20160629222129.9fIHVScgDG.python-libarchive-c/python-libarchive-c-2.1/.pybuild/pythonX.Y_3.5/build/libarchive
  copying libarchive/write.py -> /home/lamby/temp/cdt.20160629222129.9fIHVScgDG.python-libarchive-c/python-libarchive-c-2.1/.pybuild/pythonX.Y_3.5/build/libarchive
  copying libarchive/entry.py -> /home/lamby/temp/cdt.20160629222129.9fIHVScgDG.python-libarchive-c/python-libarchive-c-2.1/.pybuild/pythonX.Y_3.5/build/libarchive
     debian/rules override_dh_auto_test
  make[1]: Entering directory '/home/lamby/temp/cdt.20160629222129.9fIHVScgDG.python-libarchive-c/python-libarchive-c-2.1'
  LC_ALL=C.UTF-8 py.test -s -vv tests
  ============================= test session starts ==============================
  platform linux2 -- Python 2.7.12rc1, pytest-2.9.2, py-1.4.31, pluggy-0.3.1 -- /usr/bin/python
  cachedir: .cache
  rootdir: /home/lamby/temp/cdt.20160629222129.9fIHVScgDG.python-libarchive-c/python-libarchive-c-2.1, inifile: 
  collecting ... collected 16 items
  
  tests/test_convert.py::test_convert PASSED
  tests/test_entry.py::test_entry_properties PASSED
  tests/test_entry.py::test_check_ArchiveEntry_against_TarInfo PASSED
  tests/test_entry.py::test_check_archiveentry_using_python_testtar No handlers could be found for logger "libarchive"
  PASSED
  tests/test_entry.py::test_check_archiveentry_with_unicode_and_binary_entries_tar PASSED
  tests/test_entry.py::test_check_archiveentry_with_unicode_and_binary_entries_zip PASSED
  tests/test_entry.py::test_check_archiveentry_with_unicode_and_binary_entries_zip2 FAILED
  tests/test_entry.py::test_check_archiveentry_with_unicode_entries_and_name_zip PASSED
  tests/test_errors.py::test_add_files_nonexistent PASSED
  tests/test_errors.py::test_check_int_logs_warnings PASSED
  tests/test_errors.py::test_check_null PASSED
  tests/test_errors.py::test_error_string_decoding PASSED
  tests/test_rwx.py::test_buffers PASSED
  tests/test_rwx.py::test_fd PASSED
  tests/test_rwx.py::test_files PASSED
  tests/test_rwx.py::test_custom_writer PASSED
  
  =================================== FAILURES ===================================
  _________ test_check_archiveentry_with_unicode_and_binary_entries_zip2 _________
  
      def test_check_archiveentry_with_unicode_and_binary_entries_zip2():
  >       check_entries(join(data_dir, 'unicode2.zip'))
  
  tests/test_entry.py:75: 
  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
  
  test_file = '/home/lamby/temp/cdt.20160629222129.9fIHVScgDG.python-libarchive-c/python-libarchive-c-2.1/tests/data/unicode2.zip'
  regen = False
  
      def check_entries(test_file, regen=False):
          fixture_file = test_file + '.json'
          if regen:
              entries = list(get_entries(test_file))
              with open(fixture_file, 'w', encoding='UTF-8') as ex:
                  json.dump(entries, ex, indent=2)
          with open(fixture_file, encoding='UTF-8') as ex:
              expected = json.load(ex)
          actual = list(get_entries(test_file))
          for e1, e2 in zip(actual, expected):
  >           assert e1 == e2
  E           assert {'isblk': Fal...r': True, ...} == {'isblk': Fals...r': True, ...}
  E             Common items:
  E             {u'isblk': False,
  E              u'ischr': False,
  E              u'isdev': False,
  E              u'isdir': True,
  E              u'isfifo': False,
  E              u'islnk': False,
  E              u'isreg': False,
  E              u'issym': False,
  E              u'linkpath': None,
  E              u'path': u'a/',
  E              u'size': 0}
  E             Differing items:
  E             {'mode': 'rwxrwxr-x'} != {'mode': 'rwxrwxrwx'}
  E             {'mtime': 1381745472} != {'mtime': 1381752672}
  E             Full diff:
  E             {u'isblk': False,
  E             u'ischr': False,
  E             u'isdev': False,
  E             u'isdir': True,
  E             u'isfifo': False,
  E             u'islnk': False,
  E             u'isreg': False,
  E             u'issym': False,
  E             u'linkpath': None,
  E             -  u'mode': u'rwxrwxr-x',
  E             ?                    ^
  E             +  u'mode': u'rwxrwxrwx',
  E             ?                    ^
  E             -  u'mtime': 1381745472,
  E             ?                 - ^
  E             +  u'mtime': 1381752672,
  E             ?                  ^^
  E             u'path': u'a/',
  E             u'size': 0}
  
  tests/test_entry.py:92: AssertionError
  ===================== 1 failed, 15 passed in 0.18 seconds ======================
  debian/rules:9: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 1
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160629222129.9fIHVScgDG.python-libarchive-c/python-libarchive-c-2.1'
  debian/rules:6: recipe for target 'build' failed
  make: *** [build] Error 2

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-libarchive-c.2.1-3.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 3534 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160629/d521870e/attachment.obj>


More information about the Reproducible-builds mailing list