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 unmounting /dev...
[2026-03-11 17:52:39] lb chroot_prep install all mode-archives-binary
[2026-03-11 17:52:39] lb chroot_devpts install
P: Begin mounting /dev...
[2026-03-11 17:52:39] lb chroot_proc install
P: Begin mounting /proc...
[2026-03-11 17:52:39] lb chroot_selinuxfs install
[2026-03-11 17:52:39] lb chroot_sysfs install
P: Begin mounting /sys...
[2026-03-11 17:52:39] lb chroot_debianchroot install
P: Configuring file /etc/debian_chroot
[2026-03-11 17:52:39] lb chroot_dpkg install
P: Configuring file /sbin/start-stop-daemon
dpkg-divert: warning: diverting file '/usr/sbin/start-stop-daemon'
from an Essential package with rename is dangerous, use --no-rename
[2026-03-11 17:52:40] lb chroot_tmpfs install
[2026-03-11 17:52:40] lb chroot_sysv-rc install
P: Configuring file /usr/sbin/policy-rc.d
update-alternatives: using /usr/sbin/policy-rc.d.live-build to provide
/usr/sbin/policy-rc.d (policy-rc.d) in auto mode
[2026-03-11 17:52:40] lb chroot_hosts install
P: Configuring file /etc/hosts
[2026-03-11 17:52:40] lb chroot_resolv install
P: Configuring file /etc/resolv.conf
[2026-03-11 17:52:40] lb chroot_hostname install
P: Configuring file /etc/hostname
P: Configuring file /bin/hostname
dpkg-divert: warning: diverting file '/usr/bin/hostname' from an
Essential package with rename is dangerous, use --no-rename
[2026-03-11 17:52:40] lb chroot_apt install
P: Configuring file /etc/apt/apt.conf
[2026-03-11 17:52:40] lb chroot_archives binary install
P: Configuring file /etc/apt/sources.list
Hit:1 http://deb.debian.org/debian unstable InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
debian-archive-keyring is already the newest version (2025.1).
Solving dependencies...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Hit:1 http://deb.debian.org/debian unstable InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[2026-03-11 17:52:42] lb binary_dm-verity
[2026-03-11 17:52:42] lb binary_manifest
P: Begin creating manifest...
[2026-03-11 17:52:42] lb binary_package-lists
P: Begin installing local package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Solving dependencies...
Suggested packages:
  debtags
The following NEW packages will be installed:
  dctrl-tools
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 104 kB of archives.
After this operation, 432 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian unstable/main amd64 dctrl-tools
amd64 2.24-3+b1 [104 kB]
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such
file or directory)
Fetched 104 kB in 0s (1717 kB/s)
Selecting previously unselected package dctrl-tools.
(Reading database ... 232530 files and directories currently installed.)
Preparing to unpack .../dctrl-tools_2.24-3+b1_amd64.deb ...
Unpacking dctrl-tools (2.24-3+b1) ...
Setting up dctrl-tools (2.24-3+b1) ...
Processing triggers for man-db (2.13.1-1) ...
Reading package lists...
Building dependency tree...
Reading state information...
Solving dependencies...
The following additional packages will be installed:
  alsa-topology-conf alsa-ucm-conf apt base-passwd ca-certificates dbus
  dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common
  dbus-user-session debconf debconf-i18n debian-archive-keyring dmsetup
  espeak-ng-data gcc-16-base init-system-helpers libacl1 libapparmor1
  libapt-pkg7.0 libasound2-data libasound2t64 libasyncns0 libatomic1
  libaudit-common libaudit1 libblkid1 libbluetooth3 libbrlapi0.8 libbz2-1.0
  libc-gconv-modules-extra libc6 libcap-ng0 libcap2 libcrypt1 libcryptsetup12
  libdb5.3t64 libdbus-1-3 libdebconfclient0 libdevmapper1.02.1 libduktape207
  libespeak-ng1 libexpat1 libffi8 libflac14 libgcc-s1 libglib2.0-0t64
  libglib2.0-data libgmp10 libgpm2 libhogweed6t64 libicu78 libidn2-0
  libjson-c5 libkmod2 liblastlog2-2 liblocale-gettext-perl liblouis-data
  liblouis20 liblz4-1 liblzma5 libmount1 libmp3lame0 libmpg123-0t64
  libncursesw6 libnettle8t64 libnss-systemd libogg0 libopus0 libpam-modules
  libpam-modules-bin libpam-runtime libpam-systemd libpam0g libpcaudio0
  libpcre2-32-0 libpcre2-8-0 libpolkit-agent-1-0 libpolkit-gobject-1-0
  libpulse0 libpython3-stdlib libpython3.13-minimal libpython3.13-stdlib
  libreadline8t64 libseccomp2 libselinux1 libsmartcols1 libsndfile1 libsonic0
  libsqlite3-0 libssl3t64 libstdc++6 libsystemd-shared libsystemd0
  libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libtinfo6
  libudev1 libunistring5 libuuid1 libvorbis0a libvorbisenc2 libx11-6
  libx11-data libx11-xcb1 libxau6 libxcb1 libxdmcp6 libxml2-16 libxxhash0
  libzstd1 linux-sysctl-defaults login login.defs media-types mount netbase
  openssl openssl-provider-legacy perl-base polkitd python3 python3-minimal
  python3.13 python3.13-minimal readline-common sed sgml-base shared-mime-info
  sqv systemd systemd-cryptsetup systemd-sysv systemd-timesyncd
  systemd-userdbd tzdata util-linux-extra xdg-user-dirs xml-core zlib1g
…
0 upgraded, 144 newly installed, 0 to remove and 0 not upgraded.
Need to get 71.8 MB of archives.
After this operation, 252 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian unstable/main amd64 gcc-16-base
amd64 16-20260308-1 [35.3 kB]
…
Get:144 http://deb.debian.org/debian unstable/main amd64 xdg-user-dirs
amd64 0.19-1 [40.4 kB]
Fetched 71.8 MB in 5s (14.7 MB/s)
Download complete and in download only mode
E: Tree walking failed - ftw (40: Too many levels of symbolic links)
E: An unexpected failure occurred, exiting...
P: Begin unmounting filesystems...
P: Saving caches...
###########################################################################################

Wed Mar 11 09:52:59 PM UTC 2026 - Warning: lb build failed with 100.
The latest snapshot might not be complete (yet). Try re-running the
script with SNAPSHOT_TIMESTAMP=20260311T140700Z.

###########################################################################################

Wed Mar 11 09:52:59 PM UTC 2026 - Generating summary.txt

Thank you,
Jeremy Bícha

Reply via email to