No idea what might have triggered this, SIGILL from mono (there is
one visible in the log below from cert-sync, also a mono-sgen.core is
present in the build dir - backtrace below though I doubt it's
helpful)

I've saved the build directory in case anyone wants to take a look.

>>> Building on i386-2 under games/spacetrader
         BDEPENDS = [lang/mono;archivers/unzip]
         DIST = [games/spacetrader:SpaceTraderSource201.zip]
         FULLPKGNAME = spacetrader-2.0.1
         RDEPENDS = [lang/mono]
(Junk lock obtained for i386-2 at 1638840678.01)
>>> Running depends in games/spacetrader at 1638840678.02
   last junk was in games/xlife
/usr/sbin/pkg_add -aI -Drepair mono-6.12.0.122p0 unzip-6.0p14
was: /usr/sbin/pkg_add -aI -Drepair mono-6.12.0.122p0 unzip-6.0p14
/usr/sbin/pkg_add -aI -Drepair mono-6.12.0.122p0 unzip-6.0p14
Illegal instruction (core dumped) 
system(/bin/sh, -c, /usr/local/bin/cert-sync /etc/ssl/cert.pem >/dev/null) 
failed: Inappropriate ioctl for device exit(132)
>>> Running show-prepare-results in games/spacetrader at 1638840689.30
===> games/spacetrader
===> spacetrader-2.0.1 depends on: mono-* -> mono-6.12.0.122p0
===> spacetrader-2.0.1 depends on: unzip-* -> unzip-6.0p14
mono-6.12.0.122p0
unzip-6.0p14
Don't run junk because nojunk in www/iridium
(Junk lock released for i386-2 at 1638840689.71)
distfiles size=965956
>>> Running build in games/spacetrader at 1638840689.73
===> games/spacetrader
===>  Checking files for spacetrader-2.0.1
`/mnt/distfiles/SpaceTraderSource201.zip' is up to date.
>> (SHA256) SpaceTraderSource201.zip: OK
===>  Extracting for spacetrader-2.0.1
===>  Patching for spacetrader-2.0.1
===>  Compiler link: clang -> /usr/bin/clang
===>  Compiler link: clang++ -> /usr/bin/clang++
===>  Compiler link: cc -> /usr/bin/cc
===>  Compiler link: c++ -> /usr/bin/c++
===>  Generating configure for spacetrader-2.0.1
===>  Configuring for spacetrader-2.0.1
===>  Building for spacetrader-2.0.1
ln -s /usr/local/bin/xbuild /pobj/spacetrader-2.0.1/bin/xbuild
cd /pobj/spacetrader-2.0.1 && /pobj/spacetrader-2.0.1/bin/xbuild 
/p:Configuration=Release

>>>> xbuild tool is deprecated and will be removed in future updates, use 
>>>> msbuild instead <<<<

XBuild Engine Version 14.0
Mono, Version 6.12.0.122
Copyright (C) 2005-2013 Various Mono authors

Build started 12/06/2021 18:31:30.
__________________________________________________
/pobj/spacetrader-2.0.1/SpaceTrader.sln:  warning : Don't know how to handle 
GlobalSection SourceCodeControl, Ignoring.
Project "/pobj/spacetrader-2.0.1/SpaceTrader.sln" (default target(s)):
        Target ValidateSolutionConfiguration:
                Building solution configuration "Release|Default".
        Target Build:
                Project "/pobj/spacetrader-2.0.1/Fryz.Apps.SpaceTrader.csproj" 
(default target(s)):
                        Target PrepareForBuild:
                                Configuration: Release Platform: AnyCPU
                                Created directory "bin/Release/"
                                Created directory "obj/Release/"
                        Target GenerateResources:
                                Tool /usr/local/lib/mono/4.5/resgen.exe 
execution started with arguments: /useSourcePath /compile 
"Form_About.resx,obj/Release/Fryz.Apps.SpaceTrader.FormAbout.resources" 
/usr/local/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: error : Tool 
exited with code: 132. Output: 
                                Tool /usr/local/lib/mono/4.5/resgen.exe 
execution started with arguments: /useSourcePath /compile 
"Form_Alert.resx,obj/Release/Fryz.Apps.SpaceTrader.FormAlert.resources" 
/usr/local/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: error : Tool 
exited with code: 132. Output: 
                                Tool /usr/local/lib/mono/4.5/resgen.exe 
execution started with arguments: /useSourcePath /compile 
"Form_BuyFuel.resx,obj/Release/Fryz.Apps.SpaceTrader.FormBuyFuel.resources" 
                                Tool /usr/local/lib/mono/4.5/resgen.exe 
execution started with arguments: /useSourcePath /compile 
"Form_BuyRepairs.resx,obj/Release/Fryz.Apps.SpaceTrader.FormBuyRepairs.resources"
 
                                Tool /usr/local/lib/mono/4.5/resgen.exe 
execution started with arguments: /useSourcePath /compile 
"Form_CargoBuy.resx,obj/Release/Fryz.Apps.SpaceTrader.FormCargoBuy.resources" 
                                Tool /usr/local/lib/mono/4.5/resgen.exe 
execution started with arguments: /useSourcePath /compile 
"Form_CargoSell.resx,obj/Release/Fryz.Apps.SpaceTrader.FormCargoSell.resources" 
                                Tool /usr/local/lib/mono/4.5/resgen.exe 
execution started with arguments: /useSourcePath /compile 
"Form_Costs.resx,obj/Release/Fryz.Apps.SpaceTrader.FormCosts.resources" 
                                Tool /usr/local/lib/mono/4.5/resgen.exe 
execution started with arguments: /useSourcePath /compile 
"Form_Encounter.resx,obj/Release/Fryz.Apps.SpaceTrader.FormEncounter.resources" 
/usr/local/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: error : Tool 
exited with code: 132. Output: 
                                Tool /usr/local/lib/mono/4.5/resgen.exe 
execution started with arguments: /useSourcePath /compile 
"Form_Equipment.resx,obj/Release/Fryz.Apps.SpaceTrader.FormEquipment.resources" 
                                Tool /usr/local/lib/mono/4.5/resgen.exe 
execution started with arguments: /useSourcePath /compile 
"Form_Find.resx,obj/Release/Fryz.Apps.SpaceTrader.FormFind.resources" 
                                Tool /usr/local/lib/mono/4.5/resgen.exe 
execution started with arguments: /useSourcePath /compile 
"Form_GetLoan.resx,obj/Release/Fryz.Apps.SpaceTrader.FormGetLoan.resources" 
                                Tool /usr/local/lib/mono/4.5/resgen.exe 
execution started with arguments: /useSourcePath /compile 
"Form_Jettison.resx,obj/Release/Fryz.Apps.SpaceTrader.FormJettison.resources" 
                                Tool /usr/local/lib/mono/4.5/resgen.exe 
execution started with arguments: /useSourcePath /compile 
"Form_Monster.resx,obj/Release/Fryz.Apps.SpaceTrader.FormMonster.resources" 
                                Tool /usr/local/lib/mono/4.5/resgen.exe 
execution started with arguments: /useSourcePath /compile 
"Form_NewCommander.resx,obj/Release/Fryz.Apps.SpaceTrader.FormNewCommander.resources"
 
                                Tool /usr/local/lib/mono/4.5/resgen.exe 
execution started with arguments: /useSourcePath /compile 
"Form_Options.resx,obj/Release/Fryz.Apps.SpaceTrader.FormOptions.resources" 
                                Tool /usr/local/lib/mono/4.5/resgen.exe 
execution started with arguments: /useSourcePath /compile 
"Form_PayBackLoan.resx,obj/Release/Fryz.Apps.SpaceTrader.FormPayBackLoan.resources"
 
                                Tool /usr/local/lib/mono/4.5/resgen.exe 
execution started with arguments: /useSourcePath /compile 
"Form_Plunder.resx,obj/Release/Fryz.Apps.SpaceTrader.FormPlunder.resources" 
                                Tool /usr/local/lib/mono/4.5/resgen.exe 
execution started with arguments: /useSourcePath /compile 
"Form_ShipList.resx,obj/Release/Fryz.Apps.SpaceTrader.FormShipList.resources" 
                                Tool /usr/local/lib/mono/4.5/resgen.exe 
execution started with arguments: /useSourcePath /compile 
"Form_Shipyard.resx,obj/Release/Fryz.Apps.SpaceTrader.Form_Shipyard.resources" 
/usr/local/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: error : Tool 
exited with code: 132. Output: 
                                Tool /usr/local/lib/mono/4.5/resgen.exe 
execution started with arguments: /useSourcePath /compile 
"Form_SpaceTrader.resx,obj/Release/Fryz.Apps.SpaceTrader.SpaceTrader.resources" 
/usr/local/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: error : Tool 
exited with code: 132. Output: 
                                Tool /usr/local/lib/mono/4.5/resgen.exe 
execution started with arguments: /useSourcePath /compile 
"Form_Test.resx,obj/Release/Fryz.Apps.SpaceTrader.FormTest.resources" 
                                Tool /usr/local/lib/mono/4.5/resgen.exe 
execution started with arguments: /useSourcePath /compile 
"Form_ViewBank.resx,obj/Release/Fryz.Apps.SpaceTrader.FormViewBank.resources" 
                                Tool /usr/local/lib/mono/4.5/resgen.exe 
execution started with arguments: /useSourcePath /compile 
"Form_ViewCommander.resx,obj/Release/Fryz.Apps.SpaceTrader.FormViewCommander.resources"
 
                                Tool /usr/local/lib/mono/4.5/resgen.exe 
execution started with arguments: /useSourcePath /compile 
"Form_ViewHighScores.resx,obj/Release/Fryz.Apps.SpaceTrader.FormViewHighScores.resources"
 
                                Tool /usr/local/lib/mono/4.5/resgen.exe 
execution started with arguments: /useSourcePath /compile 
"Form_ViewPersonnel.resx,obj/Release/Fryz.Apps.SpaceTrader.FormViewPersonnel.resources"
 
                                Tool /usr/local/lib/mono/4.5/resgen.exe 
execution started with arguments: /useSourcePath /compile 
"Form_ViewQuests.resx,obj/Release/Fryz.Apps.SpaceTrader.FormViewQuests.resources"
 
                                Tool /usr/local/lib/mono/4.5/resgen.exe 
execution started with arguments: /useSourcePath /compile 
"Form_ViewShip.resx,obj/Release/Fryz.Apps.SpaceTrader.FormViewShip.resources" 
                        Task "GenerateResource" execution -- FAILED
                        Done building target "GenerateResources" in project 
"/pobj/spacetrader-2.0.1/Fryz.Apps.SpaceTrader.csproj".-- FAILED
                Done building project 
"/pobj/spacetrader-2.0.1/Fryz.Apps.SpaceTrader.csproj".-- FAILED
        Task "MSBuild" execution -- FAILED
        Done building target "Build" in project 
"/pobj/spacetrader-2.0.1/SpaceTrader.sln".-- FAILED
Done building project "/pobj/spacetrader-2.0.1/SpaceTrader.sln".-- FAILED

Build FAILED.

Warnings:

/pobj/spacetrader-2.0.1/SpaceTrader.sln:  warning : Don't know how to handle 
GlobalSection SourceCodeControl, Ignoring.

Errors:

/pobj/spacetrader-2.0.1/SpaceTrader.sln (default targets) ->
(Build target) ->
/pobj/spacetrader-2.0.1/Fryz.Apps.SpaceTrader.csproj (default targets) ->
/usr/local/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets (GenerateResources 
target) ->

        /usr/local/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: error : 
Tool exited with code: 132. Output: 
        /usr/local/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: error : 
Tool exited with code: 132. Output: 
        /usr/local/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: error : 
Tool exited with code: 132. Output: 
        /usr/local/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: error : 
Tool exited with code: 132. Output: 
        /usr/local/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: error : 
Tool exited with code: 132. Output: 

         1 Warning(s)
         5 Error(s)

Time Elapsed 00:00:13.3289550
*** Error 1 in games/spacetrader (Makefile:26 'do-build')
*** Error 2 in games/spacetrader (/usr/ports/infrastructure/mk/bsd.port.mk:2944 
'/pobj/spacetrader-2.0.1/.build_done': @cd /usr/ports/games/...)
*** Error 2 in games/spacetrader (/usr/ports/infrastructure/mk/bsd.port.mk:2594 
'build': @lock=spacetrader-2.0.1;  export _LOCKS_HELD=" spac...)
===> Exiting games/spacetrader with an error
*** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:137 'build': @: 
${echo_msg:=echo};  : ${target:=build};  for i in ; do  eval...)
>>> Ended at 1638840704.07
max_stuck=0.00/depends=11.28/show-prepare-results=0.42/build=14.35
Error: job failed with 512 on i386-2 at 1638840704




gdb /usr/local/bin/mono-sgen mono-sgen.core  
GNU gdb (GDB) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "i386-unknown-openbsd7.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/bin/mono-sgen...
(No debugging symbols found in /usr/local/bin/mono-sgen)
[New process 232344]
[New process 183859]
[New process 555519]

warning: Unexpected size of section `.reg2/232344' in core file.
Core was generated by `mono-sgen'.
Program terminated with signal SIGILL, Illegal instruction.

warning: Unexpected size of section `.reg2/232344' in core file.
#0  0x0612d60a in _dl_bind (object=0x63a58c00, index=432) at 
/usr/src/libexec/ld.so/i386/rtld_machine.c:347
347                     __asm volatile("lea %3, %%edx; pushl 4(%%edx);"
[Current thread is 1 (process 232344)]
Mono support loaded.
(gdb) bt
#0  0x0612d60a in _dl_bind (object=0x63a58c00, index=432) at 
/usr/src/libexec/ld.so/i386/rtld_machine.c:347
#1  0x0612d877 in _dl_bind_start () at /usr/src/libexec/ld.so/i386/ldasm.S:99
#2  0x63a58c00 in ?? ()
#3  0x06130b0d in _dl_call_init_recurse (object=0x63a58c00, initfirst=0) at 
/usr/src/libexec/ld.so/loader.c:832
#4  0x061309e9 in _dl_call_init_recurse (object=0x63a59e00, initfirst=0) at 
/usr/src/libexec/ld.so/loader.c:807
#5  0x0613090b in _dl_call_init (object=0x63a59e00) at 
/usr/src/libexec/ld.so/loader.c:777
#6  0x0612c887 in dlopen (libname=0x48e49740 "libgdiplus.so", flags=257) at 
/usr/src/libexec/ld.so/dlfcn.c:128
#7  0x1a5b5b1f in ?? ()
#8  0x1a5b4f7b in ?? ()
#9  0x1a54af94 in ?? ()
#10 0x1a54a4bd in ?? ()
#11 0x1a54aaee in ?? ()
#12 0x1a4b5b23 in ?? ()
#13 0x1a30eecf in ?? ()
#14 0x1a2f04dc in ?? ()
#15 0x1a2f2f55 in ?? ()
#16 0x1a2e5f0d in ?? ()
#17 0x1a2e5487 in ?? ()
#18 0x1a38d2cd in ?? ()
#19 0x1a38cdda in ?? ()
#20 0x0ff9d188 in ?? ()
#21 0x55b72b18 in ?? ()
#22 0x0a3d7ed4 in ?? ()
#23 0x0a3d7e80 in ?? ()
#24 0x0a3d5ec4 in ?? ()
#25 0x0a3d694f in ?? ()
#26 0x1a2ea400 in ?? ()
#27 0x1a4e4818 in ?? ()
#28 0x1a4edcda in ?? ()
#29 0x1a4edfe2 in ?? ()
#30 0x1a47f0c3 in ?? ()
#31 0x1a493491 in ?? ()
#32 0x0a36c580 in ?? ()
#33 0x0a36c424 in ?? ()
#34 0x0a3b642c in ?? ()
#35 0x0a3d59b4 in ?? ()
#36 0x0a3d592c in ?? ()
#37 0x0a3d58d0 in ?? ()
#38 0x0a3d5588 in ?? ()
#39 0x0a3d52d4 in ?? ()
#40 0x0a3d4cdc in ?? ()
#41 0x0a3c38fb in ?? ()
#42 0x0a3c28ec in ?? ()
#43 0x0a3c2760 in ?? ()
#44 0x0a3c2704 in ?? ()
#45 0x0a3c26ac in ?? ()
#46 0x0a3c265c in ?? ()
#47 0x0a3c0f80 in ?? ()
#48 0x0a3c0cec in ?? ()
#49 0x0a398ba5 in ?? ()
#50 0x0a3981fc in ?? ()
#51 0x0a385cec in ?? ()
#52 0x0a38596c in ?? ()
#53 0x0a37f03f in ?? ()
#54 0x0a36d084 in ?? ()
#55 0x0a36d3bd in ?? ()
#56 0x1a2ea400 in ?? ()
#57 0x1a4e4818 in ?? ()
#58 0x1a4ec0d4 in ?? ()
#59 0x1a4ec17b in ?? ()
#60 0x1a34b409 in mono_jit_exec ()
#61 0x1a34e302 in mono_main ()
#62 0x1a2e2b0b in ?? ()
#63 0x1a2e289e in _start ()

Reply via email to