pkg-2.7.5 build with problem in 15.0-RELEASE-p7

Sergei Vyshenski <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <CAHU0Y-6Ei=z1ytrTGjQ+XApV5pB-tFzOA0PqPrDzsfcGDe6MMw@mail.gmail.com>
Hi,

After update to 15.0-RELEASE-p7, I was able to build and install pkg-2.7.5
only with this hack:

cd /usr/ports/ports-mgmt/pkg
make
(fails with
/usr/local/bin/x86_64-unknown-freebsd15.0-ld: /usr/lib/liblzma.a(check.o):
in function `lzma_sha256_init':
/usr/src/contrib/xz/src/liblzma/check/check.h:127:(.text+0x6c): undefined
reference to `_libmd_SHA256_Init'
)
cd /usr/ports/ports-mgmt/pkg/work/pkg-2.7.5/src
cc -o pkg-static *.o -static -L../libpkg -lpkg_flat -lelf -ljail -lm
-pthread -larchive -lutil -lssl -lcrypto -lbz2 -lz -llzma -lprivatezstd -lmd
cd /usr/ports/ports-mgmt/pkg
make reinstall

Regards, Sergei
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.