Saturday, March 01, 2025

kicad brokenness

Currently, kicad is marked brokem due to
https://gitlab.com/kicad/code/kicad/-/issues/18621 so there is
no package in -current.

As it depends on Python, the lack of package will interfere with a
regular update from 7.6 to 7.7 at releas, leaving a faorly broken
system.

I propose to allow packaging again to fix the update problem, but
install the main binary wirh 0 permissions to avoid accidental use.
OK?

(Maybe ee could also advise kicad users to hold off on updating in
release notes).



Index: Makefile
===================================================================
RCS file: /cvs/ports/cad/kicad/Makefile,v
diff -u -p -r1.73 Makefile
--- Makefile 27 Feb 2025 12:47:13 -0000 1.73
+++ Makefile 2 Mar 2025 04:20:40 -0000
@@ -1,6 +1,5 @@
# Sync cad/kicad-share/Makefile.inc with archs where kicad is broken
-BROKEN-powerpc = segfaults when trying to run the PCB editor
-BROKEN = Needs _LIBCXXABI_FORGIVING_DYNAMIC_CAST in base libcxxabi
+BROKEN-powerpc = segfaults when trying to run the PCB editor

USE_NOBTCFI = Yes

Index: pkg/MESSAGE
===================================================================
RCS file: pkg/MESSAGE
diff -N pkg/MESSAGE
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ pkg/MESSAGE 2 Mar 2025 04:20:40 -0000
@@ -0,0 +1,4 @@
+kicad on OpenBSD currently has issues with crashes for projects using
+footprisnts, possibly resulting innbroken projects. As such, the main
+binary has been installed with no permissions to avoid accidental
+damage. See https://gitlab.com/kicad/code/kicad/-/issues/18621
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/cad/kicad/pkg/PLIST,v
diff -u -p -r1.10 PLIST
--- pkg/PLIST 27 Feb 2025 12:47:14 -0000 1.10
+++ pkg/PLIST 2 Mar 2025 04:20:40 -0000
@@ -16,7 +16,9 @@ bin/_pl_editor.kiface
@bin bin/idf2vrml
@bin bin/idfcyl
@bin bin/idfrect
+@mode 000
@bin bin/kicad
+@mode
@bin bin/kicad-cli
@bin bin/pcb_calculator
@bin bin/pcbnew

No comments:

Post a Comment