[Bug 234878] emulators/virtualbox-ose: Update to 6.1

2020-05-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234878

--- Comment #84 from VVD  ---
(In reply to Mario Lobo from comment #73)
> And I packed the ports from the sym links instead of the real dir.
Can you, please, pack it without symlinks?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
___
freebsd-emulation@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"


Wine 5.9 bugfix

2020-05-23 Thread Damjan Jovanovic
Hi

Wine 5.9 is out, and all 3 of the bugs in 5.7 - 5.8 that were affecting
FreeBSD should be fixed upstream now.

However I accidentally introduced another bug recently, where we don't
check the return value from an mmap() call, resulting in assertion failures
and possibly memory corruption... I debugged it and a patch to fix it is
available (https://source.winehq.org/patches/data/185684). Please build
ports with that patch applied to 5.9. Sorry.

Otherwise 5.9 should be a really good release: it loads DLLs at correct
addresses on FreeBSD, something Linux did better than us before, but we
caught up now ;). Some of the more difficult applications like Cygwin and
some copy-protected games should start working.

Also Konstantin and other developers have fixed that rtld-elf issue in the
base system by changing link_map.l_addr to work the way it does on
Linux/NetBSD/Illumos (
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246561), which means Wine
will crash on start again in the next FreeBSD release (which is? 13?) as
the workaround we added to Wine for FreeBSD will be wrong, and we have to
limit that code in Wine (commit 0fd3f0266e05f6afa710fa2b5a254b0ed88bac0f)
to FreeBSD versions less than the next release.

Regards
Damjan
___
freebsd-emulation@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"


Re: Wine 5.9 bugfix

2020-05-23 Thread Konstantin Belousov
On Sat, May 23, 2020 at 11:45:43AM +0200, Damjan Jovanovic wrote:
> Hi
> 
> Wine 5.9 is out, and all 3 of the bugs in 5.7 - 5.8 that were affecting
> FreeBSD should be fixed upstream now.
> 
> However I accidentally introduced another bug recently, where we don't
> check the return value from an mmap() call, resulting in assertion failures
> and possibly memory corruption... I debugged it and a patch to fix it is
> available (https://source.winehq.org/patches/data/185684). Please build
> ports with that patch applied to 5.9. Sorry.
> 
> Otherwise 5.9 should be a really good release: it loads DLLs at correct
> addresses on FreeBSD, something Linux did better than us before, but we
> caught up now ;). Some of the more difficult applications like Cygwin and
> some copy-protected games should start working.
> 
> Also Konstantin and other developers have fixed that rtld-elf issue in the
> base system by changing link_map.l_addr to work the way it does on
> Linux/NetBSD/Illumos (
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246561), which means Wine
> will crash on start again in the next FreeBSD release (which is? 13?) as
The fix should appear in stable/12 in one week, assuming no further
regressions are reported.  This means that the earliest release is 12.2.

> the workaround we added to Wine for FreeBSD will be wrong, and we have to
> limit that code in Wine (commit 0fd3f0266e05f6afa710fa2b5a254b0ed88bac0f)
> to FreeBSD versions less than the next release.
___
freebsd-emulation@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"


[Bug 244212] emulators/virtualbox-ose: Update to 5.2.40

2020-05-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244212

Jochen Neumeister  changed:

   What|Removed |Added

  Flags|merge-quarterly?|merge-quarterly+
 CC||jon...@freebsd.org

--- Comment #13 from Jochen Neumeister  ---
Approved for MFH after add a vuxml entry for the CVE's

ports-secteam (joneum)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-emulation@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"


Re: Wine 5.9 bugfix

2020-05-23 Thread Damjan Jovanovic
On Sat, May 23, 2020 at 1:16 PM Konstantin Belousov 
wrote:

> On Sat, May 23, 2020 at 11:45:43AM +0200, Damjan Jovanovic wrote:
> > Hi
> >
> > Wine 5.9 is out, and all 3 of the bugs in 5.7 - 5.8 that were affecting
> > FreeBSD should be fixed upstream now.
> >
> > However I accidentally introduced another bug recently, where we don't
> > check the return value from an mmap() call, resulting in assertion
> failures
> > and possibly memory corruption... I debugged it and a patch to fix it is
> > available (https://source.winehq.org/patches/data/185684). Please build
> > ports with that patch applied to 5.9. Sorry.
> >
> > Otherwise 5.9 should be a really good release: it loads DLLs at correct
> > addresses on FreeBSD, something Linux did better than us before, but we
> > caught up now ;). Some of the more difficult applications like Cygwin and
> > some copy-protected games should start working.
> >
> > Also Konstantin and other developers have fixed that rtld-elf issue in
> the
> > base system by changing link_map.l_addr to work the way it does on
> > Linux/NetBSD/Illumos (
> > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246561), which means
> Wine
> > will crash on start again in the next FreeBSD release (which is? 13?) as
> The fix should appear in stable/12 in one week, assuming no further
> regressions are reported.  This means that the earliest release is 12.2.
>
>
Great thank you, I've got a patch prepared for when it's merged.
___
freebsd-emulation@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"


[Bug 234878] emulators/virtualbox-ose: Update to 6.1

2020-05-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234878

--- Comment #85 from Mario Lobo  ---
There are only 3 things that need to be done on the official 5.2.34 port to
move to 5.2.42:

1) Adjust both Makefiles (virtualbox-ose & virtualbox-ose-kmod)

change PORTVERSION= 5.2.34  to  PORTVERSION=5.2.42
remove PORTREVISION=4

2) remove patch-src_VBox_Devices_PC_vbox-cpuhotplug.dsl from
virtualbox-ose/files

