[Bug 2117046] Review Request: pilotlog - A pilot logbook for logging flight time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2117046



--- Comment #8 from Jonathan Wright <jonathan@xxxxxxxxxxxxx> ---
You need a `BuildRequires: gcc`. [1]

> Requires(pre):  shadow-utils

Is this needed?  I removed it and everything compiled fine it seems.

> I am packaging Postgresql for version control since the pilotlog program is
> compiled against it. Is it a requirement that I use the Fedora postgresql
> package and libs?

Unless there's a really good reason not to, yes.  The fact that you're trying
to populate a database here is partially what I'm unsure about.  I'm not
totally sure what the packaging policy is surrounding situations like this
since Postgres could be used for other things already running, etc.

> %configure works but it does not compile when using %make_build

It doesn't seem to like compiling with multiple threads.  You can use
`%make_build -j1` to force it to 1 thread but ideally you can figure out why it
won't compile using multiple threads.  I believe you're upstream/the developer
of this aren't you?

How are you test building the RPM?  You need to be using mock (or something
like `fedpkg --release rawhide mockbuild`).

Why not also use `%make_install` instead of copying everything into place by
hand in the spec?  I see the Makefile has some installation components in it
already.

> Requires:       ncurses%{?_isa} >= 6.2

This should instead be `BuildRequires: ncurses-devel`.  RPM will then
automatically generate the proper `Requires` since it builds against it. [2]

I think a bunch of your psql related stuff is failing.  I see a ton of this in
the build logs:

2022-08-11 18:29:25.788 CDT [570] ERROR:  relation "syscolatt" does not exist
at character 81
2022-08-11 18:29:25.788 CDT [570] STATEMENT:   DECLARE chkscatt_0 CURSOR WITH
HOLD FOR select syscolatt.def_format,seqno from syscolatt WHERE
tabname='log_entry' AND colname='entry_date' ORDER BY seqno

---

On further looking at the source tarball I notice that Postgres you're
providing is already compiled which is definitely forbidden.  [3]

---

1.
https://docs.fedoraproject.org/en-US/packaging-guidelines/C_and_C++/#_buildrequires_and_requires
2.
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_package_dependencies
3.
https://docs.fedoraproject.org/en-US/packaging-guidelines/what-can-be-packaged/#prebuilt-binaries-or-libraries


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2117046
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux