Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Feb 2018 15:30:34 -0800
From:      Mark Millard <markmi@dsl-only.net>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org
Subject:   Re: svn commit: r460968 - in head/devel: aarch64-binutils aarch64-none-elf-binutils amd64-binutils arm-gnueabi-binutils arm-none-eabi-binutils avr-binutils mingw32-binutils mips-binutils mips64-binutil...
Message-ID:  <D30E503E-8885-4588-9E2F-AEF5441944FA@dsl-only.net>
In-Reply-To: <20180205152147.z4iuu5342hnsvagn@ivaldir.net>
References:  <878C902E-6DFB-4C82-9146-E6A2545C86E6@dsl-only.net> <20180205152147.z4iuu5342hnsvagn@ivaldir.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2018-Feb-5, at 7:21 AM, Baptiste Daroussin <bapt@FreeBSD.org> wrote:

> On Mon, Feb 05, 2018 at 06:18:02AM -0800, Mark Millard wrote:
>> After updating to /usr/ports -r460973 and trying poudriere-devel I =
still get:
>>=20
>> [00:03:40] [03] [00:02:13] Saved devel/aarch64-binutils | =
aarch64-binutils-2.30,1 wrkdir to: =
/usr/local/poudriere/data/wrkdirs/FBSDFSSDjail-default/default/aarch64-bin=
utils-2.30,1.tbz
>> [00:03:40] [03] [00:02:13] Finished devel/aarch64-binutils | =
aarch64-binutils-2.30,1: Failed: package
>> [00:03:40] [03] [00:02:13] Skipping devel/aarch64-gcc | =
aarch64-gcc-6.3.0: Dependent port devel/aarch64-binutils | =
aarch64-binutils-2.30,1 failed
>> [00:03:40] [03] [00:02:13] Skipping devel/aarch64-xtoolchain-gcc | =
aarch64-xtoolchain-gcc-0.3: Dependent port devel/aarch64-binutils | =
aarch64-binutils-2.30,1 failed
>>=20
>> with the log file showing:
>> (Note lack of any -unknown- as a potential cause? powerpc64 has such =
in its
>> names as I remember.)
>=20
> Are you sure you are not having some local patches? there are some =
patches being
> worked on which adds the -unknown- but have not yet hit the tree

You are correct, I had forgotten setting up to
help someone test something that involved such
at some point. It causes no problem for
devel/powerpc64-binutils building in my
amd64 environment (for cross building).

M       /usr/ports/devel/binutils/Makefile
M       /usr/ports/devel/powerpc64-gcc/Makefile
M       /usr/ports/devel/powerpc64-xtoolchain-gcc/Makefile
M       /usr/ports/devel/powerpc64-xtoolchain-gcc/files/xtoolchain.mk.in

# svnlite diff /usr/ports/devel/binutils/Makefile
Index: /usr/ports/devel/binutils/Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- /usr/ports/devel/binutils/Makefile	(revision 460973)
+++ /usr/ports/devel/binutils/Makefile	(working copy)
@@ -36,7 +36,7 @@
 GNU_CONFIGURE=3D	yes
=20
 .if defined(PKGNAMEPREFIX)
-BUTARGET?=3D	${PKGNAMEPREFIX}${OPSYS:tl}
+BUTARGET?=3D	${PKGNAMEPREFIX}unknown-${OPSYS:tl}${OSREL}
 OPTIONS_EXCLUDE=3D	NLS
 INFO_PATH=3D	${PKGNAMEPREFIX:S/-$//}/info
 CONFIGURE_ARGS+=3D	--disable-shared \

(This might have been from when I tried to test
base/binutils and base/gcc for targeting powerpc64
and/or powerpc.)

What I do not know is why devel/aarch64-binutils only failed recently
while devel/powerpc64-binutils conitnues to build. The above are not
new in my environment.

(The following are powerpc64-gcc , not powerpc64-binutils
--but are listed for reference.)

# svnlite diff /usr/ports/devel/powerpc64-gcc/Makefile
Index: /usr/ports/devel/powerpc64-gcc/Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- /usr/ports/devel/powerpc64-gcc/Makefile	(revision 460973)
+++ /usr/ports/devel/powerpc64-gcc/Makefile	(working copy)
@@ -29,7 +29,7 @@
 .if empty(GCC_TARGET)
 # We are building for a FreeBSD target
 GCC_TARGET?=3D	${PKGNAMEPREFIX}unknown-${OPSYS:tl}${OSREL}
-BU_PREFIX?=3D	${PKGNAMEPREFIX}${OPSYS:tl}
+BU_PREFIX?=3D	${PKGNAMEPREFIX}unknown-${OPSYS:tl}${OSREL}
 EXTRA_PATCHES+=3D ${FILESDIR}/freebsd-format-extensions
 .else
 BU_PREFIX?=3D	${GCC_TARGET}

# svnlite diff /usr/ports/devel/powerpc64-xtoolchain-gcc/Makefile
Index: /usr/ports/devel/powerpc64-xtoolchain-gcc/Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- /usr/ports/devel/powerpc64-xtoolchain-gcc/Makefile	(revision =
460973)
+++ /usr/ports/devel/powerpc64-xtoolchain-gcc/Makefile	(working copy)
@@ -1,7 +1,7 @@
 # $FreeBSD$
=20
 PORTNAME=3D	xtoolchain
-PORTVERSION=3D	0.2
+PORTVERSION=3D	0.3
 CATEGORIES=3D	devel
 MASTER_SITES=3D	# none
 DISTFILES=3D	# none
@@ -28,6 +28,7 @@
 SUB_FILES=3D	xtoolchain.mk
 SUB_LIST=3D	TARGETARCH=3D${TOOLCHAIN_PREFIX:C/-//g} \
 		OPSYS=3D${OPSYS:tl} \
+		OSREL=3D${OSREL} \
 		XCC=3D${XCC} \
 		XCXX=3D${XCXX} \
 		XCPP=3D${XCPP} \

# svnlite diff =
/usr/ports/devel/powerpc64-xtoolchain-gcc/files/xtoolchain.mk.in
Index: /usr/ports/devel/powerpc64-xtoolchain-gcc/files/xtoolchain.mk.in
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- /usr/ports/devel/powerpc64-xtoolchain-gcc/files/xtoolchain.mk.in	=
(revision 460973)
+++ /usr/ports/devel/powerpc64-xtoolchain-gcc/files/xtoolchain.mk.in	=
(working copy)
@@ -1,5 +1,5 @@
 XCC=3D%%LOCALBASE%%/bin/%%XCC%%
 XCXX=3D%%LOCALBASE%%/bin/%%XCXX%%
 XCPP=3D%%LOCALBASE%%/bin/%%XCPP%%
-CROSS_BINUTILS_PREFIX=3D%%LOCALBASE%%/%%TARGETARCH%%-%%OPSYS%%/bin/
=
+CROSS_BINUTILS_PREFIX=3D%%LOCALBASE%%/%%TARGETARCH%%-unknown-%%OPSYS%%%%O=
SREL%%/bin/
 X_COMPILER_TYPE=3D%%X_COMPILER_TYPE%%



=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( markmi at dsl-only.net is
going away in 2018-Feb, late)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D30E503E-8885-4588-9E2F-AEF5441944FA>