#1127119 golang-github-notaryproject-tspclient-go: will FTBFS during forky support period

#1127119#5
Date:
2026-02-06 12:02:24 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable with the system clock set
at 2030-08-09 (estimated to be three years after the release date of forky),
this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/ftbfs-future/

About the archive rebuild: This is an effort to keep forky free from
FTBFS bugs during its lifetime as a supported distribution, as
explained here for trixie:

https://lists.debian.org/debian-devel/2024/05/msg00414.html

This category of bugs is considered to be RC for forky, but I will
wait two months from now before raising to serious to give people a
little bit more time to fix them.

The build was made using sbuild and a reduced chroot with only
build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:golang-github-notaryproject-tspclient-go, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
net/http/internal
crypto/x509
net/textproto
vendor/golang.org/x/net/http/httpguts
vendor/golang.org/x/net/http/httpproxy
mime/multipart
net/http/internal/ascii
github.com/notaryproject/tspclient-go/internal/oid
crypto/tls
github.com/notaryproject/tspclient-go/internal/cms
net/http/httptrace
net/http
github.com/notaryproject/tspclient-go
   dh_auto_test -O--builddirectory=_build -O--buildsystem=golang
	cd _build && go test -vet=off -v -p 2 github.com/notaryproject/tspclient-go github.com/notaryproject/tspclient-go/internal/cms github.com/notaryproject/tspclient-go/internal/encoding/asn1 github.com/notaryproject/tspclient-go/internal/encoding/asn1/ber github.com/notaryproject/tspclient-go/internal/hashutil github.com/notaryproject/tspclient-go/internal/oid github.com/notaryproject/tspclient-go/pki
=== RUN   TestTSATimestampGranted
--- PASS: TestTSATimestampGranted (0.09s)
=== RUN   TestTSATimestampRejection
--- PASS: TestTSATimestampRejection (0.01s)
=== RUN   TestTSATimestampMalformedExtKeyUsage
--- PASS: TestTSATimestampMalformedExtKeyUsage (0.14s)
=== RUN   TestTSATimestampNonCriticalExtKeyUsage
--- PASS: TestTSATimestampNonCriticalExtKeyUsage (0.11s)
=== RUN   TestTSATimestampWithoutCertificate
--- PASS: TestTSATimestampWithoutCertificate (0.08s)
=== RUN   TestMalformedRequestError
--- PASS: TestMalformedRequestError (0.00s)
=== RUN   TestInvalidResponseError
--- PASS: TestInvalidResponseError (0.00s)
=== RUN   TestSignedTokenVerificationError
--- PASS: TestSignedTokenVerificationError (0.00s)
=== RUN   TestTSTInfoError
--- PASS: TestTSTInfoError (0.00s)
=== RUN   TestHTTPTimestampGranted
--- PASS: TestHTTPTimestampGranted (0.00s)
=== RUN   TestHTTPTimestampRejection
--- PASS: TestHTTPTimestampRejection (0.00s)
=== RUN   TestHTTPTimestampBadEndpoint
--- PASS: TestHTTPTimestampBadEndpoint (0.00s)
=== RUN   TestHTTPTimestampEndpointNotFound
--- PASS: TestHTTPTimestampEndpointNotFound (0.00s)
=== RUN   TestNewHTTPTimestamper
--- PASS: TestNewHTTPTimestamper (0.00s)
=== RUN   TestHttpTimestamperTimestamp
--- PASS: TestHttpTimestamperTimestamp (0.00s)
=== RUN   TestNewRequest
--- PASS: TestNewRequest (0.00s)
=== RUN   TestRequestMarshalBinary
--- PASS: TestRequestMarshalBinary (0.00s)
=== RUN   TestRequestUnmarshalBinary
--- PASS: TestRequestUnmarshalBinary (0.00s)
=== RUN   TestValidateRequest
--- PASS: TestValidateRequest (0.00s)
=== RUN   TestResponseMarshalBinary
--- PASS: TestResponseMarshalBinary (0.00s)
=== RUN   TestResponseUnmarshalBinary
--- PASS: TestResponseUnmarshalBinary (0.00s)
=== RUN   TestValidateStatus
--- PASS: TestValidateStatus (0.00s)
=== RUN   TestSignedToken
--- PASS: TestSignedToken (0.00s)
=== RUN   TestValidateResponse
--- PASS: TestValidateResponse (0.00s)
=== RUN   TestTSAWithGenTimeNotUTC
--- PASS: TestTSAWithGenTimeNotUTC (0.21s)
=== RUN   TestTimestamp
--- PASS: TestTimestamp (0.00s)
=== RUN   TestString
--- PASS: TestString (0.00s)
=== RUN   TestParseSignedToken
--- PASS: TestParseSignedToken (0.00s)
=== RUN   TestVerify
    token_test.go:57: expected nil error, but got failed to verify signed token: cms verification failure: x509: certificate has expired or is not yet valid: current time 2030-08-09T12:00:36Z is after 2029-03-18T10:00:00Z
