Skip to content

Instantly share code, notes, and snippets.

@jperkin
jperkin / marathons-and-ultras.md
Created June 17, 2025 15:48
Marathons and Ultras
Number What When
1 London Marathon 2016-04
2 Dartmoor Marathon 2017-09
3 Serpent Trail 50k 2018-07
4 Gatliff Marathon 2022-10
5 Hurtwood 50k 2022-11
6 North Downs Ridge 50k 2023-02
7 South West Traverse 45m 2023-04
8 Three Forts Challenge 2023-04
diff --git a/lang/pear/distinfo b/lang/pear/distinfo
index c64ae88672ca..a568f9a492b7 100644
--- a/lang/pear/distinfo
+++ b/lang/pear/distinfo
@@ -3,5 +3,5 @@ $NetBSD: distinfo,v 1.51 2025/02/08 03:24:29 taca Exp $
BLAKE2s (pearweb_phars-1.10.24.tgz) = 6e6b480f76485871130f8a6974808f96957a8506feaa64e8435c3406d44f5c19
SHA512 (pearweb_phars-1.10.24.tgz) = 64b81b84b815f46cabebd5bba57ce67e86fbec9208e19438997e70dde9fdeaab5f517d2fb92889954f51040627f3188e9a37d86fa796dd51c65d38d804309cc5
Size (pearweb_phars-1.10.24.tgz) = 1205796 bytes
-SHA1 (patch-src_PEAR_Start.php) = 0c5df7164aa1c92063580565781c5af95e8b0867
+SHA1 (patch-src_PEAR_Start.php) = d8038a23e5250e8b2c0a022ba5e8adfd73d1fcd7
#!/bin/sh
#
# Look for any known-to-hang processes that have been running for longer than
# 2 hours, these are not caught by the ulimit -t set by pbulk as they are not
# using any CPU time.
#
# Run from cron and redirect output to a log
#
if [ "$1" = "-n" ]; then
===> Skipping vulnerability checks.
WARNING: No /opt/pkg/.pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/.pkgdb fetch-pkg-vulnerabilities'.
===> Testing for bmake-20240711
cd /Volumes/Work/git/pkgsrc/devel/bmake/work/bmake/unit-tests && MAKEFLAGS= /Volumes/Work/git/pkgsrc/devel/bmake/work/bmake/bmake -r -m / test
bmake[2]: "/Volumes/Work/git/pkgsrc/devel/bmake/work/bmake/unit-tests/Makefile" line 512: warning: Skipping broken tests: shell-ksh
--- /Volumes/Work/git/pkgsrc/devel/bmake/work/bmake/unit-tests/deptgt-silent-jobs.exp 2024-07-12 12:58:46
+++ deptgt-silent-jobs.out 2024-07-12 12:59:20
@@ -2,6 +2,9 @@
compat: testing 2
@jperkin
jperkin / pkg_add_nfs.md
Last active April 17, 2024 16:28
pkg_add issue with macOS NFS

Problem

pkgsrc builds on macOS have historically been significantly more unreliable than all other operating systems.

In my most recent builds there were over 400 instances of the error:

pkg_add: no pkg found for '<pkgname>', sorry.
@jperkin
jperkin / userland-dtrace-so.md
Created February 27, 2024 17:28
userland dtrace from shared library

Userland arguments work for functions from the main object, but not those in shared libraries.

An example from the main smbd program is ok:

$ dtrace -lvn 'pid$target:smbd:samba_cmdline_init:entry' -p 76224 
   ID   PROVIDER            MODULE                          FUNCTION NAME
96158   pid76224              smbd                samba_cmdline_init entry

        Probe Description Attributes
--- pkg_io.o ---
pkg_io.c:81:20: error: incomplete definition of type 'struct url'
if (strcasecmp(url->scheme, SCHEME_HTTP) == 0 ||
~~~^
./lib.h:342:8: note: forward declaration of 'struct url'
struct url *find_best_package(const char *, const char *, int);
^
pkg_io.c:82:20: error: incomplete definition of type 'struct url'
strcasecmp(url->scheme, SCHEME_FTP) == 0)
~~~^
botan-1.10.17nb2/install.log:ERROR: /opt/pkg/lib/libiconv.so.2: libiconv-1.17 is not a runtime dependency
botan-1.10.17nb2/install.log:ERROR: /opt/pkg/lib/libintl.so.8: gettext-lib-0.22.3 is not a runtime dependency
botan-2.19.3nb3/install.log:ERROR: /opt/pkg/lib/libiconv.so.2: libiconv-1.17 is not a runtime dependency
botan-2.19.3nb3/install.log:ERROR: /opt/pkg/lib/libintl.so.8: gettext-lib-0.22.3 is not a runtime dependency
botan3-3.2.0nb1/install.log:ERROR: /opt/pkg/lib/libiconv.so.2: libiconv-1.17 is not a runtime dependency
botan3-3.2.0nb1/install.log:ERROR: /opt/pkg/lib/libintl.so.8: gettext-lib-0.22.3 is not a runtime dependency
cgoban-1.9.14/install.log:ERROR: /opt/pkg/lib/libICE.so.6: libICE-1.1.1 is not a runtime dependency
cgoban-1.9.14/install.log:ERROR: /opt/pkg/lib/libSM.so.6: libSM-1.2.4 is not a runtime dependency
cmark-0.30.3nb1/install.log:ERROR: /opt/pkg/lib/libiconv.so.2: libiconv-1.17 is not a runtime dependency
cmark-0.30.3nb1/install.log:ERROR: /opt/pkg/lib/libintl.so.8: gettext-lib-0.2
Index: mk/buildlink3/bsd.buildlink3.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/buildlink3/bsd.buildlink3.mk,v
retrieving revision 1.261
diff -u -r1.261 bsd.buildlink3.mk
--- mk/buildlink3/bsd.buildlink3.mk 27 Jun 2023 10:40:09 -0000 1.261
+++ mk/buildlink3/bsd.buildlink3.mk 20 Nov 2023 13:02:42 -0000
@@ -226,9 +226,41 @@
. endfor
.endfor

Before:

$ bmake _check-shlibs                                                                                                         
=> Checking for missing run-time search paths in nodejs-21.2.0                                                                 
$

This is wrong. node is linked against gettext-lib and iconv, neither of which are deps, but are pulled in implicitly by others.