Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jul 2018 23:02:27 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        freebsd-arm <freebsd-arm@freebsd.org>, freebsd-uboot@freebsd.org
Subject:   Re: poudriere-devel build of sysutils/u-boot-pine64 | u-boot-pine64-2018.07_1 failed
Message-ID:  <6D377AEB-C359-4DC3-A95F-2A4A72CBF090@yahoo.com>
In-Reply-To: <451D906A-3807-4029-BFFA-1A00AD8FB0F9@yahoo.com>
References:  <451D906A-3807-4029-BFFA-1A00AD8FB0F9@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2018-Jul-31, at 10:37 PM, Mark Millard <marklmi at yahoo.com> wrote:

> [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

FYI (from expansing the .tbz):

# 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/mips/in=
clude/asm/cpu-features.h
=
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/mips/in=
clude/asm/mach-generic/cpu-feature-overrides.h
=
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/incl=
ude/asm/cpu_sh2.h
=
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/incl=
ude/asm/cpu_sh3.h
=
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/incl=
ude/asm/cpu_sh4.h
=
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/incl=
ude/asm/cpu_sh7203.h
=
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/incl=
ude/asm/cpu_sh7264.h
=
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/incl=
ude/asm/cpu_sh7269.h
=
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/incl=
ude/asm/cpu_sh7706.h
=
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/incl=
ude/asm/cpu_sh7710.h
=
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/incl=
ude/asm/cpu_sh7720.h
=
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/incl=
ude/asm/cpu_sh7722.h
=
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/incl=
ude/asm/cpu_sh7723.h
=
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/incl=
ude/asm/cpu_sh7724.h
=
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/incl=
ude/asm/cpu_sh7734.h
=
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/incl=
ude/asm/cpu_sh7750.h
=
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/incl=
ude/asm/cpu_sh7752.h
=
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/incl=
ude/asm/cpu_sh7753.h
=
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/incl=
ude/asm/cpu_sh7757.h
=
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/incl=
ude/asm/cpu_sh7763.h
=
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/incl=
ude/asm/cpu_sh7780.h
=
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/incl=
ude/asm/cpu_sh7785.h
=
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/x86/inc=
lude/asm/arch-broadwell/cpu.h
=
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/x86/inc=
lude/asm/cpu.h
=
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/x86/inc=
lude/asm/cpu_common.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

It makes me wonder if the failing:

fixdep: error opening config file: arch/arm/include/asm/arch/cpu.h: No =
such file or directory

was supposed to reference:

=
/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/inc=
lude/asm/arch-sunxi/cpu.h

Looking . . .

# 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>
 */

#ifndef _SUNXI_CPU_H
#define _SUNXI_CPU_H

#if defined(CONFIG_MACH_SUN9I)
#include <asm/arch/cpu_sun9i.h>
#else
#include <asm/arch/cpu_sun4i.h>
#endif

#define SOCID_A64       0x1689
#define SOCID_H3        0x1680
#define SOCID_H5        0x1718
#define SOCID_R40       0x1701

#endif /* _SUNXI_CPU_H */



=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?6D377AEB-C359-4DC3-A95F-2A4A72CBF090>