From owner-freebsd-emulation@FreeBSD.ORG Thu Mar 5 20:20:29 2015 Return-Path: Delivered-To: vbox@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4431BFED; Thu, 5 Mar 2015 20:20:29 +0000 (UTC) Received: from mail-ie0-x236.google.com (mail-ie0-x236.google.com [IPv6:2607:f8b0:4001:c03::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 06ED11F6; Thu, 5 Mar 2015 20:20:29 +0000 (UTC) Received: by iecat20 with SMTP id at20so26426889iec.6; Thu, 05 Mar 2015 12:20:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=o//uHjMWRXES8Avnw7LnmrWPB09PfBcY9oSJ1K+YGEQ=; b=xqz/J5jev9JKrOYcZWKGmLMrpPmUr6bQ43esHhuFTb2kuuXFH1QODP/sd5gF7eYmS/ i6FiQtz1zIZfUwGTm+a8X/z24fieJ43TqXi63P5PWIz1ZZrHVqa6D20M83rPUM+wesbN VE9QHwth0pp2wdIfOabkhpPeHzgLQJwjIYC2JVYIKK9JcJQ4P5qumY/muUAcChHYZrVz Xnw9hyw0BRGyMDnyYypZd0CJ5dtJFzeOxpMFkigCsZTeAZUgHaTtvwwNnYpaioX4VQME weOoE4nzPZdsaMi6cg+Pc0Mgq3uMhzJJIstiGviWbuUleK8hLDl5iSkq1stlh8gwmD3V P4nQ== X-Received: by 10.107.17.89 with SMTP id z86mr23239828ioi.52.1425586828418; Thu, 05 Mar 2015 12:20:28 -0800 (PST) Received: from [10.0.1.155] (d205-206-84-235.abhsia.telus.net. [205.206.84.235]) by mx.google.com with ESMTPSA id d6sm5610669ioe.44.2015.03.05.12.20.26 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Mar 2015 12:20:27 -0800 (PST) Message-ID: <54F8BA89.4000302@gmail.com> Date: Thu, 05 Mar 2015 13:20:25 -0700 From: Scott Furry User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: gerald@FreeBSD.org Subject: GCC 4.8.4 wchar error blocking devel/kBuild (virtualbox-ose dependency) References: <54F86D96.1020505@gmail.com> In-Reply-To: <54F86D96.1020505@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 05 Mar 2015 20:59:54 +0000 Cc: vbox@FreeBSD.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2015 20:20:29 -0000 Originally sent to vbox@FreeBSD.org this morning: On 05/03/2015 07:52, Scott Furry wrote: > 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. > ==================================== > 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/ > 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 > --------------- Further to above... Did portsnap update this afternoon. kBuild reported warning: ------ In file included from /usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/kmk/make.h:67: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] ----- emulators/virtualbox-ose-kmod (4.3.24) and emulators/virtualbox-ose (4.3.24) are still blocked by error given above. I may not be the only one affected here. A quick google search dug up this thread: https://gist.github.com/tangentstorm/af2c97d89e194b3356c3 User indicated exact same error using gcc4.8.4 build. S