Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Dec 2011 10:56:16 +0100
From:      Bernhard Froehlich <decke@FreeBSD.org>
To:        Daichi GOTO <daichi@freebsd.org>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: VirtualBox blueports repository moved to redports.org
Message-ID:  <31ba3946b7e31c8ab2617f91001c04b5@bluelife.at>
In-Reply-To: <20111222134825.d4905e3e.daichi@freebsd.org>
References:  <b0eda2c137bb4ee414d43784d4bdbcc1@bluelife.at> <20111221143354.f6adae35.daichi@ongs.co.jp> <a04071f7ac6570427c1e7c293f2a3d8d@bluelife.at> <20111222134825.d4905e3e.daichi@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks, the patch works fine! Do you agree that this patch is under
MIT License so that I can push it upstream?

-- 
Bernhard Froehlich
http://www.bluelife.at/


On 22.12.2011 05:48, Daichi GOTO wrote:
> Hi,
>
> How about this patch?  At least, build is ok (helped by hrs).
>
> --- include/iprt/types.h.orig   2011-12-19 21:58:33.000000000 +0900
> +++ include/iprt/types.h        2011-12-22 13:34:09.000000000 +0900
> @@ -167,6 +167,10 @@
>  # if defined(__GNUC__)
>  #  if defined(RT_OS_LINUX) && __GNUC__ < 3
>  typedef uint8_t bool;
> +#  elif defined(RT_OS_FREEBSD)
> +#   ifndef __bool_true_false_are_defined
> +typedef _Bool bool;
> +#   endif
>  #  else
>  #   if defined(RT_OS_DARWIN) && defined(_STDBOOL_H)
>  #    undef bool
>
> On Wed, 21 Dec 2011 09:07:27 +0100
> Bernhard Froehlich <decke@bluelife.at> wrote:
>> That's a known breakage on 10-CURRENT since r228444. No fix 
>> available
>> yet.
>>
>> http://svnweb.freebsd.org/base?view=revision&revision=228444
>>
>>
>>
>> On 21.12.2011 06:33, Daichi GOTO wrote:
>> > Thanks great vbox work ;)
>> >
>> > I tried to build the latest vbox4.1.8 via redports svn to do test
>> > and got the failed. Could the error log help you?
>> >
>> > -----------------
>> >
>> > # pwd
>> > /usr/ports/emulators/virtualbox-ose
>> > # uname -a
>> > FreeBSD parancell-freebsd-head.ongs.co.jp 10.0-CURRENT FreeBSD
>> > 10.0-CURRENT #4 r+5af9280: Wed Dec 21 11:23:48 JST 2011
>> > 
>> root@parancell-freebsd-head.ongs.co.jp:/usr/obj/usr/src/sys/GENERIC
>> > amd64
>> > # make install
>> > cd /usr/ports/emulators/virtualbox-ose && make config;
>> > ===> Options unchanged
>> > ===>  Installing for virtualbox-ose-4.1.8
>> > ===>   virtualbox-ose-4.1.8 depends on file: 
>> /boot/modules/vboxdrv.ko
>> > - not found
>> > ===>    Verifying install for /boot/modules/vboxdrv.ko in
>> > /usr/ports/emulators/virtualbox-ose-kmod
>> > cd /usr/ports/emulators/virtualbox-ose-kmod && make config;
>> > ===> Options unchanged
>> > ===>  Building for virtualbox-ose-kmod-4.1.8
>> > cd 
>> /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.8_OSE
>> > && /bin/sh env.sh && cd
>> >
>> > 
>> /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.8_OSE/src/VBox/HostDrivers
>> > && VBOX_LIBPATH_X11=/usr/local
>> > VBOX_FREEBSD_SRC=skins/default/usr/src/sys
>> > /usr/local/bin/kmk HostDrivers-src vboxdrv-mod VBoxNetFlt-src
>> > VBoxNetAdp-src
>> > /usr/local/share/kBuild/footer-pass2-installs.kmk:67: warning:
>> > overriding recipe for target
>> >
>> > 
>> `/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.8_OSE/out/freebsd.amd64/release/bin/src/vboxdrv/include/iprt/crc.h'
>> > /usr/local/share/kBuild/footer-pass2-installs.kmk:67: warning:
>> > ignoring old recipe for target
>> >
>> > 
>> `/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.8_OSE/out/freebsd.amd64/release/bin/src/vboxdrv/include/iprt/crc.h'
>> > /usr/local/share/kBuild/footer-pass2-installs.kmk:67: warning:
>> > overriding recipe for target
>> >
>> > 
>> `/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.8_OSE/out/freebsd.amd64/release/dist/bin/src/vboxdrv/include/iprt/crc.h'
>> > /usr/local/share/kBuild/footer-pass2-installs.kmk:67: warning:
>> > ignoring old recipe for target
>> >
>> > 
>> `/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.8_OSE/out/freebsd.amd64/release/dist/bin/src/vboxdrv/include/iprt/crc.h'
>> > /usr/local/share/kBuild/footer-pass2-installs.kmk:67: warning:
>> > overriding recipe for target
>> >
>> > 
>> `/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.8_OSE/out/freebsd.amd64/release/bin/src/vboxdrv/include/iprt/net.h'
>> > /usr/local/share/kBuild/footer-pass2-installs.kmk:67: warning:
>> > ignoring old recipe for target
>> >
>> > 
>> `/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.8_OSE/out/freebsd.amd64/release/bin/src/vboxdrv/include/iprt/net.h'
>> > /usr/local/share/kBuild/footer-pass2-installs.kmk:67: warning:
>> > overriding recipe for target
>> >
>> > 
>> `/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.8_OSE/out/freebsd.amd64/release/dist/bin/src/vboxdrv/include/iprt/net.h'
>> > /usr/local/share/kBuild/footer-pass2-installs.kmk:67: warning:
>> > ignoring old recipe for target
>> >
>> > 
>> `/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.8_OSE/out/freebsd.amd64/release/dist/bin/src/vboxdrv/include/iprt/net.h'
>> > kmk: Nothing to be done for `HostDrivers-src'.
>> > kBuild: Creating  -
>> >
>> > 
>> /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.8_OSE/out/freebsd.amd64/release/obj/vboxdrv-mod/Makefile
>> > kBuild: Installing
>> >
>> > 
>> /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.8_OSE/out/freebsd.amd64/release/bin/src/vboxdrv/Makefile
>> > kBuild: Installing
>> >
>> > 
>> /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.8_OSE/out/freebsd.amd64/release/bin/src/vboxnetadp/Makefile
>> > kBuild: Installing
>> >
>> > 
>> /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.8_OSE/out/freebsd.amd64/release/bin/src/vboxnetflt/Makefile
>> > cd
>> >
>> > 
>> /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.8_OSE/out/freebsd.amd64/release/bin/src
>> > && make SYSDIR=/usr/src/sys
>> > *** Building 'vboxdrv' module ***
>> > Warning: Object directory not changed from original
>> >
>> > 
>> /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.8_OSE/out/freebsd.amd64/release/bin/src/vboxdrv
>> > cc -O2 -pipe -DRT_OS_FREEBSD -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 
>> -DVBOX
>> > -DRT_WITH_VBOX -w -DVBOX_WITH_HARDENING -DVBOX_WITH_64_BITS_GUESTS
>> > -DRT_ARCH_AMD64 -fno-strict-aliasing -Werror -D_KERNEL 
>> -DKLD_MODULE
>> > -nostdinc  -Iinclude -I. -Ir0drv -I. -I@ -I@/contrib/altq
>> > -finline-limit=8000 --param inline-unit-growth=100 --param
>> > large-function-growth=1000 -fno-common  -fno-omit-frame-pointer
>> > -mno-sse -mcmodel=kernel -mno-red-zone -mno-mmx -msoft-float
>> > -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
>> > -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls
>> > -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
>> > -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign
>> > -fformat-extensions  -Wmissing-include-dirs 
>> -fdiagnostics-show-option
>> > -c SUPDrv.c
>> > In file included from include/VBox/types.h:30,
>> >                  from SUPDrvInternal.h:35,
>> >                  from SUPDrv.c:32:
>> > include/iprt/types.h:174: error: redefinition of typedef 'bool'
>> > @/sys/types.h:271: error: previous declaration of 'bool' was here
>> > *** Error code 1
>> >
>> > Stop in
>> >
>> > 
>> /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.8_OSE/out/freebsd.amd64/release/bin/src/vboxdrv.
>> > *** Error code 1
>> >
>> > Stop in
>> >
>> > 
>> /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.8_OSE/out/freebsd.amd64/release/bin/src.
>> > *** Error code 1
>> >
>> > Stop in /usr/ports/emulators/virtualbox-ose-kmod.
>> > *** Error code 1
>> >
>> > Stop in /usr/ports/emulators/virtualbox-ose-kmod.
>> > *** Error code 1
>> >
>> > Stop in /usr/ports/emulators/virtualbox-ose.
>> > *** Error code 1
>> >
>> > Stop in /usr/ports/emulators/virtualbox-ose.
>> > # exit
>> >
>> > Script done on Wed Dec 21 14:16:10 2011
>> >
>> > -----------------
>> >
>> > On Tue, 20 Dec 2011 13:42:04 +0100
>> > Bernhard Froehlich <decke@FreeBSD.org> wrote:
>> >> Hi VirtualBox Testers!
>> >>
>> >> I think it's the right time now to announce that the virtualbox
>> >> blueports
>> >> repository that a few of you were using moved to a new location.
>> >>
>> >> That is because in the last few months I was heavily working on a
>> >> new
>> >> FreeBSD port building cluster called redports.org which is also 
>> the
>> >> new environment where I usually build test all virtualbox 
>> versions
>> >> and
>> >> the new home of VirtualBox for FreeBSD. redports.org is the
>> >> successor
>> >> of the blueports repository but the history was migrated so 
>> nothing
>> >> is
>> >> lost.
>> >>
>> >> Since last week I am back to my usual virtualbox work and have
>> >> already
>> >> pushed a few very interesting patches from Andriy Gapon and Ed
>> >> Schouten
>> >> upstream. All ports are at their latest available versions now so 
>> we
>> >> are _not_ lagging behind in the development repository. I just do
>> >> not
>> >> want to push those versions in the tree before 9.0-RELEASE is out
>> >> the
>> >> door. So I am currently waiting for 9.0 to be released and then I
>> >> will
>> >> update our virtualbox-ose ports to 4.1.8 and 
>> virtualbox-ose-legacy
>> >> to
>> >> 4.0.14.
>> >>
>> >> If you want to test the latest versions have a look at the new
>> >> repository:
>> >>
>> >> - virtualbox-ose 4.1.8 (0 days old)
>> >> - virtualbox-ose-devel 4.1.51r39575 (10 days old)
>> >> - virtualbox-ose-legacy 4.0.14 (2 months old)
>> >> - phpvirtualbox 4.1-5 (1 month old)
>> >>
>> >> Keep in mind that you need to update devel/kBuild first to 
>> compile
>> >> the
>> >> newer virtualbox versions. Latest kBuild is also included in the
>> >> repository.
>> >>
>> >> For support the IRC channel and mailinglist are still the same 
>> :o)
>> >>
>> >>
>> >> Support:
>> >> ========
>> >>
>> >> IRC: #fbsd-mentors on irc.unixfreunde.de
>> >> irc://irc.unixfreunde.de/fbsd-mentors
>> >>
>> >> Mailinglist:
>> >> freebsd-emulation (at) FreeBSD.org
>> >>
>> >> EMail:
>> >> vbox (at) FreeBSD.org
>> >>
>> >>
>> >> Development Repository:
>> >> =======================
>> >>
>> >> Browseable:
>> >> http://redports.org/browser/virtualbox
>> >>
>> >> SVN Checkout:
>> >> svn co http://svn.redports.org/virtualbox/
>> >>
>> >> tar Archive of repository:
>> >> http://redports.org/~virtualbox/svn.tar.bz2
>> >>
>> >> RSS Feed:
>> >> http://redports.org/log/virtualbox?format=rss&limit=25
>> >>
>> >>
>> >> --
>> >> Bernhard Froehlich
>> >> http://www.bluelife.at/
>> >> _______________________________________________
>> >> freebsd-emulation@freebsd.org mailing list
>> >> http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
>> >> To unsubscribe, send any mail to
>> >> "freebsd-emulation-unsubscribe@freebsd.org"



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