pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PREFER.zlib?



hi-

    i got a new M4 macbook running macosx 15.3.1 and i'm
building some packages.  building emulators/open-simh 
with "bmake update" fails with the following error:

===> Overriding tools for open-simh-4.1.0.20250117nb1
===> Extracting for open-simh-4.1.0.20250117nb1
/bin/mkdir -p /usr/local/src/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

Stop.
bmake[1]: stopped making "all" in /usr/local/src/pkgsrc/emulators/open-simh
*** Error code 1

Stop.


Looking at emulators/open-simh/Makefile, it has:

.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

and indeed I get:

# bmake -V PREFER.zlib
pkgsrc
# 

but clearly it is failing rather than building pkgsrc devel/zlib.

any suggestions on how to fix this?   i looked for all instances
of PREFER.zlib in pkgsrc and got:


    devel/zlib/builtin.mk:.  if ${PREFER.zlib} == "pkgsrc"
    devel/zlib/builtin.mk:.  endif  # PREFER.zlib
    emulators/open-simh/Makefile:PREFER.zlib=               pkgsrc
    emulators/simh/Makefile:PREFER.zlib=            pkgsrc
    mk/platform/HPUX.mk:_OPSYS_PREFER.zlib?=        pkgsrc
    mk/platform/QNX.mk:_OPSYS_PREFER.zlib?= pkgsrc

trying to build emulators/simh fails in the same way, so that's no
help.

thanks,
chuck



Home | Main Index | Thread Index | Old Index