From owner-freebsd-uboot@freebsd.org Thu Aug 2 04:09:36 2018 Return-Path: Delivered-To: freebsd-uboot@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 105DA10553BB; Thu, 2 Aug 2018 04:09:36 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6FE7670876; Thu, 2 Aug 2018 04:09:35 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 64a9ec56; Thu, 2 Aug 2018 06:09:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=gxUiUJ/TqU334RP/lTmRIPsrUc8=; b=SKgHCh+zLnpGmmatJVmsb4XlsytY YSGVgADhoHmh/c/UWkSLPAZ4cgScYWDkVEhQZHEolvpaA03GbZJxM0dzFxGRwE/w CuifkvM/xCl6QZt3tD/TP5zTCFN4m67gg94OvrokHmoVN0JRd2EKGhVs+GxWTk3i ncopwiqS77WX+OQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=CqTBUVs0GNj+mUmbnxNFDizSTjfi8Ck69xvDuJaHjHJK8n13p3hLqoql b6HWNSILpbC2ozVh3Voez9F68INACG4s9CJ9+3/nGoMNyCIGK5GlpfuBsn/J8c8P nZYhUDtoN6wxZRFdLUsEjnVC4IVEZrdUbrAfV+cPMbxTfDdF/O0= Received: from skull.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 8d1b1ea1 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Thu, 2 Aug 2018 06:09:27 +0200 (CEST) Date: Thu, 2 Aug 2018 06:09:27 +0200 From: Emmanuel Vadot To: Mark Millard Cc: Mark Millard via freebsd-uboot , freebsd-arm Subject: Re: poudriere-devel build of sysutils/u-boot-pine64 | u-boot-pine64-2018.07_1 failed Message-Id: <20180802060927.72eadf5b1f8fe8bcf8860dc3@bidouilliste.com> In-Reply-To: References: <451D906A-3807-4029-BFFA-1A00AD8FB0F9@yahoo.com> <6D377AEB-C359-4DC3-A95F-2A4A72CBF090@yahoo.com> <20180801095942.91dfc4d5907b75b4fe63c1d0@bidouilliste.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-uboot@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of uboot with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2018 04:09:36 -0000 On Wed, 1 Aug 2018 07:02:08 -0700 Mark Millard via freebsd-uboot wrote: > > > On 2018-Aug-1, at 12:59 AM, Emmanuel Vadot wrote: > > > On Tue, 31 Jul 2018 23:02:27 -0700 > > Mark Millard via freebsd-arm wrote: > > > >> On 2018-Jul-31, at 10:37 PM, Mark Millard 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 \; echo \#include \; echo \#include \; echo \#include \; echo \#include \; echo \#include \;) < 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/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 > >> */ > >> > >> #ifndef _SUNXI_CPU_H > >> #define _SUNXI_CPU_H > >> > >> #if defined(CONFIG_MACH_SUN9I) > >> #include > >> #else > >> #include > >> #endif > >> > >> #define SOCID_A64 0x1689 > >> #define SOCID_H3 0x1680 > >> #define SOCID_H5 0x1718 > >> #define SOCID_R40 0x1701 > >> > >> #endif /* _SUNXI_CPU_H */ > >> > >> . . . > > > > 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. Well it's a port and you are building via poudriere so just put the log file (the full log file) somewhere so we can have a look. Also arch, ports tree revision, blah, the usual suspects. > > 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. > > Good to know that you can build it. Thanks for letting me know. > > > === > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) > > _______________________________________________ > freebsd-uboot@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-uboot > To unsubscribe, send any mail to "freebsd-uboot-unsubscribe@freebsd.org" -- Emmanuel Vadot