[Bug 275154] print/cups: build fail without GNUTLS

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 17 Nov 2023 19:13:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275154

            Bug ID: 275154
           Summary: print/cups: build fail without GNUTLS
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: tijl@FreeBSD.org
          Reporter: rozhuk.im@gmail.com
             Flags: maintainer-feedback?(tijl@FreeBSD.org)
          Assignee: tijl@FreeBSD.org

echo Linking ippeveprinter...
echo Linking ippeveprinter-static...
Linking ippeveprinter...
cc -L../cups  -Wl,-z,relro,-z,now -fstack-protector-strong 
-Wl,-R/usr/local/lib -fPIE -pie -fPIC   -o ippeveprinter ippeveprinter.o  -lpam
-ldl -L../cups -lcups
Linking ippeveprinter-static...
cc -L../cups  -Wl,-z,relro,-z,now -fstack-protector-strong 
-Wl,-R/usr/local/lib -fPIE -pie -fPIC   -o ippeveprinter-static ippeveprinter.o
-lpam -ldl ../cups/libcups.a    -lz -lpthread -lm -lcrypt -L/usr/local/lib  -lz
/usr/bin/true -s "-" ipptool
ld: error: undefined symbol: gnutls_hash_get_len
>>> referenced by hash.c
>>>               hash.o:(hash_data) in archive ../cups/libcups.a

ld: error: undefined symbol: gnutls_hash_init
>>> referenced by hash.c
>>>               hash.o:(hash_data) in archive ../cups/libcups.a

ld: error: undefined symbol: gnutls_hash
>>> referenced by hash.c
>>>               hash.o:(hash_data) in archive ../cups/libcups.a
>>> referenced by hash.c
>>>               hash.o:(hash_data) in archive ../cups/libcups.a

ld: error: undefined symbol: gnutls_hash_deinit
>>> referenced by hash.c
>>>               hash.o:(hash_data) in archive ../cups/libcups.a
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[3]: *** [Makefile:220: ipptool-static] Error 1
gmake[3]: *** Waiting for unfinished jobs....
/usr/bin/true -s "-" ippeveprinter
ld: error: undefined symbol: gnutls_hash_get_len
>>> referenced by hash.c
>>>               hash.o:(hash_data) in archive ../cups/libcups.a

ld: error: undefined symbol: gnutls_hash_init
>>> referenced by hash.c
>>>               hash.o:(hash_data) in archive ../cups/libcups.a

ld: error: undefined symbol: gnutls_hash
>>> referenced by hash.c
>>>               hash.o:(hash_data) in archive ../cups/libcups.a
>>> referenced by hash.c
>>>               hash.o:(hash_data) in archive ../cups/libcups.a

ld: error: undefined symbol: gnutls_hash_deinit
>>> referenced by hash.c
>>>               hash.o:(hash_data) in archive ../cups/libcups.a
cc: error: linker command failed with exit code 1 (use -v to see invocation)

-- 
You are receiving this mail because:
You are the assignee for the bug.