Bug 2196598 - Review Request: gpsd-minimal - Service daemon for mediating access to a GPS
Summary: Review Request: gpsd-minimal - Service daemon for mediating access to a GPS
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Carl George 🤠
QA Contact: Fedora Extras Quality Assurance
URL: http://catb.org/gpsd/
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-09 13:34 UTC by Miroslav Lichvar
Modified: 2023-06-29 01:27 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-06-29 01:27:01 UTC
Type: ---
Embargoed:
carl: fedora-review?


Attachments (Terms of Use)
The .spec file difference from Copr build 5901380 to 5911271 (3.91 KB, patch)
2023-05-11 12:54 UTC, Fedora Review Service
no flags Details | Diff
The .spec file difference from Copr build 5911271 to 6073736 (5.76 KB, patch)
2023-06-13 15:01 UTC, Fedora Review Service
no flags Details | Diff

Description Miroslav Lichvar 2023-05-09 13:34:55 UTC
Spec URL: https://fedorapeople.org/~mlichvar/tmp/gpsd-latest.spec
SRPM URL: https://fedorapeople.org/~mlichvar/tmp/gpsd-latest-3.25-1.el9.src.rpm
Description: gpsd is a service daemon that mediates access to a GPS sensor
connected to the host computer by serial or USB interface, making its
data on the location/course/velocity of the sensor available to be
queried on TCP port 2947 of the host computer.  With gpsd, multiple
GPS client applications (such as navigational and war-driving software)
can share access to a GPS without contention or loss of data.  Also,
gpsd responds to queries with a format that is substantially easier to
parse than NMEA 0183.  

This package is intended to follow the latest upstream release.
No devel package is provided for other applications to use the libgps library.

Fedora Account System Username: mlichvar

This is an alternative package of gpsd to the one already present in EPEL, which cannot be upgraded to not break the libgps API/ABI.

Comment 1 Fedora Review Service 2023-05-09 13:52:22 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/5901380
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2196598-gpsd-latest/fedora-rawhide-x86_64/05901380-gpsd-latest/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 2 Miroslav Lichvar 2023-05-11 12:35:14 UTC
Spec URL: https://fedorapeople.org/~mlichvar/tmp/gpsd-latest.spec
SRPM URL: https://fedorapeople.org/~mlichvar/tmp/gpsd-latest-3.25-2.el9.src.rpm

This fixes some of the issues reported by rpmlint. The binaries are not PIE because scons is filtering the -spec=.../hardened-ld option from linker flags. No idea how to avoid that.

Comment 3 Fedora Review Service 2023-05-11 12:54:12 UTC
Created attachment 1964008 [details]
The .spec file difference from Copr build 5901380 to 5911271

Comment 4 Fedora Review Service 2023-05-11 12:54:14 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/5911271
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2196598-gpsd-latest/fedora-rawhide-x86_64/05911271-gpsd-latest/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 Petr Menšík 2023-05-17 15:31:57 UTC
Would it make more sense to review new packages for OLD versions for backward compatibility, maybe shipping just limited set of libraries with different ABI? And to update original gpsd package to recent version, matching its own version in Fedora rawhide? The new package could provide just minimal support to work with older clients relying on old ABI.

I think using gpsd<version> is more common than -latest suffix. I expect we usually have packages without version with the more recent version and only backward compatibility include version. At least it were this way with openssl.

Comment 6 Carl George 🤠 2023-05-19 06:15:50 UTC
I agree with Petr on the naming.  The -latest suffix usually becomes misleading over time and is discouraged in the packaging guidelines.

https://docs.fedoraproject.org/en-US/packaging-guidelines/Naming/#multiple

This package should be named gpsd3.25.

Alternatively, the existing gpsd package could be updated from 3.23 to 3.25 if a compatibility package (gpsd3.23) is created to provide the old library soname.  Such a transition can be somewhat tricky to get right, but does have the benefit of the unversioned package being the latest.

Comment 7 Miroslav Lichvar 2023-06-13 14:50:06 UTC
Spec URL: https://fedorapeople.org/~mlichvar/tmp/gpsd-latest.spec
SRPM URL: https://fedorapeople.org/~mlichvar/tmp/gpsd-latest-3.25-3.fc39.src.rpm

Subpackages were dropped. libgps was dropped as it's linked statically with the included clients. The python module and the packet parsing library it depends on are now in private directory.

I'm still looking for a better name for the package.

Comment 8 Fedora Review Service 2023-06-13 15:01:03 UTC
Created attachment 1970694 [details]
The .spec file difference from Copr build 5911271 to 6073736

Comment 9 Fedora Review Service 2023-06-13 15:01:06 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/6073736
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2196598-gpsd-latest/fedora-rawhide-x86_64/06073736-gpsd-latest/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 10 Miroslav Lichvar 2023-06-21 08:19:52 UTC
Spec URL: https://fedorapeople.org/~mlichvar/tmp/gpsd-minimal.spec
SRPM URL: https://fedorapeople.org/~mlichvar/tmp/gpsd-minimal-3.25-3.fc39.src.rpm

The package was renamed to gpsd-minimal to avoid using the problematic -latest suffix and make it obvious not all upstream features are provided.

I think it's ready for review.

Comment 11 Miroslav Lichvar 2023-06-28 13:57:44 UTC
Ping? If you don't have time to do a formal review, would you be ok with someone else taking over?

Comment 12 Carl George 🤠 2023-06-29 01:27:01 UTC
The guidance from the Fedora Packaging Committee was that this package, in its current state, is not a good fit for EPEL.  Their recommended solution is to do one of the following:

- Have an "oldish"/stable version in EPEL.
- Have a latest version in COPR, which breaks library API.
- Occasionally update the oldish version with the EPEL process for incompatible updates.

https://pagure.io/packaging-committee/issue/1283


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