The following reply was made to PR pkg/54086; it has been noted by GNATS.
From: Leonardo Taccari <leot%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/54086: sysutils/u-boot-bananapi doesn't build with WRKOBJDIR
Date: Fri, 29 Mar 2019 13:11:32 +0100
Hello YAMAMOTO, =
yamt9999%gmail.com@localhost writes:
> [...]
> >Description:
> when WRKOBJDIR is set, it ends up with the following error.
> workaround: unset WRKOBJDIR.
>
>
> CC arch/arm/lib/asm-offsets.s
> CHK include/generated/asm-offsets.h
> UPD include/generated/asm-offsets.h
> SHIPPED scripts/dtc/pylibfdt/libfdt.i
> PYMOD scripts/dtc/pylibfdt/_libfdt.so
> /disks/raid1/work/wrkobjdir/sysutils/u-boot-bananapi/work/u-boot-2018.11=
/scripts/dtc/libfdt/fdt.c:53:17: fatal error: fdt.h: No such file or direc=
tory
> compilation terminated.
> error: command 'cc' failed with exit status 1
> scripts/dtc/pylibfdt/Makefile:27: recipe for target 'scripts/dtc/pylibfd=
t/_libfdt.so' failed
> gmake[3]: *** [scripts/dtc/pylibfdt/_libfdt.so] Error 1
> scripts/Makefile.build:434: recipe for target 'scripts/dtc/pylibfdt' fai=
led
> gmake[2]: *** [scripts/dtc/pylibfdt] Error 2
> scripts/Makefile.build:434: recipe for target 'scripts/dtc' failed
> gmake[1]: *** [scripts/dtc] Error 2
> Makefile:508: recipe for target 'scripts' failed
> gmake: *** [scripts] Error 2
> [...]
JFTR, with WRKOBJDIR set I could not reproduce that on
NetBSD/amd64 8.99.35.
Can you please share all the lines that matches /_libfdt.so/ RE of
${WRKDIR}/.work.log with and without WRKOBJDIR set?