pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/56638: security/gnupg2 fails to build on Solaris 10
>Number: 56638
>Category: pkg
>Synopsis: security/gnupg2 fails to build on Solaris 10
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jan 17 07:20:00 +0000 2022
>Originator: Claes Nästén
>Release: trunk 2022-01-01
>Organization:
>Environment:
SunOS 5.10 i86pc i386 i86pc
>Description:
Building security/gnupg2 fails to build due to missing reference to clock_gettime.
--- gpg-preset-passphrase ---
gcc -I/usr/pkg/include -I/usr/pkg/include -Wall -Wno-format-zero-length -Wno-pointer-sign -Wpointer-arith -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -lintl -lsocket -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/lib -L/usr/lib -L/usr/lib -o gpg-preset-passphrase preset-passphrase.o ../common/libsimple-pwquery.a ../common/libcommon.a -lassuan -L/usr/pkg/lib -lgpg-error -lsocket -lnsl -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lgcrypt -lgpg-error -lsocket -lnsl -L/usr/pkg/lib -lgpg-error -lsocket -lnsl /usr/pkg/lib/libintl.so /usr/pkg/lib/libiconv.so -R/usr/pkg/lib -lnsl /usr/pkg/lib/libiconv.so -R/usr/pkg/lib -lnsl
--- t-protect ---
Undefined first referenced
symbol in file
clock_gettime protect.o (symbol belongs to implicit dependency /lib/amd64/librt.so.1)
ld: fatal: symbol referencing errors. No output written to t-protect
collect2: error: ld returned 1 exit status
>How-To-Repeat:
Build security/gnugpg2 on Solaris 10
>Fix:
diff --git a/security/gnupg2/Makefile b/security/gnupg2/Makefile
index 2f0771210b6..bd0cc57c0a5 100644
--- a/security/gnupg2/Makefile
+++ b/security/gnupg2/Makefile
@@ -37,7 +37,7 @@ TEST_TARGET= check
LDFLAGS.NetBSD+= -lintl
LDFLAGS.Darwin+= -lintl -lresolv
LDFLAGS.FreeBSD+= -lintl
-LDFLAGS.SunOS+= -lintl -lsocket
+LDFLAGS.SunOS+= -lintl -lsocket -lrt
LDFLAGS.Linux+= -lrt
.include "options.mk"
Home |
Main Index |
Thread Index |
Old Index