[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 (s390x)
  are not compatible" when running on s390x host

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1864164/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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-customize fails with "host cpu (x86_64) and guest arch (s390x)
  are not compatible" when running on s390x host

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1864164/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 (s390x)
  are not compatible" when running on s390x host

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1864164/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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.
https://bugs.launchpad.net/bugs/1864164

Title:
  virt-customize fails with "host cpu (x86_64) and guest arch (s390x)
  are not compatible" when running on s390x host

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1864164/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 not compatible" when running on s390x host

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1864164/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 (s390x)
  are not compatible" when running on s390x host

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1864164/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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=946594
   Importance: Unknown
   Status: Unknown

-- 
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 not compatible" when running on s390x host

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1864164/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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/proposed-migration/update_excuses.html#ocaml
   (Various test issues)

@JFH - this needs someone to bother the people that would work on the 
ocaml/erlang transition.
Once those pass this will migrate into Focal and resolve the reported issue.
I'll leave that tracking/pinging/... to your experienced bug-management hands 
:-)

-- 
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 not compatible" when running on s390x host

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1864164/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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/mlstdutils/guestfs_config.ml
let host_cpu = "x86_64"
libguestfs-OrYVmJ/libguestfs-1.40.2/debian/build-3/common/mlstdutils/guestfs_config.ml
let host_cpu = "x86_64"
libguestfs-OrYVmJ/libguestfs-1.40.2/debian/build-1/common/mlstdutils/guestfs_config.ml
let host_cpu = "x86_64"

^^ This is from a x86 host.

The same on s390x:
$ for conf in $(find . -name '*guestfs_config.ml'); do echo $conf; grep cpu 
$conf; done
./common/mlstdutils/guestfs_config.ml
let host_cpu = "x86_64"
./debian/build-2/common/mlstdutils/guestfs_config.ml
let host_cpu = "s390x"
./debian/build-3/common/mlstdutils/guestfs_config.ml
let host_cpu = "s390x"
./debian/build-1/common/mlstdutils/guestfs_config.ml
let host_cpu = "s390x"

Again matching the config:
  checking host CPU and C ABI... s390x

@Richard - any obvious next steps where to look why this might have gone
wrong?

-- 
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 not compatible" when running on s390x host

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1864164/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 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 not compatible" when running on s390x host

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1864164/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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
amd64
i586
i386
x86_64
minix
linux
hurd
...

Not sure if that helps anything, but it has no s390x in the list at
least.

-- 
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 not compatible" when running on s390x host

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1864164/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 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 not compatible" when running on s390x host

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1864164/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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-silent-rules --libdir=\${prefix}/lib/s390x-linux-gnu 
--runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking 
--disable-silent-rules --disable-gnulib-tests --with-readline --disable-haskell 
--with-guestfs-path=/usr/lib/s390x-linux-gnu/guestfs 
--with-qemu=qemu-system-s390x --with-supermin-extra-options=--use-installed 
--with-java=no --without-java --disable-fuse --disable-ocaml --disable-perl 
--disable-erlang --disable-gobject RUBY=ruby2.5 "RAKE=ruby2.5 -S rake" 
PYTHON=python2.7 LUA=lua5.3 PHP=php7.3 PHPIZE=phpize7.3

cd debian/build-2 && ../../configure --build=s390x-linux-gnu
--prefix=/usr --includedir=\${prefix}/include
--mandir=\${prefix}/share/man --infodir=\${prefix}/share/info
--sysconfdir=/etc --localstatedir=/var --disable-silent-rules
--libdir=\${prefix}/lib/s390x-linux-gnu --runstatedir=/run --disable-
maintainer-mode --disable-dependency-tracking --disable-silent-rules
--disable-gnulib-tests --with-readline --disable-haskell --with-guestfs-
path=/usr/lib/s390x-linux-gnu/guestfs --with-qemu=qemu-system-s390x
--with-supermin-extra-options=--use-installed --with-java=no --without-
java --disable-fuse --disable-ocaml --disable-perl --disable-erlang
--disable-gobject --disable-ruby PYTHON=python3.7 LUA=lua5.2 --disable-
php

