Bug 261332

Summary: lang/mono: fails to build on arm64 13.0-RELEASE in poudriere at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () <0x00007>
Product: Ports & Packages Reporter: Dave Cottlehuber <dch>
Component: Individual Port(s)Assignee: freebsd-mono (Nobody) <mono>
Status: Closed FIXED    
Severity: Affects Some People CC: dch
Priority: --- Keywords: needs-patch, needs-qa
Version: LatestFlags: bugzilla: maintainer-feedback? (mono)
koobs: merge-quarterly?
Hardware: arm64   
OS: Any   
Bug Depends on:    
Bug Blocks: 261512    
Attachments:
Description Flags
git diff from mikael@ originally from PR 229710 none

Description Dave Cottlehuber freebsd_committer freebsd_triage 2022-01-19 12:11:22 UTC
host is 14.0.-CURRENT, poudriere jail is 13.0-RELEASE
hardware is arm64 ampere emag.

NB this used to build reliably in 2021, unclear what has changed.

this blocks un-breaking databases/foundationdb for arm64.
Comment 1 Dave Cottlehuber freebsd_committer freebsd_triage 2022-01-19 12:12:28 UTC
...
Mono.Unix/UnixEncoding.cs(312,72): warning CS3001: Argument type 'byte*' is not CLS-compliant
CSC     [net_4_x-linux] System.Core.dll
Makefile:27: warning: overriding recipe for target 'test-local'
../../build/library.make:216: warning: ignoring old recipe for target 'test-local'
Makefile:27: warning: overriding recipe for target 'test-local'
../../build/library.make:216: warning: ignoring old recipe for target 'test-local'
CSC     [net_4_x-linux] System.Drawing.dll
Stacktrace:

  at <unknown> <0xffffffff>
  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () <0x00007>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_bool (object,intptr,intptr,intptr) [0x0001e] in <53feb505807b449d85e9b0be841d340e>:0
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2022-01-19 22:43:00 UTC
@Dave Could you create a dependent issue for the foundationdb issue and add it to the blocks field here
Comment 3 Dave Cottlehuber freebsd_committer freebsd_triage 2022-01-27 10:16:45 UTC
Created attachment 231381 [details]
git diff from mikael@ originally from PR 229710

this patch isn't needed when poudriere host is 13.0-RELEASE arm64 but is required
for a modern 14.0-CURRENT in 2022. The FreeBSD port builders are still behind
enough not to need this patch, but we should include it before this becomes necessary.
Comment 4 Dave Cottlehuber freebsd_committer freebsd_triage 2022-11-14 22:53:11 UTC
committed in b62ec370c8d82