Bug#1130441: live-build: binary_package-lists step fails when building unstable or testing images

2026-03-12 Thread Jeremy Bícha
On Thu, Mar 12, 2026 at 3:00 AM Roland Clobus  wrote:
> # Create your own build directory
> mkdir build_here
> cd build_here
> # Become root
> sudo su
> # Activate the git version of live-build (by pointing LIVE_BUILD to the git 
> work directory)
> export LIVE_BUILD=$(pwd)/../live-build
> # Build the live image
> ${LIVE_BUILD}/test/rebuild.sh --configuration lomiri --debian-version testing

I tried those instructions with --installer-origin archive and the
build fails for me at the same point.

Thank you,
Jeremy Bícha



Bug#1130441: live-build: binary_package-lists step fails when building unstable or testing images

2026-03-12 Thread Roland Clobus

On 11/03/2026 23:23, Jeremy Bícha wrote:

Source: live-build
Version: 1:20250814
Tags: forky sid

I have been unable to use test/rebuild.sh to build unstable or testing
images the past 2 days. From the terminal output, the error seems to
happen at the binary_package-lists stage. The tree walking error comes
from apt, according to Debian Codesearch.


Steps
***
Install Debian Testing with GNOME
After install:
sudo apt install git live-build
git clone https://salsa.debian.org/live-team/live-build


I would not recommend to build inside the live-build source code directory.
Also, you did not activate the git version of live-build, but were using the 
packaged version.
(Note: you still need 'apt-get install live-build', to ensure that the 
dependencies of live-build are installed)

I propose to run these commands as the following steps:

# Create your own build directory
mkdir build_here
cd build_here
# Become root
sudo su
# Activate the git version of live-build (by pointing LIVE_BUILD to the git 
work directory)
export LIVE_BUILD=$(pwd)/../live-build
# Build the live image
${LIVE_BUILD}/test/rebuild.sh --configuration lomiri --debian-version testing

Yesterday I was able to build a live image for lomiri using sid.

As I wrote in 
https://salsa.debian.org/live-team/live-build/-/merge_requests/466:
Currently forky (testing) has issues with the Debian-installer, which will get 
resolved when kernel 6.19 lands in forky [1].
Please build with sid for the moment, or you can accept that the d-i from GRUB 
will not work, by additionally providing `--installer-origin archive` to 
rebuild.sh.

With kind regards,
Roland Clobus

[1] https://tracker.debian.org/pkg/linux-signed-amd64


OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1130441: live-build: binary_package-lists step fails when building unstable or testing images

2026-03-11 Thread Jeremy Bícha
Source: live-build
Version: 1:20250814
Tags: forky sid

I have been unable to use test/rebuild.sh to build unstable or testing
images the past 2 days. From the terminal output, the error seems to
happen at the binary_package-lists stage. The tree walking error comes
from apt, according to Debian Codesearch.


Steps
***
Install Debian Testing with GNOME
After install:
sudo apt install git live-build
git clone https://salsa.debian.org/live-team/live-build
cd live-build
sudo su
./test/rebuild.sh --configuration lomiri --debian-version testing

Excerpts from terminal log
**
P: Preparing squashfs image...
P: This may take a while.
Parallel mksquashfs: Using 16 processors
Creating 4.0 filesystem on filesystem.squashfs, block size 131072.
[==-   ]
208800/281935  74%Unrecognised xattr prefix system.posix_acl_access
Unrecognised xattr prefix system.posix_acl_default

[=/] 281935/281935 100%