3) recalculate distinfo, which becomes this:

SHA256 (VirtualBox-5.2.42.tar.bz2) =
e5bee2e34f349aac115ee93974febfe3213ad5e94045fa36b9f04b5f8caa3720
SIZE (VirtualBox-5.2.42.tar.bz2) = 124013981
SHA256 (VBoxGuestAdditions_5.2.42.iso) =
ff784417295e48e3cee80a596faf05e3b0976e1b94d3b88427939912b0c1fc45
SIZE (VBoxGuestAdditions_5.2.42.iso) = 49833984


Thatś it!

OBS - these alterations also work for virtualbox-guestadditions and the no-x11
ports.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
___
freebsd-emulation@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"


[Bug 234878] emulators/virtualbox-ose: Update to 6.1

2020-05-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234878

--- Comment #86 from VVD  ---
(In reply to Mario Lobo from comment #85)

It need a lot of fixes in patches.
For example:
-@@ -2538,6 +2534,10 @@ ifeq ($(KBUILD_HOST),win) ## @todo can drop this now, 
+@@ -2550,6 +2546,10 @@ ifeq ($(KBUILD_HOST),win) ## @todo can drop this now,
…
-@@ -4158,6 +4154,7 @@ ifdef VBOX_WITH_RAW_MODE
+@@ -4218,6 +4218,7 @@ ifdef VBOX_WITH_RAW_MODE
…
-@@ -4299,6 +4296,7 @@ ifeq ($(VBOX_LDR_FMT),elf)
+@@ -4359,6 +4360,7 @@ ifeq ($(VBOX_LDR_FMT),elf)

And there are warnings during make patch:
===>  Applying FreeBSD patches for virtualbox-ose-5.2.42 from
/usr/ports/emulators/virtualbox-ose/files
No such line 731 in input file, ignoring
No such line 435 in input file, ignoring

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
freebsd-emulation@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"


Re: Wine 5.9 bugfix

2020-05-23 Thread Damjan Jovanovic
On Sat, May 23, 2020 at 8:43 PM Gerald Pfeifer  wrote:

> On Sat, 23 May 2020, Damjan Jovanovic wrote:
> >>> Also Konstantin and other developers have fixed that rtld-elf issue in
> >>> the base system by changing link_map.l_addr to work the way it does on
> >>> Linux/NetBSD/Illumos
> >> The fix should appear in stable/12 in one week, assuming no further
> >> regressions are reported.  This means that the earliest release is 12.2.
>
> Excellent.  Thank you, Konstantin, and thanks Damjan for finding and
> flaging this!
>

Thank you.


> > Great thank you, I've got a patch prepared for when it's merged.
>
> A patch for Wine, or for FreeBSD?  Should we document a minimum
> recommended version of FreeBSD for wine-devel, or how can we best
> handle the transition?
>
>
For Wine. I'll submit it upstream when the rtld-elf patch goes into
stable/12.


> Gerald
>

Damjan
___
freebsd-emulation@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"


Re: Wine 5.9 bugfix

2020-05-23 Thread Gerald Pfeifer
On Sat, 23 May 2020, Damjan Jovanovic wrote:
>>> Also Konstantin and other developers have fixed that rtld-elf issue in 
>>> the base system by changing link_map.l_addr to work the way it does on 
>>> Linux/NetBSD/Illumos
>> The fix should appear in stable/12 in one week, assuming no further
>> regressions are reported.  This means that the earliest release is 12.2.

Excellent.  Thank you, Konstantin, and thanks Damjan for finding and
flaging this!

> Great thank you, I've got a patch prepared for when it's merged.

A patch for Wine, or for FreeBSD?  Should we document a minimum
recommended version of FreeBSD for wine-devel, or how can we best
handle the transition?

Gerald
___
freebsd-emulation@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"


[Bug 233301] emulators/virtualbox-ose - multimedia issues on 13-current

2020-05-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233301

Andrey Russev  changed:

   What|Removed |Added

 CC||r...@mail.univ.kiev.ua

--- Comment #19 from Andrey Russev  ---
Created attachment 214798
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=214798&action=edit
Patch for testing audio in guest OS

This patch solves the problem for me. Can somebody test it?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-emulation@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"


Re: Wine 5.9 bugfix

2020-05-23 Thread Damjan Jovanovic
On Sat, May 23, 2020 at 9:53 PM Gerald Pfeifer  wrote:

> On Sat, 23 May 2020, Damjan Jovanovic wrote:
> > Wine 5.9 is out, and all 3 of the bugs in 5.7 - 5.8 that were affecting
> > FreeBSD should be fixed upstream now.
>
> Thank you for debugging and even fixing those, Damjan - and even doing
> so upstream!
>
> > However I accidentally introduced another bug recently, where we don't
> > check the return value from an mmap() call, resulting in assertion
> failures
> > and possibly memory corruption... I debugged it and a patch to fix it is
> > available (https://source.winehq.org/patches/data/185684). Please build
> > ports with that patch applied to 5.9. Sorry.
>
> I just started test builds of emulators/wine-devel with that patch.
>
> So far I have kept files/patch-tools-winegcc which reverts the upstream
> change (1ccd638b1aa85fb3c43b49d69d279cd509ebdc21) that kicked of this
> avalanche of events.  I was thinking to keep that as part of our port
> until the next snapshot (Wine 5.10) - do you have any strong feelings
> or recommendations either way?
>
>
While I don't completely understand the many changes there, I would advise
against files/patch-tools-winegcc as Linux doesn't use it, and the only
issue on FreeBSD was that rtld-elf problem which Wine worked around in 5.9.


> Thanks,
> Gerald
>

Damjan
___
freebsd-emulation@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"