Bug 1102448

Summary: mageia package list is incorrect
Product: [Community] Virtualization Tools Reporter: Joseph Wang <joequant>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED UPSTREAM QA Contact:
Severity: urgent Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, mbooth, ptoscano, thierry.vignaud
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-29 07:50:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
package list patch for mageia none

Description Joseph Wang 2014-05-29 01:23:31 UTC
Created attachment 900198 [details]
package list patch for mageia

Description of problem:

I am the maintainer for libguestfs on mageia.  The following patch should be applyed upstream to get the correct package list for mageia

Version-Release number of selected component (if applicable):

1.26.2

How reproducible:

Build libguestfs on mageia.  the build/tests will fail because the package list is incorrect.

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Richard W.M. Jones 2014-05-29 07:50:37 UTC
I've pushed half of this patch:

https://github.com/libguestfs/libguestfs/commit/00d94d95c805ee027a9ef9e67f3979f1faada4a7

It will appear in libguestfs >= 1.27.14.

However you can't just remove packages from the common list at
the bottom of this file, since that breaks other distros.

Firstly supermin should ignore packages which are not installed,
so any packages here which are not present on Mageia are ignored.
(If that doesn't happen, it's a bug in supermin 5).

Secondly if a package (eg udev) really breaks Mageia when included
in the appliance, but is available on Mageia, so should not appear
in the final list, then we would need to move the package from
the common list to every other distro section.

BTW you can post patches on the mailing list if you find that
easier.

Comment 2 Thierry Vignaud 2014-06-05 23:30:25 UTC
This is bogus:
guestfish now fails with the following error on Mageia Cauldron:

guestfsd: error while loading shared libraries: libyajl.so.2: cannot open shared object file: No such file or directory

The fix looks obvious:
s/yajl,/yajl/

Comment 3 Pino Toscano 2014-06-09 08:05:13 UTC
(In reply to Thierry Vignaud from comment #2)
> This is bogus:
> guestfish now fails with the following error on Mageia Cauldron:
> 
> guestfsd: error while loading shared libraries: libyajl.so.2: cannot open
> shared object file: No such file or directory
> 
> The fix looks obvious:
> s/yajl,/yajl/

Thanks for the notice, fixed with the following:
https://github.com/libguestfs/libguestfs/commit/6577f34a687f339304f20ac703a2e468865a4297