Bug#953556: equivs: equivs-build --full is broken

Arnaud Patard (Rtp) arnaud.patard at rtp-net.org
Tue Mar 10 15:05:59 GMT 2020


Package: equivs
Severity: normal

Dear Maintainer,

When trying to build with a package with the --full option, the build
fails:
$ equivs-control test
$ sed -i test -e 's!Package:.*!Package: test!'
$ LC_ALL=C equivs-build --full test
dpkg-buildpackage: info: source package test
dpkg-buildpackage: info: source version 1.0
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Arnaud Patard <arnaud.patard at rtp-net.org>
dpkg-buildpackage: info: host architecture amd64
 dpkg-source --before-build .
  fakeroot debian/rules clean
  dh_testdir
  dh_clean
   dpkg-source -b .
   dpkg-source: error: can't build with source format '3.0 (quilt)': no upstream tarball found at ../test_1.0.orig.tar.{bz2,gz,lzma,xz}
   dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 255
   Error in the build process: exit status 255
   
The issue is that /usr/share/equivs/template/debian/source/format is
wrong:
$ cat /usr/share/equivs/template/debian/source/format
3.0 (quilt)

As mentionned by the package version and from what I understand of
equivs way of working, it's a native package (no dash in the version),
which means that the file content has to be "3.0 (native)".

If a non-native package is really wanted, equivs should use a version like
1.0-1 and has to provide a tarball.

Thanks,

-- System Information:
Debian Release: 9.6
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-8-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



More information about the pkg-perl-maintainers mailing list