Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2016 18:14:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 214400] base/binutils -r424540 targeting powerpc64: cross build failed for lack of finding a "gcc" command
Message-ID:  <bug-214400-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214400

            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@FreeBSD.org
          Reporter: markmi@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=3Dpowerpc64-gcc CROSS_SYSROOT=3D/usr/obj/DE=
STDIRs/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/w=
ork/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 f=
or
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/binu=
tils
: 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.a=
md64/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

--=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-214400-13>