On Fri 21 Feb 2025 at 15:22:19 -0500, Chuck Cranor wrote: > In article <Z7eFESIoutNK9yfb%trav.math.uni-bonn.de@localhost> you write: > >Do you have PREFER_NATIVE (or PREFER_PKGSRC) set? > > > I have not set either of these... > > to be sure it wasn't anything that i have changed, i checked out > a fresh pkgsrc in a scratch directory, bootstrapped it, and attempted > to build open-simh using it (on my macosx 15.3 aarch64 system). > it still fails with: > > > ===> Extracting for open-simh-4.1.0.20250117nb1 > /bin/mkdir -p /Users/chuck/excluded/pkgsrc/emulators/open-simh/work/simh-feb155fbc49333e879ab082d481e6dcce27d2d91/BIN > ===> Patching for open-simh-4.1.0.20250117nb1 > => Applying pkgsrc patches for open-simh-4.1.0.20250117nb1 > ===> Creating toolchain wrappers for open-simh-4.1.0.20250117nb1 > ERROR: zlib>=1.1.4 is not installed; can't buildlink files. > *** Error code 1 In open-simh's Makefile, there is .if ${OPSYS} == "Darwin" # Doesn't seem to work with pkgsrc pcap, and dylib path is hardcoded. PREFER.libpcap= native # Link error with the native version: _zlibVersion PREFER.zlib= pkgsrc .endif which is apparently not enough to actually add a dependency to build zlib. Adding .include "../../devel/zlib/buildlink3.mk" near the end of the Makefile could be the solution. Can you try that? If it works for you I will make this change in pkgsrc. Checking on my own machine, it doesn't seem to add a dependency for me on NetBSD (as expected). I am assuming here that the main problem is that on Darwin, there is no dependency on pkgsrc zlib, but if it were installed, then everyting works. > chuck -Olaf. -- ___ Olaf 'Rhialto' Seibert <rhialto/at/falu.nl> \X/ There is no AI. There is just someone else's work. --I. Rose
Attachment:
signature.asc
Description: PGP signature