Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Aug 2018 07:02:08 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Emmanuel Vadot <manu@bidouilliste.com>
Cc:        freebsd-uboot@freebsd.org, freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: poudriere-devel build of sysutils/u-boot-pine64 | u-boot-pine64-2018.07_1 failed
Message-ID:  <E88C0B8E-F28C-457E-8A13-4CB593F72FA3@yahoo.com>
In-Reply-To: <20180801095942.91dfc4d5907b75b4fe63c1d0@bidouilliste.com>
References:  <451D906A-3807-4029-BFFA-1A00AD8FB0F9@yahoo.com> <6D377AEB-C359-4DC3-A95F-2A4A72CBF090@yahoo.com> <20180801095942.91dfc4d5907b75b4fe63c1d0@bidouilliste.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On 2018-Aug-1, at 12:59 AM, Emmanuel Vadot <manu @ bidouilliste.com> =
wrote:

> On Tue, 31 Jul 2018 23:02:27 -0700
> Mark Millard via freebsd-arm <freebsd-arm t freebsd.org> wrote:
>=20
>> On 2018-Jul-31, at 10:37 PM, Mark Millard <marklmi at yahoo.com> =
wrote:
>>=20
>>> [It will likely be some time before I'll be able to look into
>>> the cause of the below. After u-boot-pine64 failed the following
>>> succeeded during the same bulk build:
>>> sysutils/u-boot-rpi3 | u-boot-rpi3-2018.07_1
>>> sysutils/u-boot-rpi2 | u-boot-rpi2-2018.07_1
>>> sysutils/u-boot-sinovoip-bpi-m3 | u-boot-sinovoip-bpi-m3-2018.07_1
>>> ]
>>>=20
>>> My attempt to update port packages based on -r476026 source code
>>> via poudriere-devel got:
>>>=20
>>> cc -Wp,-MD,scripts/dtc/.fstree.o.d -Wall -Wstrict-prototypes -O2 =
-fomit-frame-pointer     -Iscripts/dtc -Iscripts/dtc/libfdt -c -o =
scripts/dtc/fstree.o scripts/dtc/fstree.c
>>> set -e; : '  CHK     include/generated/generic-asm-offsets.h'; mkdir =
-p include/generated/;     (set -e; echo "#ifndef =
__GENERIC_ASM_OFFSETS_H__"; echo "#define __GENERIC_ASM_OFFSETS_H__"; =
echo "/*"; echo " * DO NOT MODIFY."; echo " *"; echo " * This file was =
generated by Kbuild"; echo " */"; echo ""; sed -ne  =
"s:[[:space:]]*\.ascii[[:space:]]*\"\(.*\)\":\1:; /^->/{s:->#\(.*\):/* =
\1 */:; s:^->\([^ ]*\) [\$#]*\([-0-9]*\) \(.*\):#define \1 \2 /* \3 */:; =
s:^->\([^ ]*\) [\$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; s:->::; =
p;}"; echo ""; echo "#endif" ) < lib/asm-offsets.s > =
include/generated/generic-asm-offsets.h.tmp; if [ -r =
include/generated/generic-asm-offsets.h ] && cmp -s =
include/generated/generic-asm-offsets.h =
include/generated/generic-asm-offsets.h.tmp; then rm -f =
include/generated/generic-asm-offsets.h.tmp; else : '  UPD     =
include/generated/generic-asm-offsets.h'; mv -f =
include/generated/generic-asm-offsets.h.tmp =
include/generated/generic-asm-offsets.h; fi
>>> cc -Wp,-MD,scripts/dtc/.data.o.d -Wall -Wstrict-prototypes -O2 =
-fomit-frame-pointer     -Iscripts/dtc -Iscripts/dtc/libfdt -c -o =
scripts/dtc/data.o scripts/dtc/data.c
>>> if [ -d arch/arm/mach-sunxi/include/mach ]; then        \
>>>       dest=3D../../mach-sunxi/include/mach;                     \
>>> else                                                            \
>>>       dest=3Darch-sunxi;                        \
>>> fi;                                                             \
>>> ln -fsn $dest arch/arm/include/asm/arch
>>> fixdep: error opening config file: arch/arm/include/asm/arch/cpu.h: =
No such file or directory
>>> set -e; : '  CHK     include/config.h'; mkdir -p include/;      =
(echo "/* Automatically generated - do not edit */"; for i in $(echo "" =
| sed 's/,/ /g'); do echo \#define CONFIG_$i | sed '/=3D/ {s/=3D/   /;q; =
} ; { s/$/ 1/; }'; done; echo \#define CONFIG_BOARDDIR board/sunxi; echo =
\#include \<config_defaults.h\>; echo \#include \<config_uncmd_spl.h\>; =
echo \#include \<configs/"sun50i".h\>; echo \#include \<asm/config.h\>; =
echo \#include \<linux/kconfig.h\>; echo \#include =
\<config_fallbacks.h\>;) < scripts/Makefile.autoconf > =
include/config.h.tmp; if [ -r include/config.h ] && cmp -s =
include/config.h include/config.h.tmp; then rm -f include/config.h.tmp; =
else : '  UPD     include/config.h'; mv -f include/config.h.tmp =
include/config.h; fi
>>> gmake[2]: *** [Kbuild:65: arch/arm/lib/asm-offsets.s] Error 2
>>> gmake[1]: *** [Makefile:1434: prepare0] Error 2
>>> gmake[1]: *** Waiting for unfinished jobs....
>>>=20
>>> . . .
>>>=20
>>> cc -Wp,-MD,scripts/dtc/.dtc-lexer.lex.o.d -Wall -Wstrict-prototypes =
-O2 -fomit-frame-pointer     -Iscripts/dtc -Iscripts/dtc/libfdt -c -o =
scripts/dtc/dtc-lexer.lex.o scripts/dtc/dtc-lexer.lex.c
>>> cc -Wp,-MD,scripts/dtc/.dtc-parser.tab.o.d -Wall -Wstrict-prototypes =
-O2 -fomit-frame-pointer     -Iscripts/dtc -Iscripts/dtc/libfdt -c -o =
scripts/dtc/dtc-parser.tab.o scripts/dtc/dtc-parser.tab.c
>>> scripts/dtc/pylibfdt/libfdt_wrap.c:4656:10: warning: explicitly =
assigning value of variable of type 'const void *' to itself =
[-Wself-assign]
>>>   fdt1 =3D fdt1; /* avoid unused variable warning */
>>>   ~~~~ ^ ~~~~
>>> scripts/dtc/pylibfdt/libfdt_wrap.c:4681:10: warning: explicitly =
assigning value of variable of type 'const void *' to itself =
[-Wself-assign]
>>>   fdt1 =3D fdt1; /* avoid unused variable warning */
>>>   ~~~~ ^ ~~~~
>>>=20
>>> . . .
>>>=20
>>> scripts/dtc/pylibfdt/libfdt_wrap.c:8418:10: warning: explicitly =
assigning value of variable of type 'const void *' to itself =
[-Wself-assign]
>>>   fdt1 =3D fdt1; /* avoid unused variable warning */
>>>   ~~~~ ^ ~~~~
>>> scripts/dtc/pylibfdt/libfdt_wrap.c:8427:10: warning: explicitly =
assigning value of variable of type 'const void *' to itself =
[-Wself-assign]
>>>   fdt2 =3D fdt2; /* avoid unused variable warning */
>>>   ~~~~ ^ ~~~~
>>> cc  -o scripts/dtc/dtc scripts/dtc/dtc.o scripts/dtc/flattree.o =
scripts/dtc/fstree.o scripts/dtc/data.o scripts/dtc/livetree.o =
scripts/dtc/treesource.o scripts/dtc/srcpos.o scripts/dtc/checks.o =
scripts/dtc/util.o scripts/dtc/dtc-lexer.lex.o =
scripts/dtc/dtc-parser.tab.o =20
>>> 98 warnings generated.
>>> gmake[1]: Leaving directory =
'/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07'
>>> =3D=3D=3D> Compilation failed unexpectedly.
>>> Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the =
failure to
>>> the maintainer.
>>> *** Error code 1
>>>=20
>>> Stop.
>>> make: stopped in /usr/ports/sysutils/u-boot-pine64
>>> =3D>> Cleaning up wrkdir
>>> =3D=3D=3D>  Cleaning for u-boot-pine64-2018.07_1
>>> build of sysutils/u-boot-pine64 | u-boot-pine64-2018.07_1 ended at =
Tue Jul 31 20:27:47 PDT 2018
>>> build time: 00:08:08
>>> !!! build failure encountered !!!
>>>=20
>>=20
>> FYI (from expansing the .tbz):
>>=20
>> # find /wrkdirs/usr/ports/sysutils/u-boot-pine64/ -name "cpu*.h" | =
more
>> =
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/cpu=
/armv8/fsl-layerscape/cpu.h
>> =
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/cpu=
/armv8/s32v234/cpu.h
>> =
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/inc=
lude/asm/arch-am33xx/cpu.h
>> =
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/inc=
lude/asm/arch-armada100/cpu.h
>> =
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/inc=
lude/asm/arch-fsl-layerscape/cpu.h
>> =
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/inc=
lude/asm/arch-imx/cpu.h
>> =
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/inc=
lude/asm/arch-lpc32xx/cpu.h
>> =
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/inc=
lude/asm/arch-omap3/cpu.h
>> =
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/inc=
lude/asm/arch-omap4/cpu.h
>> =
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/inc=
lude/asm/arch-omap5/cpu.h
>> =
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/inc=
lude/asm/arch-sunxi/cpu.h
>> =
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/inc=
lude/asm/arch-sunxi/cpu_sun4i.h
>> =
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/inc=
lude/asm/arch-sunxi/cpu_sun9i.h
>> =
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/inc=
lude/asm/arch-sunxi/cpucfg.h
>> =
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/mac=
h-exynos/include/mach/cpu.h
>> =
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/mac=
h-kirkwood/include/mach/cpu.h
>> =
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/mac=
h-mvebu/include/mach/cpu.h
>> =
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/mac=
h-orion5x/include/mach/cpu.h
>> =
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/mac=
h-s5pc1xx/include/mach/cpu.h
>> =
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/mac=
h-tegra/cpu.h
>> =
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/m68k/cp=
u/mcf52x2/cpu.h
. . .
>> =
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/x86/inc=
lude/asm/cpu_x86.h
>> =
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/include/cpu.=
h
>> =
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/include/conf=
ig/display/cpuinfo.h
>> =
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/include/conf=
ig/sys/cpu.h
>> =
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/post/lib_pow=
erpc/cpu_asm.h
>>=20
>> It makes me wonder if the failing:
>>=20
>> fixdep: error opening config file: arch/arm/include/asm/arch/cpu.h: =
No such file or directory
>>=20
>> was supposed to reference:
>>=20
>> =
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/inc=
lude/asm/arch-sunxi/cpu.h
>>=20
>> Looking . . .
>>=20
>> # more =
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/inc=
lude/asm/arch-sunxi/cpu.h
>> /* SPDX-License-Identifier: GPL-2.0+ */
>> /*
>> * (C) Copyright 2015 Hans de Goede <hdegoede@redhat.com>
>> */
>>=20
>> #ifndef _SUNXI_CPU_H
>> #define _SUNXI_CPU_H
>>=20
>> #if defined(CONFIG_MACH_SUN9I)
>> #include <asm/arch/cpu_sun9i.h>
>> #else
>> #include <asm/arch/cpu_sun4i.h>
>> #endif
>>=20
>> #define SOCID_A64       0x1689
>> #define SOCID_H3        0x1680
>> #define SOCID_H5        0x1718
>> #define SOCID_R40       0x1701
>>=20
>> #endif /* _SUNXI_CPU_H */
>>=20
>> . . .
>=20
> Again too much context for unneeded stuff and no context at all for
> what matters.

Definitely true that I do not yet know what matters for this context.
I'll continue to try to figure that out.

> Are you familiar with Aesop fable "The Shepherd's Boy and the Wolf" ?
> One day you will report something important but no one will listen to
> you.
>=20
> Anyhow, I've just build succesfully u-boot-pine64 with poudriere and
> poudriere-devel from package on my amd64 box.

Good to know that you can build it. Thanks for letting me know.


=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E88C0B8E-F28C-457E-8A13-4CB593F72FA3>