Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Michael Opdenacker <michael.opdenacker@rootcommit.com>
To: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
Cc: michael.opdenacker@rootcommit.com,
	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: Tue, 19 May 2026 18:24:36 +0200	[thread overview]
Message-ID: <766ed885-2fd7-4752-8049-a8118a916c70@rootcommit.com> (raw)
In-Reply-To: <9910b568-95f2-43ce-921f-3556482854d1@bootlin.com>

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.

-- 
Root Commit
Embedded Linux Training and Consulting
https://rootcommit.com



  reply	other threads:[~2026-05-19 16:24 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 [this message]
2026-05-20  8:08         ` Joao Marcos Costa

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=766ed885-2fd7-4752-8049-a8118a916c70@rootcommit.com \
    --to=michael.opdenacker@rootcommit.com \
    --cc=festevam@gmail.com \
    --cc=joaomarcos.costa@bootlin.com \
    --cc=khem.raj@oss.qualcomm.com \
    --cc=marek.vasut@mailbox.org \
    --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