[Bug 214400] base/binutils -r424540 targeting powerpc64: cross build failed for lack of finding a "gcc" command

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 10 18:14:34 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214400

            Bug ID: 214400
           Summary: base/binutils -r424540 targeting powerpc64: cross
                    build failed for lack of finding a "gcc" command
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: markmi at dsl-only.net

base/binutils for my attempted powerpc64 cross build target [from amd64 head
-r308247M] failed for lack of a "gcc":

> Script started on Tue Nov  8 18:53:40 2016
> Command: make CROSS_TOOLCHAIN=powerpc64-gcc CROSS_SYSROOT=/usr/obj/DESTDIRs/xtoolchain-powerpc64-installworld package
. . .
> Making info in doc
> gmake[5]: Entering directory '/usr/obj/portswork/usr/ports/base/binutils/work/binutils-2.25.1/bfd/doc'
> gcc -o chw$$  \
>     -I.. -I./.. -I./../../include -I./../../intl -I../../intl ./chew.c; \
> /bin/sh ./../../move-if-change \
>   chw$$ chew; \
> touch chew.stamp
> /bin/sh: gcc: not found
> mv: rename chw79264 to chew: No such file or directory
> ./chew -f ./doc.str < ./../aoutx.h >aoutx.tmp
> ./chew -f ./doc.str < ./../archive.c >archive.tmp
> ./chew -f ./doc.str < ./../archures.c >archures.tmp
> /bin/sh: ./chew: not found
> gmake[5]: *** [Makefile:798: aoutx.stamp] Error 127
> gmake[5]: *** Waiting for unfinished jobs....
> /bin/sh: ./chew: not found
> gmake[5]: *** [Makefile:805: archive.stamp] Error 127
> /bin/sh: ./chew: not found
> gmake[5]: *** [Makefile:812: archures.stamp] Error 127
> gmake[5]: Leaving directory '/usr/obj/portswork/usr/ports/base/binutils/work/binutils-2.25.1/bfd/doc'
> Making info in po

To get as far as the above I first had to rebuild the build prerequisites for
binutils (devel/binutils): I had used pkg autoremove at some point and the lack
of (for example) devel/bison stopped my first attempt at building base/binutils
: base/binutils did not cause a build of its build prerequisites.


Context details:

> # uname -apKU
> FreeBSD FreeBSDx64 12.0-CURRENT FreeBSD 12.0-CURRENT #2 r308247M: Thu Nov  3 04:05:55 PDT 2016     markmi at FreeBSDx64:/usr/obj/amd64_clang/amd64.amd64/usr/src/sys/GENERIC-NODBG  amd64 amd64 1200014 1200014


> # svnlite info | grep "Re[lv]"
> Relative URL: ^/head/base/binutils
> Revision: 424540
> Last Changed Rev: 421584

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list