[Bug 1864164] Re: virt-customize fails with "host cpu (x86_64) and guest arch (s390x) are not compatible" when running on s390x host

2020-04-24 Thread Frank Heimes
** Changed in: ubuntu-z-systems Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1864164 Title: virt-customize fails with "host cpu (x86_64) and guest arch

[Bug 1864164] Re: virt-customize fails with "host cpu (x86_64) and guest arch (s390x) are not compatible" when running on s390x host

2020-04-24 Thread Christian Ehrhardt 
1:1.40.2-7ubuntu5 in Focal has this fix - closing ** Changed in: libguestfs (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1864164 Title: virt-c

[Bug 1864164] Re: virt-customize fails with "host cpu (x86_64) and guest arch (s390x) are not compatible" when running on s390x host

2020-02-25 Thread Frank Heimes
** Changed in: ubuntu-z-systems Status: Triaged => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1864164 Title: virt-customize fails with "host cpu (x86_64) and guest arch (s390

[Bug 1864164] Re: virt-customize fails with "host cpu (x86_64) and guest arch (s390x) are not compatible" when running on s390x host

2020-02-25 Thread Dimitri John Ledkov
The requested package version is in proposed, and will migrate after the blockage in front of it migrates. ** Changed in: libguestfs (Ubuntu) Status: Triaged => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. http

[Bug 1864164] Re: virt-customize fails with "host cpu (x86_64) and guest arch (s390x) are not compatible" when running on s390x host

2020-02-24 Thread Andrew Cloke
** Changed in: ubuntu-z-systems Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1864164 Title: virt-customize fails with "host cpu (x86_64) and guest arch (s390x) are n

[Bug 1864164] Re: virt-customize fails with "host cpu (x86_64) and guest arch (s390x) are not compatible" when running on s390x host

2020-02-24 Thread Bug Watch Updater
** Changed in: libguestfs (Debian) Status: Unknown => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1864164 Title: virt-customize fails with "host cpu (x86_64) and guest arch (s3

[Bug 1864164] Re: virt-customize fails with "host cpu (x86_64) and guest arch (s390x) are not compatible" when running on s390x host

2020-02-24 Thread Christian Ehrhardt 
Indeed, confirmed to work with the newer version. Lets mark the Debian bug as related int he bug tasks above... Thanks Richard! ** Changed in: libguestfs (Ubuntu) Status: Confirmed => Triaged ** Also affects: libguestfs (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=94

[Bug 1864164] Re: virt-customize fails with "host cpu (x86_64) and guest arch (s390x) are not compatible" when running on s390x host

2020-02-24 Thread Christian Ehrhardt 
The release of this new version into Ubuntu 20.04 is currently gated by the new "erlang" and the new "ocaml" to release as well. => https://people.canonical.com/~ubuntu-archive/proposed-migration/update_excuses.html#erlang (FTFBS on arm64) => https://people.canonical.com/~ubuntu-archive/propo

[Bug 1864164] Re: virt-customize fails with "host cpu (x86_64) and guest arch (s390x) are not compatible" when running on s390x host

2020-02-24 Thread Christian Ehrhardt 
This config based detection isn't working correctly, I have jumped into a build environment and looked at the guestfs_config.ml files: $ for conf in $(find libguestfs-OrYVmJ -name '*guestfs_config.ml'); do echo $conf; grep cpu $conf; done libguestfs-OrYVmJ/libguestfs-1.40.2/debian/build-2/common/

[Bug 1864164] Re: virt-customize fails with "host cpu (x86_64) and guest arch (s390x) are not compatible" when running on s390x host

2020-02-24 Thread Christian Ehrhardt 
I was refreshing the bug after a debug session and found your hint to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946594#46 We have a new in proposed that merges libguestfs/1:1.40.2-3 (and later). Let me try the version from proposed ... -- You received this bug notification because you ar

[Bug 1864164] Re: virt-customize fails with "host cpu (x86_64) and guest arch (s390x) are not compatible" when running on s390x host

2020-02-24 Thread Christian Ehrhardt 
I was looking where guestfs_config.ml which is supposed to hold that info ends up. TBH I could not find where in the ocaml build it ends up. $ strings /usr/bin/virt-customize ../../../../common/mlstdutils/guestfs_config.ml +c8d ../../../../common/mlstdutils/stringMap.ml powerpc6powerpc i686 i486

[Bug 1864164] Re: virt-customize fails with "host cpu (x86_64) and guest arch (s390x) are not compatible" when running on s390x host

2020-02-24 Thread Christian Ehrhardt 
verbose log of the failing command Note: It does not contain any x86_64 up until the error. ** Attachment added: "libguestfs-not-detecting-s390x.txt" https://bugs.launchpad.net/ubuntu/+source/libguestfs/+bug/1864164/+attachment/5330561/+files/libguestfs-not-detecting-s390x.txt -- You receiv

[Bug 1864164] Re: virt-customize fails with "host cpu (x86_64) and guest arch (s390x) are not compatible" when running on s390x host

2020-02-24 Thread Christian Ehrhardt 
There are multiple builds and therefore multiple configure steps going on: cd debian/build-1 && ../../configure --build=s390x-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-sil

[Bug 1864164] Re: virt-customize fails with "host cpu (x86_64) and guest arch (s390x) are not compatible" when running on s390x host

2020-02-24 Thread Richard Jones
I'm pretty sure there was a bug about this, but I can't find it. The bug was something to do with the fact that the tarball contains already libguestfs-1.40.2/common/mlstdutils/guestfs_config.ml The configure script writes the new guestfs_config.ml into the build directory, but the actual build wa

[Bug 1864164] Re: virt-customize fails with "host cpu (x86_64) and guest arch (s390x) are not compatible" when running on s390x host

2020-02-24 Thread Richard Jones
Yes, Pino found it, it was this one: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946594#46 ** Bug watch added: Debian Bug tracker #946594 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946594 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subs

[Bug 1864164] Re: virt-customize fails with "host cpu (x86_64) and guest arch (s390x) are not compatible" when running on s390x host

2020-02-24 Thread Christian Ehrhardt 
It is from the expected s390x build that I linked above: ubuntu@s1lp05:/tmp/imagetest$ which virt-customize /usr/bin/virt-customize ubuntu@s1lp05:/tmp/imagetest$ dpkg -S /usr/bin/virt-customize libguestfs-tools: /usr/bin/virt-customize ubuntu@s1lp05:/tmp/imagetest$ dpkg -l libguestfs-tools Desir

[Bug 1864164] Re: virt-customize fails with "host cpu (x86_64) and guest arch (s390x) are not compatible" when running on s390x host

2020-02-24 Thread Christian Ehrhardt 
I was planning to test this on different qcow images on an s390x host: $ file * CentOS-7-x86_64-GenericCloud-1907.qcow2:QEMU QCOW2 Image (v2), 8589934592 bytes focal-s390x-cloudimage.qcow2: QEMU QCOW2 Image (v3), 2361393152 bytes ubuntu-16.04-server-cloudimg-amd64-disk1.

[Bug 1864164] Re: virt-customize fails with "host cpu (x86_64) and guest arch (s390x) are not compatible" when running on s390x host

2020-02-24 Thread Christian Ehrhardt 
Hi Richard, thanks for chiming in here as well. the build logs (in general) can always be seen on a packages overview page (link on the top of the page) e.g. https://launchpad.net/ubuntu/+source/libguestfs >From there select the version you want to look at: e.g. https://launchpad.net/ubuntu/+sour

[Bug 1864164] Re: virt-customize fails with "host cpu (x86_64) and guest arch (s390x) are not compatible" when running on s390x host

2020-02-21 Thread Richard Jones
I couldn't yet find build logs for Ubuntu, but for Debian they are correct (https://buildd.debian.org/status/logs.php?pkg=libguestfs&ver=1%3A1.40.2-7%2Bb1&arch=s390x). You should see in the ./configure step: checking host CPU and C ABI... s390x ... config.status: creating common/mlstdutils/guestf

[Bug 1864164] Re: virt-customize fails with "host cpu (x86_64) and guest arch (s390x) are not compatible" when running on s390x host

2020-02-21 Thread Richard Jones
Is there a way to see the build log from when libguestfs was built? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1864164 Title: virt-customize fails with "host cpu (x86_64) and guest arch (s390x)

[Bug 1864164] Re: virt-customize fails with "host cpu (x86_64) and guest arch (s390x) are not compatible" when running on s390x host

2020-02-21 Thread Richard Jones
As the error says: virt-customize: error: host cpu (x86_64) and guest arch (s390x) are not compatible, so you cannot use command line options that involve running commands in the guest. Use --firstboot scripts instead. I don't believe this is a bug. -- You received this bug notification becaus

[Bug 1864164] Re: virt-customize fails with "host cpu (x86_64) and guest arch (s390x) are not compatible" when running on s390x host

2020-02-21 Thread Frank Heimes
** Package changed: linux (Ubuntu) => libguestfs (Ubuntu) ** Also affects: ubuntu-z-systems Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1864164 Title: