Re: fix x11/qt5/qtdeclarative W^X violations (was Re: net/kdeconnect-kde: use wxneeded)
On Thu Mar 24, 2022 at 03:27:04PM +, Klemens Nanni wrote: > On Tue, Mar 15, 2022 at 09:23:51PM +, Klemens Nanni wrote: > > On Tue, Mar 15, 2022 at 08:20:35PM +, Stuart Henderson wrote: > > > On 2022/03/15 21:03, Theo Buehler wrote: > > > > On Tue, Mar 15, 2022 at 07:47:03PM +, Klemens Nanni wrote: > > > > > On Tue, Mar 15, 2022 at 06:27:13PM +, Klemens Nanni wrote: > > > > > > Just tried it on a kern.wxabort=1 machine which causes > > > > > > > > > > > > At least two programs in this port need W^X: > > > > > > kdeconnect-app(83050): mmap W^X violation > > > > > > kdeconnect-sms(27246): mmap W^X violation > > > > > > > > > > > > OK? > > > > > > > > > > > RCS file: /cvs/ports/net/neochat/Makefile,v > > > > > > > > > > Used an old mail as template and forgot to send the right patch... > > > > > > > > Before USE_WXNEEDED is sprinkled all over kde/Qt ports, what is the root > > > > cause of this? Can it perhaps be neutered? > > > > > > By sprinkling USE_WXNEEDED you allow software to carry out these > > > mappings _even if they don't need them_. > > > > > > The default kern.wxabort=0 setting returns a failure to the software > > > rather than killing it. This is like what PaX does. It's not uncommon > > > for software to handle this case correctly: try a mapping, if it fails > > > then use a non-W+X fallback. > > > > Thanks for the feedback (both on- and off-list). > > > > Turns out both neochat and kdeconnect-kde abort in the same Qt5Qml lib > > which in fact has fallback code for W^X mappings, i.e. it'll gracefully > > try non-W^X mappings. > > > > That W^X check is what's triggering wxabort=1 in the first place, so > > by neutering the check on OpenBSD we can avoid triggering it and thus > > USE_WXNEEDED=Yes. > > > > Feedback? Obejctions? OK? > > Anyone? It looks good and makes sense but I think it's better to test with more qtdeclarative consumers and for this reason I would wait until after 7.1. Is that okay with you? If yes, ok rsadowski@ > > Index: net/neochat/Makefile > === > RCS file: /cvs/ports/net/neochat/Makefile,v > retrieving revision 1.7 > diff -u -p -r1.7 Makefile > --- net/neochat/Makefile 11 Mar 2022 19:46:28 - 1.7 > +++ net/neochat/Makefile 15 Mar 2022 20:58:07 - > @@ -1,9 +1,7 @@ > -USE_WXNEEDED = Yes > - > COMMENT =client for Matrix chat > VERSION =1.2.0 > DISTNAME = neochat-${VERSION} > -REVISION = 0 > +REVISION = 1 > > CATEGORIES= net > > Index: x11/qt5/qtdeclarative/Makefile > === > RCS file: /cvs/ports/x11/qt5/qtdeclarative/Makefile,v > retrieving revision 1.18 > diff -u -p -r1.18 Makefile > --- x11/qt5/qtdeclarative/Makefile11 Mar 2022 20:16:59 - 1.18 > +++ x11/qt5/qtdeclarative/Makefile15 Mar 2022 20:38:50 - > @@ -4,6 +4,8 @@ USE_WXNEEDED =Yes > QT5NAME =QtDeclarative > COMMENT-main = Qt5 Quick and QML components > > +REVISION-main = 0 > + > MULTI_PACKAGES = -main -examples > DPB_PROPERTIES = parallel > > Index: > x11/qt5/qtdeclarative/patches/patch-src_3rdparty_masm_wtf_OSAllocatorPosix_cpp > === > RCS file: > x11/qt5/qtdeclarative/patches/patch-src_3rdparty_masm_wtf_OSAllocatorPosix_cpp > diff -N > x11/qt5/qtdeclarative/patches/patch-src_3rdparty_masm_wtf_OSAllocatorPosix_cpp > --- /dev/null 1 Jan 1970 00:00:00 - > +++ > x11/qt5/qtdeclarative/patches/patch-src_3rdparty_masm_wtf_OSAllocatorPosix_cpp > 15 Mar 2022 21:20:10 - > @@ -0,0 +1,16 @@ > +canAllocateExecutableMemory() maps memory W^X to see if that is allowed, > +which triggers our kern.wxabort sysctl(2); always return false to neuter > +that mmap(2) test call and have (at least libQt5Qml) always fall back to > +non-W^X mappings. > + > +Index: src/3rdparty/masm/wtf/OSAllocatorPosix.cpp > +--- src/3rdparty/masm/wtf/OSAllocatorPosix.cpp.orig > src/3rdparty/masm/wtf/OSAllocatorPosix.cpp > +@@ -262,6 +262,7 @@ void OSAllocator::releaseDecommitted(void* address, si > + > + bool OSAllocator::canAllocateExecutableMemory() > + { > ++return false; > + int flags = MAP_PRIVATE | MAP_ANON; > + #if PLATFORM(IOS) > + if (executable) > Index: net/kdeconnect-kde/Makefile > === > RCS file: /cvs/ports/net/kdeconnect-kde/Makefile,v > retrieving revision 1.9 > diff -u -p -r1.9 Makefile > --- net/kdeconnect-kde/Makefile 15 Mar 2022 20:01:46 - 1.9 > +++ net/kdeconnect-kde/Makefile 15 Mar 2022 21:21:41 - > @@ -1,9 +1,7 @@ > -USE_WXNEEDED = Yes > - > COMMENT =KDE app that allows your devices to communicate > > DISTNAME = kdeconnect-kde-${MODKDE_VERSION} > -REVISION = 0 > +REVISION = 1 > > SHARED_LIBS += kdeconnectcore 2.0 # 1
[maintainer update] Python 3.10.2 -> 3.10.4
https://docs.python.org/release/3.10.3/whatsnew/changelog.html#python-3-10-3-final https://docs.python.org/release/3.10.4/whatsnew/changelog.html#python-3-10-4-final Two releases in quick succession. ok? --Kurt Index: Makefile === RCS file: /cvs/ports/lang/python/3.10/Makefile,v retrieving revision 1.6 diff -u -p -r1.6 Makefile --- Makefile11 Mar 2022 19:29:11 - 1.6 +++ Makefile24 Mar 2022 22:37:19 - @@ -3,7 +3,7 @@ # requirement of the PSF license, if it constitutes a change to # Python itself. -FULL_VERSION = 3.10.2 +FULL_VERSION = 3.10.4 SHARED_LIBS = python3.10 0.0 VERSION_SPEC = >=3.10,<3.11 #PSUBDIR = python/3.10.0 Index: distinfo === RCS file: /cvs/ports/lang/python/3.10/distinfo,v retrieving revision 1.2 diff -u -p -r1.2 distinfo --- distinfo27 Jan 2022 01:37:47 - 1.2 +++ distinfo24 Mar 2022 22:37:19 - @@ -1,2 +1,2 @@ -SHA256 (Python-3.10.2.tgz) = PA7eiTARMZ+bCla0SVOj1Sx6v5ZXwj+0vJztk7hunJc= -SIZE (Python-3.10.2.tgz) = 25067363 +SHA256 (Python-3.10.4.tgz) = 87zGWx1fHceGdcdGyY/O6CPAOBaPxinFk1sETQkRrSg= +SIZE (Python-3.10.4.tgz) = 25612387 Index: patches/patch-Modules__ssl_c === RCS file: /cvs/ports/lang/python/3.10/patches/patch-Modules__ssl_c,v retrieving revision 1.3 diff -u -p -r1.3 patch-Modules__ssl_c --- patches/patch-Modules__ssl_c11 Mar 2022 19:29:12 - 1.3 +++ patches/patch-Modules__ssl_c24 Mar 2022 22:37:19 - @@ -12,7 +12,7 @@ Index: Modules/_ssl.c #ifndef PY_SSL_MIN_PROTOCOL #define PY_SSL_MIN_PROTOCOL TLS1_2_VERSION #endif -@@ -3567,6 +3567,12 @@ set_num_tickets(PySSLContext *self, PyObject *arg, voi +@@ -3579,6 +3579,12 @@ set_num_tickets(PySSLContext *self, PyObject *arg, voi PyDoc_STRVAR(PySSLContext_num_tickets_doc, "Control the number of TLSv1.3 session tickets"); #endif /* TLS1_3_VERSION */ Index: patches/patch-setup_py === RCS file: /cvs/ports/lang/python/3.10/patches/patch-setup_py,v retrieving revision 1.3 diff -u -p -r1.3 patch-setup_py --- patches/patch-setup_py 11 Mar 2022 19:29:12 - 1.3 +++ patches/patch-setup_py 24 Mar 2022 22:37:19 - @@ -1,7 +1,7 @@ Index: setup.py --- setup.py.orig +++ setup.py -@@ -1149,6 +1149,8 @@ class PyBuildExt(build_ext): +@@ -1151,6 +1151,8 @@ class PyBuildExt(build_ext): 'termcap'): readline_libs.append('termcap') self.add(Extension('readline', ['readline.c'], @@ -10,7 +10,7 @@ Index: setup.py library_dirs=['/usr/lib/termcap'], extra_link_args=readline_extra_link_args, libraries=readline_libs)) -@@ -1868,7 +1870,7 @@ class PyBuildExt(build_ext): +@@ -1870,7 +1872,7 @@ class PyBuildExt(build_ext): uuid_h = sysconfig.get_config_var("HAVE_UUID_H") uuid_uuid_h = sysconfig.get_config_var("HAVE_UUID_UUID_H") if uuid_h or uuid_uuid_h: @@ -19,7 +19,7 @@ Index: setup.py uuid_libs = ["uuid"] else: uuid_libs = [] -@@ -2114,8 +2116,7 @@ class PyBuildExt(build_ext): +@@ -2116,8 +2118,7 @@ class PyBuildExt(build_ext): # The versions with dots are used on Unix, and the versions without # dots on Windows, for detection by cygwin. tcllib = tklib = tcl_includes = tk_includes = None Index: pkg/PLIST-idle === RCS file: /cvs/ports/lang/python/3.10/pkg/PLIST-idle,v retrieving revision 1.3 diff -u -p -r1.3 PLIST-idle --- pkg/PLIST-idle 11 Mar 2022 19:29:12 - 1.3 +++ pkg/PLIST-idle 24 Mar 2022 22:37:19 - @@ -198,6 +198,9 @@ lib/python3.10/idlelib/__pycache__/tree. lib/python3.10/idlelib/__pycache__/undo.cpython-310.opt-1.pyc lib/python3.10/idlelib/__pycache__/undo.cpython-310.opt-2.pyc lib/python3.10/idlelib/__pycache__/undo.cpython-310.pyc +lib/python3.10/idlelib/__pycache__/util.cpython-310.opt-1.pyc +lib/python3.10/idlelib/__pycache__/util.cpython-310.opt-2.pyc +lib/python3.10/idlelib/__pycache__/util.cpython-310.pyc lib/python3.10/idlelib/__pycache__/window.cpython-310.opt-1.pyc lib/python3.10/idlelib/__pycache__/window.cpython-310.opt-2.pyc lib/python3.10/idlelib/__pycache__/window.cpython-310.pyc @@ -422,6 +425,9 @@ lib/python3.10/idlelib/idle_test/__pycac lib/python3.10/idlelib/idle_test/__pycache__/test_undo.cpython-310.opt-1.pyc lib/python3.10/idlelib/idle_test/__pycache__/test_undo.cpython-310.opt-2.pyc lib/python3.10/idlelib/idle_test/__pycache__/test_undo.cpython-310.pyc +lib/python3.10/idlelib/idle_test/__pycache__/test_util.cpython-310.opt-1.pyc +lib/p
[maintiner update] Python 3.9.10 -> 3.9.12
https://docs.python.org/release/3.9.11/whatsnew/changelog.html https://docs.python.org/release/3.9.12/whatsnew/changelog.html I had just prepared 3.9.11 and then they released 3.9.12. :) ok? --Kurt Index: Makefile === RCS file: /cvs/ports/lang/python/3.9/Makefile,v retrieving revision 1.20 diff -u -p -r1.20 Makefile --- Makefile11 Mar 2022 19:29:12 - 1.20 +++ Makefile24 Mar 2022 22:19:09 - @@ -3,7 +3,7 @@ # requirement of the PSF license, if it constitutes a change to # Python itself. -FULL_VERSION = 3.9.10 +FULL_VERSION = 3.9.12 SHARED_LIBS = python3.9 0.0 VERSION_SPEC = >=3.9,<3.10 Index: distinfo === RCS file: /cvs/ports/lang/python/3.9/distinfo,v retrieving revision 1.8 diff -u -p -r1.8 distinfo --- distinfo21 Jan 2022 04:25:12 - 1.8 +++ distinfo24 Mar 2022 22:19:09 - @@ -1,2 +1,2 @@ -SHA256 (Python-3.9.10.tgz) = GqnAcC7bro9qLJX3CknahCCqp2t4idNBnBhr/IwOVx4= -SIZE (Python-3.9.10.tgz) = 25800844 +SHA256 (Python-3.9.12.tgz) = cOCEYuvyZQEr0r6Ipj0hSdiAxz5T8XEre7vpN1BWCug= +SIZE (Python-3.9.12.tgz) = 26338472 Index: patches/patch-setup_py === RCS file: /cvs/ports/lang/python/3.9/patches/patch-setup_py,v retrieving revision 1.6 diff -u -p -r1.6 patch-setup_py --- patches/patch-setup_py 11 Mar 2022 19:29:12 - 1.6 +++ patches/patch-setup_py 24 Mar 2022 22:19:09 - @@ -1,7 +1,7 @@ Index: setup.py --- setup.py.orig +++ setup.py -@@ -1049,6 +1049,8 @@ class PyBuildExt(build_ext): +@@ -1051,6 +1051,8 @@ class PyBuildExt(build_ext): 'termcap'): readline_libs.append('termcap') self.add(Extension('readline', ['readline.c'], @@ -10,7 +10,7 @@ Index: setup.py library_dirs=['/usr/lib/termcap'], extra_link_args=readline_extra_link_args, libraries=readline_libs)) -@@ -1776,7 +1778,7 @@ class PyBuildExt(build_ext): +@@ -1778,7 +1780,7 @@ class PyBuildExt(build_ext): uuid_h = sysconfig.get_config_var("HAVE_UUID_H") uuid_uuid_h = sysconfig.get_config_var("HAVE_UUID_UUID_H") if uuid_h or uuid_uuid_h: @@ -19,7 +19,7 @@ Index: setup.py uuid_libs = ["uuid"] else: uuid_libs = [] -@@ -1995,8 +1997,7 @@ class PyBuildExt(build_ext): +@@ -1997,8 +1999,7 @@ class PyBuildExt(build_ext): # The versions with dots are used on Unix, and the versions without # dots on Windows, for detection by cygwin. tcllib = tklib = tcl_includes = tk_includes = None Index: pkg/PLIST-idle === RCS file: /cvs/ports/lang/python/3.9/pkg/PLIST-idle,v retrieving revision 1.6 diff -u -p -r1.6 PLIST-idle --- pkg/PLIST-idle 11 Mar 2022 19:29:12 - 1.6 +++ pkg/PLIST-idle 24 Mar 2022 22:19:09 - @@ -199,6 +199,9 @@ lib/python3.9/idlelib/__pycache__/tree.c lib/python3.9/idlelib/__pycache__/undo.cpython-39.opt-1.pyc lib/python3.9/idlelib/__pycache__/undo.cpython-39.opt-2.pyc lib/python3.9/idlelib/__pycache__/undo.cpython-39.pyc +lib/python3.9/idlelib/__pycache__/util.cpython-39.opt-1.pyc +lib/python3.9/idlelib/__pycache__/util.cpython-39.opt-2.pyc +lib/python3.9/idlelib/__pycache__/util.cpython-39.pyc lib/python3.9/idlelib/__pycache__/window.cpython-39.opt-1.pyc lib/python3.9/idlelib/__pycache__/window.cpython-39.opt-2.pyc lib/python3.9/idlelib/__pycache__/window.cpython-39.pyc @@ -423,6 +426,9 @@ lib/python3.9/idlelib/idle_test/__pycach lib/python3.9/idlelib/idle_test/__pycache__/test_undo.cpython-39.opt-1.pyc lib/python3.9/idlelib/idle_test/__pycache__/test_undo.cpython-39.opt-2.pyc lib/python3.9/idlelib/idle_test/__pycache__/test_undo.cpython-39.pyc +lib/python3.9/idlelib/idle_test/__pycache__/test_util.cpython-39.opt-1.pyc +lib/python3.9/idlelib/idle_test/__pycache__/test_util.cpython-39.opt-2.pyc +lib/python3.9/idlelib/idle_test/__pycache__/test_util.cpython-39.pyc lib/python3.9/idlelib/idle_test/__pycache__/test_warning.cpython-39.opt-1.pyc lib/python3.9/idlelib/idle_test/__pycache__/test_warning.cpython-39.opt-2.pyc lib/python3.9/idlelib/idle_test/__pycache__/test_warning.cpython-39.pyc @@ -435,6 +441,8 @@ lib/python3.9/idlelib/idle_test/__pycach lib/python3.9/idlelib/idle_test/__pycache__/test_zzdummy.cpython-39.opt-1.pyc lib/python3.9/idlelib/idle_test/__pycache__/test_zzdummy.cpython-39.opt-2.pyc lib/python3.9/idlelib/idle_test/__pycache__/test_zzdummy.cpython-39.pyc +lib/python3.9/idlelib/idle_test/example_noext +lib/python3.9/idlelib/idle_test/example_stub.pyi lib/python3.9/idlelib/idle_test/htest.py lib/python3.9/idlelib/idle_test/mock_idle.py lib/python3.9/idlelib/id
[maintainer update] Python 3.8.12 -> 3.8.13
https://docs.python.org/release/3.8.13/whatsnew/changelog.html Some of the patch churn is 3.8 picked up some of the configure.ac work the later releases had gotten. ok? --Kurt Index: Makefile === RCS file: /cvs/ports/lang/python/3.8/Makefile,v retrieving revision 1.25 diff -u -p -r1.25 Makefile --- Makefile11 Mar 2022 19:29:12 - 1.25 +++ Makefile24 Mar 2022 05:42:04 - @@ -3,13 +3,9 @@ # requirement of the PSF license, if it constitutes a change to # Python itself. -FULL_VERSION = 3.8.12 +FULL_VERSION = 3.8.13 SHARED_LIBS = python3.8 0.0 VERSION_SPEC = >=3.8,<3.9 - -REVISION-main =4 -REVISION-idle =0 - CONFIGURE_ARGS += --with-ensurepip=no CONFIGURE_ARGS += --enable-loadable-sqlite-extensions Index: distinfo === RCS file: /cvs/ports/lang/python/3.8/distinfo,v retrieving revision 1.11 diff -u -p -r1.11 distinfo --- distinfo1 Sep 2021 17:41:48 - 1.11 +++ distinfo24 Mar 2022 05:42:04 - @@ -1,2 +1,2 @@ -SHA256 (Python-3.8.12.tgz) = MWqjPzt3B9BB5z8kbv7bKXpwiYxLkfEn9m3I2AxZbxo= -SIZE (Python-3.8.12.tgz) = 24769402 +SHA256 (Python-3.8.13.tgz) = kDuS12NUNmsdnEQ00MgWQzRc74fBYArfo2CV17AO7eQ= +SIZE (Python-3.8.13.tgz) = 25334331 Index: patches/patch-configure_ac === RCS file: /cvs/ports/lang/python/3.8/patches/patch-configure_ac,v retrieving revision 1.5 diff -u -p -r1.5 patch-configure_ac --- patches/patch-configure_ac 11 Mar 2022 19:29:12 - 1.5 +++ patches/patch-configure_ac 24 Mar 2022 05:42:04 - @@ -14,16 +14,7 @@ Index: configure.ac # The later defininition of _XOPEN_SOURCE disables certain features # on Linux, so we need _GNU_SOURCE to re-enable them (makedev, tm_zone). -@@ -719,7 +719,7 @@ then - fi - - --MULTIARCH=$($CC --print-multiarch 2>/dev/null) -+MULTIARCH=$(false) - AC_SUBST(MULTIARCH) - - AC_MSG_CHECKING([for the platform triplet based on compiler characteristics]) -@@ -735,8 +735,8 @@ cat >> conftest.c <> conftest.c
Re: lang/algol68g: fix build on riscv64 and others
On 3/24/2022 6:22 PM, Jeremie Courreges-Anglas wrote: > On Thu, Mar 24 2022, Brian Callahan wrote: >> Hi Jeremie -- >> >> On 3/24/2022 2:42 PM, Jeremie Courreges-Anglas wrote: >>> >>> algol68g fails to build on riscv64, with a nasty error. BUILD_UNIX is >>> not defined, resulting in a compile error in unix.c. >>> >>> I'm not sure why you explicitely added arm64 and armv7 but I see no >>> reason to fix the build on some archs only. FWIW the test results on >>> riscv64 look good, 3 tests failing out of 23 (1 on amd64). The two >>> additional tests that fail: >>> >>> --8<-- >>> a68g: runtime error: 1: time limit exceeded, in VOID loop-clause starting >>> at "TO" in line 114. >>> FAIL: test-set/13-math.a68 >>> This test will take a long time ... >>> [./test-set/14-mersenne.a68] >>> 28DO s := (s * s - 2) MOD cand >>>1 >>> a68g: runtime error: 1: time limit exceeded, in LONG LONG INT closed-clause >>> starting at "(" in this line. >>> FAIL: test-set/14-mersenne.a68 >>> -->8-- >>> >>> >>> ok? >>> >>> >>> Index: patches/patch-configure_ac >>> === >>> RCS file: /cvs/ports/lang/algol68g/patches/patch-configure_ac,v >>> retrieving revision 1.2 >>> diff -u -p -r1.2 patch-configure_ac >>> --- patches/patch-configure_ac 13 Mar 2022 21:03:42 - 1.2 >>> +++ patches/patch-configure_ac 24 Mar 2022 09:06:28 - >>> @@ -1,4 +1,4 @@ >>> -Enable build on arm64 and armv7 >>> +Enable build on all archs >>> Build the compiler >>> Mention that we are IEEE 754 compliant >>> Remove hardcoded optimization flags >>> @@ -12,7 +12,7 @@ Index: configure.ac >>> # OpenBSD. >>> # >>> -*86-*-openbsd* | *86_64-*-openbsd*) >>> -+*86-*-openbsd* | *86_64-*-openbsd* | arm*-*-openbsd* | aarch*-*-openbsd*) >>> ++*-*-openbsd*) >>> AC_DEFINE(BUILD_BSD, 1, [Define this if OpenBSD was detected]) >>> - AC_MSG_WARN([configuring interpreter-only]) >>> + AC_DEFINE(HAVE_IEEE_754, 1, [Define this if IEEE_754 compliant]) >>> >>> >> >> It was set this way because everyone was under the impression the >> compiler only worked in x86 and arm. If it works universally, go for it. > > riscv64 is LP64 little-endian, like x86, armv7 and arm64. The build > fails on sparc64 because base-gcc uses -std=gnu89 by default: > > --8<-- > ===> Building for algol68g-3.0.4 > make all-am > cc -DHAVE_CONFIG_H -I. -I./src/include -I/usr/local/include > -DBINDIR='"/usr/local/bin"' -DINCLUDEDIR='"/usr/local/include/algol68g"' -O2 > -pipe -Wshadow -Wunused-variable -Wunused-parameter -Wno-long-long -MT > ./src/a68g/a68g-sounds.o -MD -MP -MF ./src/a68g/.deps/a68g-sounds.Tpo -c -o > ./src/a68g/a68g-sounds.o `test -f > './src/a68g/sounds.c' || echo './'`./src/a68g/sounds.c > cc -DHAVE_CONFIG_H -I. -I./src/include -I/usr/local/include > -DBINDIR='"/usr/local/bin"' -DINCLUDEDIR='"/usr/local/include/algol68g"' -O2 > -pipe -Wshadow -Wunused-variable -Wunused-parameter -Wno-long-long -MT > ./src/a68g/a68g-taxes.o -MD -MP -MF ./src/a68g/.deps/a68g-taxes.Tpo -c -o > ./src/a68g/a68g-taxes.o `test -f './ > src/a68g/taxes.c' || echo './'`./src/a68g/taxes.c > cc -DHAVE_CONFIG_H -I. -I./src/include -I/usr/local/include > -DBINDIR='"/usr/local/bin"' -DINCLUDEDIR='"/usr/local/include/algol68g"' -O2 > -pipe -Wshadow -Wunused-variable -Wunused-parameter -Wno-long-long -MT > ./src/a68g/a68g-top-down.o -MD -MP -MF ./src/a68g/.deps/a68g-top-down.Tpo -c > -o ./src/a68g/a68g-top-down.o `te > st -f './src/a68g/top-down.c' || echo './'`./src/a68g/top-down.c > cc -DHAVE_CONFIG_H -I. -I./src/include -I/usr/local/include > -DBINDIR='"/usr/local/bin"' -DINCLUDEDIR='"/usr/local/include/algol68g"' -O2 > -pipe -Wshadow -Wunused-variable -Wunused-parameter -Wno-long-long -MT > ./src/a68g/a68g-torrix.o -MD -MP -MF ./src/a68g/.deps/a68g-torrix.Tpo -c -o > ./src/a68g/a68g-torrix.o `test -f > './src/a68g/torrix.c' || echo './'`./src/a68g/torrix.c > cc -DHAVE_CONFIG_H -I. -I./src/include -I/usr/local/include > -DBINDIR='"/usr/local/bin"' -DINCLUDEDIR='"/usr/local/include/algol68g"' -O2 > -pipe -Wshadow -Wunused-variable -Wunused-parameter -Wno-long-long -MT > ./src/a68g/a68g-transput.o -MD -MP -MF ./src/a68g/.deps/a68g-transput.Tpo -c > -o ./src/a68g/a68g-transput.o `te > st -f './src/a68g/transput.c' || echo './'`./src/a68g/transput.c > cc -DHAVE_CONFIG_H -I. -I./src/include -I/usr/local/include > -DBINDIR='"/usr/local/bin"' -DINCLUDEDIR='"/usr/local/include/algol68g"' -O2 > -pipe -Wshadow -Wunused-variable -Wunused-parameter -Wno-long-long -MT > ./src/a68g/a68g-unix.o -MD -MP -MF ./src/a68g/.deps/a68g-unix.Tpo -c -o > ./src/a68g/a68g-unix.o `test -f './src > /a68g/unix.c' || echo './'`./src/a68g/unix.c > cc -DHAVE_CONFIG_H -I. -I./src/include -I/usr/local/include > -DBINDIR='"/usr/local/bin"' -DINCLUDEDIR='"/usr/local/include/algol68g"' -O2 > -pipe -Wshadow -Wunused-variable -Wunused-parameter -Wno-long-long -MT > ./src/a68g/a68g-victal.o -MD -MP -MF ./s
Re: lang/algol68g: fix build on riscv64 and others
On Thu, 24 Mar 2022 18:58:57 + Brian Callahan wrote: > > Index: patches/patch-configure_ac > > === > > RCS file: /cvs/ports/lang/algol68g/patches/patch-configure_ac,v > > retrieving revision 1.2 > > diff -u -p -r1.2 patch-configure_ac > > --- patches/patch-configure_ac 13 Mar 2022 21:03:42 - 1.2 > > +++ patches/patch-configure_ac 24 Mar 2022 09:06:28 - > > @@ -1,4 +1,4 @@ > > -Enable build on arm64 and armv7 > > +Enable build on all archs > > Build the compiler > > Mention that we are IEEE 754 compliant > > Remove hardcoded optimization flags > > @@ -12,7 +12,7 @@ Index: configure.ac > > # OpenBSD. > > # > > -*86-*-openbsd* | *86_64-*-openbsd*) > > -+*86-*-openbsd* | *86_64-*-openbsd* | arm*-*-openbsd* | aarch*-*-openbsd*) > > ++*-*-openbsd*) > > AC_DEFINE(BUILD_BSD, 1, [Define this if OpenBSD was detected]) > > - AC_MSG_WARN([configuring interpreter-only]) > > + AC_DEFINE(HAVE_IEEE_754, 1, [Define this if IEEE_754 compliant]) > > > > > > It was set this way because everyone was under the impression the > compiler only worked in x86 and arm. If it works universally, go for it. jca's diff also fixes the build on powerpc and powerpc64. The compiler might work because src/a68g/compiler.c emits C code. The powerpc is a PowerBook G4 running at 750 MHz, which might be too slow for the time limit. It got 3 test failures, a68g: runtime error: 1: time limit exceeded... FAIL: test-set/13-math.a68 a68g: runtime error: 1: time limit exceeded... FAIL: test-set/14-mersenne.a68 a68g: runtime error: 1: too many parallel units (platform supports 4 parallel units), ... FAIL: test-set/20-quicksort-parallel.a68 The powerpc64 got only 1 failure, 20-quicksort-parallel.a68 --George
Re: lang/algol68g: fix build on riscv64 and others
On Thu, Mar 24 2022, Brian Callahan wrote: > Hi Jeremie -- > > On 3/24/2022 2:42 PM, Jeremie Courreges-Anglas wrote: >> >> algol68g fails to build on riscv64, with a nasty error. BUILD_UNIX is >> not defined, resulting in a compile error in unix.c. >> >> I'm not sure why you explicitely added arm64 and armv7 but I see no >> reason to fix the build on some archs only. FWIW the test results on >> riscv64 look good, 3 tests failing out of 23 (1 on amd64). The two >> additional tests that fail: >> >> --8<-- >> a68g: runtime error: 1: time limit exceeded, in VOID loop-clause starting at >> "TO" in line 114. >> FAIL: test-set/13-math.a68 >> This test will take a long time ... >> [./test-set/14-mersenne.a68] >> 28DO s := (s * s - 2) MOD cand >>1 >> a68g: runtime error: 1: time limit exceeded, in LONG LONG INT closed-clause >> starting at "(" in this line. >> FAIL: test-set/14-mersenne.a68 >> -->8-- >> >> >> ok? >> >> >> Index: patches/patch-configure_ac >> === >> RCS file: /cvs/ports/lang/algol68g/patches/patch-configure_ac,v >> retrieving revision 1.2 >> diff -u -p -r1.2 patch-configure_ac >> --- patches/patch-configure_ac 13 Mar 2022 21:03:42 - 1.2 >> +++ patches/patch-configure_ac 24 Mar 2022 09:06:28 - >> @@ -1,4 +1,4 @@ >> -Enable build on arm64 and armv7 >> +Enable build on all archs >> Build the compiler >> Mention that we are IEEE 754 compliant >> Remove hardcoded optimization flags >> @@ -12,7 +12,7 @@ Index: configure.ac >> # OpenBSD. >> # >> -*86-*-openbsd* | *86_64-*-openbsd*) >> -+*86-*-openbsd* | *86_64-*-openbsd* | arm*-*-openbsd* | aarch*-*-openbsd*) >> ++*-*-openbsd*) >> AC_DEFINE(BUILD_BSD, 1, [Define this if OpenBSD was detected]) >> - AC_MSG_WARN([configuring interpreter-only]) >> + AC_DEFINE(HAVE_IEEE_754, 1, [Define this if IEEE_754 compliant]) >> >> > > It was set this way because everyone was under the impression the > compiler only worked in x86 and arm. If it works universally, go for it. riscv64 is LP64 little-endian, like x86, armv7 and arm64. The build fails on sparc64 because base-gcc uses -std=gnu89 by default: --8<-- ===> Building for algol68g-3.0.4 make all-am cc -DHAVE_CONFIG_H -I. -I./src/include -I/usr/local/include -DBINDIR='"/usr/local/bin"' -DINCLUDEDIR='"/usr/local/include/algol68g"' -O2 -pipe -Wshadow -Wunused-variable -Wunused-parameter -Wno-long-long -MT ./src/a68g/a68g-sounds.o -MD -MP -MF ./src/a68g/.deps/a68g-sounds.Tpo -c -o ./src/a68g/a68g-sounds.o `test -f './src/a68g/sounds.c' || echo './'`./src/a68g/sounds.c cc -DHAVE_CONFIG_H -I. -I./src/include -I/usr/local/include -DBINDIR='"/usr/local/bin"' -DINCLUDEDIR='"/usr/local/include/algol68g"' -O2 -pipe -Wshadow -Wunused-variable -Wunused-parameter -Wno-long-long -MT ./src/a68g/a68g-taxes.o -MD -MP -MF ./src/a68g/.deps/a68g-taxes.Tpo -c -o ./src/a68g/a68g-taxes.o `test -f './ src/a68g/taxes.c' || echo './'`./src/a68g/taxes.c cc -DHAVE_CONFIG_H -I. -I./src/include -I/usr/local/include -DBINDIR='"/usr/local/bin"' -DINCLUDEDIR='"/usr/local/include/algol68g"' -O2 -pipe -Wshadow -Wunused-variable -Wunused-parameter -Wno-long-long -MT ./src/a68g/a68g-top-down.o -MD -MP -MF ./src/a68g/.deps/a68g-top-down.Tpo -c -o ./src/a68g/a68g-top-down.o `te st -f './src/a68g/top-down.c' || echo './'`./src/a68g/top-down.c cc -DHAVE_CONFIG_H -I. -I./src/include -I/usr/local/include -DBINDIR='"/usr/local/bin"' -DINCLUDEDIR='"/usr/local/include/algol68g"' -O2 -pipe -Wshadow -Wunused-variable -Wunused-parameter -Wno-long-long -MT ./src/a68g/a68g-torrix.o -MD -MP -MF ./src/a68g/.deps/a68g-torrix.Tpo -c -o ./src/a68g/a68g-torrix.o `test -f './src/a68g/torrix.c' || echo './'`./src/a68g/torrix.c cc -DHAVE_CONFIG_H -I. -I./src/include -I/usr/local/include -DBINDIR='"/usr/local/bin"' -DINCLUDEDIR='"/usr/local/include/algol68g"' -O2 -pipe -Wshadow -Wunused-variable -Wunused-parameter -Wno-long-long -MT ./src/a68g/a68g-transput.o -MD -MP -MF ./src/a68g/.deps/a68g-transput.Tpo -c -o ./src/a68g/a68g-transput.o `te st -f './src/a68g/transput.c' || echo './'`./src/a68g/transput.c cc -DHAVE_CONFIG_H -I. -I./src/include -I/usr/local/include -DBINDIR='"/usr/local/bin"' -DINCLUDEDIR='"/usr/local/include/algol68g"' -O2 -pipe -Wshadow -Wunused-variable -Wunused-parameter -Wno-long-long -MT ./src/a68g/a68g-unix.o -MD -MP -MF ./src/a68g/.deps/a68g-unix.Tpo -c -o ./src/a68g/a68g-unix.o `test -f './src /a68g/unix.c' || echo './'`./src/a68g/unix.c cc -DHAVE_CONFIG_H -I. -I./src/include -I/usr/local/include -DBINDIR='"/usr/local/bin"' -DINCLUDEDIR='"/usr/local/include/algol68g"' -O2 -pipe -Wshadow -Wunused-variable -Wunused-parameter -Wno-long-long -MT ./src/a68g/a68g-victal.o -MD -MP -MF ./src/a68g/.deps/a68g-victal.Tpo -c -o ./src/a68g/a68g-victal.o `test -f './src/a68g/victal.c' || echo './'`./src/a68g/victal.c cc -DHAVE_CONFIG_H -I. -I./src/include -I/usr/local/include -DBINDI
net/neochat: missing dependency on devel/kf5/sonnet
Hi, when starting neochat I get: $ neochat QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-tom' QQmlApplicationEngine failed to load component qrc:/qml/main.qml:145:20: Type RoomDrawer unavailable qrc:/imports/NeoChat/Panel/RoomDrawer.qml:260:9: Type RoomSettingsDialog unavailable qrc:/imports/NeoChat/Dialog/RoomSettingsDialog.qml:73:17: Type TextArea unavailable file:///usr/local/lib/qt5/qml/QtQuick/Controls.2/org.kde.desktop/TextArea.qml:15:1: module "org.kde.sonnet" is not installed This is fixed by installing the sonnet package. Kind regards, Thomas diff --git net/neochat/Makefile net/neochat/Makefile index 8badb1c456b..b079f9a5389 100644 --- net/neochat/Makefile +++ net/neochat/Makefile @@ -3,7 +3,7 @@ USE_WXNEEDED = Yes COMMENT = client for Matrix chat VERSION = 1.2.0 DISTNAME = neochat-${VERSION} -REVISION = 0 +REVISION = 1 CATEGORIES=net @@ -23,6 +23,7 @@ MODULES = devel/kf5 RUN_DEPENDS = devel/desktop-file-utils \ devel/kf5/kitemmodels \ devel/kf5/qqc2-desktop-style \ + devel/kf5/sonnet \ graphics/kquickimageeditor \ x11/gtk+3,-guic
Re: [update] vger 1.08
Am Thu, 24 Mar 2022 23:01:37 +0100 schrieb Solene Rapenne : > On Thu, 24 Mar 2022 22:31:42 +0100 > Florian Viehweger : > > > Hi, > > > > this is a simple update for vger to 1.08. > > > > portcheck, 'make lib-depends-check' and 'make test' are happy. > > > > Some testing done on amd64. > > > > Comments? > > > > Thanks! > > > > > > Index: Makefile > > === > > RCS file: /cvs/ports/net/vger/Makefile,v > > retrieving revision 1.3 > > diff -u -p -u -p -r1.3 Makefile > > --- Makefile11 Mar 2022 19:48:05 - 1.3 > > +++ Makefile24 Mar 2022 21:18:24 - > > @@ -1,5 +1,5 @@ > > COMMENT = gemini server written in C used with inetd > > -V =1.07 > > +V =1.08 > > DISTNAME = vger-${V} > > > > CATEGORIES = net > > Index: distinfo > > === > > RCS file: /cvs/ports/net/vger/distinfo,v > > retrieving revision 1.2 > > diff -u -p -u -p -r1.2 distinfo > > --- distinfo13 Jul 2021 16:33:36 - 1.2 > > +++ distinfo24 Mar 2022 21:18:24 - > > @@ -1,2 +1,2 @@ > > -SHA256 (vger-1.07.tar.gz) = > > ByCUxfD1uS9nE/L/7MTuJuYxy85Pokjbiz2PUbKx4Tc= -SIZE > > (vger-1.07.tar.gz) = 13371 +SHA256 (vger-1.08.tar.gz) = > > Ji4CpWGyLGTUTTqE0O1sR+bUNucgYo2A3XANRFfHnaw= +SIZE > > (vger-1.08.tar.gz) = 13563 > > > > there will be a new release in the next days improving the CGI code > > diff is fine right now, just bump to 1.09 for next release Thank you for the info. I'll bump it once it is released. -- greetings, Florian Viehweger
[update] vger 1.08
Hi, this is a simple update for vger to 1.08. portcheck, 'make lib-depends-check' and 'make test' are happy. Some testing done on amd64. Comments? Thanks! Index: Makefile === RCS file: /cvs/ports/net/vger/Makefile,v retrieving revision 1.3 diff -u -p -u -p -r1.3 Makefile --- Makefile11 Mar 2022 19:48:05 - 1.3 +++ Makefile24 Mar 2022 21:18:24 - @@ -1,5 +1,5 @@ COMMENT = gemini server written in C used with inetd -V =1.07 +V =1.08 DISTNAME = vger-${V} CATEGORIES = net Index: distinfo === RCS file: /cvs/ports/net/vger/distinfo,v retrieving revision 1.2 diff -u -p -u -p -r1.2 distinfo --- distinfo13 Jul 2021 16:33:36 - 1.2 +++ distinfo24 Mar 2022 21:18:24 - @@ -1,2 +1,2 @@ -SHA256 (vger-1.07.tar.gz) = ByCUxfD1uS9nE/L/7MTuJuYxy85Pokjbiz2PUbKx4Tc= -SIZE (vger-1.07.tar.gz) = 13371 +SHA256 (vger-1.08.tar.gz) = Ji4CpWGyLGTUTTqE0O1sR+bUNucgYo2A3XANRFfHnaw= +SIZE (vger-1.08.tar.gz) = 13563 -- greetings, Florian Viehweger
[Update] cad/kicad/kicad-share -> 6.0.4
Hello, Here is a trivial update to kicad and friends bringing us to 6.0.4. The kicad folks skipped 6.0.3 and went to 6.0.4 because of some tagging issues. Ok? Changelog: Use temporary directory for intermediate save files that get renamed/copied to destination rather than trying to write to the project directory #10747 Nets in the Net Selector dropdown will now "naturally sorted" (A1,A2,A10) rather than "alphabetically" sorted (A1,A10,A2) #10534 Avoid clearing the entire OpenGL cache when performing an undo operation Fixed height of the message panel in all editors on Windows for multi-monitor setups with varying DPI (#10681) The most recently used path is remembered for placing images in the Schematic Editor and Drawing Sheet Editor. Fixed Grid and Zoom menu bar options not updating translation after an language change with no restart (#10961) Always import of EAGLE symbol/footprint reference designators in KiCad’s terminating number format (0 will be appended if no number is present at the end) (#10760) Honor modifier keys (Ctrl, Shift, Alt) with the disambiguation menu (#9712) The determination of KICAD6_TEMPLATE_DIR should now be more reliable on all platforms, especially Windows #10119 -- Tracey Emery Index: Makefile === RCS file: /cvs/ports/cad/kicad/Makefile,v retrieving revision 1.53 diff -u -p -u -r1.53 Makefile --- Makefile14 Mar 2022 19:58:13 - 1.53 +++ Makefile24 Mar 2022 20:27:45 - @@ -2,7 +2,7 @@ BROKEN-powerpc = segfaults when trying to run the PCB editor BROKEN-riscv64 = kicad-5.1.10/include/system/libcontext.h:93:36: error: expected ';' after top level declarator -V =6.0.2 +V =6.0.4 COMMENT = schematic and PCB editing software DISTNAME = kicad-${V} EPOCH =0 Index: distinfo === RCS file: /cvs/ports/cad/kicad/distinfo,v retrieving revision 1.13 diff -u -p -u -r1.13 distinfo --- distinfo14 Mar 2022 19:58:13 - 1.13 +++ distinfo24 Mar 2022 20:27:45 - @@ -1,2 +1,2 @@ -SHA256 (kicad-6.0.2.tar.gz) = ZYcId9Jzeb7mNi0LCh3WNc2YlofgtHOgzDQhpPrmEsM= -SIZE (kicad-6.0.2.tar.gz) = 45003563 +SHA256 (kicad-6.0.4.tar.gz) = RdNRvoS1goIdippZC6tczVP5xHeVDJcpVjTyCXctXDM= +SIZE (kicad-6.0.4.tar.gz) = 45068438 Index: Makefile.inc === RCS file: /cvs/ports/cad/kicad-share/Makefile.inc,v retrieving revision 1.12 diff -u -p -u -r1.12 Makefile.inc --- Makefile.inc14 Mar 2022 19:58:50 - 1.12 +++ Makefile.inc24 Mar 2022 16:24:12 - @@ -6,7 +6,7 @@ NOT_FOR_ARCHS = powerpc PKG_ARCH ?=* -V ?= 6.0.2 +V ?= 6.0.4 EXTRACT_SUFX ?=.tar.bz2 DISTNAME= kicad-${KICAD_PROJECT}-$V Index: footprints/distinfo === RCS file: /cvs/ports/cad/kicad-share/footprints/distinfo,v retrieving revision 1.7 diff -u -p -u -r1.7 distinfo --- footprints/distinfo 14 Mar 2022 19:58:50 - 1.7 +++ footprints/distinfo 24 Mar 2022 16:24:12 - @@ -1,2 +1,2 @@ -SHA256 (kicad-footprints-6.0.2.tar.bz2) = xdR5XITb/MrU6lP+y6+KDNUREblC/QESbL+R5h2EHXg= -SIZE (kicad-footprints-6.0.2.tar.bz2) = 23530876 +SHA256 (kicad-footprints-6.0.4.tar.bz2) = nIusNMW1on8oFHURFOLNeNfATAWMJ7ljnTJPTTbyzT4= +SIZE (kicad-footprints-6.0.4.tar.bz2) = 23561724 Index: footprints/pkg/PLIST === RCS file: /cvs/ports/cad/kicad-share/footprints/pkg/PLIST,v retrieving revision 1.6 diff -u -p -u -r1.6 PLIST --- footprints/pkg/PLIST14 Mar 2022 19:58:50 - 1.6 +++ footprints/pkg/PLIST24 Mar 2022 16:24:13 - @@ -6581,6 +6581,7 @@ share/kicad/footprints/Connector_USB.pre share/kicad/footprints/Connector_USB.pretty/USB_A_Molex_105057_Vertical.kicad_mod share/kicad/footprints/Connector_USB.pretty/USB_A_Molex_67643_Horizontal.kicad_mod share/kicad/footprints/Connector_USB.pretty/USB_A_Stewart_SS-52100-001_Horizontal.kicad_mod +share/kicad/footprints/Connector_USB.pretty/USB_A_TE_292303-7_Horizontal.kicad_mod share/kicad/footprints/Connector_USB.pretty/USB_A_Wuerth_614004134726_Horizontal.kicad_mod share/kicad/footprints/Connector_USB.pretty/USB_A_Wuerth_61400826021_Horizontal_Stacked.kicad_mod share/kicad/footprints/Connector_USB.pretty/USB_B_Amphenol_MUSB-D511_Vertical_Rugged.kicad_mod @@ -7283,8 +7284,6 @@ share/kicad/footprints/Diode_SMD.pretty/ share/kicad/footprints/Diode_SMD.pretty/D_SOD-323_HandSoldering.kicad_mod share/kicad/footprints/Diode_SMD.pretty/D_SOD-523.kicad_mod share/kicad/footprints/Diode_SMD.pretty/D_SOD-923.kicad_mod -share/kicad/footprints/Diode_SMD.pretty/D_SOT-23_ANK.kicad_mod -share/kicad/footprints/Diode_SMD.pretty/D_SOT-23_NKA
Re: lang/algol68g: fix build on riscv64 and others
Hi Jeremie -- On 3/24/2022 2:42 PM, Jeremie Courreges-Anglas wrote: > > algol68g fails to build on riscv64, with a nasty error. BUILD_UNIX is > not defined, resulting in a compile error in unix.c. > > I'm not sure why you explicitely added arm64 and armv7 but I see no > reason to fix the build on some archs only. FWIW the test results on > riscv64 look good, 3 tests failing out of 23 (1 on amd64). The two > additional tests that fail: > > --8<-- > a68g: runtime error: 1: time limit exceeded, in VOID loop-clause starting at > "TO" in line 114. > FAIL: test-set/13-math.a68 > This test will take a long time ... > [./test-set/14-mersenne.a68] > 28DO s := (s * s - 2) MOD cand >1 > a68g: runtime error: 1: time limit exceeded, in LONG LONG INT closed-clause > starting at "(" in this line. > FAIL: test-set/14-mersenne.a68 > -->8-- > > > ok? > > > Index: patches/patch-configure_ac > === > RCS file: /cvs/ports/lang/algol68g/patches/patch-configure_ac,v > retrieving revision 1.2 > diff -u -p -r1.2 patch-configure_ac > --- patches/patch-configure_ac13 Mar 2022 21:03:42 - 1.2 > +++ patches/patch-configure_ac24 Mar 2022 09:06:28 - > @@ -1,4 +1,4 @@ > -Enable build on arm64 and armv7 > +Enable build on all archs > Build the compiler > Mention that we are IEEE 754 compliant > Remove hardcoded optimization flags > @@ -12,7 +12,7 @@ Index: configure.ac > # OpenBSD. > # > -*86-*-openbsd* | *86_64-*-openbsd*) > -+*86-*-openbsd* | *86_64-*-openbsd* | arm*-*-openbsd* | aarch*-*-openbsd*) > ++*-*-openbsd*) > AC_DEFINE(BUILD_BSD, 1, [Define this if OpenBSD was detected]) > - AC_MSG_WARN([configuring interpreter-only]) > + AC_DEFINE(HAVE_IEEE_754, 1, [Define this if IEEE_754 compliant]) > > It was set this way because everyone was under the impression the compiler only worked in x86 and arm. If it works universally, go for it. ~Brian
lang/algol68g: fix build on riscv64 and others
algol68g fails to build on riscv64, with a nasty error. BUILD_UNIX is not defined, resulting in a compile error in unix.c. I'm not sure why you explicitely added arm64 and armv7 but I see no reason to fix the build on some archs only. FWIW the test results on riscv64 look good, 3 tests failing out of 23 (1 on amd64). The two additional tests that fail: --8<-- a68g: runtime error: 1: time limit exceeded, in VOID loop-clause starting at "TO" in line 114. FAIL: test-set/13-math.a68 This test will take a long time ... [./test-set/14-mersenne.a68] 28DO s := (s * s - 2) MOD cand 1 a68g: runtime error: 1: time limit exceeded, in LONG LONG INT closed-clause starting at "(" in this line. FAIL: test-set/14-mersenne.a68 -->8-- ok? Index: patches/patch-configure_ac === RCS file: /cvs/ports/lang/algol68g/patches/patch-configure_ac,v retrieving revision 1.2 diff -u -p -r1.2 patch-configure_ac --- patches/patch-configure_ac 13 Mar 2022 21:03:42 - 1.2 +++ patches/patch-configure_ac 24 Mar 2022 09:06:28 - @@ -1,4 +1,4 @@ -Enable build on arm64 and armv7 +Enable build on all archs Build the compiler Mention that we are IEEE 754 compliant Remove hardcoded optimization flags @@ -12,7 +12,7 @@ Index: configure.ac # OpenBSD. # -*86-*-openbsd* | *86_64-*-openbsd*) -+*86-*-openbsd* | *86_64-*-openbsd* | arm*-*-openbsd* | aarch*-*-openbsd*) ++*-*-openbsd*) AC_DEFINE(BUILD_BSD, 1, [Define this if OpenBSD was detected]) - AC_MSG_WARN([configuring interpreter-only]) + AC_DEFINE(HAVE_IEEE_754, 1, [Define this if IEEE_754 compliant]) -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE
Re: Slowing down for the release
On Thu, Mar 24, 2022 at 04:43:28PM +0100, Christian Weisgerber wrote: > It's time to start slowing down for the upcoming 7.1 release. > > There are no restrictions on the types of ports commits yet, but I > would like to ask everybody to keep the approaching release in mind > and to slowly wind down large ports work. > > As usual, I'm also imploring people to test snapshot packages so > bugs can be found and fixed before it is too late. > > -- > Christian "naddy" Weisgerber na...@mips.inka.de > I'm working on KiCAD 6.0.4 which is largish, but should be snuck in before release, since there were some issues with 6.0.2. -- Tracey Emery
Re: Slowing down for the release
On Thu, Mar 24, 2022 at 04:43:28PM +0100, Christian Weisgerber wrote: > It's time to start slowing down for the upcoming 7.1 release. > > There are no restrictions on the types of ports commits yet, but I > would like to ask everybody to keep the approaching release in mind > and to slowly wind down large ports work. > > As usual, I'm also imploring people to test snapshot packages so > bugs can be found and fixed before it is too late. I am working on a webkitgtk4 update that I would like to go in. Otherwise it will be impossible to publish security updates to -stable as webkit never provides security releases for past releases. That's unfortunately the situation we have in 7.0 and I would like to prevent it from happening again. -- Antoine
Slowing down for the release
It's time to start slowing down for the upcoming 7.1 release. There are no restrictions on the types of ports commits yet, but I would like to ask everybody to keep the approaching release in mind and to slowly wind down large ports work. As usual, I'm also imploring people to test snapshot packages so bugs can be found and fixed before it is too late. -- Christian "naddy" Weisgerber na...@mips.inka.de
fix x11/qt5/qtdeclarative W^X violations (was Re: net/kdeconnect-kde: use wxneeded)
On Tue, Mar 15, 2022 at 09:23:51PM +, Klemens Nanni wrote: > On Tue, Mar 15, 2022 at 08:20:35PM +, Stuart Henderson wrote: > > On 2022/03/15 21:03, Theo Buehler wrote: > > > On Tue, Mar 15, 2022 at 07:47:03PM +, Klemens Nanni wrote: > > > > On Tue, Mar 15, 2022 at 06:27:13PM +, Klemens Nanni wrote: > > > > > Just tried it on a kern.wxabort=1 machine which causes > > > > > > > > > > At least two programs in this port need W^X: > > > > > kdeconnect-app(83050): mmap W^X violation > > > > > kdeconnect-sms(27246): mmap W^X violation > > > > > > > > > > OK? > > > > > > > > > RCS file: /cvs/ports/net/neochat/Makefile,v > > > > > > > > Used an old mail as template and forgot to send the right patch... > > > > > > Before USE_WXNEEDED is sprinkled all over kde/Qt ports, what is the root > > > cause of this? Can it perhaps be neutered? > > > > By sprinkling USE_WXNEEDED you allow software to carry out these > > mappings _even if they don't need them_. > > > > The default kern.wxabort=0 setting returns a failure to the software > > rather than killing it. This is like what PaX does. It's not uncommon > > for software to handle this case correctly: try a mapping, if it fails > > then use a non-W+X fallback. > > Thanks for the feedback (both on- and off-list). > > Turns out both neochat and kdeconnect-kde abort in the same Qt5Qml lib > which in fact has fallback code for W^X mappings, i.e. it'll gracefully > try non-W^X mappings. > > That W^X check is what's triggering wxabort=1 in the first place, so > by neutering the check on OpenBSD we can avoid triggering it and thus > USE_WXNEEDED=Yes. > > Feedback? Obejctions? OK? Anyone? Index: net/neochat/Makefile === RCS file: /cvs/ports/net/neochat/Makefile,v retrieving revision 1.7 diff -u -p -r1.7 Makefile --- net/neochat/Makefile11 Mar 2022 19:46:28 - 1.7 +++ net/neochat/Makefile15 Mar 2022 20:58:07 - @@ -1,9 +1,7 @@ -USE_WXNEEDED = Yes - COMMENT = client for Matrix chat VERSION = 1.2.0 DISTNAME = neochat-${VERSION} -REVISION = 0 +REVISION = 1 CATEGORIES=net Index: x11/qt5/qtdeclarative/Makefile === RCS file: /cvs/ports/x11/qt5/qtdeclarative/Makefile,v retrieving revision 1.18 diff -u -p -r1.18 Makefile --- x11/qt5/qtdeclarative/Makefile 11 Mar 2022 20:16:59 - 1.18 +++ x11/qt5/qtdeclarative/Makefile 15 Mar 2022 20:38:50 - @@ -4,6 +4,8 @@ USE_WXNEEDED = Yes QT5NAME = QtDeclarative COMMENT-main = Qt5 Quick and QML components +REVISION-main =0 + MULTI_PACKAGES = -main -examples DPB_PROPERTIES = parallel Index: x11/qt5/qtdeclarative/patches/patch-src_3rdparty_masm_wtf_OSAllocatorPosix_cpp === RCS file: x11/qt5/qtdeclarative/patches/patch-src_3rdparty_masm_wtf_OSAllocatorPosix_cpp diff -N x11/qt5/qtdeclarative/patches/patch-src_3rdparty_masm_wtf_OSAllocatorPosix_cpp --- /dev/null 1 Jan 1970 00:00:00 - +++ x11/qt5/qtdeclarative/patches/patch-src_3rdparty_masm_wtf_OSAllocatorPosix_cpp 15 Mar 2022 21:20:10 - @@ -0,0 +1,16 @@ +canAllocateExecutableMemory() maps memory W^X to see if that is allowed, +which triggers our kern.wxabort sysctl(2); always return false to neuter +that mmap(2) test call and have (at least libQt5Qml) always fall back to +non-W^X mappings. + +Index: src/3rdparty/masm/wtf/OSAllocatorPosix.cpp +--- src/3rdparty/masm/wtf/OSAllocatorPosix.cpp.orig src/3rdparty/masm/wtf/OSAllocatorPosix.cpp +@@ -262,6 +262,7 @@ void OSAllocator::releaseDecommitted(void* address, si + + bool OSAllocator::canAllocateExecutableMemory() + { ++return false; + int flags = MAP_PRIVATE | MAP_ANON; + #if PLATFORM(IOS) + if (executable) Index: net/kdeconnect-kde/Makefile === RCS file: /cvs/ports/net/kdeconnect-kde/Makefile,v retrieving revision 1.9 diff -u -p -r1.9 Makefile --- net/kdeconnect-kde/Makefile 15 Mar 2022 20:01:46 - 1.9 +++ net/kdeconnect-kde/Makefile 15 Mar 2022 21:21:41 - @@ -1,9 +1,7 @@ -USE_WXNEEDED = Yes - COMMENT = KDE app that allows your devices to communicate DISTNAME = kdeconnect-kde-${MODKDE_VERSION} -REVISION = 0 +REVISION = 1 SHARED_LIBS += kdeconnectcore 2.0 # 1.4 SHARED_LIBS += kdeconnectinterfaces2.0 # 1.4
UPDATE: fonts/noto/cjk
Hi, Here's an update to the latest tagged release of Noto CJK. I've switched the port to OpenType variable fonts only, meaning all glyph variants (Traditional Chinese, Simplified Chinese, Japanese, etc.) and font weights are contained within a single .ttc for serif and for sans-serif. This reduces the size of the package from 228 MB to 47 MB. This link demonstrates the glyph variants in Chrome: https://en.wikipedia.org/wiki/Han_unification#Examples_of_language-dependent_glyphs The fonts also display in LibreOffice including bold and regular weight. I couldn't figure out how to trigger glyph variants in LO though. Tests appreciated, especially from regular users of CJK fonts. ok? Index: Makefile === RCS file: /cvs/ports/fonts/noto/cjk/Makefile,v retrieving revision 1.6 diff -u -p -r1.6 Makefile --- Makefile16 Mar 2022 13:21:21 - 1.6 +++ Makefile24 Mar 2022 10:38:02 - @@ -2,16 +2,19 @@ COMMENT = east asian fonts for the noto NOTO_PROJECT = cjk -V =2.001 -GH_TAGNAME = NotoSansV$V -REVISION = 0 +V =20220127 BUILD_DEPENDS =archivers/unzip +MASTER_SITES0 = https://github.com/googlefonts/noto-cjk/releases/download/Sans2.004/ +MASTER_SITES1 = https://github.com/googlefonts/noto-cjk/releases/download/Serif2.001/ +DISTFILES =01_NotoSansCJK-OTF-VF.zip:0 \ + 02_NotoSerifCJK-OTF-VF.zip:1 +DIST_SUBDIR = noto-cjk-$V +WRKDIST = ${WRKDIR} + do-install: ${INSTALL_DATA_DIR} ${NOTO_INSTALLDIR} - ${INSTALL_DATA} ${WRKDIST}/NotoSerifCJK-*.ttc ${NOTO_INSTALLDIR} - cd ${NOTO_INSTALLDIR} && unzip ${WRKDIST}/NotoSansCJK.ttc.zip - rm -rf ${NOTO_INSTALLDIR}/__MACOSX + ${INSTALL_DATA} ${WRKDIST}/Variable/OTC/*.ttc ${NOTO_INSTALLDIR} .include Index: distinfo === RCS file: /cvs/ports/fonts/noto/cjk/distinfo,v retrieving revision 1.2 diff -u -p -r1.2 distinfo --- distinfo10 May 2019 04:14:13 - 1.2 +++ distinfo24 Mar 2022 10:38:02 - @@ -1,2 +1,4 @@ -SHA256 (noto-cjk-2.001.tar.gz) = OxiFmz7+OsNtjVJz6TzAe2GpSArAnFtS7fTdiqq3QYc= -SIZE (noto-cjk-2.001.tar.gz) = 1882149917 +SHA256 (noto-cjk-20220127/01_NotoSansCJK-OTF-VF.zip) = 0eFDJzzHrTe3EM2w0YijJVPO6c/WASnc7p1Z+R48a0g= +SHA256 (noto-cjk-20220127/02_NotoSerifCJK-OTF-VF.zip) = vt64Yib+/V/Wm1TtRmBBWGGGT4ecC32gix/XHKNaeLA= +SIZE (noto-cjk-20220127/01_NotoSansCJK-OTF-VF.zip) = 239547497 +SIZE (noto-cjk-20220127/02_NotoSerifCJK-OTF-VF.zip) = 222678895 Index: pkg/PLIST === RCS file: /cvs/ports/fonts/noto/cjk/pkg/PLIST,v retrieving revision 1.3 diff -u -p -r1.3 PLIST --- pkg/PLIST 11 Mar 2022 19:00:25 - 1.3 +++ pkg/PLIST 24 Mar 2022 10:38:02 - @@ -1,10 +1,4 @@ share/fonts/ @fontdir share/fonts/noto/ -share/fonts/noto/NotoSansCJK.ttc -share/fonts/noto/NotoSerifCJK-Black.ttc -share/fonts/noto/NotoSerifCJK-Bold.ttc -share/fonts/noto/NotoSerifCJK-ExtraLight.ttc -share/fonts/noto/NotoSerifCJK-Light.ttc -share/fonts/noto/NotoSerifCJK-Medium.ttc -share/fonts/noto/NotoSerifCJK-Regular.ttc -share/fonts/noto/NotoSerifCJK-SemiBold.ttc +share/fonts/noto/NotoSansCJK-VF.otf.ttc +share/fonts/noto/NotoSerifCJK-VF.otf.ttc
update math/cglm: 0.8.4 -> 0.8.5
math/cglm recently got a small update, see the changelog here: https://github.com/recp/cglm/releases/tag/v0.8.5 other than the bugfixes, half of patch-CMakeLists_txt was upstreamed and can be removed. It was imported (and still currently used only) as games/taisei BDEP (it pulls in some macros but does not link to.) Should i also bump taisei revision to make sure it gets re-packaged? (it's mostly pro-forma in this case.) games/taisei of course still builds and runs fine. ok? Index: Makefile === RCS file: /home/cvs/ports/math/cglm/Makefile,v retrieving revision 1.2 diff -u -p -r1.2 Makefile --- Makefile11 Mar 2022 19:36:13 - 1.2 +++ Makefile24 Mar 2022 09:17:04 - @@ -2,9 +2,9 @@ COMMENT = highly optimized graphics math GH_ACCOUNT = recp GH_PROJECT = cglm -GH_TAGNAME = v0.8.4 +GH_TAGNAME = v0.8.5 -SHARED_LIBS = cglm0.0 # 0.8.4 +SHARED_LIBS = cglm0.1 # 0.8.5 CATEGORIES = math Index: distinfo === RCS file: /home/cvs/ports/math/cglm/distinfo,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 distinfo --- distinfo10 Dec 2021 13:27:02 - 1.1.1.1 +++ distinfo24 Mar 2022 08:54:06 - @@ -1,2 +1,2 @@ -SHA256 (cglm-0.8.4.tar.gz) = QvhMQsij5ilU2nerXF0yZAM9WAIAnhddt5ITMqR2Em4= -SIZE (cglm-0.8.4.tar.gz) = 620905 +SHA256 (cglm-0.8.5.tar.gz) = uu+iE0LSKKg8kHCEWadF1aqbDrs4FVXupC2x83/felo= +SIZE (cglm-0.8.5.tar.gz) = 621734 Index: patches/patch-CMakeLists_txt === RCS file: /home/cvs/ports/math/cglm/patches/patch-CMakeLists_txt,v retrieving revision 1.3 diff -u -p -r1.3 patch-CMakeLists_txt --- patches/patch-CMakeLists_txt11 Mar 2022 19:36:13 - 1.3 +++ patches/patch-CMakeLists_txt24 Mar 2022 08:56:02 - @@ -1,5 +1,4 @@ - don't hardcode optimization flags and drop -Werror - - set PACKAGE_VERSION for cglm.pc.in Index: CMakeLists.txt --- CMakeLists.txt.orig @@ -13,11 +12,3 @@ Index: CMakeLists.txt endif() if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) -@@ -143,6 +143,7 @@ set(prefix ${CMAKE_INSTALL_PREFIX}) - set(exec_prefix ${CMAKE_INSTALL_PREFIX}) - set(includedir "\${prefix}/${CMAKE_INSTALL_INCLUDEDIR}") - set(libdir "\${prefix}/${CMAKE_INSTALL_LIBDIR}") -+set(PACKAGE_VERSION "${PROJECT_VERSION}") - configure_file(${CMAKE_CURRENT_LIST_DIR}/cglm.pc.in ${CMAKE_BINARY_DIR}/cglm.pc @ONLY) - - install(FILES ${CMAKE_BINARY_DIR}/cglm.pc