On Tue, Oct 31, 2023 at 03:10:03PM +0000, Maximilian Kirschner wrote:
checking if 1.50 is a stable or development branch of libguestfs... stable configure: libguestfs version 1.50.1
It might be a good idea to see if this also happens with the latest development version in case there's something that's been fixed. [...]
checking for supermin... /usr/bin/supermin checking for --with-supermin-packager-config option... not set checking for --with-supermin-extra-options option... not set checking supermin is new enough... 5.3
In fact supermin 5.3.3 which is the latest version, good.
checking which Linux distro for package names... DEBIAN (from /etc/os-release)
This is as expected. The build goes really wrong a bit later: [...]
/usr/bin/supermin --prepare -v -o supermin.d bsdmainutils btrfs-tools clevis-luks cryptsetup dash extlinux gfs-tools gfs2-tools gfs2-utils grub2-common hfsplus iproute iproute2 iputils-ping iputils-arping iputils-tracepath isc-dhcp-client ldmtool libc-bin librpm9 linux-image mtools mount nilfs-tools ntfs-3g openssh-client reiserfsprogs sysvinit systemd ufsutils vim-tiny xz-utils zfs-fuse zstd uuid-runtime libaugeas0 libc6 libc6-i386 libcap2 libhivex0 libpcre2-8-0 librpm9 libselinux1 libsystemd0 libtirpc3 libtsk19 libyara8 acl attr bash binutils btrfs-progs bzip2 coreutils cpio diffutils dosfstools e2fsprogs f2fs-tools file findutils gawk gdisk grep gzip jfsutils kmod less libxml2 lsof lsscsi lvm2 lzop mdadm module-init-tools parted pciutils procps procps-ng psmisc rsync scrub sed sleuthkit squashfs-tools strace syslinux tar udev util-linux util-linux-ng xfsprogs zerofree qemu-utils curl kpartx debootstrap exfat-fuse exfat-utils exfatprogs fuse-exfat
Those packages, filtered by the ones installed:
supermin: packages specified on the command line: - bsdmainutils_12.1.7+nmu3ubuntu2_all - cryptsetup_2:2.4.3-1ubuntu1.1_amd64 - dash_0.5.11+git20210903+057cd650a4ed-3build1_amd64 - extlinux_3:6.04~git20190206.bf6db5b4+dfsg1-3ubuntu1_amd64 - gfs2-utils_3.4.1-2_amd64 - grub2-common_2.06-2ubuntu7.2_amd64 - hfsplus_1.0.4-16build2_amd64 - iproute2_5.15.0-1ubuntu2_amd64 - iputils-ping_3:20211215-1_amd64 - iputils-arping_3:20211215-1_amd64 - iputils-tracepath_3:20211215-1_amd64 - isc-dhcp-client_4.4.1-2.3ubuntu2.4_amd64 - ldmtool_0.2.5-1_amd64 - librpm9_4.17.0+dfsg1-4build1_amd64 - mtools_4.0.33-1+really4.0.32-1build1_amd64 - mount_2.37.2-4ubuntu3_amd64 - nilfs-tools_2.2.8-1_amd64 - ntfs-3g_1:2021.8.22-3ubuntu1.2_amd64 - openssh-client_1:8.9p1-3ubuntu0.4_amd64 - reiserfsprogs_1:3.6.27-4build4_amd64 - systemd_249.11-0ubuntu3.11_amd64 - vim-tiny_2:8.2.3995-1ubuntu2.13_amd64 - xz-utils_5.2.5-2ubuntu1_amd64 - zfs-fuse_0.7.0-22ubuntu1_amd64 - zstd_1.4.8+dfsg-3build1_amd64 - uuid-runtime_2.37.2-4ubuntu3_amd64 - libaugeas0_1.13.0-1_amd64 - libc6_2.35-0ubuntu3.4_amd64 - libc6-i386_2.35-0ubuntu3.4_amd64 - libcap2_1:2.44-1ubuntu0.22.04.1_amd64 - libhivex0_1.3.21-1ubuntu5_amd64 - libpcre2-8-0_10.39-3ubuntu0.1_amd64 - librpm9_4.17.0+dfsg1-4build1_amd64 - libselinux1_3.3-1build2_amd64 - libsystemd0_249.11-0ubuntu3.11_amd64 - libtirpc3_1.3.2-2ubuntu0.1_amd64 - libtsk19_4.11.1+dfsg-1_amd64 - libyara8_4.1.3-1build1_amd64 - acl_2.3.1-1_amd64 - attr_1:2.5.1-1build1_amd64 - bash_5.1-6ubuntu1_amd64 - binutils_2.38-4ubuntu2.3_amd64 - btrfs-progs_5.16.2-1_amd64 - bzip2_1.0.8-5build1_amd64 - coreutils_8.32-4.1ubuntu1_amd64 - cpio_2.13+dfsg-7_amd64 - diffutils_1:3.8-0ubuntu2_amd64 - dosfstools_4.2-1build3_amd64 - e2fsprogs_1.46.5-2ubuntu1.1_amd64 - f2fs-tools_1.14.0-2build1_amd64 - file_1:5.41-3ubuntu0.1_amd64 - findutils_4.8.0-1ubuntu3_amd64 - gawk_1:5.1.0-1ubuntu0.1_amd64 - gdisk_1.0.8-4build1_amd64 - grep_3.7-1build1_amd64 - gzip_1.10-4ubuntu4.1_amd64 - jfsutils_1.1.15-5build3_amd64 - kmod_29-1ubuntu1_amd64 - less_590-1ubuntu0.22.04.1_amd64 - libxml2_2.9.13+dfsg-1ubuntu0.3_amd64 - lsof_4.93.2+dfsg-1.1build2_amd64 - lsscsi_0.31-1build2_amd64 - lvm2_2.03.11-2.1ubuntu4_amd64 - lzop_1.04-2build2_amd64 - mdadm_4.2-0ubuntu2_amd64 - parted_3.4-2build1_amd64 - pciutils_1:3.7.0-6_amd64 - procps_2:3.3.17-6ubuntu2_amd64 - psmisc_23.4-2build3_amd64 - rsync_3.2.7-0ubuntu0.22.04.2_amd64 - scrub_2.6.1-1build2_amd64 - sed_4.8-1ubuntu2_amd64 - sleuthkit_4.11.1+dfsg-1_amd64 - squashfs-tools_1:4.5-3build1_amd64 - strace_5.16-0ubuntu3_amd64 - syslinux_3:6.04~git20190206.bf6db5b4+dfsg1-3ubuntu1_amd64 - tar_1.34+dfsg-1ubuntu0.1.22.04.1_amd64 - udev_249.11-0ubuntu3.11_amd64 - util-linux_2.37.2-4ubuntu3_amd64 - xfsprogs_5.13.0-1ubuntu2_amd64 - zerofree_1.1.1-1build3_amd64 - qemu-utils_1:6.2+dfsg-2ubuntu6.15_amd64 - curl_7.81.0-1ubuntu1.14_amd64 - kpartx_0.8.8-1ubuntu1.22.04.1_amd64 - debootstrap_1.0.126+nmu1ubuntu0.5_all - exfatprogs_1.1.3-1_amd64 [...]
Here's where things go wrong:
dpkg-query: warning: files list file for package 'dash' missing; assuming package has no files currently installed dpkg-query: warning: files list file for package 'iputils-ping' missing; assuming package has no files currently installed dpkg-query: warning: files list file for package 'iputils-tracepath' missing; assuming package has no files currently installed dpkg-query: warning: files list file for package 'isc-dhcp-client' missing; assuming package has no files currently installed dpkg-query: warning: files list file for package 'mount' missing; assuming package has no files currently installed dpkg-query: warning: files list file for package 'ntfs-3g' missing; assuming package has no files currently installed dpkg-query: warning: files list file for package 'xz-utils' missing; assuming package has no files currently installed dpkg-query: warning: files list file for package 'zstd' missing; assuming package has no files currently installed dpkg-query: warning: files list file for package 'uuid-runtime' missing; assuming package has no files currently installed dpkg-query: warning: files list file for package 'libpcre2-8-0:amd64' missing; assuming package has no files currently installed dpkg-query: warning: files list file for package 'libselinux1:amd64' missing; assuming package has no files currently installed dpkg-query: warning: files list file for package 'acl' missing; assuming package has no files currently installed dpkg-query: warning: files list file for package 'bzip2' missing; assuming package has no files currently installed dpkg-query: warning: files list file for package 'coreutils' missing; assuming package has no files currently installed [etc]
What supermin is trying to do here is to query the list of files for each package, eg. coreutils. It does this by running: https://github.com/libguestfs/supermin/blob/594a0585849f6767948a773a6bb4e3aa... $ dpkg-query --listfiles coreutils | grep '^/' [...] Somehow that command isn't returning anything. I don't know why that would be. Is dpkg-query installed? You might try building supermin from source and running 'make check' for that package to check there's nothing wrong with supermin. Another thing to try would be: $ supermin --prepare -v -v -v -o /tmp/supermin.d bash and see what dpkg commands get executed for that. I can't find the build logs for supermin on Ubuntu right now since packages.ubuntu.com seems to be returning Internal Server Error. But I think there's something up with supermin in Ubuntu at the moment. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v