Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1354184
Summary: | Review Request: qhttpengine - HTTP server for Qt applications | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Raphael Groner <projects.rg> |
Component: | Package Review | Assignee: | Igor Gnatenko <ignatenko> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | ignatenko, package-review, rdieter |
Target Milestone: | --- | Flags: | ignatenko:
fedora-review+
|
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-07-21 23:21:14 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 928937 |
Description
Raphael Groner
2016-07-10 12:19:55 UTC
> Provides: cmake(%{modname}) I thought that it should come automatically... Rex? > Requires: %{name} = %{version}-%{release} Missing %{?_isa} > %cmake I would recommend to make out-of-tree builds Others from first glance looks great! Package Review ============== Legend: [x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated [ ] = Manual review needed Issues: ======= - ldconfig called in %post and %postun if required. Note: /sbin/ldconfig not called in qhttpengine See: http://fedoraproject.org/wiki/Packaging/Guidelines#Shared_Libraries - %check is present and all tests pass. Note: test suite is not built/ran - qhttpengine-devel.x86_64: E: useless-provides cmake(QHttpEngine) Note: yeah, remove it - BuildRequires: gcc-c++ is missing - Would be great to build docs as well ===== MUST items ===== C/C++: [x]: Package does not contain kernel modules. [x]: Package contains no static executables. [x]: Header files in -devel subpackage, if present. [x]: Package does not contain any libtool archives (.la) [x]: Rpath absent or only used for internal libs. [x]: Development (unversioned) .so files in -devel subpackage, if present. Generic: [x]: Package is licensed with an open-source compatible license and meets other legal requirements as defined in the legal section of Packaging Guidelines. [x]: License field in the package spec file matches the actual license. Note: Checking patched sources after %prep for licenses. Licenses found: "MIT/X11 (BSD like)", "Unknown or generated". 15 files have unknown license. Detailed output of licensecheck in /home/brain/1354184-qhttpengine/licensecheck.txt [x]: License file installed when any subpackage combination is installed. [x]: %build honors applicable compiler flags or justifies otherwise. [x]: Package contains no bundled libraries without FPC exception. [x]: Changelog in prescribed format. [x]: Sources contain only permissible code or content. [-]: Package contains desktop file if it is a GUI application. [x]: Development files must be in a -devel package [x]: Package uses nothing in %doc for runtime. [x]: Package consistently uses macros (instead of hard-coded directory names). [x]: Package is named according to the Package Naming Guidelines. [x]: Package does not generate any conflict. [x]: Package obeys FHS, except libexecdir and /usr/target. [-]: If the package is a rename of another package, proper Obsoletes and Provides are present. [x]: Requires correct, justified where necessary. [x]: Spec file is legible and written in American English. [-]: Package contains systemd file(s) if in need. [x]: Useful -debuginfo package or justification otherwise. [x]: Package is not known to require an ExcludeArch tag. [x]: Large documentation must go in a -doc subpackage. Large could be size (~1MB) or number of files. Note: Documentation size is 10240 bytes in 1 files. [x]: Package complies to the Packaging Guidelines [x]: Package successfully compiles and builds into binary rpms on at least one supported primary architecture. [x]: Package installs properly. [x]: Rpmlint is run on all rpms the build produces. Note: There are rpmlint messages (see attachment). [x]: If (and only if) the source package includes the text of the license(s) in its own file, then that file, containing the text of the license(s) for the package is included in %license. [x]: Package requires other packages for directories it uses. [x]: Package must own all directories that it creates. [x]: Package does not own files or directories owned by other packages. [x]: All build dependencies are listed in BuildRequires, except for any that are listed in the exceptions section of Packaging Guidelines. [x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT [x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the beginning of %install. [x]: Macros in Summary, %description expandable at SRPM build time. [x]: Dist tag is present. [x]: Package does not contain duplicates in %files. [x]: Permissions on files are set properly. [x]: Package use %makeinstall only when make install DESTDIR=... doesn't work. [x]: Package is named using only allowed ASCII characters. [x]: Package does not use a name that already exists. [x]: Package is not relocatable. [x]: Sources used to build the package match the upstream source, as provided in the spec URL. [x]: Spec file name must match the spec package %{name}, in the format %{name}.spec. [x]: File names are valid UTF-8. [x]: Packages must not store files under /srv, /opt or /usr/local ===== SHOULD items ===== Generic: [-]: If the source package does not include license text(s) as a separate file from upstream, the packager SHOULD query upstream to include it. [x]: Final provides and requires are sane (see attachments). [!]: Fully versioned dependency in subpackages if applicable. Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in qhttpengine-devel , qhttpengine-debuginfo [!]: Package functions as described. [x]: Latest version is packaged. [x]: Package does not include license text files separate from upstream. [-]: Description and summary sections in the package spec file contains translations for supported Non-English languages, if available. [x]: Package should compile and build into binary rpms on all supported architectures. [!]: %check is present and all tests pass. [-]: Packages should try to preserve timestamps of original installed files. [x]: Reviewer should test that the package builds in mock. [x]: Buildroot is not present [x]: Package has no %clean section with rm -rf %{buildroot} (or $RPM_BUILD_ROOT) [x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin. [x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file [x]: The placement of pkgconfig(.pc) files are correct. [x]: Sources can be downloaded from URI in Source: tag [x]: SourceX is a working URL. [x]: Spec use %global instead of %define unless justified. ===== EXTRA items ===== Generic: [x]: Rpmlint is run on debuginfo package(s). Note: No rpmlint messages. [x]: Rpmlint is run on all installed packages. Note: There are rpmlint messages (see attachment). [x]: Large data in /usr/share should live in a noarch subpackage if package is arched. [x]: Spec file according to URL is the same as in SRPM. Rpmlint ------- Checking: qhttpengine-0.1.0-1.fc24.x86_64.rpm qhttpengine-devel-0.1.0-1.fc24.x86_64.rpm qhttpengine-debuginfo-0.1.0-1.fc24.x86_64.rpm qhttpengine-0.1.0-1.fc24.src.rpm qhttpengine.x86_64: E: library-without-ldconfig-postin /usr/lib64/libQHttpEngine.so.0.1.0 qhttpengine.x86_64: E: library-without-ldconfig-postun /usr/lib64/libQHttpEngine.so.0.1.0 qhttpengine-devel.x86_64: E: useless-provides cmake(QHttpEngine) qhttpengine-devel.x86_64: W: only-non-binary-in-usr-lib qhttpengine-devel.x86_64: W: no-documentation 3 packages and 0 specfiles checked; 3 errors, 2 warnings. Rpmlint (debuginfo) ------------------- Checking: qhttpengine-debuginfo-0.1.0-1.fc24.x86_64.rpm 1 packages and 0 specfiles checked; 0 errors, 0 warnings. Rpmlint (installed packages) ---------------------------- sh: /usr/bin/python: No such file or directory qhttpengine-devel.x86_64: E: useless-provides cmake(QHttpEngine) qhttpengine-devel.x86_64: W: only-non-binary-in-usr-lib qhttpengine-devel.x86_64: W: no-documentation qhttpengine.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libQHttpEngine.so.0.1.0 /lib64/libm.so.6 qhttpengine.x86_64: E: library-without-ldconfig-postin /usr/lib64/libQHttpEngine.so.0.1.0 qhttpengine.x86_64: E: library-without-ldconfig-postun /usr/lib64/libQHttpEngine.so.0.1.0 3 packages and 0 specfiles checked; 3 errors, 3 warnings. Requires -------- qhttpengine-debuginfo (rpmlib, GLIBC filtered): qhttpengine-devel (rpmlib, GLIBC filtered): /usr/bin/pkg-config cmake libQHttpEngine.so.0()(64bit) qhttpengine qhttpengine (rpmlib, GLIBC filtered): libQt5Core.so.5()(64bit) libQt5Core.so.5(Qt_5)(64bit) libQt5Core.so.5(Qt_5.6)(64bit) libQt5Network.so.5()(64bit) libQt5Network.so.5(Qt_5)(64bit) libc.so.6()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) rtld(GNU_HASH) Provides -------- qhttpengine-debuginfo: qhttpengine-debuginfo qhttpengine-debuginfo(x86-64) qhttpengine-devel: cmake(QHttpEngine) pkgconfig(QHttpEngine) qhttpengine-devel qhttpengine-devel(x86-64) qhttpengine: libQHttpEngine.so.0()(64bit) qhttpengine qhttpengine(x86-64) Source checksums ---------------- https://github.com/nitroshare/qhttpengine/archive/0.1.0/qhttpengine-0.1.0.tar.gz : CHECKSUM(SHA256) this package : 6df0e2f303eb5fb80995e0322903c2991b398a0b89fb483dae7c24bdefa1eaf1 CHECKSUM(SHA256) upstream package : 6df0e2f303eb5fb80995e0322903c2991b398a0b89fb483dae7c24bdefa1eaf1 Generated by fedora-review 0.6.1 (f03e4e7) last change: 2016-05-02 Command line :/usr/bin/fedora-review -b 1354184 Buildroot used: fedora-24-x86_64 Active plugins: Generic, Shell-api, C/C++ Disabled plugins: Java, Python, fonts, SugarActivity, Ocaml, Perl, Haskell, R, PHP Disabled flags: EXARCH, DISTTAG, EPEL5, BATCH, EPEL6 Resolution: ALMOST GOOD > Requires: cmake
also add here %{?_isa} as well, because package installs cmake files in %{_libdir}
Raphael, would be happy if you will review simple qt package - bug qtscrob. Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=14849719 (In reply to Igor Gnatenko from comment #2) > > Provides: cmake(%{modname}) > I thought that it should come automatically... Rex? Confirmed and fixed. It's a magic internal feature of rpmbuild. > > Requires: %{name} = %{version}-%{release} > Missing %{?_isa} Fixed. > > %cmake > I would recommend to make out-of-tree builds What are out-of-tree builds? Do you mean to not build binaries into source folder? If yes, fixed. > Others from first glance looks great! Thanks. (In reply to Igor Gnatenko from comment #2) > Issues: > ======= > - ldconfig called in %post and %postun if required. > Note: /sbin/ldconfig not called in qhttpengine > See: http://fedoraproject.org/wiki/Packaging/Guidelines#Shared_Libraries > - %check is present and all tests pass. > Note: test suite is not built/ran > - qhttpengine-devel.x86_64: E: useless-provides cmake(QHttpEngine) > Note: yeah, remove it > - BuildRequires: gcc-c++ is missing > - Would be great to build docs as well All fixed, except tests. I don't know how to build/run the tests, please help. (In reply to Igor Gnatenko from comment #4) > > Requires: cmake > also add here %{?_isa} as well, because package installs cmake files in > %{_libdir} Fixed. > All fixed, except tests. I don't know how to build/run the tests, please help.
%build
%cmake -DBUILD_TESTS=ON
%check
ctest -VV
Also documentation stuff should be fixed similar way, not by manual running doxygen. There is -DBUILD_DOC
Tests and doc fixed. Sorry for being so dumb in first steps. Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=14851458 > %{?!_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}} could be removed > mkdir -p %{_target_platform} better to move into %prep > cp -ap examples %{buildroot}%{_pkgdocdir} just mark as %doc in -doc subpkg > pushd %{_target_platform}/tests > ctest %{?_smp_mflags} don't pushd to tests, just to _target_platform add -VV to ctest invocation to easy identify bugs if there also do popd after > %{_pkgdocdir}/ mark as %doc Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=14855484 (In reply to Igor Gnatenko from comment #10) > > %{?!_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}} > could be removed Needed for EPEL7, %{_pkgdocdir} is not defined there. > > mkdir -p %{_target_platform} > better to move into %prep We don't want an empty folder created for rpmbuild -bp, it's common practice to do it so in %make. > > cp -ap examples %{buildroot}%{_pkgdocdir} > just mark as %doc in -doc subpkg Guidelines forbid to mix %doc with %{_pkgdocdir}. We've to use %{_pkgdocdir} cause you instructed me to use cmake installation of documentation files, the examples folder is an addition. https://fedoraproject.org/wiki/Packaging:Guidelines#Documentation > > pushd %{_target_platform}/tests > > ctest %{?_smp_mflags} > don't pushd to tests, just to _target_platform > add -VV to ctest invocation to easy identify bugs if there > also do popd after Fixed. Although, popd is obsolete. -VV does not give any obvious improvement to build.log, anyways added. > > %{_pkgdocdir}/ > mark as %doc Useless, see above. everything looks good, APPROVED. Thanks again! Removing alias to allow general search for package bugs. (In reply to Raphael Groner from comment #13) > Thanks again! Removing alias to allow general search for package bugs. I don't think that it makes sense to remove. It's easier to find review request. (In reply to Igor Gnatenko from comment #14) > (In reply to Raphael Groner from comment #13) > > Thanks again! Removing alias to allow general search for package bugs. > > I don't think that it makes sense to remove. It's easier to find review > request. There's a link in PkgDB. An alias blocks RHBZ from full text search. Package request has been approved: https://admin.fedoraproject.org/pkgdb/package/rpms/qhttpengine qhttpengine-0.1.0-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-68d6628c64 qhttpengine-0.1.0-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-d951a498d5 qhttpengine-0.1.0-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-9e775d66cb qhttpengine-0.1.0-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-9e775d66cb nitroshare-0.3.2-6.fc23, qhttpengine-0.1.0-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-d951a498d5 nitroshare-0.3.2-6.fc24, qhttpengine-0.1.0-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-68d6628c64 nitroshare-0.3.2-8.fc24 qhttpengine-0.1.0-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-68d6628c64 nitroshare-0.3.2-8.fc23 qhttpengine-0.1.0-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-d951a498d5 nitroshare-0.3.2-8.el7 qhttpengine-0.1.0-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-9e775d66cb nitroshare-0.3.2-8.fc24, qhttpengine-0.1.0-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-68d6628c64 nitroshare-0.3.2-8.el7, qhttpengine-0.1.0-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-9e775d66cb nitroshare-0.3.2-8.fc23, qhttpengine-0.1.0-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-d951a498d5 nitroshare-0.3.2-9.fc24 qhttpengine-0.1.0-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-68d6628c64 nitroshare-0.3.2-9.fc23 qhttpengine-0.1.0-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-d951a498d5 nitroshare-0.3.2-9.fc23, qhttpengine-0.1.0-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-d951a498d5 nitroshare-0.3.2-9.fc24, qhttpengine-0.1.0-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-68d6628c64 nitroshare-0.3.2-9.fc23, qhttpengine-0.1.0-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. nitroshare-0.3.2-9.fc24, qhttpengine-0.1.0-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. |