Date: Thu, 02 Aug 2018 06:43:28 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 230288] sysutil/u-boot-pine64: -r476026 vintage build failed in poudriere-devel (default gcc=8 and WITHOUT_BINUTILS= for -r336693 head context) Message-ID: <bug-230288-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230288 Bug ID: 230288 Summary: sysutil/u-boot-pine64: -r476026 vintage build failed in poudriere-devel (default gcc=3D8 and WITHOUT_BINUTILS=3D for -r336693 head context) Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: marklmi26-fbsd@yahoo.com Created attachment 195756 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D195756&action= =3Dedit . . ./logs/u-boot-pine64-2018.07_1.log [Note: I was told to provide every line of the log file so I did so in the attachment.] See the attachment for the log showing the errors. Context oddities: The environment's buildworld was based on WITHOUT_BINUTILS=3D so ports without BUILD_DEPENDS having devel/binutils (or equivalent) but that try to use tools that would come from such will not find such tools. ( devel/powerpc64-gcc is/was an example for a WITHOUT_BINUTILS=3D world ) The default gcc is set to gcc8 . My /usr/ports/Mk/bsd.port.mk has: STRIP_CMD=3D ${TRUE} .endif DEBUG_FLAGS?=3D -g +.if defined(ALLOW_OPTIMIZATIONS_FOR_WITH_DEBUG) +CFLAGS:=3D ${CFLAGS} ${DEBUG_FLAGS} +.else CFLAGS:=3D ${CFLAGS:N-O*:N-fno-strict*} ${DEBUG_FLAGS} +.endif .if defined(INSTALL_TARGET) INSTALL_TARGET:=3D ${INSTALL_TARGET:S/^install-strip$/install/g} .endif and I put it to use. Other context information: # uname -apKU FreeBSD FBSDUSSD 12.0-CURRENT FreeBSD 12.0-CURRENT r336693M amd64 amd64 1200075 1200075 The "M" is mostly for powerpc family targeting via modern compilers/toolcha= ins. (But I currently do not have access to the powerpc family hardware.) amd64 FreeBSD is running under virtualbox on a macOS machine for my current context. # svnlite info /usr/ports/ | grep "Re[plv]" Relative URL: ^/head Repository Root: svn://svn.freebsd.org/ports Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 Revision: 476026 Last Changed Rev: 476026 I had no problem with the other sysutil/u-boot-* 's that I build, just for pine64. What built fine was: 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 # poudriere jail -l JAILNAME VERSION ARCH METHOD TIMESTAMP PATH FBSDFSSDjail 12.0-CURRENT amd64 null 2017-11-22 10:15:15 /usr/obj/DESTDIRs/clang-amd64-installworld-poud poudriere-devel is using /usr/src (the same source my system is built from). I install /usr/obj/DESTDIRs/clang-amd64-installworld-poud via the following each time I update FreeBSD versions: -j4 installworld distrib-dirs distribution DB_FROM_SRC=3D1 DESTDIR=3D/usr/obj/DESTDIRs/clang-amd64-installworld-poud I do so from the same buildworld result that I install for what I boot in virtualbox. A similar point goes for /usr/ports: poudriere-devel is using what the booted system is using. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230288-7788>