Discussion:
Need assistance with bad-distribution-in-changes-file errors for package holehe
(too old to reply)
Soren Stoutner
2024-11-17 01:10:01 UTC
Permalink
Risha,
Dear Debian Mentors,
I am packaging a Python-based tool, `holehe`, and I am encountering
persistent
errors during the build process that I have been unable to resolve. I would
greatly appreciate your guidance.
- `E: holehe changes: bad-distribution-in-changes-file unstable`
- Changing the distribution in `debian/changelog` to `experimental` or
`unstable`. - Running `debclean` and rebuilding the package.
- Salsa: https://salsa.debian.org/rishanayaz/holehe.git
- I am using `dpkg-buildpackage` and `lintian` for building and checking.
I would be grateful for any advice or pointers to help me resolve this issue
and proceed with my packaging. Please let me know if further information is
needed.
I think the first place to start is that your debian/watch file can’t find any
releases.

$ uscan --download-current-version
uscan warn: In debian/watch no matching hrefs for version 1.61 in watch line
https://github.com/megadose/holehe/releases .*/archive/v?(\d\S*)\.tar\.gz

$ uscan -vv
uscan info: uscan (version 2.24.2) See uscan(1) for help
uscan info: Scan watch files in .
uscan debug: Found ./debian
uscan info: Check debian/watch and debian/changelog in .
uscan info: package="holehe" version="1.61-1" (as seen in debian/changelog)
uscan info: package="holehe" version="1.61" (no epoch/revision)
uscan info: ./debian/changelog sets package="holehe" version="1.61"
uscan info: Process watch file at: debian/watch
package = holehe
version = 1.61
pkg_dir = .
uscan debug: parse line opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/holehe-
$1.tar.gz/ https://github.com/megadose/holehe/releases .*/archive/v?(\d\S*)
\.tar\.gz
uscan info: opts: filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/holehe-$1.tar.gz/
uscan info: line: https://github.com/megadose/holehe/releases .*/archive/v?
(\d\S*)\.tar\.gz
uscan info: Parsing filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/holehe-$1.tar.gz/
uscan info: line: https://github.com/megadose/holehe/releases .*/archive/v?
(\d\S*)\.tar\.gz
uscan debug: $self->{'pgpmode'}=default, $self->{'pgpsigurlmangle'}=undef
uscan info: Last orig.tar.* tarball version (from debian/changelog): 1.61
uscan info: Last orig.tar.* tarball version (dversionmangled): 1.61
uscan debug: watch file has:
$base = https://github.com/megadose/holehe/releases
$filepattern = .*/archive/v?(\d\S*)\.tar\.gz
$lastversion = 1.61
$action =
mode = http
pgpmode = default
versionmode = newer
$site = https://github.com
$basedir = /megadose/holehe/
uscan debug: line: search()
uscan info: Requesting URL:
https://github.com/megadose/holehe/releases
uscan info: Matching pattern:
(?:(?:https://github.com)?\/megadose\/holehe\/)?.*/archive/v?(\d\S*)
\.tar\.gz
uscan debug: Resolving urls with query part unimplemented
uscan warn: In debian/watch no matching files for watch line
https://github.com/megadose/holehe/releases .*/archive/v?(\d\S*)\.tar\.gz
[Devscripts::Uscan::http: 135]
uscan info: Scan finished

You might take a look at the GitHub section of:

https://wiki.debian.org/debian/watch#GitHub
--
Soren Stoutner
***@debian.org
Andrey Rakhmatullin
2024-11-18 06:00:01 UTC
Permalink
I am packaging a Python-based tool, `holehe`, and I am encountering persistent errors during the build process that I have been unable to resolve. I would greatly appreciate your guidance.
- `E: holehe changes: bad-distribution-in-changes-file unstable`
I assume you aren't running this on Debian? You should have mentioned
this.
--
WBR, wRAR
Loading...