FTBFS
Description:
Fails to build due to OpenSSL 3.2.0, "Untested OpenSSL version". Additionally upstream obsoleted tarballs https://sourceforge.net/projects/ibmswtpm2/files/
==> Starting build()...
/usr/bin/gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-deprecated-declarations -c -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection ACTCommands.c -o ACTCommands.o
/usr/bin/gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-deprecated-declarations -c -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection ACT_spt.c -o ACT_spt.o
/usr/bin/gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-deprecated-declarations -c -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection AlgorithmCap.c -o AlgorithmCap.o
/usr/bin/gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-deprecated-declarations -c -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection AlgorithmTests.c -o AlgorithmTests.o
/usr/bin/gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-deprecated-declarations -c -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection AsymmetricCommands.c -o AsymmetricCommands.o
/usr/bin/gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-deprecated-declarations -c -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection Attest_spt.c -o Attest_spt.o
/usr/bin/gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-deprecated-declarations -c -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection AttestationCommands.c -o AttestationCommands.o
/usr/bin/gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-deprecated-declarations -c -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection AuditCommands.c -o AuditCommands.o
In file included from BnValues.h:324,
from Global.h:80,
from Tpm.h:78,
from AlgorithmCap.c:67:
TpmToOsslMath.h:79:5: error: #error Untested OpenSSL version
79 | # error Untested OpenSSL version
| ^~~~~
In file included from BnValues.h:324,
from Global.h:80,
from Tpm.h:78,
from ACTCommands.c:62:
TpmToOsslMath.h:79:5: error: #error Untested OpenSSL version
79 | # error Untested OpenSSL version
| ^~~~~
In file included from BnValues.h:324,
from Global.h:80,
from Tpm.h:78,
from AuditCommands.c:62:
TpmToOsslMath.h:79:5: error: #error Untested OpenSSL version
79 | # error Untested OpenSSL version
| ^~~~~
In file included from BnValues.h:324,
from Global.h:80,
from Tpm.h:78,
from ACT_spt.c:73:
TpmToOsslMath.h:79:5: error: #error Untested OpenSSL version
79 | # error Untested OpenSSL version
| ^~~~~
In file included from BnValues.h:324,
from Global.h:80,
from Tpm.h:78,
from AlgorithmTests.c:66:
TpmToOsslMath.h:79:5: error: #error Untested OpenSSL version
79 | # error Untested OpenSSL version
| ^~~~~
In file included from BnValues.h:324,
from Global.h:80,
from Tpm.h:78,
from AttestationCommands.c:63:
TpmToOsslMath.h:79:5: error: #error Untested OpenSSL version
79 | # error Untested OpenSSL version
| ^~~~~
In file included from BnValues.h:324,
from Global.h:80,
from Tpm.h:78,
from Attest_spt.c:62:
TpmToOsslMath.h:79:5: error: #error Untested OpenSSL version
79 | # error Untested OpenSSL version
| ^~~~~
In file included from BnValues.h:324,
from Global.h:80,
from Tpm.h:78,
from AsymmetricCommands.c:62:
TpmToOsslMath.h:79:5: error: #error Untested OpenSSL version
79 | # error Untested OpenSSL version
| ^~~~~
make: *** [makefile:89: AlgorithmCap.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [makefile:89: AuditCommands.o] Error 1
make: *** [makefile:89: ACTCommands.o] Error 1
make: *** [makefile:89: ACT_spt.o] Error 1
make: *** [makefile:89: Attest_spt.o] Error 1
make: *** [makefile:89: AttestationCommands.o] Error 1
make: *** [makefile:89: AsymmetricCommands.o] Error 1
make: *** [makefile:89: AlgorithmTests.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...
Additional info:
- package version: 1682-2
- config and/or log files: above.
- link to upstream bug report, if any: https://github.com/kgoldman/ibmswtpm2/pull/13
Steps to reproduce:
- Try to build
- Fail