From: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
To: Michael Opdenacker <michael.opdenacker@rootcommit.com>
Cc: openembedded-core@lists.openembedded.org,
thomas.petazzoni@bootlin.com, quentin.schulz@cherry.de,
marek.vasut@mailbox.org, festevam@gmail.com,
khem.raj@oss.qualcomm.com, ricardo.salveti@oss.qualcomm.com
Subject: Re: [OE-core] [PATCH v2 0/1] u-boot-tools: drop yaml in DT validation
Date: Wed, 20 May 2026 10:08:01 +0200 [thread overview]
Message-ID: <366342bf-aba4-4d37-bb27-ea4bb7045b45@bootlin.com> (raw)
In-Reply-To: <766ed885-2fd7-4752-8049-a8118a916c70@rootcommit.com>
Hello,
On 5/19/26 18:24, Michael Opdenacker wrote:
> Hi João Marcos
>
> On 5/19/26 3:51 PM, Joao Marcos Costa wrote:
>> Hello again,
>>
>> On 5/18/26 21:12, Michael Opdenacker wrote:
>>> Hi João Marcos
>>>
>>> FYI, building the "qemuriscv64" machine is still broken on OE-core
>>> (master), and it's seems likely to be related to this change;
>>>
>>> | /usr/bin/ld: scripts/dtc/yamltree.o: in function `dt_to_yaml':
>>> | yamltree.c:(.text+0x8fa): undefined reference to
>>> `yaml_emitter_initialize'
>>> | /usr/bin/ld: yamltree.c:(.text+0x905): undefined reference to
>>> `yaml_emitter_set_output_file'
>>> | /usr/bin/ld: yamltree.c:(.text+0x912): undefined reference to
>>> `yaml_stream_start_event_initialize'
>>> | /usr/bin/ld: yamltree.c:(.text+0x91d): undefined reference to
>>> `yaml_emitter_emit'
>> (...)
>>
>> This looks very much as the case described here:
>>
>> https://github.com/u-boot/u-boot/commit/807bcd844afeadbfe47ac132524cc7e3b699bc46
>>
>> Which could explain why it wasn't caught in the autobuilder, and why
>> I'm not able to reproduce it in my container that does not natively
>> provides this lib (i.e., no /usr/include/yaml.h).
>
>
> Indeed, I had the "libyaml-dev" package on my Debian 13 system, and the
> problem goes away when I remove it.
> So, this explains why our autobuilder didn't catch this and I'm the only
> one who seems to be impacted.
>
> So, this is a U-Boot issue. However, I wonder why the problem is still
> there while the above commit (present in 2026.04 that we're using) is
> supposed to fix it...
> Thanks again
> Cheers
> Michael.
Well, yes, it was not a definitive solution. In fact, fixing this once
and for all was originally the point of my patch, which is merged into
u-boot's master, but not in 2026.04 tag.
--
Best regards,
João Marcos Costa
prev parent reply other threads:[~2026-05-20 8:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-29 18:06 [PATCH v2 0/1] u-boot-tools: drop yaml in DT validation João Marcos Costa
2026-04-29 18:06 ` [PATCH v2 1/1] " João Marcos Costa
[not found] ` <18AAE61C950BAD92.2435051@lists.openembedded.org>
2026-04-30 21:29 ` [OE-core] " Joao Marcos Costa
2026-05-07 20:05 ` [OE-core] [PATCH v2 0/1] " Ricardo de Araujo (Salveti)
2026-05-18 19:12 ` Michael Opdenacker
2026-05-19 13:23 ` Joao Marcos Costa
2026-05-19 13:51 ` Joao Marcos Costa
2026-05-19 16:24 ` Michael Opdenacker
2026-05-20 8:08 ` Joao Marcos Costa [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=366342bf-aba4-4d37-bb27-ea4bb7045b45@bootlin.com \
--to=joaomarcos.costa@bootlin.com \
--cc=festevam@gmail.com \
--cc=khem.raj@oss.qualcomm.com \
--cc=marek.vasut@mailbox.org \
--cc=michael.opdenacker@rootcommit.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=quentin.schulz@cherry.de \
--cc=ricardo.salveti@oss.qualcomm.com \
--cc=thomas.petazzoni@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox