pkg/60528: emulators/wine fails to build

"[email protected] via gnats" <[email protected]> Sun, 2 Aug 2026 03:25:00 +0000 (UTC)
Newsgroups gmane.os.netbsd.devel.pkgsrc.bugs
Message-ID <[email protected]>
>Number:         60528
>Category:       pkg
>Synopsis:       emulators/wine fails to build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 02 03:25:00 +0000 2026
>Originator:     Paul R Goyette
>Release:        NetBSD speedy.whooppee.com 11.99.6 NetBSD 11.99.6 (SPEEDY 2026-07-10 19:57:03 UTC) #0: Sat Jul 11 17:39:09 UTC 2026  [email protected]:/build/netbsd-local/obj/amd64/sys/arch/amd64/compile/SPEEDY amd64
>Organization:
>Environment:
NetBSD speedy.whooppee.com 11.99.6 NetBSD 11.99.6 (SPEEDY 2026-07-10 19:57:03 UTC) #0: Sat Jul 11 17:39:09 UTC 2026  [email protected]:/build/netbsd-local/obj/amd64/sys/arch/amd64/compile/SPEEDY amd64
>Description:
with pkgsrc updated on 2026-08-01 at 08:03:24 UTC and building into a completely empty sandbox I get

...
dlls/ntdll/unix/signal_x86_64.c: In function 'save_context':
dlls/ntdll/unix/signal_x86_64.c:899:5: error: cannot convert to a pointer type
  899 |     if (FPU_sig(sigcontext))
      |     ^~
dlls/ntdll/unix/signal_x86_64.c:904:9: error: cannot convert to a pointer type
  904 |         context->FltSave = *FPU_sig(sigcontext);
      |         ^~~~~~~
dlls/ntdll/unix/signal_x86_64.c: In function 'restore_context':
dlls/ntdll/unix/signal_x86_64.c:935:5: error: cannot convert to a pointer type
  935 |     if (FPU_sig(sigcontext)) *FPU_sig(sigcontext) =context->FltSave;
      |     ^~
dlls/ntdll/unix/signal_x86_64.c:935:5: error: cannot convert to a pointer type
dlls/ntdll/unix/signal_x86_64.c: In function 'fpe_handler':
dlls/ntdll/unix/signal_x86_64.c:2083:9: error: cannot convert to a pointer type
 2083 |         if (FPU_sig(ucontext) && FPU_sig(ucontext)->StatusWord &
0x40)
      |         ^~
...
>How-To-Repeat:

>Fix: