Bug#1059809: apt-build: Bad error message for a missing source package
Package: apt-build
Version: 0.12.49
Severity: important
X-Debbugs-Cc: svengrewe@posteo.de
Dear Maintainer,
when I try to build a package without it's sources in /etc/sources.list
I get the following:
$ sudo apt-build install nice-package
Missing source package name for source_by_source().
Something seems to be broken with this string here? Adding the source repository
into the list makes this go away.
Kind regards,
Sven Grewe
-- System Information:
Debian Release: 12.4
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'stable'), (1, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.1.0-17-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages apt-build depends on:
ii apt 2.6.1
ii apt-utils 2.6.1
ii debconf [debconf-2.0] 1.5.82
ii devscripts 2.23.4+deb12u1
ii dpkg 1.21.22
ii dpkg-dev 1.21.22
ii g++ 4:12.2.0-3
ii gcc 4:12.2.0-3
ii libappconfig-perl 1.71-2.2
ii libapt-pkg-perl 0.1.40+b2
ii libc6 2.36-9+deb12u3
ii perl 5.36.0-7+deb12u1
Versions of packages apt-build recommends:
ii build-essential 12.9
ii fakeroot 1.31-1.2
Versions of packages apt-build suggests:
pn gfortran <none>
-- debconf information excluded
Reply to: