Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Mar 2015 07:52:06 -0700
From:      Scott Furry <scott.wl.furry@gmail.com>
To:        vbox@FreeBSD.org
Subject:   FreeBSD Port: devel/kBuild
Message-ID:  <54F86D96.1020505@gmail.com>

next in thread | raw e-mail | index | archive | help
Good Morning,

While attempting to build emulators/virtualbox-ose(4.3.24) from FreeBSD 
ports, I keep running into a error during the build of 
devel/kBuild(0.1.9998).
Error stops the build, but it seems a strange error being unable to 
determine a '__wchar_t' type.

I should also not there are numerous warnings given during the build.
Below are the details of the hardware and reported error.

Please let me know if you require any further information.

Regards,
Scott

====================================
Hardware:
hw.machine: amd64
hw.model: AMD FX(tm)-6100 Six-Core Processor
hw.ncpu: 6
hw.byteorder: 1234
hw.physmem: 34313621504
hw.usermem: 32687337472
hw.pagesize: 4096
hw.floatingpoint: 1
hw.machine_arch: amd64

OS:
FreeBSD 10.1-RELEASE-p6 (current latest)

Error Message:
---------------
kBuild: Compiling wrapper - 
/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/lib/wrapper.c
kmk_builtin_cp -f 
/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/sed/config.h.freebsd 
/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/obj/kmk_sed/config.h
kmk_builtin_cp -f 
/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/sed/lib/regex_.h 
/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/obj/kmk_sed/regex.h
kBuild: Compiling kmk_sed - 
/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/sed/sed/sed.c
kBuild: Compiling kmk_sed - 
/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/sed/lib/regex.c
In file included from 
/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/sed/basicdefs.h:46:0,
                  from 
/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/sed/sed/sed.h:23,
                  from 
/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/sed/sed/sed.c:23:
/usr/local/lib/gcc48/gcc/x86_64-portbld-freebsd10.0/4.8.4/include-fixed/wchar.h:90:1: 
error: unknown type name '__wchar_t'
  typedef __wchar_t wchar_t;
  ^
kmk: *** 
[/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/obj/kmk_sed/sed/sed.o] 
Error 1
The failing command:
@gcc48 -c -O2 -g -O3 -m64 
-I/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/obj/kmk_sed 
-I/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/sed 
-I/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/sed/lib 
-I/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/sed/intl 
-I/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/lib 
-I/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 
-DHAVE_CONFIG_H -DNDEBUG 
-Wp,-MD,/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/obj/kmk_sed/sed/sed.o.dep 
-Wp,-MT,/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/obj/kmk_sed/sed/sed.o 
-Wp,-MP -o 
/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/obj/kmk_sed/sed/sed.o 
/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/sed/sed/sed.c
kmk: *** Waiting for unfinished jobs....
kmk: Leaving directory `/usr/ports/devel/kBuild/work/kBuild-0.1.9998'
kmk: Entering directory `/usr/ports/devel/kBuild/work/kBuild-0.1.9998'
kmk: *** Exiting with status 2
bootstrap.gmk:221: recipe for target 
'/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/bootstrap/ts-stage2-build' 
failed
gmake[4]: *** 
[/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/bootstrap/ts-stage2-build] 
Error 2
gmake[4]: Leaving directory '/usr/ports/devel/kBuild/work/kBuild-0.1.9998'
./kBuild/env.sh: info: rc=2: gmake -f bootstrap.gmk
*** Error code 2
---------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54F86D96.1020505>