[Reproducible-builds] Bug#824128: hgsubversion: FTBFS: AttributeError: 'module' object has no attribute 'optionalrepo'

Chris Lamb lamby at debian.org
Thu May 12 15:36:44 UTC 2016


Source: hgsubversion
Version: 1.8.5-1
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,

hgsubversion fails to build from source in unstable/amd64:

  [..]

  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 'hgsubversion-build-deps' in '../hgsubversion-build-deps_1.8.5-1_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 hgsubversion-build-deps.
  (Reading database ... 23076 files and directories currently installed.)
  Preparing to unpack hgsubversion-build-deps_1.8.5-1_all.deb ...
  Unpacking hgsubversion-build-deps (1.8.5-1) ...
  Reading package lists...
  Building dependency tree...
  Reading state information...
  Correcting dependencies... Done
  The following additional packages will be installed:
    libapr1 libaprutil1 libjs-excanvas libserf-1-1 libsvn1 mercurial
    mercurial-common python-subvertpy subversion ucf
  Suggested packages:
    qct kdiff3 | kdiff3-qt | kompare | meld | tkcvs | mgdiff wish python-mysqldb
    python-pygments python-openssl python-subvertpy-dbg db5.3-util
    subversion-tools
  Recommended packages:
    javascript-common openssh-client ca-certificates
  The following NEW packages will be installed:
    libapr1 libaprutil1 libjs-excanvas libserf-1-1 libsvn1 mercurial
    mercurial-common python-subvertpy subversion ucf
  0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
  1 not fully installed or removed.
  Need to get 4788 kB of archives.
  After this operation, 22.0 MB of additional disk space will be used.
  Get:1 http://httpredir.debian.org/debian sid/main amd64 ucf all 3.0036 [70.2 kB]
  Get:2 http://httpredir.debian.org/debian sid/main amd64 libjs-excanvas all 0.r3-4 [45.3 kB]
  Get:3 http://httpredir.debian.org/debian sid/main amd64 mercurial-common all 3.8.1-1 [1901 kB]
  Get:4 http://httpredir.debian.org/debian sid/main amd64 mercurial amd64 3.8.1-1 [74.7 kB]
  Get:5 http://httpredir.debian.org/debian sid/main amd64 libapr1 amd64 1.5.2-3 [96.2 kB]
  Get:6 http://httpredir.debian.org/debian sid/main amd64 libaprutil1 amd64 1.5.4-1+b1 [85.1 kB]
  Get:7 http://httpredir.debian.org/debian sid/main amd64 libserf-1-1 amd64 1.3.8-2 [52.1 kB]
  Get:8 http://httpredir.debian.org/debian sid/main amd64 libsvn1 amd64 1.9.4-1 [1318 kB]
  Get:9 http://httpredir.debian.org/debian sid/main amd64 subversion amd64 1.9.4-1 [985 kB]
  Get:10 http://httpredir.debian.org/debian sid/main amd64 python-subvertpy amd64 0.9.3-3 [160 kB]
  Fetched 4788 kB in 0s (68.8 MB/s)
  Selecting previously unselected package ucf.
  (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 ... 23080 files and directories currently installed.)
  Preparing to unpack .../archives/ucf_3.0036_all.deb ...
  Moving old data out of the way
  Unpacking ucf (3.0036) ...
  Selecting previously unselected package libjs-excanvas.
  Preparing to unpack .../libjs-excanvas_0.r3-4_all.deb ...
  Unpacking libjs-excanvas (0.r3-4) ...
  Selecting previously unselected package mercurial-common.
  Preparing to unpack .../mercurial-common_3.8.1-1_all.deb ...
  Unpacking mercurial-common (3.8.1-1) ...
  Selecting previously unselected package mercurial.
  Preparing to unpack .../mercurial_3.8.1-1_amd64.deb ...
  Unpacking mercurial (3.8.1-1) ...
  Selecting previously unselected package libapr1:amd64.
  Preparing to unpack .../libapr1_1.5.2-3_amd64.deb ...
  Unpacking libapr1:amd64 (1.5.2-3) ...
  Selecting previously unselected package libaprutil1:amd64.
  Preparing to unpack .../libaprutil1_1.5.4-1+b1_amd64.deb ...
  Unpacking libaprutil1:amd64 (1.5.4-1+b1) ...
  Selecting previously unselected package libserf-1-1:amd64.
  Preparing to unpack .../libserf-1-1_1.3.8-2_amd64.deb ...
  Unpacking libserf-1-1:amd64 (1.3.8-2) ...
  Selecting previously unselected package libsvn1:amd64.
  Preparing to unpack .../libsvn1_1.9.4-1_amd64.deb ...
  Unpacking libsvn1:amd64 (1.9.4-1) ...
  Selecting previously unselected package subversion.
  Preparing to unpack .../subversion_1.9.4-1_amd64.deb ...
  Unpacking subversion (1.9.4-1) ...
  Selecting previously unselected package python-subvertpy.
  Preparing to unpack .../python-subvertpy_0.9.3-3_amd64.deb ...
  Unpacking python-subvertpy (0.9.3-3) ...
  Processing triggers for man-db (2.7.5-1) ...
  Processing triggers for libc-bin (2.22-8) ...
  Setting up ucf (3.0036) ...
  Setting up libjs-excanvas (0.r3-4) ...
  Setting up mercurial-common (3.8.1-1) ...
  Setting up mercurial (3.8.1-1) ...
  
  Creating config file /etc/mercurial/hgrc.d/hgext.rc with new version
  Setting up libapr1:amd64 (1.5.2-3) ...
  Setting up libaprutil1:amd64 (1.5.4-1+b1) ...
  Setting up libserf-1-1:amd64 (1.3.8-2) ...
  Setting up libsvn1:amd64 (1.9.4-1) ...
  Setting up subversion (1.9.4-1) ...
  Setting up python-subvertpy (0.9.3-3) ...
  Setting up hgsubversion-build-deps (1.8.5-1) ...
  Processing triggers for libc-bin (2.22-8) ...
   dpkg-buildpackage -rfakeroot -D -us -uc -b
  dpkg-buildpackage: info: source package hgsubversion
  dpkg-buildpackage: info: source version 1.8.5-1
  dpkg-buildpackage: info: source distribution unstable
  dpkg-buildpackage: info: source changed by Javi Merino <vicho at debian.org>
   dpkg-source --before-build hgsubversion-1.8.5
  dpkg-buildpackage: info: host architecture amd64
   fakeroot debian/rules clean
  dh clean --with python2
     dh_testdir
     dh_auto_clean
     dh_clean
   debian/rules build
  dh build --with python2
     dh_testdir
     dh_update_autotools_config
     dh_auto_configure
     debian/rules override_dh_auto_test
  make[1]: Entering directory '/home/lamby/temp/cdt.20160512163556.a0CKdRA1HN.hgsubversion/hgsubversion-1.8.5'
  #Disable the testsuite.  It's broken in 1.8.3
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160512163556.a0CKdRA1HN.hgsubversion/hgsubversion-1.8.5'
   fakeroot debian/rules binary
  dh binary --with python2
     dh_testroot
     dh_prep
     debian/rules override_dh_auto_install
  make[1]: Entering directory '/home/lamby/temp/cdt.20160512163556.a0CKdRA1HN.hgsubversion/hgsubversion-1.8.5'
  python setup.py install --root /home/lamby/temp/cdt.20160512163556.a0CKdRA1HN.hgsubversion/hgsubversion-1.8.5/debian/hgsubversion --install-layout=deb
  Traceback (most recent call last):
    File "setup.py", line 106, in <module>
      from hgsubversion.svnwrap import svn_swig_wrapper
    File "/home/lamby/temp/cdt.20160512163556.a0CKdRA1HN.hgsubversion/hgsubversion-1.8.5/hgsubversion/__init__.py", line 198, in <module>
      commands.optionalrepo += ' svn'
  AttributeError: 'module' object has no attribute 'optionalrepo'
  debian/rules:15: recipe for target 'override_dh_auto_install' failed
  make[1]: *** [override_dh_auto_install] Error 1
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160512163556.a0CKdRA1HN.hgsubversion/hgsubversion-1.8.5'
  debian/rules:7: recipe for target 'binary' failed
  make: *** [binary] 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: hgsubversion.1.8.5-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 1998 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160512/505d7766/attachment.obj>


More information about the Reproducible-builds mailing list