#4221 closed defect (fixed)

dtc recipe issue -- dependency on yaml.h

Reported by: Joel Sherrill Owned by: kgardas
Priority: normal Milestone: 6.1
Component: tool Version: 6
Severity: normal Keywords:
Cc: Blocked By:

Description (last modified by Chris Johns)

This shows up on FreeBSD and may just be a matter of me not knowing the right package to install. Which yaml development package should be loaded. But it does fail.

         CC fstree.o
         CC livetree.o
         CC treesource.o
gmake: *** No rule to make target 'yaml.h', needed by 'yamltree.o'.  Stop.
shell cmd failed: /bin/sh -ex  /usr/home/joel/rtems-cron-6/rtems-source-builder/rtems/build/dtc-1.6.0-x86_64-freebsd12.2-1/do-build
error: building dtc-1.6.0-x86_64-freebsd12.2-1

Suggestions appreciated.
  See error report: rsb-report-dtc-1.6.0-x86_64-freebsd12.2-1.txt

Change History (6)

comment:1 Changed on 01/23/21 at 23:32:28 by Chris Johns

$ find /usr/local/include -name yaml.h                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
$ pkg which /usr/local/include/yaml.h                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
/usr/local/include/yaml.h was installed by package libyaml-0.2.2

A patch to the user manual would be welcome

comment:2 Changed on 01/23/21 at 23:33:27 by Chris Johns

Description: modified (diff)

comment:3 Changed on 01/25/21 at 05:44:59 by Sebastian Huber <sebastian.huber@…>

Owner: set to Sebastian Huber <sebastian.huber@…>
Resolution: fixed
Status: newclosed

In c709017/rtems:



Close #4221.

comment:4 Changed on 01/25/21 at 05:46:44 by Sebastian Huber

Resolution: fixed
Status: closedreopened

Sorry, wrong number in commit.

comment:5 Changed on 11/13/21 at 11:45:48 by kgardas

Owner: changed from Sebastian Huber <sebastian.huber@…> to kgardas
Status: reopenedaccepted

This is a bug in dtc 1.6.0 which shows when yaml library is installed on FreeBSD. I already created a patch for it just to realize that 1.6.1 contains the same fix. Working on dtc-1.6.0 -> 1.6.1 update patch.

comment:6 Changed on 11/18/21 at 17:05:44 by Karel Gardas <karel@…>

Resolution: fixed
Status: acceptedclosed

In f2a8973/rtems-source-builder:

RSB: update dtc 1.6.0 -> dtc 1.6.1

Fixes #4221

Note: the patch updates only dtc 1.6.0 occurrences. It leaves all other
dtc (1.4.x) usages as they are just to not break anything which depends
on older dtc versions.

Note: See TracTickets for help on using tickets.