[Bug 214402] base/gcc -r424540: cross build requires "gcc" and "g++" commands to exist
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Nov 10 18:22:44 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214402
Bug ID: 214402
Summary: base/gcc -r424540: cross build requires "gcc" and
"g++" commands to exist
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
After updating it locally to reference mpfr 3.1.5 there were two problems with
missing commands. . .
> configure: error: Specified CC_FOR_BUILD doesn't seem to work
> gmake[1]: *** [Makefile:4519: configure-gmp] Error 1
> gmake[1]: *** Waiting for unfinished jobs....
> . . .
> gmake[1]: Leaving directory '/usr/obj/portswork/usr/ports/base/gcc/work/.build'
> ===> Compilation failed unexpectedly.
> Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
> the maintainer.
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/base/gcc
Needed the command to exist: gcc
So I created:
# ls -l /usr/local/bin/gcc
lrwxr-xr-x 1 root wheel 4 Nov 8 20:29 /usr/local/bin/gcc -> gcc6
(The only host gcc installed is gcc6 in my context.)
(base/binutils also required such a gcc that would be found by default.)
Then it got farther but there was later:
> configure: error: C++ compiler missing or inoperational
> gmake[1]: *** [Makefile:2717: configure-build-libcpp] Error 1
> gmake[1]: *** Waiting for unfinished jobs....
Needed the command to exist: g++
So I created:
# ls -l /usr/local/bin/g++
lrwxr-xr-x 1 root wheel 4 Nov 8 20:33 /usr/local/bin/g++ -> g++6
(base/bintutils did not require this.)
Of course the gcc and g++ could point to some other compilers, I just happened
to have gcc6/g++6 around.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list