lang/mono5.20: Fix building with CMake 462e44c6d64
Port details
lang/mono5.205.20.1.34_4
Open source implementation of .NET Development Framework
- Maintainer
- ports@FreeBSD.org
- Packages
- mono5.20 5.20.1.34_4
- Upstream
- up to date
- CPE
mono:monofrom the port- WWW
- https://www.mono-project.com/
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (26)
lang/mono5.20: Moved man to share/man Approved by: portmgr (blanket)47419adb3f
lang/mono5.20: fix build with llvm 16
exceptions-ppc.c:798:32: error: incompatible pointer to integer conversion assigning to 'mgreg_t' (aka 'long') from 'gpointer' (aka 'void *') [-Wint-conversion]
ctx->regs [PPC_FIRST_ARG_REG] = user_data;
^ ~~~~~~~~~
exceptions-ppc.c:800:23: error: incompatible pointer to integer conversion assigning to 'unsigned long' from 'gpointer' (aka 'void *') [-Wint-conversion]
*(unsigned long *)sp = MONO_CONTEXT_GET_SP(ctx);
^ ~~~~~~~~~~~~~~~~~~~~~~~~
exceptions-ppc.c:802:45: error: incompatible integer to pointer conversion passing 'unsigned long' to parameter of type 'gpointer' (aka 'void *') [-Wint-conversion]
mono_arch_setup_resume_sighandler_ctx(ctx, (unsigned long) async_cb);
^~~~~~~~~~~~~~~~~~~~~~~~
./mini.h:2314:77: note: passing argument to parameter 'func' here
void mono_arch_setup_resume_sighandler_ctx (MonoContext *ctx, gpointer func);
^
3 errors generated.37848ee482lang/mono5*: unbreak with kern.elf*.allow_wx=0
$ mono foo
Segmentation fault
* thread #1, name = 'mono-sgen', stop reason = signal SIGSEGV: invalid address (fault address: 0x0)
frame #0: 0x00000000005632f9 mono`mono_arch_create_sdb_trampoline(single_step=0, info=0x0000000820fe7d90, aot=0) at tramp-amd64.c:854:2
851 // IP saved at CFA - 8
852 mono_add_unwind_op_offset (unwind_ops, code, buf, AMD64_RIP, -cfa_offset);
853
-> 854 amd64_push_reg (code, AMD64_RBP);
855 cfa_offset += sizeof(mgreg_t);
856 mono_add_unwind_op_def_cfa_offset (unwind_ops, code, buf, cfa_offset);
857 mono_add_unwind_op_offset (unwind_ops, code, buf, AMD64_RBP, - cfa_offset);
(lldb) bt
* thread #1, name = 'mono-sgen', stop reason = signal SIGSEGV: invalid address (fault address: 0x0)
* frame #0: 0x00000000005632f9 mono`mono_arch_create_sdb_trampoline(single_step=0, info=0x0000000820fe7d90, aot=0) at tramp-amd64.c:854:2
frame #1: 0x000000000047cf36 mono`mini_get_breakpoint_trampoline at mini-trampolines.c:1812:12
frame #2: 0x00000000004dc5a1 mono`mono_arch_init at mini-amd64.c:1405:19
frame #3: 0x000000000035fde4 mono`mini_init(filename="foo", runtime_version=0x0000000000000000) at mini-runtime.c:4364:2
frame #4: 0x0000000000426853 mono`mono_main(argc=2, argv=0x0000000820fe8268) at driver.c:2470:11
frame #5: 0x0000000000359363 mono`mono_main_with_options(argc=2, argv=0x0000000820fe8268) at main.c:50:9
frame #6: 0x00000000003589b1 mono`main(argc=2, argv=0x0000000820fe8268) at main.c:406:9
frame #7: 0x0000000000358770 mono`_start(ap=<unavailable>, cleanup=<unavailable>) at crt1_c.c:75:7174de78543lang/mono*: add compat symlink for devel/msbuild < 16 /usr/local/lib/mono/msbuild/15.0/bin/Microsoft.CSharp.CurrentVersion.targets(331,5): error MSB4019: The imported project "/usr/local/lib/mono/msbuild/15.0/bin/Roslyn/Microsoft.CSharp.Core.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. PR: 256342 Suggested by: Marcin Cieślak Regressed by: https://github.com/mono/mono/commit/1717687e16ddbcd90622c7
*/*: return mono@ ports to the pool The team previously known as mono has no active members. I will send an email to ports@ in case anyone wants to pick up these ports. Approved by: portmgr (bofh)c59052ead1
*: Fix e2438a86b81aea7cd41a66ca23fc49510679d85be3b5f07091
*/*: Update path set in BUILD_DEPENDS for CMake in more ports Commit b23ea4e2d2f51b53d8915fe9fd7b4efbdd575e38 changed its location to devel/cmake-core Approved by: portmgr (blanket)e2438a86b8
Remove WWW entries moved into port Makefiles Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)fb16dfecae
Add WWW entries to port Makefiles It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
lang: remove 'Created by' lines A big Thank You to the original contributors of these ports: * Aaron Dalton <aaron@FreeBSD.org> * Adam Weinberger <adamw@FreeBSD.org> * Akinori MUSHA aka knu <knu@idaemons.org> * Alex Dupre <ale@FreeBSD.org> * Alexey Dokuchaev <danfe@FreeBSD.org> * Alonso Cardenas Marquez <acm@FreeBSD.org> * Andreas Klemm <andreas@klemm.gtn.com> * Andrew Pantyukhin <infofarmer@FreeBSD.org> * Andrey Zakhvatov * Anton Berezin <tobez@FreeBSD.org> * Anton Berezin <tobez@tobez.org> * Anton Shterenlikht * Ashish SHUKLA <ashish@FreeBSD.org> * Bob Eager <bob@eager.cx> * Bruce M Simpson * Bruce M. Simpson * Christoph Mallon <christoph.mallon@gmx.de> * Christopher Elkins <chrise@scardini.com> * Christopher Key <cjk32@cam.ac.uk> * Chuck Robey <chuckr@FreeBSD.org> * Cyrille Lefevre <clefevre@citeweb.net> * Dan Rench <citric@cubicone.tmetic.com> * Danilo Egea Gondolfo <danilogondolfo@gmail.com> * Dario Freni <saturnero@gufi.org> * David Kalliecharan <dave@dal.ca> * David Naylor <dbn@FreeBSD.org> * David Naylor <dbn@dragon.local> * David O'Brien (obrien@NUXI.com) * David O'Brien (obrien@NUXI.org) * David O'Brien <obrien@NUXI.org> * David O'Brien <obrien@cs.ucdavis.edu> * Dereckson <dereckson@gmail.com> * Devon H. O'Dell <devon.odell@gmail.com> * Dmitry Sivachenko <demon@FreeBSD.org> * Don Croyle <croyle@gelemna.org> * Douglas Anestad <yotta@dougdidit.com> * Edwin Groothuis (edwin@mavetju.org) * Edwin Groothuis <edwin@mavetju.org> * Eugene Ossintsev * Frank Fischer * Frank Gruender <elwood@mc5sys.in-berlin.de> * Frederic Cambus * Gea-Suan Lin <gslin@gslin.org> * Gerald Pfeifer <gerald@FreeBSD.org> * Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com> * GreenDog <fiziologus@gmail.com> * Gustau Perez i Querol <gustau.perez@gmail.com> * Guy Antony Halse <guy@rucus.ru.za.za> * Herve Quiroz <hq@FreeBSD.org> * Hye-Shik Chang * Hye-Shik Chang <perky@fallin.lv> * Hye-Shik Chang <perky@python.or.kr> * Iblis Lin <iblis@hs.ntnu.edu.tw> * James Bailie <jimmy@mammothcheese.ca> * James FitzGibbon <jfitz@FreeBSD.org> * Jean-Sébastien Pédron <dumbbell@FreeBSD.org> * Jean-Yves Lefort <jylefort@FreeBSD.org> * Jeff Brown <jabrown@caida.org> * Jeremy Norris <ishmael27@home.com> * Jing-Tang Keith Jang <keith@FreeBSD.org> * John Hein <jhein@symmetricom.com> * John Marino <marino@FreeBSD.org> * John Merryweather Cooper * John Merryweather Cooper <coop9211@uidaho.edu> * John Merryweather Cooper et al * Joseph Koshy <jkoshy@FreeBSD.org> * Josh Elsasser <jre@vineyard.net> * Josh Gilliam <josh@quick.net> * Julian H. Stacey <jhs@FreeBSD.org> * Julian Stecklina * Jyun-Yan You <jyyou@cs.nctu.edu.tw> * Katsuji ISHIKAWA <katsuji.ishikawa@gmail.com> * Kimura Fuyuki <fuyuki@hadaly.org> * Kimura Fuyuki <fuyuki@mj.0038.net> * Kimura Fuyuki <fuyuki@nigredo.org> * Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp> * Kubilay Kocak <koobs@FreeBSD.org> * Lars Thegler <lth@FreeBSD.org> * Lev Walkin <vlm@lionet.info> * Li-Wen Hsu <lwhsu@FreeBSD.org> * Mahdi Mokhtari <mokhi64@gmail.com> * Marcin Cieslak <saper@SYSTEM.PL> * Martin Matuska <mm@FreeBSD.org> * Matthew Hunt <mph@FreeBSD.org> * Michael Butschky <butsch@computi.erols.com> * Michael Johnson <ahze@FreeBSD.org> * Mitsuru YOSHIDA <mitsuru@riken.jp> * Muhammad Moinur Rahman <5u623l20@gmail.com> * Neal Nelson <ports@nicandneal.net> * Nicola Vitale <nivit@FreeBSD.org> * Nils M Holm <nmh@t3x.org> * Oliver Braun <obraun@informatik.unibw-muenchen.de> * Oliver Breuninger <ob@seicom.NET> * Patrick Li <pat@databits.net> * Pawel Worach <pawel.worach@gmail.com> * Pedro F. Giffuni <giffunip@asme.org> * Pedro Giffuni * Pedro Giffuni <giffunip@asme.org> * Pete French <pete@twisted.org.uk> * Peter Schuller <peter.schuller@infidyne.com> * Peter van Heusden <pvh@egenetics.com> * Phillip Neumann <pneumann@gmail.com> * Piotr Kubaj <pkubaj@anongoth.pl> * Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Pontus Stenetorp <ninjin@kth.se> * Ralf S. Engelschall <rse@engelschall.com> * Rick van der Zwet <rick@wzoeterwoude.net> * Rob Zinkov * Roland Jesse <roland.jesse@gmx.net> * Romain Tartiere <romain@blogreen.org> * Ryan Steinmetz <zi@FreeBSD.org> * Sahil Tandon <sahil@tandon.net> * Sergei Kolobov <sergei@kolobov.com> * Sergey A. Osokin <osa@FreeBSD.org> * Sergey Skvortsov <skv@protey.ru> * Simon Marlow <simonmar@microsoft.com> * Simun Mikecin <numisemis@yahoo.com> * Stanislav Sedov <ssedov@mbsd.msk.ru> * Stephen Weeks <sweeks@sweeks.com> * Steven G. Kargl * Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Sylvio Cesar <sylvio@FreeBSD.org> * Thomas Gellekum <tg@FreeBSD.org> * Timothy Beyer <beyert@cs.ucr.edu> * Timothy Bourke <timbob@bigpond.com> * Tom Judge <tj@FreeBSD.org> * Veniamin Gvozdikov <vg@FreeBSD.org> * Vitaly Magerya <vmagerya@gmail.com> * Wen Heping <wenheping@gmail.com> * Wen Heping <wenhping@gmail.com> * Wes Peters <wes@softweyr.com> * Ying-Chieh Liao <ijliao@FreeBSD.org> * Yukihiro Nakai <Nakai@technologist.com> * Yukihiro Nakai <nakai@FreeBSD.org> * Zach Garner <zach@neurosoft.org> * aaron@FreeBSD.org * andrewb@cs.cmu.edu * arved * chinsan * chuckr * dd * erik@smluc.org * gahr * gahr@FreeBSD.org * gpalmer * hsu * ijliao * jasone * jkh * jkoshy * jmacd * jmacd@FreeBSD.org * jmz * js@jeannot.org * jseger@FreeBSD.org * kappa@FreeBSD.org.ua * kbyanc * msmith@gsoft.com.au * mutoh@openedu.org * netchild@FreeBSD.org * patrick * pst * rene@FreeBSD.org * ruslan@shevchenko.kiev.ua * stas * tobez With hat: portmgrf98ae56653
lang/mono5.20: minor fixes - Fix shebang - Add missing file to plist Approved by: portmgr blanket432bcd11d8
Fix CONFLICTS entries of multiple ports There have been lots of missing CONFLICTS_INSTALL entries, either because conflicting ports were added without updating existing ports, due to name changes of generated packages, due to mis-understanding the format and semantics of the conflicts entries, or just due to typoes in package names. This patch is the result of a comparison of all files contained in the official packages with each other. This comparison was based on packages built with default options and may therefore have missed further conflicts with optionally installed files. Where possible, version numbers in conflicts entries have been generalized, some times taking advantage of the fact that a port cannot conflict with itself (due to logic in bsd.port.mk that supresses the pattern match result in that case). A few ports that set the conflicts variables depending on complex conditions (e.g. port options), have been left unmodified, despite probably containing outdated package names. These changes should only affect the installation of locally built ports, not the package building with poudriere. They should give an early indication of the install conflict in cases where currently the pkg command aborts an installation when it detects that an existing file would be overwritten, Approved by: portmgr (implicit)bcaf25a8c8
lang/mono5.20: Invoke CPU_COUNT properly 6017a183afd1d58656a75f72277f0cd5111cc0e6 did not include a patch to configure.ac that allowed it to properly detect CPU_COUNT. Fixes: 6017a183afd1d58656a75f72277f0cd5111cc0e6 MFH: 2021Q46e22c3c3fd
lang/mono5.20: Fix build on current with _WITH_CPU_SET_T Fix the same error as lang/mono. MFH after: 3 days6017a183af
lang/mono5.20: enable on powerpc64lead5a911fe8
lang/mono5.20: port to powerpc648852199a64
lang/mono5.20: port to powerpc64 Same as lang/mono, except that BTLS is enabled.756e364d86
Remove # $FreeBSD$ from Makefiles.305f148f48
lang/mono5.20: fix build on aarch64 PR: 229710 Submitted by: Greg V greg@unrelenting.technology Approved by: portmgr (tier-2 blanket)866c126bf5
Fix PKGBASE collisionsf407a2e442
Add proper CONFLICTS_INSTALL. These should now be complete and ready for wider testing, so change the maintainers to all be mono@FreeBSD.org PR: 251795 Submitted by: linimon9ae187d985
Remove stale patchfiles. Pointy hat to: linimon PR: 23808911d8ac8284
Actually add the new patchfiles.24c751e493
Actually update the newly created port lang/mono5.20 to 5.20. This port is a WIP. It compiles and packages on both amd64 and powerpc64. However, the ports depending on it are still under test. As such, it is intentionally not yet connected to the build. I will continue to work on this in the coming days. This corresponds to the most recent patches in 238089 for 5.x. Note: this port depends on the obsolete python2.7 (it is known that it will not work with python3.X). Testing vs. tauthon is TBA. PR: 238089 Submitted by: cemc92c68f84d
Repocopy lang/mono to lang/mono5.20 in preparation for upgrade. PR: 238089 Submitted by: cemf715f2cd61