Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1034771: generate_firmware_patterns failed: 512 at ./tmp/debian-cd/tools/make_disc_trees.pl line 1257

203 views
Skip to first unread message

Daniel Leidert

unread,
Apr 23, 2023, 9:30:04 PM4/23/23
to
Package: simple-cdd
Version: 0.6.9
Severity: important

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

With debian-cd 3.2.0, simple-cdd fails to create an installer image with the
following errors:

2023-04-24 03:07:41 ERROR build/debian-cd exited with code 2
2023-04-24 03:07:41 ERROR Last 5 lines of standard error:
2023-04-24 03:07:41 ERROR build/debian-cd: + exit 0
2023-04-24 03:07:41 ERROR build/debian-cd: xorriso 1.5.4 : RockRidge filesystem manipulator, libburnia project.
2023-04-24 03:07:41 ERROR build/debian-cd: missing metadata file ./tmp/mirror/dists/bullseye/main/dep11/Components-amd64.yml.gz at ./tmp/debian-cd/tools/generate_firmware_patterns line 172.
2023-04-24 03:07:41 ERROR build/debian-cd: generate_firmware_patterns failed: 512 at ./tmp/debian-cd/tools/make_disc_trees.pl line 1257.
2023-04-24 03:07:41 ERROR build/debian-cd: make: *** [Makefile:487: image-trees] Error 2
2023-04-24 03:07:41 ERROR build/debian-cd exited with code 2, full log can be found in ./cdd/tmp/log/build-debian-cd

If I downgrade to debian-cdi 3.1.36, the build (a bullseye image) process
succeeds. The related build profile exports NONFREE, NONFREE_COMPONENTS, and
FORCE_FIRMWARE, and requires several firmware packages.

This might be worth fixing for Bookworm.

Regards, Daniel


- -- System Information:
Debian Release: 12.0
APT prefers testing-security
APT policy: (500, 'testing-security'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-7-amd64 (SMP w/20 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE
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 simple-cdd depends on:
ii dctrl-tools 2.24-3+b1
ii debian-cd 3.1.36
ii lsb-release 12.0-1
ii python3 3.11.2-1+b1
ii python3-simple-cdd 0.6.9
ii reprepro 5.3.1-1
ii rsync 3.2.7-1
ii wget 1.21.3-1+b2

Versions of packages simple-cdd recommends:
ii dose-distcheck 7.0.0-1+b2

Versions of packages simple-cdd suggests:
ii qemu-system-x86 [qemu-kvm] 1:7.2+dfsg-5

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEvu1N7VVEpMA+KD3HS80FZ8KW0F0FAmRF2OAACgkQS80FZ8KW
0F2Awg/8DIJ4G7pr3rWCRbp+AZwtvJxPB459QjSR8fJ7FeRBA8OBcHtlhCzAtiHF
tQjjQRGyepbte2l0lpVVXEgzF5RWmovuHJ8T/QZWWd86MsBL0NSCt4vszCWhZ5pb
oQin7j+evt4gKx6noUQfQWgPfiwEwCSb6XBkvVv/oq2VY3mPl6AjbQIGd87NwjuV
ZtoyO+ywxW8LloI/AgA7iirStfu0xG28DCflzJZMnvJh4Ejj4RfxgkdvyAVn78PX
jlTPtaiUnC6E/XH9S0sGEK8uX6/eamOFoqPfjNWwxXtQ0mAUucvn7HiqGg+0K+aV
Up9gznKC3UP4FQMDjDl2C875IDVIeLaTrWN43KJQ+DH2okTmzM2lbusNw76n1eXg
oBJj+tjGsgtprJBw4YncR2fijS3MaSbotyY10H3jFTol91NxLx6Q5sXBi+RDgpm6
VvAAdHDNdy6i5idOfRUiGOpqk74WRMYxU3eFvWqARnHEcSv/iTHxXIeUdRONqbrX
atFcIEIpjNwPyxySsxHzaKO/wSkcfquUflNG0adQ4wcuf1jOY/HrrpS9SotP5WDR
uTnrRDS42V/K5ggpvB6Qozp1/zawch0dtd7+KRQWg3luiFNdDvjlJayBd+PFlQKb
qcWppktTZdQVOAkZTuGK9Xacd6flt8e8VeKW3jtUn/7PBRvRU8Y=
=59sG
-----END PGP SIGNATURE-----

wieser

unread,
May 10, 2023, 11:32:10 AM5/10/23
to
It works after you copy Components-amd64.yml.gz ( wget
https://debian.mirror.ate.info/dists/bookworm/main/dep11/Components-amd64.yml.gz)
to the folder mirror/dists/bullseye/main/dep11/

Vagrant Cascadian

unread,
Jun 4, 2023, 2:30:05 AM6/4/23
to
Control: block 1034771 by 824521

On 2023-04-24, Daniel Leidert wrote:
> 2023-04-24 03:07:41 ERROR build/debian-cd: missing metadata file ./tmp/mirror/dists/bullseye/main/dep11/Components-amd64.yml.gz at ./tmp/debian-cd/tools/generate_firmware_patterns line 172.
> 2023-04-24 03:07:41 ERROR build/debian-cd: generate_firmware_patterns failed: 512 at ./tmp/debian-cd/tools/make_disc_trees.pl line 1257.

This is because reprepro does not generate or support these
dep11/Components-*.ym.gz files...

https://bugs.debian.org/824521

It might be possible to work around in similar to how debian-installer
images are download in simple_cdd/tools/mirror_download.py

live well,
vagrant
signature.asc

Arnaud Rebillout

unread,
Jun 15, 2023, 11:40:05 PM6/15/23
to
On Sat, 03 Jun 2023 23:17:22 -0700 Vagrant Cascadian
<vag...@debian.org> wrote:
>
> This is because reprepro does not generate or support these
> dep11/Components-*.ym.gz files...
>
> https://bugs.debian.org/824521
>
> It might be possible to work around in similar to how debian-installer
> images are download in simple_cdd/tools/mirror_download.py

Another approach: debian-cd could make DEP11 optional, so that
derivatives can opt out. I opened a merge request:
https://salsa.debian.org/images-team/debian-cd/-/merge_requests/31

--
Arnaud Rebillout / OffSec / Kali Linux Developer
0 new messages