checking for --with-supermin-packager-config option... not set checking for --with-supermin-extra-options option... not set configure: error: supermin >= 5.1 must be installed !!! Please attach the following file when seeking support: !!! /var/tmp/portage/app-emulation/libguestfs-1.28.5-r3/work/libguestfs-1.28.5/config.log ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-desktop-plasma_20170717-204641 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.3.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python2.7 (fallback) [3] jython2.7 (fallback) Available Ruby profiles: [1] ruby21 (with Rubygems) [2] ruby22 (with Rubygems) * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.4.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm
Created attachment 486106 [details] emerge-info.txt
Created attachment 486108 [details] app-emulation:libguestfs-1.28.5-r3:20170720-013829.log
Created attachment 486110 [details] emerge-history.txt
Created attachment 486112 [details] environment
Created attachment 486114 [details] etc.portage.tbz2
Created attachment 486116 [details] logs.tbz2
Created attachment 486118 [details] temp.tbz2
The config.log file isn't too helpful, but it seems as if configure really cannot find the ‘supermin’ binary. Is it installed on the PATH? As this is Gentoo I was thinking you would use the prebuilt appliance (in which case supermin should not be needed). However you'd have to specify ‘--disable-appliance’ on the configure line in that case, and it is not specified.
Created attachment 486342 [details, diff] Ebuild patch There is a typo in the ebuild Once this is corrected it compiles fine.
*** Bug 625722 has been marked as a duplicate of this bug. ***
Created attachment 486568 [details] emerge build logs I try another alternative installing supermin latest release. For that I installed the ebuild I created as published in my overlay: https://github.com/samuelbernardo/ssnb-overlay/blob/master/app-emulation/supermin/supermin-5.1.18.ebuild Then I run again libguestfs and I received this message from supermin: ---------- /usr/bin/supermin --prepare -v -o supermin.d acl attr bash binutils bzip2 coreutils cpio diffutils dosfstools e2fsprogs file findutils gawk gdisk grep gzip jfsutils kmod less libxml2 lsof lsscsi lvm2 lzop mdadm module-init-tools parted procps procps-ng psmisc rsync scrub sed strace syslinux tar udev util-linux util-linux-ng xfsprogs zerofree supermin: could not detect package manager used by this system or distro. If this is a new Linux distro, or not Linux, or a Linux distro that uses an unusual packaging format then you may need to port supermin. If you are expecting that supermin should work on this system or distro then it may be that the package detection code is not working. To list which package handlers are compiled into this version of supermin, do: supermin --list-drivers supermin: version: 5.1.18 ---------- So it seems it misses support for Gentoo. I'll take a look into it to see if it's possible to adapt as rpm. I leave the files requested for support in attachment.
(In reply to Samuel Bernardo from comment #11) Because of the typo in the ebuild all the configuration options (including "--disable-appliance") given in separate lines are ignored. They need to be in a single line. So it tries to build libguestfs with the default options, which include the 'appliance' option which requires supermin.
(In reply to Andreas Proteus from comment #12) > (In reply to Samuel Bernardo from comment #11) > Because of the typo in the ebuild all the configuration options > (including "--disable-appliance") given in separate lines are ignored. > They need to be in a single line. > So it tries to build libguestfs with the default options, which include the > 'appliance' option which requires supermin. Thanks Andreas for the explanation, I didn't understand that detail. Since supermin don't support gentoo, your patch gives the necessary correction. For supermin to work would be needed a chroot configured for a supported distro. I think this would be possible inside gentoo since it have available tools for deb, rpm and pkgbuild, that could be used to create the chroot to create the supermin image.
(In reply to Andreas Proteus from comment #9) > Created attachment 486342 [details, diff] [details, diff] > Ebuild patch > > There is a typo in the ebuild > Once this is corrected it compiles fine. this ebuilds builds fine with after the patch. thank you.
supermin is found in dev-util/febootstrap which is selected for imminent removal.
thanks for the patch, probably would not have looked at the ebuild for a while, fixed