* [bug#64207] [PATCH 0/2] Update aws-sdk-cpp.
@ 2023-06-21 13:36 Greg Hogan
2023-06-21 13:37 ` [bug#64207] [PATCH 1/2] gnu: aws-lc: Fix tests Greg Hogan
2023-06-25 21:43 ` bug#64207: [PATCH 0/2] Update aws-sdk-cpp Ludovic Courtès
0 siblings, 2 replies; 5+ messages in thread
From: Greg Hogan @ 2023-06-21 13:36 UTC (permalink / raw)
To: 64207; +Cc: Greg Hogan
This patch set fixes certificate expiration in aws-lc and a post-merge
compile error in aws-sdk-cpp.
I have worked on upgrading to aws-cpp-sdk 1.11 but have not found a set
of package updates that compile.
Greg Hogan (2):
gnu: aws-lc: Fix tests.
gnu: aws-sdk-cpp: Update to 1.9.306.
gnu/packages/cpp.scm | 4 ++--
gnu/packages/tls.scm | 15 ++++++++++++++-
2 files changed, 16 insertions(+), 3 deletions(-)
--
2.41.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug#64207] [PATCH 1/2] gnu: aws-lc: Fix tests.
2023-06-21 13:36 [bug#64207] [PATCH 0/2] Update aws-sdk-cpp Greg Hogan
@ 2023-06-21 13:37 ` Greg Hogan
2023-06-21 13:37 ` [bug#64207] [PATCH 2/2] gnu: aws-sdk-cpp: Update to 1.9.306 Greg Hogan
2023-06-25 21:43 ` bug#64207: [PATCH 0/2] Update aws-sdk-cpp Ludovic Courtès
1 sibling, 1 reply; 5+ messages in thread
From: Greg Hogan @ 2023-06-21 13:37 UTC (permalink / raw)
To: 64207; +Cc: Greg Hogan
* gnu/packages/tls.scm (aws-lc)[native-inputs]: Add libfaketime.
[arguments]<#:phases>: Replace and wrap 'check with faketime due to
certificate expiration.
---
gnu/packages/tls.scm | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index d162094ed4..2d94eb5ea6 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -1220,7 +1220,20 @@ (define-public aws-lc
(arguments
'(#:test-target "run_minimal_tests"
#:configure-flags
- '("-DBUILD_SHARED_LIBS=ON")))
+ '("-DBUILD_SHARED_LIBS=ON")
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? test-target parallel-tests? #:allow-other-keys)
+ (when tests?
+ ;; SSLTest.HostMatching fails due to an expired certificate.
+ ;; Fake the time to be that of the release.
+ (invoke "faketime" "2022-05-23"
+ "make" test-target
+ "-j" (if parallel-tests?
+ (number->string (parallel-job-count))
+ "1"))))))))
+ (native-inputs (list libfaketime))
(synopsis "General purpose cryptographic library")
(description "AWS libcrypto (aws-lc) contains portable C implementations
of algorithms needed for TLS and common applications, and includes optimized
--
2.41.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#64207] [PATCH 2/2] gnu: aws-sdk-cpp: Update to 1.9.306.
2023-06-21 13:37 ` [bug#64207] [PATCH 1/2] gnu: aws-lc: Fix tests Greg Hogan
@ 2023-06-21 13:37 ` Greg Hogan
0 siblings, 0 replies; 5+ messages in thread
From: Greg Hogan @ 2023-06-21 13:37 UTC (permalink / raw)
To: 64207; +Cc: Greg Hogan
* gnu/packages/cpp.scm (aws-sdk-cpp): Update to 1.9.306.
---
gnu/packages/cpp.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index d9d3159517..bd905bfab2 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1339,7 +1339,7 @@ (define-public aws-sdk-cpp
(name "aws-sdk-cpp")
; When updating also check for a tagged update to aws-crt-cpp from
; https://github.com/aws/aws-sdk-cpp/tree/main/crt
- (version "1.9.236")
+ (version "1.9.306")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -1348,7 +1348,7 @@ (define-public aws-sdk-cpp
(file-name (git-file-name name version))
(sha256
(base32
- "13qhxsbfn81r7lg382wb4d3xfc4a287ikww5i7whddk5yz0j8384"))))
+ "0k3f4xq4vvlwrwgpp0vka4pwzbnkylvrkbbkjksx6wq6g1a2gc2g"))))
(build-system cmake-build-system)
(arguments
'(;; Tests are run during the build phase.
--
2.41.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* bug#64207: [PATCH 0/2] Update aws-sdk-cpp.
2023-06-21 13:36 [bug#64207] [PATCH 0/2] Update aws-sdk-cpp Greg Hogan
2023-06-21 13:37 ` [bug#64207] [PATCH 1/2] gnu: aws-lc: Fix tests Greg Hogan
@ 2023-06-25 21:43 ` Ludovic Courtès
2023-06-26 12:55 ` [bug#64207] " Greg Hogan
1 sibling, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2023-06-25 21:43 UTC (permalink / raw)
To: Greg Hogan; +Cc: 64207-done
Greg Hogan <code@greghogan.com> skribis:
> gnu: aws-lc: Fix tests.
> gnu: aws-sdk-cpp: Update to 1.9.306.
Hi! Applied, but there are still dependents failing:
https://qa.guix.gnu.org/issue/64207
Could you take a look?
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug#64207] [PATCH 0/2] Update aws-sdk-cpp.
2023-06-25 21:43 ` bug#64207: [PATCH 0/2] Update aws-sdk-cpp Ludovic Courtès
@ 2023-06-26 12:55 ` Greg Hogan
0 siblings, 0 replies; 5+ messages in thread
From: Greg Hogan @ 2023-06-26 12:55 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 64207-done
On Sun, Jun 25, 2023 at 5:43 PM Ludovic Courtès <ludo@gnu.org> wrote:
>
> Greg Hogan <code@greghogan.com> skribis:
>
> > gnu: aws-lc: Fix tests.
> > gnu: aws-sdk-cpp: Update to 1.9.306.
>
> Hi! Applied, but there are still dependents failing:
>
> https://qa.guix.gnu.org/issue/64207
>
> Could you take a look?
>
> Thanks,
> Ludo’.
I will monitor the build service. That link returns for me:
Guix QA
An error occurred
Sorry about that!
wrong-type-arg
=Wrong type argument in position ~A: ~S1#f#f
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-06-26 12:57 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-21 13:36 [bug#64207] [PATCH 0/2] Update aws-sdk-cpp Greg Hogan
2023-06-21 13:37 ` [bug#64207] [PATCH 1/2] gnu: aws-lc: Fix tests Greg Hogan
2023-06-21 13:37 ` [bug#64207] [PATCH 2/2] gnu: aws-sdk-cpp: Update to 1.9.306 Greg Hogan
2023-06-25 21:43 ` bug#64207: [PATCH 0/2] Update aws-sdk-cpp Ludovic Courtès
2023-06-26 12:55 ` [bug#64207] " Greg Hogan
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).