Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Aug 2018 09:59:42 +0200
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        Mark Millard via 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:  <20180801095942.91dfc4d5907b75b4fe63c1d0@bidouilliste.com>
In-Reply-To: <6D377AEB-C359-4DC3-A95F-2A4A72CBF090@yahoo.com>
References:  <451D906A-3807-4029-BFFA-1A00AD8FB0F9@yahoo.com> <6D377AEB-C359-4DC3-A95F-2A4A72CBF090@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 31 Jul 2018 23:02:27 -0700
Mark Millard via freebsd-arm <freebsd-arm@freebsd.org> wrote:

> 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
> > ]
> > 
> > My attempt to update port packages based on -r476026 source code
> > via poudriere-devel got:
> > 
> >  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=../../mach-sunxi/include/mach;                     \
> > else                                                            \
> >        dest=arch-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 '/=/ {s/=/   /;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....
> > 
> > . . .
> > 
> >  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 = 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 = fdt1; /* avoid unused variable warning */
> >    ~~~~ ^ ~~~~
> > 
> > . . .
> > 
> > scripts/dtc/pylibfdt/libfdt_wrap.c:8418:10: warning: explicitly assigning value of variable of type 'const void *' to itself [-Wself-assign]
> >    fdt1 = 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 = 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  
> > 98 warnings generated.
> > gmake[1]: Leaving directory '/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07'
> > ===> Compilation failed unexpectedly.
> > Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
> > the maintainer.
> > *** Error code 1
> > 
> > Stop.
> > make: stopped in /usr/ports/sysutils/u-boot-pine64
> > =>> Cleaning up wrkdir
> > ===>  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 !!!
> > 
> 
> 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/include/asm/arch-am33xx/cpu.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/include/asm/arch-armada100/cpu.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/include/asm/arch-fsl-layerscape/cpu.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/include/asm/arch-imx/cpu.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/include/asm/arch-lpc32xx/cpu.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/include/asm/arch-omap3/cpu.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/include/asm/arch-omap4/cpu.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/include/asm/arch-omap5/cpu.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/include/asm/arch-sunxi/cpu.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/include/asm/arch-sunxi/cpu_sun4i.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/include/asm/arch-sunxi/cpu_sun9i.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/include/asm/arch-sunxi/cpucfg.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/mach-exynos/include/mach/cpu.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/mach-kirkwood/include/mach/cpu.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/mach-mvebu/include/mach/cpu.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/mach-orion5x/include/mach/cpu.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/mach-s5pc1xx/include/mach/cpu.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/mach-tegra/cpu.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/m68k/cpu/mcf52x2/cpu.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/mips/include/asm/cpu-features.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/mips/include/asm/mach-generic/cpu-feature-overrides.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/include/asm/cpu_sh2.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/include/asm/cpu_sh3.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/include/asm/cpu_sh4.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/include/asm/cpu_sh7203.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/include/asm/cpu_sh7264.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/include/asm/cpu_sh7269.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/include/asm/cpu_sh7706.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/include/asm/cpu_sh7710.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/include/asm/cpu_sh7720.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/include/asm/cpu_sh7722.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/include/asm/cpu_sh7723.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/include/asm/cpu_sh7724.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/include/asm/cpu_sh7734.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/include/asm/cpu_sh7750.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/include/asm/cpu_sh7752.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/include/asm/cpu_sh7753.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/include/asm/cpu_sh7757.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/include/asm/cpu_sh7763.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/include/asm/cpu_sh7780.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/sh/include/asm/cpu_sh7785.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/x86/include/asm/arch-broadwell/cpu.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/x86/include/asm/cpu.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/x86/include/asm/cpu_common.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/x86/include/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/config/display/cpuinfo.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/include/config/sys/cpu.h
> /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/post/lib_powerpc/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/include/asm/arch-sunxi/cpu.h
> 
> Looking . . .
> 
> # more /wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2018.07/arch/arm/include/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 */
> 
> 
> 
> ===
> Mark Millard
> marklmi at yahoo.com
> ( dsl-only.net went
> away in early 2018-Mar)
> 
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"

 Again too much context for unneeded stuff and no context at all for
what matters.
 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.

 Anyhow, I've just build succesfully u-boot-pine64 with poudriere and
poudriere-devel from package on my amd64 box.

-- 
Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180801095942.91dfc4d5907b75b4fe63c1d0>