--- FAIL: TestVerify (0.00s)
=== RUN   TestInfo
--- PASS: TestInfo (0.00s)
=== RUN   TestGetSigningCertificate
--- PASS: TestGetSigningCertificate (0.00s)
=== RUN   TestValidate
--- PASS: TestValidate (0.00s)
=== RUN   TestValidateInfo
--- PASS: TestValidateInfo (0.00s)
FAIL
FAIL	github.com/notaryproject/tspclient-go	0.652s
=== RUN   TestSyntaxError
=== RUN   TestSyntaxError/No_detail
=== RUN   TestSyntaxError/With_detail
--- PASS: TestSyntaxError (0.00s)
    --- PASS: TestSyntaxError/No_detail (0.00s)
    --- PASS: TestSyntaxError/With_detail (0.00s)
=== RUN   TestVerificationError
=== RUN   TestVerificationError/No_detail
=== RUN   TestVerificationError/With_detail
--- PASS: TestVerificationError (0.00s)
    --- PASS: TestVerificationError/No_detail (0.00s)
    --- PASS: TestVerificationError/With_detail (0.00s)
=== RUN   TestVerifySignedData
--- PASS: TestVerifySignedData (0.00s)
=== RUN   TestParseSignedData
=== RUN   TestParseSignedData/invalid_berData
=== RUN   TestParseSignedData/invalid_contentInfo
=== RUN   TestParseSignedData/content_type_is_not_signed_data
=== RUN   TestParseSignedData/invalid_signed_data_content
=== RUN   TestParseSignedData/invalid_certificate
--- PASS: TestParseSignedData (0.00s)
    --- PASS: TestParseSignedData/invalid_berData (0.00s)
    --- PASS: TestParseSignedData/invalid_contentInfo (0.00s)
    --- PASS: TestParseSignedData/content_type_is_not_signed_data (0.00s)
    --- PASS: TestParseSignedData/invalid_signed_data_content (0.00s)
    --- PASS: TestParseSignedData/invalid_certificate (0.00s)
=== RUN   TestVerify
=== RUN   TestVerify/without_certificate
=== RUN   TestVerify/without_signer_info
=== RUN   TestVerify/signer_version_is_2
=== RUN   TestVerify/unknown_signer_issuer
=== RUN   TestVerify/sha1_leaf_cert
=== RUN   TestVerify/invalid_signature
=== RUN   TestVerify/id-data_content_type_without_signed_attributes
=== RUN   TestVerify/invalid_content_type
=== RUN   TestVerify/an_invalid_and_a_valid_signer_info
--- PASS: TestVerify (0.01s)
    --- PASS: TestVerify/without_certificate (0.00s)
    --- PASS: TestVerify/without_signer_info (0.00s)
    --- PASS: TestVerify/signer_version_is_2 (0.00s)
    --- PASS: TestVerify/unknown_signer_issuer (0.00s)
    --- PASS: TestVerify/sha1_leaf_cert (0.00s)
    --- PASS: TestVerify/invalid_signature (0.00s)
    --- PASS: TestVerify/id-data_content_type_without_signed_attributes (0.00s)
    --- PASS: TestVerify/invalid_content_type (0.00s)
    --- PASS: TestVerify/an_invalid_and_a_valid_signer_info (0.00s)
=== RUN   TestVerifySignerInvalidSignerInfo
=== RUN   TestVerifySignerInvalidSignerInfo/signer_version_is_not_1
--- PASS: TestVerifySignerInvalidSignerInfo (0.00s)
    --- PASS: TestVerifySignerInvalidSignerInfo/signer_version_is_not_1 (0.00s)
=== RUN   TestVerifySigner
=== RUN   TestVerifySigner/valid_user_provided_signing_certificate
=== RUN   TestVerifySigner/invalid_user_provided_signing_certificate
=== RUN   TestVerifySigner/signerInfo_is_nil
=== RUN   TestVerifySigner/certificate_is_nil
--- PASS: TestVerifySigner (0.00s)
    --- PASS: TestVerifySigner/valid_user_provided_signing_certificate (0.00s)
    --- PASS: TestVerifySigner/invalid_user_provided_signing_certificate (0.00s)
    --- PASS: TestVerifySigner/signerInfo_is_nil (0.00s)
    --- PASS: TestVerifySigner/certificate_is_nil (0.00s)
