[opensuse-buildservice] Error while trying to build a Kiwi appliance with OBS
Hi, everyone! I'm trying to build this Kiwi appliance with OBS: https://build.opensuse.org/package/show/home:kamarada:15.1:dev/Linux-Kamarad... And it is failing with: [ 3950s] /usr/src/packages/SOURCES/repos/openSUSE:Leap:15.1:Update/standard/repodata: [ 3950s] total 24 [ 3950s] drwxr-xr-x 2 root root 4096 Jun 26 16:31 . [ 3950s] drwxr-xr-x 3 root root 4096 Jun 26 16:31 .. [ 3950s] -rw-r--r-- 1 root root 1350 Jun 26 16:31 repomd.xml [ 3950s] -rw-r--r-- 1 root root 134 Jun 26 16:31 primary.xml.gz [ 3950s] -rw-r--r-- 1 root root 123 Jun 26 16:31 filelists.xml.gz [ 3950s] -rw-r--r-- 1 root root 123 Jun 26 16:31 other.xml.gz [ 3950s] TOO LARGE - Current size 1198784512 (max 1000000000) [ 3950s] /usr/lib/build/kiwi_post_run script failed! [ 3950s] [ 3950s] cloud131 failed "build appliance.kiwi" at Wed Jun 26 17:34:46 UTC 2019. Full build log: https://build.opensuse.org/public/build/home:kamarada:15.1:dev/images/x86_64... It seems the ISO image has been created, so I don't know why the result was "failed". Curiously, if I build it locally with osc, it fails too, but with a different error message, right before creating the ISO image: $ osc up $ osc service localrun # retrieves code from GitHub $ osc build images [ 581s] [ INFO ]: 19:03:57 | Creating system image [ 581s] [ INFO ]: 19:03:57 | Using following live ISO metadata: ... [ 582s] [ INFO ]: 19:03:58 | Using calculated size: 5765 MB [ 582s] [ DEBUG ]: 19:03:58 | EXEC: [qemu-img create /tmp/tmpd7jfybd_ 5765M] [ 582s] [ DEBUG ]: 19:03:58 | EXEC: [losetup -f --show /tmp/tmpd7jfybd_] [ 583s] [ DEBUG ]: 19:03:59 | EXEC: Failed with stderr: losetup: /tmp/tmpd7jfybd_: failed to set up loop device: No such file or directory [ 583s] , stdout: (no output on stdout) [ 583s] [ ERROR ]: 19:03:59 | KiwiCommandError: losetup: stderr: losetup: /tmp/tmpd7jfybd_: failed to set up loop device: No such file or directory [ 583s] , stdout: (no output on stdout) [ 583s] [ INFO ]: 19:03:59 | Cleaning up LiveImageBuilder instance I'm able to build that appliance locally with Kiwi: $ git clone https://github.com/kamarada/Linux-Kamarada-GNOME.git $ cd Linux-Kamarada-GNOME $ git checkout 15.1-dev $ sh build.sh # it is a helper script which invokes Kiwi That's why I know that is an OBS problem. Any ideas on what is going wrong? Thank you! Antonio The Linux Kamarada Project http://kamarada.github.io/ -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Wed, Jun 26, 2019 at 04:07:29PM -0300, Linux Kamarada wrote:
Hi, everyone!
I'm trying to build this Kiwi appliance with OBS:
https://build.opensuse.org/package/show/home:kamarada:15.1:dev/Linux-Kamarad...
And it is failing with:
[ 3950s] /usr/src/packages/SOURCES/repos/openSUSE:Leap:15.1:Update/standard/repodata: [ 3950s] total 24 [ 3950s] drwxr-xr-x 2 root root 4096 Jun 26 16:31 . [ 3950s] drwxr-xr-x 3 root root 4096 Jun 26 16:31 .. [ 3950s] -rw-r--r-- 1 root root 1350 Jun 26 16:31 repomd.xml [ 3950s] -rw-r--r-- 1 root root 134 Jun 26 16:31 primary.xml.gz [ 3950s] -rw-r--r-- 1 root root 123 Jun 26 16:31 filelists.xml.gz [ 3950s] -rw-r--r-- 1 root root 123 Jun 26 16:31 other.xml.gz [ 3950s] TOO LARGE - Current size 1198784512 (max 1000000000) [ 3950s] /usr/lib/build/kiwi_post_run script failed!
I can't help you much, because this is not a build service problem at all but a intentional limit in the kiwi_post_run script from the "live-kiwi-hook" package. So you'll need to ask the package maintainer about this. The package seems to be about checking if the openSUSE Live Appliance gets too big, so I don't even know if it should be installed for your build or not. You have a "Support: live-kiwi-hook" in your project configuration, so I assume you want it. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Thu, Jun 27, 2019 at 6:22 AM Michael Schroeder <mls@suse.de> wrote:
The package seems to be about checking if the openSUSE Live Appliance gets too big, so I don't even know if it should be installed for your build or not. You have a "Support: live-kiwi-hook" in your project configuration, so I assume you want it.
Thank you, Michael, it was that! I commented the line with the live-kiwi-hook package and OBS successfully built my image. I copied that project configuration from here: https://build.opensuse.org/project/prjconf/openSUSE:Leap:15.1:Images Antonio The Linux Kamarada Project http://kamarada.github.io/ -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Linux Kamarada
-
Michael Schroeder