SUSE / machinery

A systems management toolkit for Linux
GNU General Public License v3.0
159 stars 32 forks source link

machinery build fails due to missing jing package #2157

Closed greygoo closed 8 years ago

greygoo commented 8 years ago

When running 'machinery build', it fails with the following error:

Oct-07 15:39:48 <1> : kiwi --build /tmp/machinery-config20161007-16423-1h5ej9t --destdir /tmp/machinery-image20161007-16423-1v250b8 --logfile /tmp/machinery-image20161007-16423-1v250b8/kiwi-terminal-output.log
Oct-07 15:39:48 <1> : kiwi revision: 1726689b2f046383e7f499844facc183cd39156c
Oct-07 15:39:48 <1> : Setting log file to: /tmp/machinery-image20161007-16423-1v250b8/kiwi-terminal-output.log
Oct-07 15:39:48 <1> : Destination: /tmp/machinery-image20161007-16423-1v250b8/build doesn't exist
Oct-07 15:39:48 <1> : --> Creating directory: /tmp/machinery-image20161007-16423-1v250b8/build
Oct-07 15:39:48 <1> : EXEC [mkdir -p /tmp/machinery-image20161007-16423-1v250b8/build]
Oct-07 15:39:48 <1> : EXEC [/usr/bin/uname -m]
Oct-07 15:39:48 <1> : EXEC [/usr/bin/uname -m]
Oct-07 15:39:48 <1> : Description provides no MD5 hash, check
Oct-07 15:39:48 <3> : Schema validation failed
Oct-07 15:39:48 <1> : Automatically upgraded /tmp/machinery-config20161007-16423-1h5ej9t/config.xml to /tmp/machinery-config20161007-16423-1h5ej9t/config.converted.xml
Oct-07 15:39:48 <1> : Reported Line numbers may not match the file /tmp/machinery-config20161007-16423-1h5ej9t/config.xml
Oct-07 15:39:48 <1> : warning: jing not found
Oct-07 15:39:48 <3> : unknown-4a94e30:0: Relax-NG validity error : Invalid sequence in interleave
unknown-4a94e30:0: Relax-NG validity error : Invalid sequence in interleave
unknown-4a94e30:0: Relax-NG validity error : Element image failed to validate content

Oct-07 15:39:48 <1> : Use the jing command for more details
Oct-07 15:39:48 <1> : The following requires jing to be installed
Oct-07 15:39:48 <1> : jing /usr/share/kiwi/modules/KIWISchema.rng /tmp/machinery-config20161007-16423-1h5ej9t/config.converted.xml
Oct-07 15:39:48 <1> : Closing session with ecode: 1
Oct-07 15:39:48 <3> : KIWI exited with error(s)

We ask users to install kiwi and related packages to build images if those packages are missing. We should also add jing to that list

thardeck commented 8 years ago

The jing package is optional according to Marcus, so the issue is that the validation fails in general. Jing only delivers further information what has failed.

So this is a duplicate of #2158.