Skip to content

Commit

Permalink
linux.mk: move debian-trixie to broken target
Browse files Browse the repository at this point in the history
The binary md5sum is shipped by coreutils and it is linked against
libcrypto.so.3 from libssl3 on trixie.

That library is a Pre-Depends and it is not installed.

	Package: coreutils
	(...)
	Version: 9.4-3+b1
	Pre-Depends: libacl1 (>= 2.2.23), libattr1 (>= 1:2.4.48), libc6 (>= 2.34), libgmp10 (>= 2:6.3.0+dfsg), libselinux1 (>= 3.1~), libssl3 (>= 3.0.0)

Note: This is untrue in bookworm,

See:

	$ make amd64-debian-trixie-rootfs
	(...)
	I: Unpacking whiptail...
	W: Failure while installing base packages.  This will be re-attempted up to five times.
	W: See /home/gportay/src/iamroot/amd64-debian-trixie-rootfs/debootstrap/debootstrap.log for details (possibly the package /var/cache/apt/archives/cron_3.0pl1-189_amd64.deb is at fault)
	W: Failure while installing base packages.  This will be re-attempted up to five times.
	W: See /home/gportay/src/iamroot/amd64-debian-trixie-rootfs/debootstrap/debootstrap.log for details (possibly the package /var/cache/apt/archives/cron_3.0pl1-189_amd64.deb is at fault)
	W: Failure while installing base packages.  This will be re-attempted up to five times.
	W: See /home/gportay/src/iamroot/amd64-debian-trixie-rootfs/debootstrap/debootstrap.log for details (possibly the package /var/cache/apt/archives/cron_3.0pl1-189_amd64.deb is at fault)
	W: Failure while installing base packages.  This will be re-attempted up to five times.
	W: See /home/gportay/src/iamroot/amd64-debian-trixie-rootfs/debootstrap/debootstrap.log for details (possibly the package /var/cache/apt/archives/cron_3.0pl1-189_amd64.deb is at fault)
	W: Failure while installing base packages.  This will be re-attempted up to five times.
	W: See /home/gportay/src/iamroot/amd64-debian-trixie-rootfs/debootstrap/debootstrap.log for details (possibly the package /var/cache/apt/archives/cron_3.0pl1-189_amd64.deb is at fault)

	$ cat amd64-debian-trixie-rootfs/debootstrap/debootstrap.log
	(...)
	Setting up base-files (13.1) ...
	Warning: libcrypto.so.3: needed library not found in library-path /lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/lib:/usr/lib::
	Warning: libcrypto.so.3: needed library not found in library-path /lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/lib:/usr/lib::
	/var/lib/dpkg/info/base-files.postinst: 45: md5sum: not found
	Warning: libcrypto.so.3: needed library not found in library-path /lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/lib:/usr/lib::
	Warning: libcrypto.so.3: needed library not found in library-path /lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/lib:/usr/lib::
	/var/lib/dpkg/info/base-files.postinst: 45: md5sum: not found
	(...)
	dpkg: regarding .../systemd_255.4-1_amd64.deb containing systemd, pre-dependency problem:
	 systemd pre-depends on libssl3 (>= 3.0.0)
	  libssl3 is not installed.

	dpkg: error processing archive /var/cache/apt/archives/systemd_255.4-1_amd64.deb (--unpack):
	 pre-dependency problem - not installing systemd
	dpkg: version 255.4-1 of systemd-dev already installed, skipping
	dpkg: regarding .../systemd-sysv_255.4-1_amd64.deb containing systemd-sysv, pre-dependency problem:
	 systemd-sysv pre-depends on systemd
	  systemd is not installed.

	dpkg: error processing archive /var/cache/apt/archives/systemd-sysv_255.4-1_amd64.deb (--unpack):
	 pre-dependency problem - not installing systemd-sysv
	dpkg: version 3.75 of tasksel already installed, skipping
	dpkg: version 3.75 of tasksel-data already installed, skipping
	dpkg: version 255.4-1 of udev already installed, skipping
	dpkg: version 2:9.1.0016-1 of vim-common already installed, skipping
	dpkg: version 2:9.1.0016-1 of vim-tiny already installed, skipping
	dpkg: version 0.52.24-2 of whiptail already installed, skipping
	Errors were encountered while processing:
	 /var/cache/apt/archives/cron_3.0pl1-189_amd64.deb
	 /var/cache/apt/archives/init_1.66_amd64.deb
	 /var/cache/apt/archives/systemd_255.4-1_amd64.deb
	 /var/cache/apt/archives/systemd-sysv_255.4-1_amd64.deb

	$ find amd64-debian-trixie-rootfs/ -name libcrypto.so.3
	(... nothing...)
	$ readelf -d amd64-debian-trixie-rootfs/bin/md5sum

	Dynamic section at offset 0xadb8 contains 27 entries:
	  Tag        Type                         Name/Value
	 0x0000000000000001 (NEEDED)             Shared library: [libcrypto.so.3]
	 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
	 0x000000000000000c (INIT)               0x2000
	 0x000000000000000d (FINI)               0x7c30
	 0x0000000000000019 (INIT_ARRAY)         0xbbb0
	 0x000000000000001b (INIT_ARRAYSZ)       8 (bytes)
	 0x000000000000001a (FINI_ARRAY)         0xbbb8
	 0x000000000000001c (FINI_ARRAYSZ)       8 (bytes)
	 0x000000006ffffef5 (GNU_HASH)           0x3a0
	 0x0000000000000005 (STRTAB)             0xb08
	 0x0000000000000006 (SYMTAB)             0x3e8
	 0x000000000000000a (STRSZ)              934 (bytes)
	 0x000000000000000b (SYMENT)             24 (bytes)
	 0x0000000000000015 (DEBUG)              0x0
	 0x0000000000000003 (PLTGOT)             0xbfe8
	 0x0000000000000002 (PLTRELSZ)           1488 (bytes)
	 0x0000000000000014 (PLTREL)             RELA
	 0x0000000000000017 (JMPREL)             0x13a0
	 0x0000000000000007 (RELA)               0xff8
	 0x0000000000000008 (RELASZ)             936 (bytes)
	 0x0000000000000009 (RELAENT)            24 (bytes)
	 0x000000006ffffffb (FLAGS_1)            Flags: PIE
	 0x000000006ffffffe (VERNEED)            0xf48
	 0x000000006fffffff (VERNEEDNUM)         2
	 0x000000006ffffff0 (VERSYM)             0xeae
	 0x000000006ffffff9 (RELACOUNT)          28
	 0x0000000000000000 (NULL)               0x0
  • Loading branch information
gportay committed May 1, 2024
1 parent 5ef5864 commit 067f31d
Show file tree
Hide file tree
Showing 2 changed files with 507 additions and 308 deletions.
Loading

0 comments on commit 067f31d

Please sign in to comment.