Exportable Squashfs 4.0 filesystem, xz compressed, data block size 131072
compressed data, compressed metadata, compressed fragments,
compressed xattrs, compressed ids
duplicates are removed
Filesystem size 3364820.84 Kbytes (3285.96 Mbytes)
34.21% of uncompressed filesystem size (9836456.95 Kbytes)
Inode table size 1945744 bytes (1900.14 Kbytes)
23.30% of uncompressed inode table size (8351644 bytes)
Directory table size 2038124 bytes (1990.36 Kbytes)
33.65% of uncompressed directory table size (6056783 bytes)
Xattr table size 40 bytes (0.04 Kbytes)
100.00% of uncompressed xattr table size (40 bytes)
Number of duplicate files found 9161
Number of inodes 244363
Number of files 211031
Number of fragments 18100
Number of symbolic links 17824
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 15508
Number of hard-links 513
Number of ids (unique uids + gids) 28
Number of uids 12
root (0)
_apt (42)
unknown (104)
unknown (986)
systemd-network (998)
unknown (990)
man (6)
unknown (981)
unknown (107)
unknown (985)
unknown (106)
unknown (100)
Number of gids 23
root (0)
dip (30)
shadow (42)
unknown (983)
unknown (104)
audio (29)
systemd-network (998)
unknown (990)
crontab (997)
unknown (988)
utmp (43)
unknown (989)
unknown (108)
man (12)
unknown (109)
unknown (981)
unknown (113)
unknown (985)
unknown (112)
unknown (103)
adm (4)
systemd-journal (999)
mail (8)
Reading package lists...
Building dependency tree...
Reading state information...
Solving dependencies...
The following packages will be REMOVED:
  liblzo2-2* squashfs-tools*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
  After
this operation, 822 kB disk space will be freed.
(Reading database ... 7907 files and directories currently installed.)
 (Reading database ...
Removing squashfs-tools (1:4.7.5-1) ...
Removing liblzo2-2:amd64 (2.10-3+b2) ...
Processing triggers for libc-bin (2.42-13) ...
[2026-03-11 17:52:35] lb chroot_prep remove all mode-archives-binary
[2026-03-11 17:52:35] lb chroot_archives binary remove
P: Deconfiguring file /etc/apt/sources.list
Get:1 http://deb.debian.org/debian unstable InRelease [187 kB]
Get:2 http://deb.debian.org/debian unstable/non-free-firmware Sources [10.5 kB]
Get:3 http://deb.debian.org/debian unstable/main Sources [11.4 MB]
Get:4 http://deb.debian.org/debian unstable/main amd64 Packages [10.3 MB]
Get:5 http://deb.debian.org/debian unstable/main Translation-en [7525 kB]
Get:6 http://deb.debian.org/debian unstable/non-free-firmware amd64
Packages [9492 B]
Get:7 http://deb.debian.org/debian unstable/non-free-firmware
Translation-en [6100 B]
Fetched 29.5 MB in 3s (11.6 MB/s)
Reading package lists...
[2026-03-11 17:52:38] lb chroot_apt remove
P: Deconfiguring file /etc/apt/apt.conf
[2026-03-11 17:52:38] lb chroot_hostname remove
P: Deconfiguring file /etc/hostname
P: Deconfiguring file /bin/hostname
[2026-03-11 17:52:38] lb chroot_resolv remove
P: Deconfiguring file /etc/resolv.conf
[2026-03-11 17:52:38] lb chroot_hosts remove
P: Deconfiguring file /etc/hosts
[2026-03-11 17:52:38] lb chroot_sysv-rc remove
P: Deconfiguring file /usr/sbin/policy-rc.d
[2026-03-11 17:52:38] lb chroot_tmpfs remove
[2026-03-11 17:52:38] lb chroot_dpkg remove
P: Deconfiguring file /sbin/start-stop-daemon
[2026-03-11 17:52:38] lb chroot_debianchroot remove
P: Deconfiguring file /etc/debian_chroot
W: Skipping removal of chroot_debianchroot, it is not applied
[2026-03-11 17:52:39] lb chroot_sysfs remove
P: Begin unmounting /sys...
[2026-03-11 17:52:39] lb chroot_selinuxfs remove
[2026-03-11 17:52:39] lb chroot_proc remove
P: Begin unmounting /proc...
[2026-03-11 17:52:39] lb chroot_devpts remove
P: Begin