Bug#1153493: equivs: Copyright: file is relative to working directory, not to control file

наб nabijaczleweli at nabijaczleweli.xyz
Mon Nov 9 06:19:02 GMT 2026


Package: equivs
Version: 2.3.3
Severity: normal

Dear Maintainer,

$ cat whatever
Section: misc
Priority: optional
Standards-Version: 4.7.2

Package: whatever
Version: 1
Copyright: .copyright
Readme: /dev/null
$ ls -a
dir  .copyright  whatever
$ equivs-build whatever
(works, makes whatever_1_all.deb)
$ cd dir 
$ equivs-build ../whatever
(works, makes whatever_1_all.deb)
Cannot copy copyright file .copyright: No such file or directory
$ sed -i /Copyright/s:\\.:../.: ../whatever
$ equivs-build ../whatever
(works, makes whatever_1_all.deb)

I think the Copyright: path should really be relative to the control file.

Best,
наб

-- System Information:
Debian Release: 12.11
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 'oldstable-debug'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-35-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages equivs depends on:
ii  debhelper  13.11.4
ii  dpkg-dev   1.21.22
ii  make       4.4.1-1.1
ii  perl       5.36.0-7+deb12u3

equivs recommends no packages.

equivs suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20261109/9a6c3fb2/attachment.sig>


More information about the pkg-perl-maintainers mailing list