run it on Debian 12 failed. #1

Closed
opened 2024-08-05 14:25:45 +02:00 by magu · 3 comments
magu commented 2024-08-05 14:25:45 +02:00 (Migrated from edugit.org)

apt install kiwi

magu@deb12 ~/D/L/lillix-image (main)> cat /etc/debian_version
12.6

magu@deb12 ~/D/L/lillix-image (main)> kiwi-ng --version
KIWI (next generation) version 9.24.56

magu@deb12 ~/Dev/> git clone https://edugit.org/Teckids/schul-frei/Lillix.git
magu@deb12 ~/Dev> cd Lillix/lillix-image/
magu@deb12 ~/D/L/lillix-image (main) [1]> ls
components/  config.sh*  config.xml  README.md  scenarios/
magu@deb12 ~/D/L/lillix-image (main)> sudo kiwi-ng \
                                                    --profile Teckids-hacknsun-2024-bn \
                                                    system build \
                                                    --description . --target-dir /tmp/lillix-image
[sudo] Passwort für magu:
[ INFO    ]: 13:55:28 | Reading runtime config file: '/etc/kiwi.yml'
[ INFO    ]: 13:55:28 | Loading XML description
[ INFO    ]: 13:55:28 | Support for XML markup available
[ WARNING ]: 13:55:29 | Command "jing" not found in the environment
[ WARNING ]: 13:55:29 | For detailed schema validation report, install: jing
[ INFO    ]: 13:55:29 | Showing only raw library error log:
[ INFO    ]: 13:55:29 | --> /var/tmp/kiwi_xslt-s61bc5r1:1:0:ERROR:RELAXNGV:RELAXNG_ERR_INTERSEQ: Invalid sequence in interleave
/var/tmp/kiwi_xslt-s61bc5r1:1:0:ERROR:RELAXNGV:RELAXNG_ERR_INTERSEQ: Invalid sequence in interleave
/var/tmp/kiwi_xslt-s61bc5r1:1:0:ERROR:RELAXNGV:RELAXNG_ERR_CONTENTVALID: Element image failed to validate content
[ ERROR   ]: 13:55:29 | KiwiDescriptionInvalid: Failed to validate schema and/or schematron rules. Use --debug for more details

apt install jing

[ INFO    ]: 14:08:23 | Reading runtime config file: '/etc/kiwi.yml'
[ INFO    ]: 14:08:23 | Loading XML description
[ INFO    ]: 14:08:23 | Support for XML markup available
[ INFO    ]: 14:08:24 | RelaxNG validation failed. See jing report:
[ INFO    ]: 14:08:24 | --> jing: stderr: [warning] /usr/bin/jing: Unable to locate xml-apis in /usr/share/java
[warning] /usr/bin/jing: Unable to locate avalon-framework in /usr/share/java
[warning] /usr/bin/jing: Unable to locate batik-all in /usr/share/java
, stdout: /var/tmp/kiwi_xslt-niz33ohx:1:71: error: value of attribute "schemaversion" is invalid; must be equal to "7.5"
/var/tmp/kiwi_xslt-niz33ohx:133:147: error: attribute "btrfs_root_is_subvolume" not allowed here; expected attribute "boot", "boot_clone", "bootfilesystem", "bootkernel", "bootpartition", "bootpartsize", "bootprofile", "btrfs_quota_groups", "btrfs_root_is_readonly_snapshot", "btrfs_root_is_snapshot", "bundle_format", "compressed", "derived_from", "devicepersistency", "disk_start_sector", "dosparttable_extended_layout", "editbootconfig", "editbootinstall", "efifatimagesize", "efipartsize", "efiparttable", "embed_integrity_metadata", "embed_verity_metadata", "ensure_empty_tmpdirs", "firmware", "flags", "force_mbr", "format", "formatoptions", "fscreateoptions", "fsmountoptions", "gcelicense", "gpt_hybrid_mbr", "hybridpersistent", "hybridpersistent_filesystem", "initrd_system", "install_continue_on_timeout", "installboot", "installiso", "installprovidefailsafe", "installpxe", "installstick", "integrity_keyfile", "integrity_legacy_hmac", "integrity_metadata_key_description", "kernelcmdline", "luks", "luksOS", "luks_version", "mdraid", "mediacheck", "metadata_path", "overlayroot", "overlayroot_readonly_partsize", "overlayroot_write_partition", "primary", "publisher", "ramonly", "root_clone", "rootfs_label", "selinux_policy", "spare_part", "spare_part_fs", "spare_part_fs_attributes", "spare_part_is_last", "spare_part_mountpoint", "squashfscompression", "standalone_integrity", "target_blocksize", "target_removable", "verity_blocks", "vga", "vhdfixedtag", "volid", "wwid_wait_timeout" or "xen_server"

[ ERROR   ]: 14:08:24 | KiwiDescriptionInvalid: Failed to validate schema and/or schematron rules. Use --debug for more details

apt install libavalon-framework-java libbatik-java

magu@deb12 ~/D/L/lillix-image (main)> sudo kiwi-ng \
                                                                                                    --profile Teckids-hacknsun-2024-bn \
                                                                                                    system build \
                                                                                                    --description . --target-dir /tmp/lillix-image

[ INFO    ]: 14:12:24 | Reading runtime config file: '/etc/kiwi.yml'
[ INFO    ]: 14:12:24 | Loading XML description
[ INFO    ]: 14:12:24 | Support for XML markup available
[ INFO    ]: 14:12:25 | RelaxNG validation failed. See jing report:
[ INFO    ]: 14:12:25 | --> jing: stderr: (no output on stderr), stdout: /var/tmp/kiwi_xslt-oo7h81zu:1:71: error: value of attribute "schemaversion" is invalid; must be equal to "7.5"
/var/tmp/kiwi_xslt-oo7h81zu:133:147: error: attribute "btrfs_root_is_subvolume" not allowed here; expected attribute "boot", "boot_clone", "bootfilesystem", "bootkernel", "bootpartition", "bootpartsize", "bootprofile", "btrfs_quota_groups", "btrfs_root_is_readonly_snapshot", "btrfs_root_is_snapshot", "bundle_format", "compressed", "derived_from", "devicepersistency", "disk_start_sector", "dosparttable_extended_layout", "editbootconfig", "editbootinstall", "efifatimagesize", "efipartsize", "efiparttable", "embed_integrity_metadata", "embed_verity_metadata", "ensure_empty_tmpdirs", "firmware", "flags", "force_mbr", "format", "formatoptions", "fscreateoptions", "fsmountoptions", "gcelicense", "gpt_hybrid_mbr", "hybridpersistent", "hybridpersistent_filesystem", "initrd_system", "install_continue_on_timeout", "installboot", "installiso", "installprovidefailsafe", "installpxe", "installstick", "integrity_keyfile", "integrity_legacy_hmac", "integrity_metadata_key_description", "kernelcmdline", "luks", "luksOS", "luks_version", "mdraid", "mediacheck", "metadata_path", "overlayroot", "overlayroot_readonly_partsize", "overlayroot_write_partition", "primary", "publisher", "ramonly", "root_clone", "rootfs_label", "selinux_policy", "spare_part", "spare_part_fs", "spare_part_fs_attributes", "spare_part_is_last", "spare_part_mountpoint", "squashfscompression", "standalone_integrity", "target_blocksize", "target_removable", "verity_blocks", "vga", "vhdfixedtag", "volid", "wwid_wait_timeout" or "xen_server"

[ ERROR   ]: 14:12:25 | KiwiDescriptionInvalid: Failed to validate schema and/or schematron rules. Use --debug for more details

install another dependencies software?

what next?

notes for Debian 12

