Bug 2353412 - Review Request: libgenht - Simple generic hash table implementation in C
Summary: Review Request: libgenht - Simple generic hash table implementation in C
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL: http://repo.hu/projects/genht
Whiteboard:
Depends On:
Blocks: 2353363
TreeView+ depends on / blocked
 
Reported: 2025-03-19 18:35 UTC by Steve
Modified: 2025-03-25 15:49 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
The .spec file difference from Copr build 8794946 to 8819222 (984 bytes, patch)
2025-03-25 15:43 UTC, Fedora Review Service
no flags Details | Diff

Description Steve 2025-03-19 18:35:33 UTC
Spec URL: https://download.copr.fedorainfracloud.org/results/s-kro/libgenht/fedora-rawhide-x86_64/08632966-libgenht/libgenht.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/s-kro/libgenht/fedora-rawhide-x86_64/08632966-libgenht/libgenht-1.1.3-4.fc43.src.rpm
Description: genht is a simple generic hash table implementation in C.
Uses open addressing scheme with space doubling.
Type generics is achieved by ugly name prefixing macros.
Fedora Account System Username: s-kro

Comment 1 Fedora Review Service 2025-03-19 18:42:15 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8794946
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2353412-libgenht/fedora-rawhide-x86_64/08794946-libgenht/fedora-review/review.txt

Found issues:

- A package with this name already exists. Please check https://src.fedoraproject.org/rpms/libgenht
  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/Naming/#_conflicting_package_names

Please know that there can be false-positives.

---
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 2 Artur Frenszek-Iwicki 2025-03-24 19:10:09 UTC
> Patch0:         00-fix-makefile.patch
> [...]
> sed -i 's|$< $(CFLAGS)|$< $(CFLAGS) -Wno-incompatible-pointer-types|' src/Makefile
You're already patching the Makefile, why use sed?
Why not add this change to the patch?

> %build
> %set_build_flags
Calling %set_build_flags manually is not needed since Fedora 36.

Also, looking at the build log:
> cp `pwd`/hash.h /builddir/build/BUILD/libgenht-1.1.3-build/BUILDROOT/usr/include/genht/hash.h
> cp `pwd`/siphash24.h /builddir/build/BUILD/libgenht-1.1.3-build/BUILDROOT/usr/include/genht/siphash24.h
> cp `pwd`/ht.h /builddir/build/BUILD/libgenht-1.1.3-build/BUILDROOT/usr/include/genht/ht.h
> cp `pwd`/ht.c /builddir/build/BUILD/libgenht-1.1.3-build/BUILDROOT/usr/include/genht/ht.c
It might be good to patch the Makefile (or alter the make call) to use "cp -p" in order to preserve file timestamps.

Comment 4 Fedora Review Service 2025-03-25 15:43:25 UTC
Created attachment 2081959 [details]
The .spec file difference from Copr build 8794946 to 8819222

Comment 5 Fedora Review Service 2025-03-25 15:43:27 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8819222
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2353412-libgenht/fedora-rawhide-x86_64/08819222-libgenht/fedora-review/review.txt

Found issues:

- A package with this name already exists. Please check https://src.fedoraproject.org/rpms/libgenht
  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/Naming/#_conflicting_package_names

Please know that there can be false-positives.

---
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 6 Steve 2025-03-25 15:49:12 UTC
Artur, thanks for the feedback

>> Patch0:         00-fix-makefile.patch
>> [...]
>> sed -i 's|$< $(CFLAGS)|$< $(CFLAGS) -Wno-incompatible-pointer-types|' src/Makefile
>you're already patching the Makefile, why use sed?
>Why not add this change to the patch?
The patch isn't mine, it comes from my upstream, who is a Debian Dude :)

>> %build
>> %set_build_flags
>Calling %set_build_flags manually is not needed since Fedora 36.
Done

>Also, looking at the build log:
>> cp `pwd`/hash.h /builddir/build/BUILD/libgenht-1.1.3-build/BUILDROOT/usr/include/genht/hash.h
>>[...]
>It might be good to patch the Makefile (or alter the make call) to use "cp -p" in order to preserve file timestamps.
Done, also in the spec file


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