[Bug 190813] New: devel/kBuild fails to build with GCC 4.8 or 4.9

bz-noreply at freebsd.org bz-noreply at freebsd.org
Mon Jun 9 00:25:02 UTC 2014


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

            Bug ID: 190813
           Summary: devel/kBuild fails to build with GCC 4.8 or 4.9
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: rsimmons0 at gmail.com

If I set "GCC_DEFAULT=4.8" or "GCC_DEFAULT=4.9" in make.conf as specified in
usr/ports/Mk/bsd.default-versions.mk then devel/kBuild fails to build. I have
also tried the following line in make.conf:
DEFAULT_VERSIONS=   perl5=5.20 gcc=4.9
and
DEFAULT_VERSIONS=   perl5=5.20 gcc=4.8

The build fails with any of these combinations of make.conf.

It appears that despite the line in make.conf gcc47 is still being built and
used as the default gcc. When kBuild tries to compile it is looking for
gcc49/gcc48 which does not exist.

The make.conf line appears to correctly change the binary that software is
built by, but fails to actually build the expected version of gcc.

The devel/kBuild stops with the following error:

kmk: gcc48: Command not found
kmk: ***
[/wrkdirs/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/obj/kDep/kDep.o]
Error 127
The failing command:
@gcc48 -c -O2 -g -O3 -m64
-I/wrkdirs/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/lib
-I/wrkdirs/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/kmk/glob
-I/usr/local/include -DKBUILD_VERSION_MAJOR=0 -DKBUILD_VERSION_MINOR=1
-DKBUILD_VERSION_PATCH=9998 -DKBUILD_OS_FREEBSD -DKBUILD_ARCH_AMD64 -DNDEBUG
-Wp,-MD,/wrkdirs/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/obj/kDep/kDep.o.dep
-Wp,-MT,/wrkdirs/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/obj/kDep/kDep.o
-Wp,-MP -o
/wrkdirs/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/obj/kDep/kDep.o
/wrkdirs/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/lib/kDep.c
kmk: Leaving directory `/wrkdirs/usr/ports/devel/kBuild/work/kBuild-0.1.9998'
gmake[1]: ***
[/wrkdirs/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/bootstrap/ts-stage2-build]
Error 2
gmake[1]: Leaving directory
`/wrkdirs/usr/ports/devel/kBuild/work/kBuild-0.1.9998'
./kBuild/env.sh: info: rc=2: gmake -f bootstrap.gmk
*** Error code 2

Stop.
make: stopped in /usr/ports/devel/kBuild

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


More information about the freebsd-ports-bugs mailing list