Re: pkg/60184 (Fix chibi-scheme installation on macos)

"Diogo via gnats" <[email protected]> Sat, 11 Apr 2026 20:15:01 +0000 (UTC)
Newsgroups gmane.os.netbsd.devel.pkgsrc.bugs
Message-ID <[email protected]>
The following reply was made to PR pkg/60184; it has been noted by GNATS.

From: "Diogo" <[email protected]>
To: "Taylor R Campbell" <[email protected]>, "Diogo" <[email protected]>
Cc: <[email protected]>, <[email protected]>,
        <[email protected]>, <[email protected]>
Subject: Re: pkg/60184 (Fix chibi-scheme installation on macos)
Date: Sat, 11 Apr 2026 22:14:46 +0200

 >> Attached is also an alternative patch using SHLIB_EXT in PLIST. This wor=
 ked for
 >> all shared libraries except these two:
 >>
 >> 	lib/libchibi-scheme.so.0
 >> 	lib/libchibi-scheme.so.${PKGVERSION}
 >
 > What's puzzling me is that you're not supposed to need to use
 > SHLIB_EXT explicitly in PLIST -- the logic in mk/plist/shlib-dylib.awk
 > is supposed to read `.so' entries and transform them into the
 > approprate `.dylib' version.
 >
 > I count around twenty-two thousand PLIST entries that end in `.so',
 > and only around seven hundred that end in `.${SHLIB_EXT}'; most of
 > those are probably mistakes and should be using `.so' instead.
 > (shlib-dylib.awk is also supposed to handle versioned entries too.)
 
 To be sure it wasn't my environment, I cleaned my PATH and bootstraped
 pkgsrc in /opt/pkg instead of /usr/local/pkg. After bootstrap, I added
 /opt/pkg/bin to PATH and ran `bmake package` in lang/chibi-scheme. The same
 error showed up. My pkgsrc is a git checkout, branch pkgsrc-2025Q4.
 
 > So why isn't shlib-dylib.awk already working here?
 
 I tried looking in the logs inside work/, but couldn't find any hint. How w=
 ould
 you proceed to figure out that?