snap on zesty: nmap fails to import due to bug in dpkg-source

Bug #1710660 reported by Nish Aravamudan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
git-ubuntu
Fix Released
Low
Unassigned

Bug Description

Fix needs to be found for zesty's dpkg-source, but for now, rebuilding snap against artful.

$ git ubuntu import --no-push --no-clean nmap
08/14/2017 15:25:12 - INFO:Ubuntu Server Team importer v1.0-rc5
08/14/2017 15:25:12 - INFO:Using git repository at /tmp/tmp11rgnsm1
08/14/2017 15:26:14 - INFO:Importing patches-unapplied 7.50-1 to debian/buster
08/14/2017 15:26:20 - ERROR:Command exited 255: dpkg-source -x --skip-patches /tmp/tmp11rgnsm1/.git/git-ubuntu-cache/nmap_7.50-1.dsc /tmp/tmp6fku2dpv/x
08/14/2017 15:26:20 - ERROR:stdout:
08/14/2017 15:26:20 - ERROR:stderr: "debarch_is_illegal" is not exported by the Dpkg::Arch module
  Can't continue after import errors at /snap/git-ubuntu/119/usr/bin/dpkg-source line 39.
  BEGIN failed--compilation aborted at /snap/git-ubuntu/119/usr/bin/dpkg-source line 39.
Traceback (most recent call last):
  File "/snap/git-ubuntu/119/gitubuntu/importer.py", line 1119, in import_publishes
    import_func(srcpkg_information)
  File "/snap/git-ubuntu/119/gitubuntu/importer.py", line 789, in import_unapplied_spi
    unapplied_import_tree_hash = self.import_patches_unapplied_tree(spi.dsc_pathname)
  File "/snap/git-ubuntu/119/gitubuntu/importer.py", line 443, in import_patches_unapplied_tree
    import_tree_hash = dsc_to_tree_hash(self.local_repo, dsc_pathname)
  File "/snap/git-ubuntu/119/gitubuntu/importer.py", line 89, in dsc_to_tree_hash
    extracted_dir, # this is <temp_dir>/x
  File "/snap/git-ubuntu/119/gitubuntu/run.py", line 70, in run
    raise e
  File "/snap/git-ubuntu/119/gitubuntu/run.py", line 55, in run
    stdout=stdout, stderr=stderr, stdin=stdin)
  File "/snap/git-ubuntu/119/usr/lib/python3.5/subprocess.py", line 398, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['dpkg-source', '-x', '--skip-patches', '/tmp/tmp11rgnsm1/.git/git-ubuntu-cache/nmap_7.50-1.dsc', '/tmp/tmp6fku2dpv/x']' returned non-zero exit status 255

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/snap/git-ubuntu/119/bin/git-ubuntu", line 18, in <module>
    main()
  File "/snap/git-ubuntu/119/gitubuntu/__main__.py", line 213, in main
    args.func(args)
  File "/snap/git-ubuntu/119/gitubuntu/importer.py", line 1273, in main
    ubuntu_head_versions=ubuntu_head_versions)
  File "/snap/git-ubuntu/119/gitubuntu/importer.py", line 1135, in import_publishes
    raise GitUbuntuImportException(msg) from e
gitubuntu.importer.GitUbuntuImportException: Unable to import patches-unapplied 7.50-1 to debian
08/14/2017 15:26:20 - INFO:Leaving /tmp/tmp11rgnsm1 as directed

Nish Aravamudan (nacc)
Changed in usd-importer:
status: New → Confirmed
milestone: none → future
importance: Undecided → Low
Nish Aravamudan (nacc)
Changed in usd-importer:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.