=== RUN   TestVerifyAttributes
=== RUN   TestVerifyAttributes/without_content_type
=== RUN   TestVerifyAttributes/with_invalid_content_type
=== RUN   TestVerifyAttributes/without_signed_attributes_digest
=== RUN   TestVerifyAttributes/with_SHA1_hash
=== RUN   TestVerifyAttributes/with_invalid_signing_time
=== RUN   TestVerifyAttributes/valid_signing_time
=== RUN   TestVerifyAttributes/signing_time_before_expected
=== RUN   TestVerifyAttributes/timestamp_token_without_signed_attributes
--- PASS: TestVerifyAttributes (0.00s)
    --- PASS: TestVerifyAttributes/without_content_type (0.00s)
    --- PASS: TestVerifyAttributes/with_invalid_content_type (0.00s)
    --- PASS: TestVerifyAttributes/without_signed_attributes_digest (0.00s)
    --- PASS: TestVerifyAttributes/with_SHA1_hash (0.00s)
    --- PASS: TestVerifyAttributes/with_invalid_signing_time (0.00s)
    --- PASS: TestVerifyAttributes/valid_signing_time (0.00s)
    --- PASS: TestVerifyAttributes/signing_time_before_expected (0.00s)
    --- PASS: TestVerifyAttributes/timestamp_token_without_signed_attributes (0.00s)
=== RUN   TestVerifyCorruptedSignedData
--- PASS: TestVerifyCorruptedSignedData (0.00s)
PASS
ok  	github.com/notaryproject/tspclient-go/internal/cms	0.016s
=== RUN   TestEqual
--- PASS: TestEqual (0.00s)
PASS
ok  	github.com/notaryproject/tspclient-go/internal/encoding/asn1	0.006s
=== RUN   TestConvertToDER
--- PASS: TestConvertToDER (0.00s)
=== RUN   TestDecodeIdentifier
=== RUN   TestDecodeIdentifier/identifier_is_empty
--- PASS: TestDecodeIdentifier (0.00s)
    --- PASS: TestDecodeIdentifier/identifier_is_empty (0.00s)
=== RUN   TestDecodeLength
=== RUN   TestDecodeLength/length_is_empty
--- PASS: TestDecodeLength (0.00s)
    --- PASS: TestDecodeLength/length_is_empty (0.00s)
=== RUN   TestEncodeLength
=== RUN   TestEncodeLength/Length_less_than_128
=== RUN   TestEncodeLength/Length_equal_to_128
=== RUN   TestEncodeLength/Length_greater_than_128
--- PASS: TestEncodeLength (0.00s)
    --- PASS: TestEncodeLength/Length_less_than_128 (0.00s)
    --- PASS: TestEncodeLength/Length_equal_to_128 (0.00s)
    --- PASS: TestEncodeLength/Length_greater_than_128 (0.00s)
=== RUN   TestEncodedLengthSize
=== RUN   TestEncodedLengthSize/Length_less_than_128
=== RUN   TestEncodedLengthSize/Length_equal_to_128
=== RUN   TestEncodedLengthSize/Length_greater_than_128
--- PASS: TestEncodedLengthSize (0.00s)
    --- PASS: TestEncodedLengthSize/Length_less_than_128 (0.00s)
    --- PASS: TestEncodedLengthSize/Length_equal_to_128 (0.00s)
    --- PASS: TestEncodedLengthSize/Length_greater_than_128 (0.00s)
=== RUN   TestEncodeLengthFailed
=== RUN   TestEncodeLengthFailed/byte_write_error_1
=== RUN   TestEncodeLengthFailed/byte_write_error_2
--- PASS: TestEncodeLengthFailed (0.00s)
    --- PASS: TestEncodeLengthFailed/byte_write_error_1 (0.00s)
    --- PASS: TestEncodeLengthFailed/byte_write_error_2 (0.00s)
=== RUN   TestConstructedEncodeMetadata
=== RUN   TestConstructedEncodeMetadata/Error_case
--- PASS: TestConstructedEncodeMetadata (0.00s)
    --- PASS: TestConstructedEncodeMetadata/Error_case (0.00s)
=== RUN   TestPrimitiveEncodeMetadata
=== RUN   TestPrimitiveEncodeMetadata/Error_case
--- PASS: TestPrimitiveEncodeMetadata (0.00s)
    --- PASS: TestPrimitiveEncodeMetadata/Error_case (0.00s)
