On Thu, Jun 7, 2012 at 1:46 PM, Bernhard Fröhlich <de...@bluelife.at> wrote:

> On Do.,   7. Jun. 2012 12:33:38 CEST, Alexandre <axel...@ymail.com> wrote:
>
> > Hi,
> >
> > I am running a VM VirtualBox with FreeBSD 9-STABLE (updated on 06/05/12),
> > initially with VirtualBox 4.1.8.
> > Now I want to update my ports, but I can't update
> > <virtualbox-ose-additions 4.1.16>. My ports tree is up-to-date.
> > I use the command <# portmaster -a -D --no-confirm> to update ports with
> > portmaster tool.
> >
> > The error is :
> > [...]
> > The failing command:
> > @cc                                   -m64     -o
> >
> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/VBoxClient
> >
> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/main.o
> >
> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/src/VBox/GuestHost/SharedClipboard/clipboard-helper.o
> >
> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/src/VBox/GuestHost/SharedClipboard/x11-clipboard.o
> >
> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/clipboard.o
> >
> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/seamless.o
> >
> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/seamless-host.o
> >
> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/seamless-x11.o
> >
> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/thread.o
> >
> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/display.o
> >
> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/hostversion.o
> >     -L/usr/X11R6/lib32   -L/usr/X11R6/lib   -L/usr/lib   -L/usr/X11R6/lib
> >   -L/usr/local/lib     -liconv
> >
> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/lib/additions/RuntimeGuestR3.a
> >
> >
> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/lib/additions/VBoxGuestR3Lib.a
> >
> >
> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/lib/additions/RuntimeGuestR3.a
> >     -lX11     -lXrandr     -lXt     -lsupc++     -lgcc_eh     -lXext
>  -lXmu
> > -lpthread     -liconv
> > *** Error code 2
> >
> > Stop in /usr/ports/emulators/virtualbox-ose-additions.
> > *** Error code 1
> >
> > Stop in /usr/ports/emulators/virtualbox-ose-additions.
> >
> > ===>>> make failed for emulators/virtualbox-ose-additions
> > ===>>> Aborting update
> >
> > ===>>> Update for emulators/virtualbox-ose-additions failed
> > ===>>> Aborting update
> >
> > Terminated
> > [...]
> >
> > I posted the full output (with "script") here :
> > http://pastebin.com/cmBbqzKx
> >
> > ----------
> >
> > Info of the FreeBSD VM guest:
> >
> > # uname -a
> > FreeBSD VirtualBox 9.0-STABLE FreeBSD 9.0-STABLE #0: Tue Jun   5 16:03:26
> > CEST 2012         root@VirtualBox:/usr/obj/usr/src/sys/GENERIC   amd64
> >
> > # pkg_info | grep virtualbox
> > virtualbox-ose-additions-4.1.8 VirtualBox additions for FreeBSD guests
> >
> > ----------
> >
> > This VM is installed on a Windows 7 host (VirtualBox 4.1.16r78094).
> >
> > Thanks for your help.
>
> This is a bug in libsupc++ that was merged to 9-STABLE some time ago. You
> can apply the following patch to /usr/src (and reinstall world) or wait
> around one week until the fix will be MFCd.
>
> http://home.bluelife.at/patches/libsupcpp-fix-new-operator-9-STABLE.diff
>

Hi Bernhard,

I applied your patch and reinstall world. After,
VirtualBox-OSE-Additions-4.1.
16 port has been built and installed without problem.

Thank you for your help.

Regards,
Alexandre
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to