cd debian/build-3 && ../../configure --build=s390x-linux-gnu
--prefix=/usr --includedir=\${prefix}/include
--mandir=\${prefix}/share/man --infodir=\${prefix}/share/info
--sysconfdir=/etc --localstatedir=/var --disable-silent-rules
--libdir=\${prefix}/lib/s390x-linux-gnu --runstatedir=/run --disable-
maintainer-mode --disable-dependency-tracking --disable-silent-rules
--disable-gnulib-tests --with-readline --disable-haskell --with-guestfs-
path=/usr/lib/s390x-linux-gnu/guestfs --with-qemu=qemu-system-s390x
--with-supermin-extra-options=--use-installed --enable-install-daemon
--with-java=/usr/lib/jvm/default-java JNI_INSTALL_DIR=\${libdir}/jni
--disable-ruby PYTHON=python3.8 LUA=lua5.1 --disable-php

Those are for different Ruby, Python, Lua, and PHP versions but each of them 
reported
  checking host CPU and C ABI... s390x

-- 
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 not compatible" when running on s390x host

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1864164/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 was pulling the copy from the source
directory (ie. the one from the tarball).

I'll ask my colleague if he remembers that bug.

-- 
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 not compatible" when running on s390x host

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1864164/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864164

Title:
  virt-customize fails with "host cpu (x86_64) and guest arch (s390x)
  are not compatible" when running on s390x host

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1864164/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version   Architecture Description
+++--=--==
ii  libguestfs-tools 1:1.40.2-2ubuntu8 s390xguest disk image management 
system - tools

That is the version in Focal atm (20.04)

-- 
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 not compatible" when running on s390x host

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1864164/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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.qcow2: QEMU QCOW2 Image (v2), 
2361393152 bytes

But already on the first image (s390x to stay native):
$ sudo virt-customize -a focal-s390x-cloudimage.qcow2 --run-command 'touch 
virt-hello.txt'
[   0.0] Examining the guest ...
[  31.6] Setting a random seed
virt-customize: warning: random seed could not be set for this type of 
guest
[  31.6] Setting the machine ID in /etc/machine-id
[  31.6] Running: touch virt-hello.txt
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.

If reporting bugs, run virt-customize with debugging enabled and include 
the complete output:

  virt-customize -v -x [...]


With that, for now, I can confirm the bug as reported

** Changed in: libguestfs (Ubuntu)
   Status: New => Confirmed

-- 
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 not compatible" when running on s390x host

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1864164/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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/+source/libguestfs/1:1.40.2-2ubuntu8
There select the architecture you want to look at
e.g. 
https://launchpad.net/ubuntu/+source/libguestfs/1:1.40.2-2ubuntu8/+build/17951576
And there select the buildlog (or packages if you look for those)
e.g. 
https://launchpadlibrarian.net/448073440/buildlog_ubuntu-focal-s390x.libguestfs_1%3A1.40.2-2ubuntu8_BUILDING.txt.gz

And as expected s390x is correctly detected there:
checking for struct timeval... yes
checking for wide-enough struct timeval.tv_sec member... yes
checking host CPU and C ABI... s390x
checking for ld... /usr/bin/ld -m elf64_s390
checking if the linker (/usr/bin/ld -m elf64_s390) is GNU ld... yes

-- 
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 not compatible" when running on s390x host

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1864164/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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=1%3A1.40.2-7%2Bb1=s390x).

You should see in the ./configure step:

checking host CPU and C ABI... s390x
...
config.status: creating common/mlstdutils/guestfs_config.ml

This would put the string "s390x" into Guestfs_config.host_cpu, which would
be copied to virt-customize and printed in that error message.

-- 
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 not compatible" when running on s390x host

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1864164/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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)
  are not compatible" when running on s390x host

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1864164/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 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 not compatible" when running on s390x host

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1864164/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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:
  virt-customize fails with "host cpu (x86_64) and guest arch (s390x)
  are not compatible" when running on s390x host

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1864164/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs