[elbe-devel] Elbe build Ubuntu?

Olivier Dion dion at linutronix.de
Thu Apr 30 05:39:07 CEST 2020


On Wed, 29 Apr 2020, Köry Maincent <kory.maincent at bootlin.com> wrote:

>>> This is the error I got:
>>>
>>>     /var/cache/elbe/032dd872-d860-4293-9e6d-320b80b689e6/source.xml:263
>>> error Element 'suite': [facet 'enumeration'] The value 'bionic' is not
>>> an element of the set {'bullseye', 'buster', 'sid', 'stretch'}.
>> 
>> Add the 'bionic' suite to the enumeration of 'suite-initvm' in
>> schema/dbsfed.xsd.  This is only for creating an initvm.  If you want a
>> project with bionic, add the same to 'suite-proj'.
>
> I did add bionic to both enumeration but I still got the issue.
>
>>>
>>>     /var/cache/elbe/032dd872-d860-4293-9e6d-320b80b689e6/source.xml:263
>>> error Element 'suite': 'bionic' is not a valid value of the atomic type
>>> '{https://www.linutronix.de/projects/Elbe}suite-proj'.

The dbschema.xsd is used both on the host and in the initvm.  If you
change it on the host, you will be able to send your xml file to the
initvm.  However, the initvm also need its dbschema.xsd to be updated.

If you have create your initvm without the --devel option, then you need
to edit "/usr/share/xml/elbe-common/dbsfed.xsd".  If you have create the
initvm with the --devel option, you need to edit
"/var/cache/elbe/devel/schema/dbsfed.xsd".  Both of these paths are _in
the initvm_ not on the host.


Here's what I get when nothing is changed:
----------------------------------------------------------------------
elbe preprocess failed.
examples/x86_64-docker.xml:22 error Element 'suite': [facet
'enumeration'] The value 'bionic' is not an element of the set
{'bullseye', 'buster', 'sid', 'stretch'}.

Giving up
----------------------------------------------------------------------
You can see that the preprocess as failed on the _host side_.

Here's what I get when I change dbsfed.xsd only on the host side
----------------------------------------------------------------------
elbe control set_xml failed2
Server returned error:

Elbe XML Validation Error
/var/cache/elbe/8522a0ca-d4bc-4c47-a1b8-9297184f474e/source.xml:22 error
Element 'suite': [facet 'enumeration'] The value 'bionic' is not an
element of the set {'bullseye', 'buster', 'sid', 'stretch'}.
/var/cache/elbe/8522a0ca-d4bc-4c47-a1b8-9297184f474e/source.xml:22 error
Element 'suite': 'bionic' is not a valid value of the atomic type
'{https://www.linutronix.de/projects/Elbe}suite-proj'.


Giving up
----------------------------------------------------------------------
You can see that the preprocess as failed on the _initvm side_.

To change the value on the initvm side, attach to it with either SSH if
you've enabled it or use 'elbe initvm attach'.

-- 
Olivier Dion
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen



More information about the elbe-devel mailing list