apt install kiwi jing libavalon-framework-java libbatik-java
## apt install kiwi ``` magu@deb12 ~/D/L/lillix-image (main)> cat /etc/debian_version 12.6 magu@deb12 ~/D/L/lillix-image (main)> kiwi-ng --version KIWI (next generation) version 9.24.56 magu@deb12 ~/Dev/> git clone https://edugit.org/Teckids/schul-frei/Lillix.git magu@deb12 ~/Dev> cd Lillix/lillix-image/ magu@deb12 ~/D/L/lillix-image (main) [1]> ls components/ config.sh* config.xml README.md scenarios/ ``` ``` magu@deb12 ~/D/L/lillix-image (main)> sudo kiwi-ng \ --profile Teckids-hacknsun-2024-bn \ system build \ --description . --target-dir /tmp/lillix-image [sudo] Passwort für magu: [ INFO ]: 13:55:28 | Reading runtime config file: '/etc/kiwi.yml' [ INFO ]: 13:55:28 | Loading XML description [ INFO ]: 13:55:28 | Support for XML markup available [ WARNING ]: 13:55:29 | Command "jing" not found in the environment [ WARNING ]: 13:55:29 | For detailed schema validation report, install: jing [ INFO ]: 13:55:29 | Showing only raw library error log: [ INFO ]: 13:55:29 | --> /var/tmp/kiwi_xslt-s61bc5r1:1:0:ERROR:RELAXNGV:RELAXNG_ERR_INTERSEQ: Invalid sequence in interleave /var/tmp/kiwi_xslt-s61bc5r1:1:0:ERROR:RELAXNGV:RELAXNG_ERR_INTERSEQ: Invalid sequence in interleave /var/tmp/kiwi_xslt-s61bc5r1:1:0:ERROR:RELAXNGV:RELAXNG_ERR_CONTENTVALID: Element image failed to validate content [ ERROR ]: 13:55:29 | KiwiDescriptionInvalid: Failed to validate schema and/or schematron rules. Use --debug for more details ``` ## apt install jing ``` [ INFO ]: 14:08:23 | Reading runtime config file: '/etc/kiwi.yml' [ INFO ]: 14:08:23 | Loading XML description [ INFO ]: 14:08:23 | Support for XML markup available [ INFO ]: 14:08:24 | RelaxNG validation failed. See jing report: [ INFO ]: 14:08:24 | --> jing: stderr: [warning] /usr/bin/jing: Unable to locate xml-apis in /usr/share/java [warning] /usr/bin/jing: Unable to locate avalon-framework in /usr/share/java [warning] /usr/bin/jing: Unable to locate batik-all in /usr/share/java , stdout: /var/tmp/kiwi_xslt-niz33ohx:1:71: error: value of attribute "schemaversion" is invalid; must be equal to "7.5" /var/tmp/kiwi_xslt-niz33ohx:133:147: error: attribute "btrfs_root_is_subvolume" not allowed here; expected attribute "boot", "boot_clone", "bootfilesystem", "bootkernel", "bootpartition", "bootpartsize", "bootprofile", "btrfs_quota_groups", "btrfs_root_is_readonly_snapshot", "btrfs_root_is_snapshot", "bundle_format", "compressed", "derived_from", "devicepersistency", "disk_start_sector", "dosparttable_extended_layout", "editbootconfig", "editbootinstall", "efifatimagesize", "efipartsize", "efiparttable", "embed_integrity_metadata", "embed_verity_metadata", "ensure_empty_tmpdirs", "firmware", "flags", "force_mbr", "format", "formatoptions", "fscreateoptions", "fsmountoptions", "gcelicense", "gpt_hybrid_mbr", "hybridpersistent", "hybridpersistent_filesystem", "initrd_system", "install_continue_on_timeout", "installboot", "installiso", "installprovidefailsafe", "installpxe", "installstick", "integrity_keyfile", "integrity_legacy_hmac", "integrity_metadata_key_description", "kernelcmdline", "luks", "luksOS", "luks_version", "mdraid", "mediacheck", "metadata_path", "overlayroot", "overlayroot_readonly_partsize", "overlayroot_write_partition", "primary", "publisher", "ramonly", "root_clone", "rootfs_label", "selinux_policy", "spare_part", "spare_part_fs", "spare_part_fs_attributes", "spare_part_is_last", "spare_part_mountpoint", "squashfscompression", "standalone_integrity", "target_blocksize", "target_removable", "verity_blocks", "vga", "vhdfixedtag", "volid", "wwid_wait_timeout" or "xen_server" [ ERROR ]: 14:08:24 | KiwiDescriptionInvalid: Failed to validate schema and/or schematron rules. Use --debug for more details ``` ## apt install libavalon-framework-java libbatik-java ``` magu@deb12 ~/D/L/lillix-image (main)> sudo kiwi-ng \ --profile Teckids-hacknsun-2024-bn \ system build \ --description . --target-dir /tmp/lillix-image [ INFO ]: 14:12:24 | Reading runtime config file: '/etc/kiwi.yml' [ INFO ]: 14:12:24 | Loading XML description [ INFO ]: 14:12:24 | Support for XML markup available [ INFO ]: 14:12:25 | RelaxNG validation failed. See jing report: [ INFO ]: 14:12:25 | --> jing: stderr: (no output on stderr), stdout: /var/tmp/kiwi_xslt-oo7h81zu:1:71: error: value of attribute "schemaversion" is invalid; must be equal to "7.5" /var/tmp/kiwi_xslt-oo7h81zu:133:147: error: attribute "btrfs_root_is_subvolume" not allowed here; expected attribute "boot", "boot_clone", "bootfilesystem", "bootkernel", "bootpartition", "bootpartsize", "bootprofile", "btrfs_quota_groups", "btrfs_root_is_readonly_snapshot", "btrfs_root_is_snapshot", "bundle_format", "compressed", "derived_from", "devicepersistency", "disk_start_sector", "dosparttable_extended_layout", "editbootconfig", "editbootinstall", "efifatimagesize", "efipartsize", "efiparttable", "embed_integrity_metadata", "embed_verity_metadata", "ensure_empty_tmpdirs", "firmware", "flags", "force_mbr", "format", "formatoptions", "fscreateoptions", "fsmountoptions", "gcelicense", "gpt_hybrid_mbr", "hybridpersistent", "hybridpersistent_filesystem", "initrd_system", "install_continue_on_timeout", "installboot", "installiso", "installprovidefailsafe", "installpxe", "installstick", "integrity_keyfile", "integrity_legacy_hmac", "integrity_metadata_key_description", "kernelcmdline", "luks", "luksOS", "luks_version", "mdraid", "mediacheck", "metadata_path", "overlayroot", "overlayroot_readonly_partsize", "overlayroot_write_partition", "primary", "publisher", "ramonly", "root_clone", "rootfs_label", "selinux_policy", "spare_part", "spare_part_fs", "spare_part_fs_attributes", "spare_part_is_last", "spare_part_mountpoint", "squashfscompression", "standalone_integrity", "target_blocksize", "target_removable", "verity_blocks", "vga", "vhdfixedtag", "volid", "wwid_wait_timeout" or "xen_server" [ ERROR ]: 14:12:25 | KiwiDescriptionInvalid: Failed to validate schema and/or schematron rules. Use --debug for more details ``` ## install another dependencies software? ## what next? ## notes for Debian 12 ``` apt install kiwi jing libavalon-framework-java libbatik-java ```
magu commented 2024-08-05 14:25:45 +02:00 (Migrated from edugit.org)

assigned to @nik

assigned to @nik
nik commented 2024-08-07 14:59:02 +02:00 (Migrated from edugit.org)

As indicated by the schema version in the image definition, a newer version of KIWI is required.

Please do not assign random people to issues.

As indicated by the schema version in the image definition, a newer version of KIWI is required. Please do not assign random people to issues.
nik (Migrated from edugit.org) closed this issue 2024-08-07 14:59:02 +02:00
nik commented 2024-08-07 14:59:09 +02:00 (Migrated from edugit.org)

unassigned @nik

unassigned @nik
Sign in to join this conversation.
No labels
Doing
To Do
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
teckids/Lillix-Kiwi#1
No description provided.