tech-pkg archive

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

Re: Latest pkg_install broken on latest NetBSD



On 2/13/25 04:47, Taylor R Campbell wrote:
Date: Wed, 12 Feb 2025 19:40:24 +0000 (UTC)
From: John Klos <john%klos.com@localhost>

Try this, if you have a moment:

Make a new, clean chroot of 10.0, 10.1, whatever. cvs checkout to /usr the
latest pkgsrc. cd /usr/pkgsrc/pkgtools/pkg_install, and run make package
update:

#     build  libfetch/libfetch.a
ar crs libfetch.a $(NM=nm lorder fetch.o common.o ftp.o http.o file.o |
tsort -q)
-e "s,@libdir@,/usr/pkg/lib,"  -e "s,@includedir@,/usr/pkg/include,"  -e
"s,@requires-private@,libssl libcrypto,"  < fetch.pc.in > fetch.pc
sh: Unknown option -
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/pkgtools/pkg_install/work/libfetch
*** Error code 1


But I haven't got a clue where this came from. Anyone?

SED is not defined in net/libfetch/files/Makefile when generating
fetch.pc from fetch.pc.in.  This logic was newly added in:

https://mail-index.netbsd.org/pkgsrc-changes/2025/02/10/msg317187.html

pho, can you take a look?

That was my oversight. Committed a fix. Sorry for the breakage.


Home | Main Index | Thread Index | Old Index