Re: git: 406cda4aff0d - main - security/fprintd: Update to 1.94.4

From: Craig Leres <leres_at_freebsd.org>
Date: Sat, 12 Oct 2024 17:04:13 UTC
On 10/11/24 03:44, Mateusz Piotrowski wrote:
> The branch main has been updated by 0mp:
> 
> URL:https://cgit.FreeBSD.org/ports/commit/? 
> id=406cda4aff0da933aadfa169c3d2ac13c0b858dc
> 
> commit 406cda4aff0da933aadfa169c3d2ac13c0b858dc
> Author:     Harald Eilertsen<haraldei-freebsdbugz@anduin.net>
> AuthorDate: 2024-10-10 12:50:58 +0000
> Commit:     Mateusz Piotrowski<0mp@FreeBSD.org>
> CommitDate: 2024-10-11 10:42:18 +0000
> 
>      security/fprintd: Update to 1.94.4
>      
>      Upstream has changed to use devel/basu as a systemd/dbus alternative
>      which makes it almost build cleanly. A small patch is included in the
>      port to make the last remaining build issue disappear.

This fails to build for me (14.1/amd64). The current version of the port 
does not have any patches.

		Craig

cc  -o pam/pam_fprintd.so pam/pam_fprintd.so.p/pam_fprintd.c.o 
-Wl,--as-needed -Wl,--allow-shlib-undefined -shared -fPIC 
-fstack-protector-strong -O2 -pipe -fstack-protector-strong 
-fno-strict-aliasing -Wl,-rpath,/usr/local/lib 
-Wl,-rpath-link,/usr/local/lib 
-Wl,--version-script,/wrkdirs/usr/ports/security/fprintd/work/fprintd-v1.94.4/pam/pam_fprintd.ver 
-Wl,--unresolved-symbols=report-all -Wl,--start-group 
/usr/local/lib/libbasu.so -lpam /usr/local/lib/libintl.so -Wl,--end-group
ld: error: undefined reference due to --no-allow-shlib-undefined: environ
 >>> referenced by /lib/libc.so.7

ld: error: undefined reference due to --no-allow-shlib-undefined: __progname
 >>> referenced by /lib/libc.so.7
cc: error: linker command failed with exit code 1 (use -v to see invocation)