From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jun 9 00:25:02 2014 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9324011F for ; Mon, 9 Jun 2014 00:25:02 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7545F2717 for ; Mon, 9 Jun 2014 00:25:02 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s590P2LQ072278 for ; Mon, 9 Jun 2014 01:25:02 +0100 (BST) (envelope-from bz-noreply@freebsd.org) From: bz-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 190813] New: devel/kBuild fails to build with GCC 4.8 or 4.9 Date: Mon, 09 Jun 2014 00:25:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rsimmons0@gmail.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2014 00:25:02 -0000 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@FreeBSD.org Reporter: rsimmons0@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.