Re: [Call for Testers] VirtualBox 4.3.0

2013-10-30 Thread Volodymyr Kostyrko

20.10.2013 19:25, Bernhard Fröhlich wrote:

Hi virtualbox users!

This is again a call for testers to get some feedback before we commit
VirtualBox 4.3 to the portstree. As usual the stable 4.2.18 port will
still
be available as emulators/virtualbox-ose-legacy.


I optionized pulse (e.g ripped relevant part from old version):

.if ${PORT_OPTIONS:MPULSEAUDIO}
PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio
PULSEAUDIO_CONFIGURE_ENABLE=  pulse
.else
CONFIGURE_ARGS+=--disable-pulse
.endif

Compilation seems to go on until:

kBuild: Compiling VBoxSVC -
/tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp

/tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:
In function 'int getDefaultIfaceIndex(short unsigned int*, int)':
/tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:94:39:
error: 'malloc' was not declared in this scope
/tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:98:18:
error: 'free' was not declared in this scope
/tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:133:30:
error: 'free' was not declared in this scope
/tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:139:14:
error: 'free' was not declared in this scope
/tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:
In function 'int NetIfList(std::listComObjPtrHostNetworkInterface )':
/tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:205:39:
error: 'malloc' was not declared in this scope
/tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:209:18:
error: 'free' was not declared in this scope
/tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:217:18:
error: 'free' was not declared in this scope
/tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:291:16:
warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
/tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:303:14:
error: 'free' was not declared in this scope
/tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:
In function 'int NetIfGetConfigByName(PNETIFINFO)':
/tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:328:39:
error: 'malloc' was not declared in this scope
/tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:332:18:
error: 'free' was not declared in this scope
/tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:340:18:
error: 'free' was not declared in this scope
/tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:404:14:
error: 'free' was not declared in this scope
kmk: ***
[/tmp/ports/home/arcade/work/vb/emulators/virtualbox-ose/work/VirtualBox-4.3.0/out/freebsd.amd64/release/obj/VBoxSVC/src-server/freebsd/NetIf-freebsd.o]
Error 1

Missing #include stdlib.h?

Installed fine here, Snow Leo and WinXP seems working... Yet WinXP is
giving BSOD, maybe some HW changes...


Tested this 10-STABLE and it works for me like a charm. The only change 
is that I'm building virtualbox-ose with USE_GCC=yes (picking lang/gcc 
from the ports). On 9-STABLE this also requires overloading 
libstdc++.so.6 with gcc46/libstdc++.so.6 in /etc/libmap.conf.


--
Sphinx of black quartz, judge my vow.
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org

Re: VirtualBox segfaults on 10.0-CURRENT

2013-10-30 Thread Oleg Ginzburg

 From: Miguel C. miguelmcl...@gmail.com
 Date: Fri, Oct 4, 2013 at 9:13 PM
 Subject: Re: VirtualBox segfaults on 10.0-CURRENT
 To: Piotr Kubaj pku...@riseup.net, freebsd-emulation@freebsd.org
 
 
 
 I have a similar report in the list... I'm able to run VirtualBox with sudo
 -u myuser had a workarround.  But I'm not sure why it works.
 

I have some issues with VirtualBox. Looks like this is KDE4-specific problem 
because when i run VirtualBox from any other WM all works fine. The same 
behavior (Segfaults in KDE4  and not in fluxbox/lxde ..) is security/keepassx2. 
I assume that KDE4 execute program differently (for example in trace outside 
KDE i have no lots of stat(~/.{config,kde4}/{app}rc) files.
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org


Re: Building on Freebsd-10.0

2013-10-30 Thread Bernhard Fröhlich
On Wed, Oct 30, 2013 at 2:15 AM, Sam Fourman Jr. sfour...@gmail.com wrote:
 On Oct 29, 2013 8:51 PM, Karol Barski ka...@barski.eu wrote:

 Hi,

 I've tried to build emulators/virtualbox-ose-additions port on
 FreeBSD-10.0-BETA2 with no success.
 After while of searching I found out that problem is that virtualbox links
 to libsupc++ and in FreeBSD default std C++ library used in libcxxrt.

 In attachement You can find corrected Makefile which solved situation for
 me.

 Basically in post-patch target in makefile I'm replacing of supc++ to
 cxxrt
 for makefiles in worktree which linked it when OSVERSION is greater than
 1000.
 I have tested this only on FreeBSD-10.0-BETA1 and FreeBSD-10.0-BETA2.

 ---
 .if ${OSVERSION}  100
 @${REINPLACE_CMD} -e 's|supc\+\+|cxxrt|' ${WRKSRC}/Config.kmk \
  ${WRKSRC}/src/VBox/Additions/x11/VBoxClient/Makefile.kmk
 .endif
 


 Just for refrence, I have the same issues on HEAD and 10.x I can't get vbox
 in a usable state, even on a fresh install.
 It seems vbox is completley broken on anything that isn't 9.2

That is true to some degree. I try to keep vbox compile properly on 10 but since
I do not have a proper 10 box to really do runtime testing it stays as
it is unless
I migrate my laptop to 10 or someone other steps up to look into the issues.

It is a chicken and egg problem and the only way to solve that is by
volunteering
or at least helping with _proper_ bug reports. Up to now the only bugreports for
10 that I have are too less technical that anyone could look deepter
into it without
reproducing it.

-- 
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-unsubscr...@freebsd.org