Bug#624383: apt-build: @builddep variable unassinged
Package: apt-build
Version: 0.12.49
Followup-For: Bug #624383
X-Debbugs-Cc: haruna-dev@proton.me
The problem is caused by the not assigned @builddep variable.
This variable is used for removing the (newly) installed packages needed for building but was never assinged in the first place.
Changing the line
read_apt_list($conf->apt_get . "...
in the function sub builddep to
@builddep = read_apt_list($conf->apt_get . "...
fixes the problem
Haruna
-- System Information:
Debian Release: 12.8
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-27-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+deb12u2
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+deb12u9
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: