Fails to build, warnings include:
test/highlvl.c: In function 'signData':
test/highlvl.c:258:12: warning: ignoring return value of 'cryptGetAttribute' declared with attribute 'warn_unused_result' [-Wunused-result]
258 | ( void ) cryptGetAttribute( CRYPT_UNUSED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
259 | CRYPT_OPTION_MISC_SIDECHANNELPROTECTION,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
260 | &value );
| ~~~~~~~~
test/highlvl.c: In function 'testSignDataCMS':
test/highlvl.c:2024:11: warning: ignoring return value of 'cryptGetAttribute' declared with attribute 'warn_unused_result' [-Wunused-result]
2024 | ( void ) cryptGetAttribute( CRYPT_UNUSED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2025 | CRYPT_OPTION_CERT_SIGNUNRECOGNISEDATTRIBUTES,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2026 | &value );
| ~~~~~~~~
cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -DFIXED_SEED=0xb3479d5192da971f -DHAS_LDAP -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -Wno-pointer-sign -Wno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -fstack-protector-strong -D_FORTIFY_SOURCE=2 -DOSVERSION=5 -O3 -fomit-frame-pointer -D_REENTRANT test/keydbx.c
test/keydbx.c: In function 'checkKeysetCRL':
test/keydbx.c:132:12: warning: ignoring return value of 'cryptGetAttribute' declared with attribute 'warn_unused_result' [-Wunused-result]
132 | ( void ) cryptGetAttribute( CRYPT_UNUSED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
133 | CRYPT_OPTION_CERT_COMPLIANCELEVEL,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134 | &complianceValue );
| ~~~~~~~~~~~~~~~~~~
cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -DFIXED_SEED=0xb3479d5192da971f -DHAS_LDAP -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -Wno-pointer-sign -Wno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -fstack-protector-strong -D_FORTIFY_SOURCE=2 -DOSVERSION=5 -O3 -fomit-frame-pointer -D_REENTRANT test/keyfile.c
cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -DFIXED_SEED=0xb3479d5192da971f -DHAS_LDAP -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -Wno-pointer-sign -Wno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -fstack-protector-strong -D_FORTIFY_SOURCE=2 -DOSVERSION=5 -O3 -fomit-frame-pointer -D_REENTRANT test/loadkey.c
cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -DFIXED_SEED=0xb3479d5192da971f -DHAS_LDAP -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -Wno-pointer-sign -Wno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -fstack-protector-strong -D_FORTIFY_SOURCE=2 -DOSVERSION=5 -O3 -fomit-frame-pointer -D_REENTRANT test/lowlvl.c
cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -DFIXED_SEED=0xb3479d5192da971f -DHAS_LDAP -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -Wno-pointer-sign -Wno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -fstack-protector-strong -D_FORTIFY_SOURCE=2 -DOSVERSION=5 -O3 -fomit-frame-pointer -D_REENTRANT test/s_cmp.c
cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -DFIXED_SEED=0xb3479d5192da971f -DHAS_LDAP -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -Wno-pointer-sign -Wno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -fstack-protector-strong -D_FORTIFY_SOURCE=2 -DOSVERSION=5 -O3 -fomit-frame-pointer -D_REENTRANT test/s_scep.c
cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -DFIXED_SEED=0xb3479d5192da971f -DHAS_LDAP -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -Wno-pointer-sign -Wno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -fstack-protector-strong -D_FORTIFY_SOURCE=2 -DOSVERSION=5 -O3 -fomit-frame-pointer -D_REENTRANT test/sreqresp.c
cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -DFIXED_SEED=0xb3479d5192da971f -DHAS_LDAP -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -Wno-pointer-sign -Wno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -fstack-protector-strong -D_FORTIFY_SOURCE=2 -DOSVERSION=5 -O3 -fomit-frame-pointer -D_REENTRANT test/ssh.c
cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -DFIXED_SEED=0xb3479d5192da971f -DHAS_LDAP -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -Wno-pointer-sign -Wno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -fstack-protector-strong -D_FORTIFY_SOURCE=2 -DOSVERSION=5 -O3 -fomit-frame-pointer -D_REENTRANT test/ssl.c
cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -DFIXED_SEED=0xb3479d5192da971f -DHAS_LDAP -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -Wno-pointer-sign -Wno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -fstack-protector-strong -D_FORTIFY_SOURCE=2 -DOSVERSION=5 -O3 -fomit-frame-pointer -D_REENTRANT test/stress.c
cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -DFIXED_SEED=0xb3479d5192da971f -DHAS_LDAP -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -Wno-pointer-sign -Wno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -fstack-protector-strong -D_FORTIFY_SOURCE=2 -DOSVERSION=5 -O3 -fomit-frame-pointer -D_REENTRANT test/suiteb.c
cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -DFIXED_SEED=0xb3479d5192da971f -DHAS_LDAP -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -Wno-pointer-sign -Wno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -fstack-protector-strong -D_FORTIFY_SOURCE=2 -DOSVERSION=5 -O3 -fomit-frame-pointer -D_REENTRANT test/testfunc.c
cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -DFIXED_SEED=0xb3479d5192da971f -DHAS_LDAP -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -Wno-pointer-sign -Wno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -fstack-protector-strong -D_FORTIFY_SOURCE=2 -DOSVERSION=5 -O3 -fomit-frame-pointer -D_REENTRANT test/testlib.c
In file included from ./crypt.h:327,
from test/testlib.c:1348:
./misc/os_detect.h:245: warning: "VC_LT_2005" redefined
245 | #define VC_LT_2005( version ) 1
|
In file included from test/testlib.c:23:
./test/test.h:324: note: this is the location of the previous definition
324 | #define VC_LT_2005( version ) 0
|
cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -DFIXED_SEED=0xb3479d5192da971f -DHAS_LDAP -fPIC
Pinned Comments
mwawrzyniak commented on 2022-06-02 20:09 (UTC)
Updated the package to fix some build issues, plus include a thread patch similar to how upstream fixed for SBBS.
ncurses is required by the base group, so that's the only hard requirement. Everything else is now optional (X11/SDL/the "icon" support).
Let me know if you have any issues with the new package.