pkgsrc-Bugs archive

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

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



The following reply was made to PR pkg/60184; it has been noted by GNATS.

From: "Diogo" <db7%sdf.org@localhost>
To: "Taylor R Campbell" <riastradh%NetBSD.org@localhost>, "Diogo" <db7%sdf.org@localhost>
Cc: <gnats-bugs%netbsd.org@localhost>, <macos-pkg-people%netbsd.org@localhost>,
        <pkgsrc-bugs%netbsd.org@localhost>, <gnats-admin%netbsd.org@localhost>
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?
 



Home | Main Index | Thread Index | Old Index