control: tags -1 unreproducible
thanks

I can't reproduce the issue reported.

I used debmake package source as the test bed.  Changing setup.py to use
#!/usr/bin/python.

osamu@goofy:~/salsa/debmake/debmake-014/test-space/debmake-4.4.0 (=test)
13:30:32 ↵
 $ alias python
bash: alias: python: not found
osamu@goofy:~/salsa/debmake/debmake-014/test-space/debmake-4.4.0 (=test)
13:30:43 ↵
 $ type python
bash: type: python: not found
osamu@goofy:~/salsa/debmake/debmake-014/test-space/debmake-4.4.0 (=test)
13:31:02 ↵
 $ head -n1 setup.py
# /usr/bin/python
osamu@goofy:~/salsa/debmake/debmake-014/test-space/debmake-4.4.0 (=test)
13:31:35 ↵
 $ debmake
I: set parameters
I: =================================================================
I: package_dir     = /usr/lib/python3/dist-packages
I: base_path       = /usr
I: base_lib_path   = /usr/lib/debmake
I: base_share_path = /usr/share/debmake
I: =================================================================
I: sanity check of parameters
I: pkg="debmake", ver="4.4.0", rev="1"
I: *** start packaging in "debmake-4.4.0". ***
I: provide debmake_4.4.0.orig.tar.gz for non-native Debian package
I: pwd = "/home/osamu/salsa/debmake/debmake-014/test-space"
I: Use existing "debmake_4.4.0.orig.tar.gz" as upstream tarball
I: pwd = "/home/osamu/salsa/debmake/debmake-014/test-space/debmake-4.4.0"
I: parse binary package settings: 
I: binary package=debmake Type=bin / Arch=any M-A=foreign
I: analyze the source tree
W: neither distutils nor setuptools.  check setup.py.
I: build_type = Python distutils
I: scan source for copyright+license text and file extensions
 ...snip
.........................................................................
I: check_all_licenses completed for 404 files.
I: bunch_all_licenses
I: format_all_licenses
W: many ext = "python" type extension programs without matching -b set.
?: -b":python, ..." or -b":python3" missing. Continue? [Y/n]: Y
I: pwd = "/home/osamu/salsa/debmake/debmake-014/test-space/debmake-4.4.0"
I: make debian/* template files
I: single binary package
I: debmake -x "1" ...
I: creating => debian/control
I: creating => debian/copyright
I: substituting => /usr/share/debmake/extra0/changelog
I: creating => debian/changelog
I: substituting => /usr/share/debmake/extra0/rules
I: creating => debian/rules
I: substituting => /usr/share/debmake/extra1/README.Debian
I: creating => debian/README.Debian
I: substituting => /usr/share/debmake/extra1/watch
I: creating => debian/watch
I: substituting => /usr/share/debmake/extra1source/format
I: creating => debian/source/format
I: substituting => /usr/share/debmake/extra1tests/control
I: creating => debian/source/control
I: substituting => /usr/share/debmake/extra1upstream/metadata
I: creating => debian/upstream/metadata
I: substituting => /usr/share/debmake/extra1tests/control
I: creating => debian/tests/control
I: substituting => /usr/share/debmake/extra1patches/series
I: creating => debian/patches/series
I: substituting => /usr/share/debmake/extra1sourcex/local-options
I: creating => debian/source/local-options
I: substituting => /usr/share/debmake/extra1sourcex/options
I: creating => debian/source/options
I: substituting => /usr/share/debmake/extra1sourcex/patch-header
I: creating => debian/source/patch-header
I: run "debmake -x2" to get more template files
I: $ wrap-and-sort

So far, no problem (so the core part of debmake works.)

But you may be running debuild afterward or via -i.

 $ debuild
 dpkg-buildpackage -us -uc -ui -i
dpkg-buildpackage: info: source package debmake
dpkg-buildpackage: info: source version 4.4.0-1
dpkg-buildpackage: info: source distribution UNRELEASED
dpkg-buildpackage: info: source changed by Osamu Aoki <os...@debian.org>
 dpkg-source -i --before-build .
dpkg-buildpackage: info: host architecture amd64
dpkg-checkbuilddeps: error: Unmet build dependencies: python-all
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui -i failed

This is not nice.

 $ rg python-all
debmake/analyze.py
208:            para["build_depends"].update({"python-all"})
381:                para["build_depends"].update({"python-all"})
529:        para["build_depends"].update({"python-all"})


We should fix this to use python3-all.

Since I am not sure what exactly was your issue.  I am tagging this
unreproducible.  Please post log like above.

FYI: I am in process of updating debmake.  The upcoming version even assign
python3 for all python script so the reported issue should not occur no matter
what was the root cause, I hope.

Reply via email to