Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 625742 - app-emulation/libguestfs-1.28.5-r3 : configure: error: supermin >= 5.1 must be installed
Summary: app-emulation/libguestfs-1.28.5-r3 : configure: error: supermin >= 5.1 must b...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maxim Koltsov (RETIRED)
URL:
Whiteboard:
Keywords:
: 625722 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-07-20 16:11 UTC by Toralf Förster
Modified: 2017-08-12 05:15 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.09 KB, text/plain)
2017-07-20 16:11 UTC, Toralf Förster
Details
app-emulation:libguestfs-1.28.5-r3:20170720-013829.log (app-emulation:libguestfs-1.28.5-r3:20170720-013829.log,56.21 KB, text/plain)
2017-07-20 16:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,121.02 KB, text/plain)
2017-07-20 16:11 UTC, Toralf Förster
Details
environment (environment,194.03 KB, text/plain)
2017-07-20 16:11 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,22.44 KB, application/x-bzip)
2017-07-20 16:11 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,54.92 KB, application/x-bzip)
2017-07-20 16:11 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,50.45 KB, application/x-bzip)
2017-07-20 16:12 UTC, Toralf Förster
Details
Ebuild patch (libguestfs-1.28.5-r3.patch,1.15 KB, patch)
2017-07-21 16:45 UTC, Andreas Proteus
Details | Diff
emerge build logs (libguestfs.tar.gz,46.11 KB, application/gzip)
2017-07-23 12:14 UTC, Samuel Bernardo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-07-20 16:11:38 UTC
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
Comment 1 Toralf Förster gentoo-dev 2017-07-20 16:11:41 UTC
Created attachment 486106 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-07-20 16:11:44 UTC
Created attachment 486108 [details]
app-emulation:libguestfs-1.28.5-r3:20170720-013829.log
Comment 3 Toralf Förster gentoo-dev 2017-07-20 16:11:47 UTC
Created attachment 486110 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-07-20 16:11:51 UTC
Created attachment 486112 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-07-20 16:11:54 UTC
Created attachment 486114 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-07-20 16:11:57 UTC
Created attachment 486116 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-07-20 16:12:00 UTC
Created attachment 486118 [details]
temp.tbz2
Comment 8 Richard Jones 2017-07-20 20:11:02 UTC
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.
Comment 9 Andreas Proteus 2017-07-21 16:45:27 UTC
Created attachment 486342 [details, diff]
Ebuild patch

There is a typo in the ebuild
Once this is corrected it compiles fine.
Comment 10 Jonas Stein gentoo-dev 2017-07-22 12:17:34 UTC
*** Bug 625722 has been marked as a duplicate of this bug. ***
Comment 11 Samuel Bernardo 2017-07-23 12:14:28 UTC
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.
Comment 12 Andreas Proteus 2017-07-23 13:10:03 UTC
(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.
Comment 13 Samuel Bernardo 2017-07-24 00:06:26 UTC
(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.
Comment 14 Alex 2017-08-01 13:04:26 UTC
(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.
Comment 15 dugz 2017-08-01 18:53:44 UTC
supermin is found in  dev-util/febootstrap  which is selected for imminent removal.
Comment 16 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2017-08-12 05:15:56 UTC
thanks for the patch, probably would not have looked at the ebuild for a while, fixed