What is the correct name of the list? pkgsrc-users%NetBSD.org@localhost or
pkgsrc-users%netbsd.org@localhost? I sent to pkgsrc-users%NetBSD.org@localhost but my
message was not shown.
-----Original Message-----
From: Hung Nguyen Gia <gh_origin%aol.com@localhost>
To: pkgsrc-users%NetBSD.org@localhost <pkgsrc-users%NetBSD.org@localhost>
Sent: Tue, Sep 1, 2020 3:24 pm
Subject: pkgsrc bootstrap fails on FreeBSD
The command I used:
./bootstrap --prefix=/test --compiler=clang --unprivileged
The error message:
cc -L/test/pkgsrc/bootstrap/work/libnbcompat -L../lib -o pkg_create
main.o perform.o pl.o util.o build.o -linstall
/test/pkgsrc/bootstrap/work/libarchive/.libs/libarchive.a -lnbcompat
/test/pkgsrc/bootstrap/work/libarchive/.libs/libarchive.a(archive_digest.o):
In function `__archive_md5init':
/test/pkgsrc/bootstrap/work/libarchive/libarchive/archive_digest.c:138:
undefined reference to `_libmd_MD5Init'
/test/pkgsrc/bootstrap/work/libarchive/.libs/libarchive.a(archive_digest.o):
In function `__archive_md5update':
/test/pkgsrc/bootstrap/work/libarchive/libarchive/archive_digest.c:146:
undefined reference to `_libmd_MD5Update'
/test/pkgsrc/bootstrap/work/libarchive/.libs/libarchive.a(archive_digest.o):
In function `__archive_md5final':
/test/pkgsrc/bootstrap/work/libarchive/libarchive/archive_digest.c:153:
undefined reference to `_libmd_MD5Final'
/test/pkgsrc/bootstrap/work/libarchive/.libs/libarchive.a(archive_digest.o):
In function `__archive_ripemd160init':
/test/pkgsrc/bootstrap/work/libarchive/libarchive/archive_digest.c:353:
undefined reference to `_libmd_RIPEMD160_Init'
/test/pkgsrc/bootstrap/work/libarchive/.libs/libarchive.a(archive_digest.o):
In function `__archive_ripemd160update':
/test/pkgsrc/bootstrap/work/libarchive/libarchive/archive_digest.c:361:
undefined reference to `_libmd_RIPEMD160_Update'
/test/pkgsrc/bootstrap/work/libarchive/.libs/libarchive.a(archive_digest.o):
In function `__archive_ripemd160final':
/test/pkgsrc/bootstrap/work/libarchive/libarchive/archive_digest.c:368:
undefined reference to `_libmd_RIPEMD160_Final'
/test/pkgsrc/bootstrap/work/libarchive/.libs/libarchive.a(archive_digest.o):
In function `__archive_sha1init':
/test/pkgsrc/bootstrap/work/libarchive/libarchive/archive_digest.c:519:
undefined reference to `_libmd_SHA1_Init'
/test/pkgsrc/bootstrap/work/libarchive/.libs/libarchive.a(archive_digest.o):
In function `__archive_sha1update':
/test/pkgsrc/bootstrap/work/libarchive/libarchive/archive_digest.c:527:
undefined reference to `_libmd_SHA1_Update'
/test/pkgsrc/bootstrap/work/libarchive/.libs/libarchive.a(archive_digest.o):
In function `__archive_sha1final':
/test/pkgsrc/bootstrap/work/libarchive/libarchive/archive_digest.c:534:
undefined reference to `_libmd_SHA1_Final'
/test/pkgsrc/bootstrap/work/libarchive/.libs/libarchive.a(archive_digest.o):
In function `__archive_sha256init':
/test/pkgsrc/bootstrap/work/libarchive/libarchive/archive_digest.c:782:
undefined reference to `_libmd_SHA256_Init'
/test/pkgsrc/bootstrap/work/libarchive/.libs/libarchive.a(archive_digest.o):
In function `__archive_sha256update':
/test/pkgsrc/bootstrap/work/libarchive/libarchive/archive_digest.c:790:
undefined reference to `_libmd_SHA256_Update'
/test/pkgsrc/bootstrap/work/libarchive/.libs/libarchive.a(archive_digest.o):
In function `__archive_sha256final':
/test/pkgsrc/bootstrap/work/libarchive/libarchive/archive_digest.c:797:
undefined reference to `_libmd_SHA256_Final'
/test/pkgsrc/bootstrap/work/libarchive/.libs/libarchive.a(archive_digest.o):
In function `__archive_sha512init':
/test/pkgsrc/bootstrap/work/libarchive/libarchive/archive_digest.c:1276:
undefined reference to `_libmd_SHA512_Init'
/test/pkgsrc/bootstrap/work/libarchive/.libs/libarchive.a(archive_digest.o):
In function `__archive_sha512update':
/test/pkgsrc/bootstrap/work/libarchive/libarchive/archive_digest.c:1284:
undefined reference to `_libmd_SHA512_Update'
/test/pkgsrc/bootstrap/work/libarchive/.libs/libarchive.a(archive_digest.o):
In function `__archive_sha512final':
/test/pkgsrc/bootstrap/work/libarchive/libarchive/archive_digest.c:1291:
undefined reference to `_libmd_SHA512_Final'
cc: error: linker command failed with exit code 1 (use -v to see
invocation)
*** [pkg_create] Error code 1
bmake[1]: stopped in /test/pkgsrc/bootstrap/work/pkg_install/create
1 error
bmake[1]: stopped in /test/pkgsrc/bootstrap/work/pkg_install/create
*** [all] Error code 1
bmake: stopped in /test/pkgsrc/bootstrap/work/pkg_install
1 error
bmake: stopped in /test/pkgsrc/bootstrap/work/pkg_install
===> exited with status 2
aborted.