Fedora Account System
Red Hat Associate
Red Hat Customer
Spec URL: https://sourceforge.net/projects/pilotlog/files/SRPMS/pilotlog.spec/download SRPM URL: https://sourceforge.net/projects/pilotlog/files/SRPMS/pilotlog-9-1.fc36.src.rpm/download Description: Pilot Log is a pilot logbook for logging flight time and calculating aircraft weight & balance. Fedora Account System Username: stansoft
Spec URL and SRPM URL need to be direct links so fedora-review can download them.
Are you a Fedora packager? Your FAS name isn't in the packager group. https://accounts.fedoraproject.org/user/stansoft/
Spec URL: https://downloads.sourceforge.net/project/pilotlog/SRPMS/pilotlog.spec?ts=gAAAAABi9XEIsNWudsCZjlnxrR3Lsdu7gksJ90uYqjKTLJRvUeKHIqOv6Y6c3aW5k7OpaUFFcrRrCE_EW95wiFK8JUSdGHSCtA%3D%3D&r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fpilotlog%2Ffiles%2FSRPMS%2Fpilotlog.spec%2Fdownload SRPM URL: https://downloads.sourceforge.net/project/pilotlog/SRPMS/pilotlog-9-1.fc36.src.rpm?ts=gAAAAABi9W4aKnXYnUJyAr0fibYfRqDFEJV2DEmcB6w2d99DwYMP5WEuBrBSgAwtyJhFMRrbIQoW0LLr1vjd09Kf08BPhuCs5Q%3D%3D&r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fpilotlog%2Ffiles%2FSRPMS%2Fpilotlog-9-1.fc36.src.rpm%2Fdownload I am not a Fedora packager so I will need a sponsor.
Those URLs still aren't going to work. The URLs need to be a direct link to the files without a landing page, etc. I've flagged your review as needing a sponsor but we can still get the review knocked out.
Spec URL: https://download.stansoft.org/files/pilotlog.spec SRPM URL: https://download.stansoft.org/files/pilotlog-9-1.fc36.src.rpm Those were suppose to be direct links on sourceforge, but I see they do not work either so use the above links instead.
> # Omit /lib/.build-id to avoid conflict with included libs > %global _build_id_links none > # Filter internal libraries > %global _privatelibs ^%{_libdir}/%{name}/.*\\.so$ > %global __provides_exclude ^(%{_privatelibs})$ > %global __requires_exclude ^(%{_privatelibs})$ > %global __requires_exclude_from ^(%{_privatelibs})$ > %global __filter_GLIBC_PRIVATE 1 Since I can't get the source code I'm not sure what all of this is for but are you packaging libraries and trying to avoid using system libs? You should almost always use system libs. [2][3] > Source0: %{name}-v%{version}-src.tar.bz2 This needs to be a URL. [1] > ./configure > make You should use macros %configure and %make_build. [4] > cp installpl updatepl pl changelog COPYING README \ > %{buildroot}%{_libdir}/%{name} > %pre > %post > %preun > %postun These should be removed. > BuildRequires: systemd-rpm-macros Is this needed? You probably don't need changelog, COPYING, and README here. README and changelog should fall under %doc and COPYING under %license. This takes care of copying them into the correct places for you. [5] 1. https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/ 2. https://docs.fedoraproject.org/en-US/packaging-guidelines/AutoProvidesAndRequiresFiltering/#_summary 3. https://docs.fedoraproject.org/en-US/packaging-guidelines/#bundling 4. https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make 5. https://docs.fedoraproject.org/en-US/packaging-guidelines/#_documentation There are some other parts of this I'm not sure about at all and we'll have to seek guidance from others.
(In reply to Jonathan Wright from comment #6) > > # Omit /lib/.build-id to avoid conflict with included libs > > %global _build_id_links none > > # Filter internal libraries > > %global _privatelibs ^%{_libdir}/%{name}/.*\\.so$ > > %global __provides_exclude ^(%{_privatelibs})$ > > %global __requires_exclude ^(%{_privatelibs})$ > > %global __requires_exclude_from ^(%{_privatelibs})$ > > %global __filter_GLIBC_PRIVATE 1 > > Since I can't get the source code I'm not sure what all of this is for but > are you packaging libraries and trying to avoid using system libs? You > should almost always use system libs. [2][3] 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? > > > Source0: %{name}-v%{version}-src.tar.bz2 > > This needs to be a URL. [1] > > > ./configure > > make > %configure works but it does not compile when using %make_build > You should use macros %configure and %make_build. [4] > > > cp installpl updatepl pl changelog COPYING README \ > > %{buildroot}%{_libdir}/%{name} > > > %pre > > %post > > %preun > > %postun > > These should be removed. > > > BuildRequires: systemd-rpm-macros > > Is this needed? > > You probably don't need changelog, COPYING, and README here. README and > changelog should fall under %doc and COPYING under %license. This takes > care of copying them into the correct places for you. [5] > > 1. https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/ > 2. > https://docs.fedoraproject.org/en-US/packaging-guidelines/ > AutoProvidesAndRequiresFiltering/#_summary > 3. https://docs.fedoraproject.org/en-US/packaging-guidelines/#bundling > 4. https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make > 5. https://docs.fedoraproject.org/en-US/packaging-guidelines/#_documentation > > There are some other parts of this I'm not sure about at all and we'll have > to seek guidance from others. Here are the updated spec and source rpm Spec URL: https://download.stansoft.org/files/pilotlog.spec SRPM URL: https://download.stansoft.org/files/pilotlog-9-2.fc36.src.rpm
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
(In reply to Jonathan Wright from comment #8) > You need a `BuildRequires: gcc`. [1] Added > > > Requires(pre): shadow-utils > > Is this needed? I removed it and everything compiled fine it seems. > It is not needed, I have removed it. > > 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. > Yes a database needs to be created and populated prior to compiling since the programs need the database schema to compile. > > %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? Yes I am the developer. I put `%make_build -j1` in for now, but I will figure out why it doesn't work with multiple threads. > > How are you test building the RPM? You need to be using mock (or something > like `fedpkg --release rawhide mockbuild`). > rpmbuild --target x86_64 -ba pilotlog.spec > 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. The Makefile copies into /usr/local/pilotlog and I want to use the same Makefile for Fedora packaging that I am using for anyone that downloads the source tarball and compiles. > > > 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 made this change. > 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] > I will make the change to use the Fedora postgresql. > --- > > 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 Spec URL: https://download.stansoft.org/files/pilotlog.spec SRPM URL: https://download.stansoft.org/files/pilotlog-9-2.fc36.src.rpm
Spec URL: https://download.stansoft.org/files/pilotlog.spec SRPM URL: https://download.stansoft.org/files/pilotlog-9-2.fc36.src.rpm Added %make_install
This is an automatic check from review-stats script. This review request ticket hasn't been updated for some time. We're sorry it is taking so long. If you're still interested in packaging this software into Fedora repositories, please respond to this comment clearing the NEEDINFO flag. You may want to update the specfile and the src.rpm to the latest version available and to propose a review swap on Fedora devel mailing list to increase chances to have your package reviewed. If this is your first package and you need a sponsor, you may want to post some informal reviews. Read more at https://fedoraproject.org/wiki/How_to_get_sponsored_into_the_packager_group. Without any reply, this request will shortly be considered abandoned and will be closed. Thank you for your patience.
Spec URL: https://download.copr.fedorainfracloud.org/results/stansoft/pilotlog/fedora-rawhide-x86_64/06439446-pilotlog/pilotlog.spec SRPM URL: https://download.copr.fedorainfracloud.org/results/stansoft/pilotlog/fedora-rawhide-x86_64/06439446-pilotlog/pilotlog-10-1.fc40.src.rpm unbundled aubit4gl, now using the Fedora repo package
Spec URL: https://download.copr.fedorainfracloud.org/results/stansoft/pilotlog/fedora-rawhide-x86_64/06565804-pilotlog/pilotlog.spec SRPM URL: https://download.copr.fedorainfracloud.org/results/stansoft/pilotlog/fedora-rawhide-x86_64/06565804-pilotlog/pilotlog-10-1.fc40.src.rpm
Copr build: https://copr.fedorainfracloud.org/coprs/build/6565818 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2117046-pilotlog/fedora-rawhide-x86_64/06565818-pilotlog/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.
(In reply to Package Review from comment #16) > This is an automatic check from review-stats script. > > This review request ticket hasn't been updated for some time. We're sorry > it is taking so long. If you're still interested in packaging this software > into Fedora repositories, please respond to this comment clearing the > NEEDINFO flag. > > You may want to update the specfile and the src.rpm to the latest version > available and to propose a review swap on Fedora devel mailing list to > increase > chances to have your package reviewed. If this is your first package and you > need a sponsor, you may want to post some informal reviews. Read more at > https://fedoraproject.org/wiki/How_to_get_sponsored_into_the_packager_group. > > Without any reply, this request will shortly be considered abandoned > and will be closed. > Thank you for your patience.
Hi, I thought I would look at this package as it hasn't been touched in some time. spec file: * 'BuildRequires' go before 'Requires'. * '%prep', should really be using '%autosetup'. * In '%files' section. After '%license' and '%doc' elelments, all other elements should be in alphabetical order. Fails to build on any platforms, see link of build on COPR below. https://copr.fedorainfracloud.org/coprs/kathenas/generic-fedora-rawhide-all-with-review-not-production/build/10171453/ Regards Phil
Spec URL: https://download.copr.fedorainfracloud.org/results/stansoft/pilotlog/fedora-rawhide-x86_64/10172178-pilotlog/pilotlog.spec SRPM URL: https://download.copr.fedorainfracloud.org/results/stansoft/pilotlog/fedora-rawhide-x86_64/10172178-pilotlog/pilotlog-11-1.fc45.src.rpm Updated Pilotlog version and fixed the spec file issues.
(In reply to Stansoft from comment #19) > Spec URL: > https://download.copr.fedorainfracloud.org/results/stansoft/pilotlog/fedora- > rawhide-x86_64/10172178-pilotlog/pilotlog.spec > SRPM URL: > https://download.copr.fedorainfracloud.org/results/stansoft/pilotlog/fedora- > rawhide-x86_64/10172178-pilotlog/pilotlog-11-1.fc45.src.rpm > > Updated Pilotlog version and fixed the spec file issues. If this is the first time the package would be in Fedora, then I would dro all bu the latest %changelog entry as the initial RPM packaging. Are you intending to ExclusivArch this package? I will do a fuller review when this is is a yes or no. :-) It is also the norm to put the BuildRequires and Requires in alphabetical order, but this one is up to you. Regards Phil
Spec URL: https://download.copr.fedorainfracloud.org/results/stansoft/pilotlog/fedora-rawhide-x86_64/10175584-pilotlog/pilotlog.spec SRPM URL: https://download.copr.fedorainfracloud.org/results/stansoft/pilotlog/fedora-rawhide-x86_64/10175584-pilotlog/pilotlog-11-1.fc45.src.rpm The requested changes have been made and yes I added ExclusiveArch
Hi, Many thanks for the update. Below are a few notes. * Build is correct and on only the architectures desired. * URL is HTTP not HHTPS. It would be nice if you could add an SSL certificate to the sub domain and avoid users using such as FireFox from having to jump through the site is insecure hoops. * Add a comment to explain line 23 would be nice. Line below. %global aubit4glver %(rpm -q --qf '%%{VERSION}' aubit4gl | cut -d. -f1-3) * Install and run on Fedora Rawhide Virtual Machine (VM). - Creation of database: Good. - Application runs as designed. Regards Phil
Spec URL: https://download.copr.fedorainfracloud.org/results/stansoft/pilotlog/fedora-rawhide-x86_64/10178034-pilotlog/pilotlog.spec SRPM URL: https://download.copr.fedorainfracloud.org/results/stansoft/pilotlog/fedora-rawhide-x86_64/10178034-pilotlog/pilotlog-11-1.fc45.src.rpm I changed the URL to https://pilotlog.sourceforge.net since VHOST domains will not work with HTTPS on SourceForge. I also removed the aubit4glver variable, which was not being used.
Created attachment 2131360 [details] The .spec file difference from Copr build 6565818 to 10178459
Copr build: https://copr.fedorainfracloud.org/coprs/build/10178459 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2117046-pilotlog/fedora-rawhide-x86_64/10178459-pilotlog/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.
Created attachment 2131362 [details] The .spec file difference from Copr build 10178459 to 10178462
Copr build: https://copr.fedorainfracloud.org/coprs/build/10178462 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2117046-pilotlog/fedora-rawhide-x86_64/10178462-pilotlog/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.
Hi Stansoft, Package looks good to me now and thank you for the prompt responses and hard work on the package. I will mark the package '+' nwo and you will need to seek a sponsor[1] by raising a ticket. Also see info[2]. [1] https://pagure.io/packager-sponsors/issues [2] https://docs.fedoraproject.org/en-US/package-maintainers/Package_Review_Process/ Regards Phil
Thanks for doing the review.
Aplogoes, You are a 'packager' so should have done this to create repo.
You can now request repo etc. Regards Phil
The Pagure repository was created at https://src.fedoraproject.org/rpms/pilotlog