PASS
ok  	github.com/notaryproject/tspclient-go/internal/encoding/asn1/ber	0.006s
=== RUN   TestComputeHash
--- PASS: TestComputeHash (0.00s)
PASS
ok  	github.com/notaryproject/tspclient-go/internal/hashutil	0.002s
=== RUN   TestToSignatureAlgorithm
=== RUN   TestToSignatureAlgorithm/SHA256WithRSA
=== RUN   TestToSignatureAlgorithm/SHA384WithRSA
=== RUN   TestToSignatureAlgorithm/SHA512WithRSA
=== RUN   TestToSignatureAlgorithm/SHA256WithRSAPSS
=== RUN   TestToSignatureAlgorithm/SHA384WithRSAPSS
=== RUN   TestToSignatureAlgorithm/SHA512WithRSAPSS
=== RUN   TestToSignatureAlgorithm/SHA256WithRSA_direct
=== RUN   TestToSignatureAlgorithm/SHA384WithRSA_direct
=== RUN   TestToSignatureAlgorithm/SHA512WithRSA_direct
=== RUN   TestToSignatureAlgorithm/ECDSAWithSHA256
=== RUN   TestToSignatureAlgorithm/ECDSAWithSHA384
=== RUN   TestToSignatureAlgorithm/ECDSAWithSHA512
=== RUN   TestToSignatureAlgorithm/UnknownSignatureAlgorithm
--- PASS: TestToSignatureAlgorithm (0.00s)
    --- PASS: TestToSignatureAlgorithm/SHA256WithRSA (0.00s)
    --- PASS: TestToSignatureAlgorithm/SHA384WithRSA (0.00s)
    --- PASS: TestToSignatureAlgorithm/SHA512WithRSA (0.00s)
    --- PASS: TestToSignatureAlgorithm/SHA256WithRSAPSS (0.00s)
    --- PASS: TestToSignatureAlgorithm/SHA384WithRSAPSS (0.00s)
    --- PASS: TestToSignatureAlgorithm/SHA512WithRSAPSS (0.00s)
    --- PASS: TestToSignatureAlgorithm/SHA256WithRSA_direct (0.00s)
    --- PASS: TestToSignatureAlgorithm/SHA384WithRSA_direct (0.00s)
    --- PASS: TestToSignatureAlgorithm/SHA512WithRSA_direct (0.00s)
    --- PASS: TestToSignatureAlgorithm/ECDSAWithSHA256 (0.00s)
    --- PASS: TestToSignatureAlgorithm/ECDSAWithSHA384 (0.00s)
    --- PASS: TestToSignatureAlgorithm/ECDSAWithSHA512 (0.00s)
    --- PASS: TestToSignatureAlgorithm/UnknownSignatureAlgorithm (0.00s)
=== RUN   TestToHash
=== RUN   TestToHash/SHA256
=== RUN   TestToHash/SHA384
=== RUN   TestToHash/SHA512
=== RUN   TestToHash/Unknown
--- PASS: TestToHash (0.00s)
    --- PASS: TestToHash/SHA256 (0.00s)
    --- PASS: TestToHash/SHA384 (0.00s)
    --- PASS: TestToHash/SHA512 (0.00s)
    --- PASS: TestToHash/Unknown (0.00s)
=== RUN   TestFromHash
=== RUN   TestFromHash/SHA256
=== RUN   TestFromHash/SHA384
=== RUN   TestFromHash/SHA512
=== RUN   TestFromHash/Unsupported
--- PASS: TestFromHash (0.00s)
    --- PASS: TestFromHash/SHA256 (0.00s)
    --- PASS: TestFromHash/SHA384 (0.00s)
    --- PASS: TestFromHash/SHA512 (0.00s)
    --- PASS: TestFromHash/Unsupported (0.00s)
PASS
ok  	github.com/notaryproject/tspclient-go/internal/oid	0.002s
=== RUN   TestFailureInfoError
--- PASS: TestFailureInfoError (0.00s)
=== RUN   TestStatusInfo
--- PASS: TestStatusInfo (0.00s)
=== RUN   TestStatusString
--- PASS: TestStatusString (0.00s)
PASS
ok  	github.com/notaryproject/tspclient-go/pki	0.002s
FAIL
dh_auto_test: error: cd _build && go test -vet=off -v -p 2 github.com/notaryproject/tspclient-go github.com/notaryproject/tspclient-go/internal/cms github.com/notaryproject/tspclient-go/internal/encoding/asn1 github.com/notaryproject/tspclient-go/internal/encoding/asn1/ber github.com/notaryproject/tspclient-go/internal/hashutil github.com/notaryproject/tspclient-go/internal/oid github.com/notaryproject/tspclient-go/pki returned exit code 1
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------