Bug 2279010 - Review Request: aws-c-http - C99 implementation of the HTTP/1.1 and HTTP/2 specifications
Summary: Review Request: aws-c-http - C99 implementation of the HTTP/1.1 and HTTP/2 sp...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/awslabs/%{name}
Whiteboard:
Depends On: 2279008 2279009
Blocks: 2279012 2279013
TreeView+ depends on / blocked
 
Reported: 2024-05-03 22:33 UTC by Dominik Wombacher
Modified: 2024-07-23 15:24 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-07-23 15:24:29 UTC
Type: ---
Embargoed:
ngompa13: fedora-review+


Attachments (Terms of Use)

Comment 1 Fedora Review Service 2024-05-03 22:36:02 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7403159
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2279010-aws-c-http/fedora-rawhide-x86_64/07403159-aws-c-http/builder-live.log.gz

Please make sure the package builds successfully at least for Fedora Rawhide.

- If the build failed for unrelated reasons (e.g. temporary network
  unavailability), please ignore it.
- If the build failed because of missing BuildRequires, please make sure they
  are listed in the "Depends On" field


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 3 Dominik Wombacher 2024-07-11 14:40:49 UTC
Spec URL: https://download.copr.fedorainfracloud.org/results/wombelix/aws-c-libs/fedora-rawhide-x86_64/07722282-aws-c-http/aws-c-http.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/wombelix/aws-c-libs/fedora-rawhide-x86_64/07722282-aws-c-http/aws-c-http-0.8.2-1.fc41.src.rpm

Builds fine on f39, f49, rawhide, epel8 and epel9.
Unit tests fail on f39, f40, rawhide on aarch64.
But are ok on f39, f40, rawhide, epel8 and epel9 x86_64 as well as epel8 and epel9 aarch64.

Issue raised in upstream project regarding the failing unit tests (f39, f40, rawhide on aarch64): https://github.com/awslabs/aws-c-http/issues/473

Comment 4 Fedora Review Service 2024-07-12 03:58:08 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7726875
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2279010-aws-c-http/fedora-rawhide-x86_64/07726875-aws-c-http/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 5 Neal Gompa 2024-07-22 22:11:04 UTC
I see one issue in your spec:

In the libs subpackage, you have:

> Requires:       %{name}%{?_isa} = %{version}-%{release}

This probably should be on the main subpackage instead to have it require the libs subpackage.

Comment 6 Dominik Wombacher 2024-07-23 09:12:08 UTC
(In reply to Neal Gompa from comment #5)
> I see one issue in your spec:
> 
> In the libs subpackage, you have:
> 
> > Requires:       %{name}%{?_isa} = %{version}-%{release}
> 
> This probably should be on the main subpackage instead to have it require
> the libs subpackage.

Moved it to the main package and dropped it from the libs sub-package.

```
diff --git a/aws-c-http.spec b/aws-c-http.spec
index 5922970..fa16495 100755
--- a/aws-c-http.spec
+++ b/aws-c-http.spec
@@ -19,6 +19,8 @@ BuildRequires:  numactl-devel
 BuildRequires:  aws-c-compression-devel
 BuildRequires:  aws-c-io-devel
 
+Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
+
 # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
 ExcludeArch:    %{ix86}
 # Dependencies like aws-c-common don't support and build on s390x
@@ -31,7 +33,6 @@ ExcludeArch: s390x
 
 %package libs
 Summary:        %{summary}
-Requires:       %{name}%{?_isa} = %{version}-%{release}
```

local mockbuild and copr build successful: https://copr.fedorainfracloud.org/coprs/wombelix/aws-c-libs/build/7776067/

Spec URL: https://download.copr.fedorainfracloud.org/results/wombelix/aws-c-libs/fedora-rawhide-x86_64/07776067-aws-c-http/aws-c-http.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/wombelix/aws-c-libs/fedora-rawhide-x86_64/07776067-aws-c-http/aws-c-http-0.8.2-1.fc41.src.rpm

Comment 7 Neal Gompa 2024-07-23 13:27:21 UTC
Review notes:

* Package follows Fedora Packaging Guidelines
* Package builds and installs
* Package licensing is correctly handled and recorded
* No serious issues from rpmlint

PACKAGE APPROVED.

Comment 8 Fedora Admin user for bugzilla script actions 2024-07-23 14:20:00 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/aws-c-http


Note You need to log in before you can comment on or make changes to this bug.