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...
Mark Millard
marklmi26-fbsd at yahoo.com
Tue Feb 6 20:54:29 UTC 2018
[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 at dsl-only.net> wrote:
> On 2018-Feb-5, at 7:21 AM, Baptiste Daroussin <bapt at 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:
>>>
>>> [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-binutils-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
>>>
>>> with the log file showing:
>>> (Note lack of any -unknown- as a potential cause? powerpc64 has such in its
>>> names as I remember.)
>>
>> 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=revision&revision=461058
[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).
>
> 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
> ===================================================================
> --- /usr/ports/devel/binutils/Makefile (revision 460973)
> +++ /usr/ports/devel/binutils/Makefile (working copy)
> @@ -36,7 +36,7 @@
> GNU_CONFIGURE= yes
>
> .if defined(PKGNAMEPREFIX)
> -BUTARGET?= ${PKGNAMEPREFIX}${OPSYS:tl}
> +BUTARGET?= ${PKGNAMEPREFIX}unknown-${OPSYS:tl}${OSREL}
> OPTIONS_EXCLUDE= NLS
> INFO_PATH= ${PKGNAMEPREFIX:S/-$//}/info
> CONFIGURE_ARGS+= --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
> ===================================================================
> --- /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?= ${PKGNAMEPREFIX}unknown-${OPSYS:tl}${OSREL}
> -BU_PREFIX?= ${PKGNAMEPREFIX}${OPSYS:tl}
> +BU_PREFIX?= ${PKGNAMEPREFIX}unknown-${OPSYS:tl}${OSREL}
> EXTRA_PATCHES+= ${FILESDIR}/freebsd-format-extensions
> .else
> BU_PREFIX?= ${GCC_TARGET}
>
> # svnlite diff /usr/ports/devel/powerpc64-xtoolchain-gcc/Makefile
> Index: /usr/ports/devel/powerpc64-xtoolchain-gcc/Makefile
> ===================================================================
> --- /usr/ports/devel/powerpc64-xtoolchain-gcc/Makefile (revision 460973)
> +++ /usr/ports/devel/powerpc64-xtoolchain-gcc/Makefile (working copy)
> @@ -1,7 +1,7 @@
> # $FreeBSD$
>
> PORTNAME= xtoolchain
> -PORTVERSION= 0.2
> +PORTVERSION= 0.3
> CATEGORIES= devel
> MASTER_SITES= # none
> DISTFILES= # none
> @@ -28,6 +28,7 @@
> SUB_FILES= xtoolchain.mk
> SUB_LIST= TARGETARCH=${TOOLCHAIN_PREFIX:C/-//g} \
> OPSYS=${OPSYS:tl} \
> + OSREL=${OSREL} \
> XCC=${XCC} \
> XCXX=${XCXX} \
> XCPP=${XCPP} \
>
> # svnlite diff /usr/ports/devel/powerpc64-xtoolchain-gcc/files/xtoolchain.mk.in
> Index: /usr/ports/devel/powerpc64-xtoolchain-gcc/files/xtoolchain.mk.in
> ===================================================================
> --- /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=%%LOCALBASE%%/bin/%%XCC%%
> XCXX=%%LOCALBASE%%/bin/%%XCXX%%
> XCPP=%%LOCALBASE%%/bin/%%XCPP%%
> -CROSS_BINUTILS_PREFIX=%%LOCALBASE%%/%%TARGETARCH%%-%%OPSYS%%/bin/
> +CROSS_BINUTILS_PREFIX=%%LOCALBASE%%/%%TARGETARCH%%-unknown-%%OPSYS%%%%OSREL%%/bin/
> X_COMPILER_TYPE=%%X_COMPILER_TYPE%%
>
===
Mark Millard
marklmi at yahoo.com
( markmi at dsl-only.net is
going away in 2018-Feb, late)
More information about the svn-ports-head
mailing list