Created attachment 265191 [details] Patch for libxcrypt * Use upstream release tarball, removed USES= autoreconf dependency * Remove patch, builds fine without * Add Perl5 build dependency * Use INSTALL_TARGET instead of post-install for stripping * Remove "make test" info, keep that in commit message Compile and runtime tested on FreeBSD 14.3-RELEASE (amd64) (make, make check-plist, make test) Poudriere testport OK 13.5-RELEASE (amd64) Poudriere testport OK 13.5-RELEASE (i386) Poudriere testport OK 14.3-RELEASE (amd64)
Friendly ping
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=1c18eaf913051e7e2503f05d438cc1636d66e554 commit 1c18eaf913051e7e2503f05d438cc1636d66e554 Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2026-01-03 12:01:24 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2026-01-03 12:02:00 +0000 security/libxcrypt: Use upstream release archive and improve port * Use upstream release tarball, removed USES= autoreconf dependency * Remove patch, not necessary * Add Perl5 build dependency * Use INSTALL_TARGET instead of post-install for stripping * Remove "make test" info, this shouldn't go into the port Makefile PR: 290822 Approved by: maintainer timeout, 1+ month security/libxcrypt/Makefile | 23 +++++------------------ security/libxcrypt/distinfo | 6 +++--- security/libxcrypt/files/patch-Makefile.am (gone) | 22 ---------------------- 3 files changed, 8 insertions(+), 43 deletions(-)
Committed
The port is now broken on platforms like armv7 FreeBSD 15 with missing symbol errors: ld: error: version script assignment of 'XCRYPT_2.0' to symbol 'crypt_gensalt_r' failed: symbol not defined ld: error: version script assignment of 'XCRYPT_2.0' to symbol 'xcrypt' failed: symbol not defined ld: error: version script assignment of 'XCRYPT_2.0' to symbol 'xcrypt_gensalt' failed: symbol not defined ld: error: version script assignment of 'XCRYPT_2.0' to symbol 'xcrypt_gensalt_r' failed: symbol not defined ld: error: version script assignment of 'XCRYPT_2.0' to symbol 'xcrypt_r' failed: symbol not defined Please test more thoroughly in the future. I will commit a patch shortly to fix this.
(In reply to Robert Clausecker from comment #4) Complain to upstream, https://github.com/besser82/libxcrypt/commit/42295eb93713caefff4edbecccf7a001ce624b33
(In reply to Daniel Engberg from comment #5) ..and for that matter, you should direct that to https://cgit.freebsd.org/ports/commit/?id=41d9b4eea5e03c9327bb08256b7d2678b3ad8a35 .
(In reply to Daniel Engberg from comment #6) The symbols are supposed to be there, they are not being generated because __attribute__((alias)) doesn't seem to work as intended. The fix I plan to push changes configuration options such that no attempt will be made to define the symbols in question.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=1c392f50221bba1802fa73b3f266d92f0e94e5fa commit 1c392f50221bba1802fa73b3f266d92f0e94e5fa Author: Robert Clausecker <fuz@FreeBSD.org> AuthorDate: 2026-02-02 21:32:27 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2026-02-04 12:41:15 +0000 security/libxcrypt: work around symbol alias issue This port uses symbol aliases to provide certain legacy symbols. Following commit 1c18eaf, symbol maps were reenabled, exposing that these legacy symbols were never actually generated. The project tries to generate legacy symbol aliases using __attribute__((alias)), which seems to have no effect. Sidestep this problem for now by disabling all legacy symbols. Approved by: portmgr (build fix blanket) PR: 290822 Fixes: 1c18eaf913051e7e2503f05d438cc1636d66e554 security/libxcrypt/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)