Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Feb 2018 12:44:10 -0800
From:      Mark Millard <marklmi26-fbsd@yahoo.com>
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:  <670A2C73-D647-4969-9E24-435B9EE0D242@yahoo.com>
In-Reply-To: <D30E503E-8885-4588-9E2F-AEF5441944FA@dsl-only.net>
References:  <878C902E-6DFB-4C82-9146-E6A2545C86E6@dsl-only.net> <20180205152147.z4iuu5342hnsvagn@ivaldir.net> <D30E503E-8885-4588-9E2F-AEF5441944FA@dsl-only.net>

next in thread | previous in thread | raw e-mail | index | archive | help
[Revision 461058 has made the devel/binutils and devel/powerpc64-*
-unknown- usage in the names official. Also, I used my modern
FreeBSD E-mail address this time.]

On 2018-Feb-5, at 3:30 PM, Mark Millard <markmi@dsl-only.net> wrote:

> On 2018-Feb-5, at 7:21 AM, Baptiste Daroussin <bapt@FreeBSD.org> =
wrote:
>=20
>> 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

Revision 461058 includes the below changes associated with
-unknown- in the names for devel/binutils and devel/powerpc64-* .
See:

https://svnweb.freebsd.org/ports?view=3Drevision&revision=3D461058

[I may not get to testing the updates until at least the
weekend.]

> 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).
>=20
> 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
>=20
> # 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 \
>=20
> (This might have been from when I tried to test
> base/binutils and base/gcc for targeting powerpc64
> and/or powerpc.)
>=20
> 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.
>=20
> (The following are powerpc64-gcc , not powerpc64-binutils
> --but are listed for reference.)
>=20
> # 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}
>=20
> # 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} \
>=20
> # 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%%
>=20


=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?670A2C73-D647-4969-9E24-435B9EE0D242>