[Bug 1962319] Review Request: sjpeg - SimpleJPEG: simple jpeg encoderSimpleJPEG: simple jpeg encoder

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

 



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



--- Comment #2 from Antonio T. sagitter <trpost@xxxxxxxxxxxxxx> ---
Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated
[ ] = Manual review needed


Issues:
=======
- Package installs properly.
  Note: Installation errors (see attachment)
  See: https://docs.fedoraproject.org/en-US/packaging-guidelines/

  Error: 
 Problem: conflicting requests
  - nothing provides libutils.so()(64bit) needed by
sjpeg-0-0.1.20210519git676de22.fc35.x86_64

- Binary files (sjpeg and vjpeg) need libsjpeg to work, so main package must
requires 'sjpeg-libs'

- Also, see "Extra items" section

- Remove exe permissions of these files:

 sjpeg.x86_64: E: script-without-shebang /usr/share/licenses/sjpeg/COPYING
 sjpeg-libs.x86_64: E: script-without-shebang
/usr/share/licenses/sjpeg-libs/COPYING
 sjpeg-devel.x86_64: W: spurious-executable-perm
/usr/share/doc/sjpeg-devel/examples/utils.h



===== MUST items =====

C/C++:
[x]: Package does not contain kernel modules.
[x]: Package contains no static executables.
[x]: If your application is a C or C++ application you must list a
     BuildRequires against gcc, gcc-c++ or clang.
[x]: Header files in -devel subpackage, if present.
[x]: ldconfig not called in %post and %postun for Fedora 28 and later.
[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: "Unknown or generated", "Apache License 2.0", "*No copyright*
     Apache License 2.0". 23 files have unknown license. Detailed output of
     licensecheck in /home/sagitter/1962319-sjpeg/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.
[!]: 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.
[-]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 163840 bytes in 10 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]: 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]: 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 must not depend on deprecated() packages.
[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.
[!]: Final provides and requires are sane (see attachments).
[x]: Fully versioned dependency in subpackages if applicable.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in sjpeg-
     libs , sjpeg-devel
[ ]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[x]: Patches link to upstream bugs/comments/lists or are otherwise
     justified.
[x]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: gpgverify is not used.
[-]: 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.
[x]: 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:
[!]: Rpmlint is run on all installed packages.
     Note: Mock build failed
     See: https://docs.fedoraproject.org/en-US/packaging-
     guidelines/#_use_rpmlint
[!]: Spec file according to URL is the same as in SRPM.
     Note: Spec file as given by url is not the same as in SRPM (see
     attached diff).
     See: (this test has no URL)
[x]: Large data in /usr/share should live in a noarch subpackage if package
     is arched.


Installation errors
-------------------
INFO: mock.py version 2.10 starting (python version = 3.9.5, NVR =
mock-2.10-1.fc34)...
Start(bootstrap): init plugins
INFO: selinux enabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 2.10
INFO: Mock Version: 2.10
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 2.10
INFO: Mock Version: 2.10
Finish: chroot init
INFO: installing package(s):
/builddir/sjpeg-debugsource-0-0.1.20210519git676de22.fc35.x86_64.rpm
/builddir/sjpeg-devel-0-0.1.20210519git676de22.fc35.x86_64.rpm
/builddir/sjpeg-libs-0-0.1.20210519git676de22.fc35.x86_64.rpm
/builddir/sjpeg-0-0.1.20210519git676de22.fc35.x86_64.rpm
/builddir/sjpeg-debuginfo-0-0.1.20210519git676de22.fc35.x86_64.rpm
/builddir/sjpeg-libs-debuginfo-0-0.1.20210519git676de22.fc35.x86_64.rpm
ERROR: Command failed: 
 # /usr/bin/systemd-nspawn -q -M f7e00722d50b4aec8add98fb34edcad9 -D
/var/lib/mock/fedora-rawhide-x86_64-bootstrap/root -a --capability=cap_ipc_lock
--bind=/tmp/mock-resolv.ll58gcnh:/etc/resolv.conf --console=pipe
--setenv=TERM=vt100 --setenv=SHELL=/bin/bash
--setenv=HOME=/var/lib/mock/fedora-rawhide-x86_64/root/installation-homedir
--setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin
--setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007"
--setenv=PS1=<mock-chroot> \s-\v\$  --setenv=LANG=C.UTF-8
--setenv=LC_MESSAGES=C.UTF-8 --resolv-conf=off /usr/bin/dnf --installroot
/var/lib/mock/fedora-rawhide-x86_64/root/ --releasever 35
--setopt=deltarpm=False --allowerasing --disableplugin=local
--disableplugin=spacewalk install
/builddir/sjpeg-debugsource-0-0.1.20210519git676de22.fc35.x86_64.rpm
/builddir/sjpeg-devel-0-0.1.20210519git676de22.fc35.x86_64.rpm
/builddir/sjpeg-libs-0-0.1.20210519git676de22.fc35.x86_64.rpm
/builddir/sjpeg-0-0.1.20210519git676de22.fc35.x86_64.rpm
/builddir/sjpeg-debuginfo-0-0.1.20210519git676de22.fc35.x86_64.rpm
/builddir/sjpeg-libs-debuginfo-0-0.1.20210519git676de22.fc35.x86_64.rpm
--setopt=tsflags=nocontexts



Rpmlint
-------
Checking: sjpeg-0-0.1.20210519git676de22.fc35.x86_64.rpm
          sjpeg-libs-0-0.1.20210519git676de22.fc35.x86_64.rpm
          sjpeg-devel-0-0.1.20210519git676de22.fc35.x86_64.rpm
          sjpeg-debuginfo-0-0.1.20210519git676de22.fc35.x86_64.rpm
          sjpeg-debugsource-0-0.1.20210519git676de22.fc35.x86_64.rpm
          sjpeg-0-0.1.20210519git676de22.fc35.src.rpm
sjpeg.x86_64: W: spelling-error Summary(en_US) jpeg -> JPEG, peg
sjpeg.x86_64: E: script-without-shebang /usr/share/licenses/sjpeg/COPYING
sjpeg-libs.x86_64: E: script-without-shebang
/usr/share/licenses/sjpeg-libs/COPYING
sjpeg-devel.x86_64: W: spurious-executable-perm
/usr/share/doc/sjpeg-devel/examples/utils.h
sjpeg.src: W: spelling-error Summary(en_US) jpeg -> JPEG, peg
6 packages and 0 specfiles checked; 2 errors, 3 warnings.




Source checksums
----------------
https://github.com/webmproject/sjpeg/archive/676de227d75877eb5863ec805ba0a4b97fc2fc6c/sjpeg-676de22.tar.gz
:
  CHECKSUM(SHA256) this package     :
7d47f46434cc24c259d5774086c21cdfbb65fb69a70c14fdf9d45ccf0745c0a8
  CHECKSUM(SHA256) upstream package :
7d47f46434cc24c259d5774086c21cdfbb65fb69a70c14fdf9d45ccf0745c0a8


Requires
--------
sjpeg (rpmlib, GLIBC filtered):
    libGL.so.1()(64bit)
    libc.so.6()(64bit)
    libgcc_s.so.1()(64bit)
    libgcc_s.so.1(GCC_3.0)(64bit)
    libgcc_s.so.1(GCC_3.3.1)(64bit)
    libglut.so.3()(64bit)
    libjpeg.so.62()(64bit)
    libm.so.6()(64bit)
    libpng16.so.16()(64bit)
    libpthread.so.0()(64bit)
    libsjpeg.so.0.1()(64bit)
    libstdc++.so.6()(64bit)
    libstdc++.so.6(CXXABI_1.3)(64bit)
    libutils.so()(64bit)
    libz.so.1()(64bit)
    rtld(GNU_HASH)

sjpeg-libs (rpmlib, GLIBC filtered):
    libc.so.6()(64bit)
    libgcc_s.so.1()(64bit)
    libgcc_s.so.1(GCC_3.0)(64bit)
    libgcc_s.so.1(GCC_3.3.1)(64bit)
    libm.so.6()(64bit)
    libstdc++.so.6()(64bit)
    libstdc++.so.6(CXXABI_1.3)(64bit)
    rtld(GNU_HASH)

sjpeg-devel (rpmlib, GLIBC filtered):
    /usr/bin/pkg-config
    cmake-filesystem(x86-64)
    libsjpeg.so.0.1()(64bit)
    sjpeg-libs(x86-64)

sjpeg-debuginfo (rpmlib, GLIBC filtered):

sjpeg-debugsource (rpmlib, GLIBC filtered):



Provides
--------
sjpeg:
    sjpeg
    sjpeg(x86-64)

sjpeg-libs:
    libsjpeg.so.0.1()(64bit)
    sjpeg-libs
    sjpeg-libs(x86-64)

sjpeg-devel:
    cmake(sjpeg)
    pkgconfig(libsjpeg)
    sjpeg-devel
    sjpeg-devel(x86-64)

sjpeg-debuginfo:
    debuginfo(build-id)
    sjpeg-debuginfo
    sjpeg-debuginfo(x86-64)

sjpeg-debugsource:
    sjpeg-debugsource
    sjpeg-debugsource(x86-64)



Diff spec file in url and in SRPM
---------------------------------
--- /home/sagitter/1962319-sjpeg/srpm/sjpeg.spec        2021-05-20
12:59:32.834115325 +0200
+++ /home/sagitter/1962319-sjpeg/srpm-unpacked/sjpeg.spec       2021-05-19
20:44:33.000000000 +0200
@@ -18,4 +18,5 @@
 # otherwise the cmake(sjpeg) Provides is not detected.
 Patch0:         0001-Move-cmake-files-from-datadir-to-libdir.patch
+Patch1:         0001-Generate-and-install-the-pkgconfig-file.patch

 BuildRequires:  gcc
@@ -78,4 +79,5 @@
 %{_libdir}/libsjpeg.so
 %{_libdir}/cmake/sjpeg/
+%{_libdir}/pkgconfig/libsjpeg.pc

 %changelog


Generated by fedora-review 0.7.6 (b083f91) last change: 2020-11-10
Command line :/usr/bin/fedora-review --mock-options=--no-clean -m
fedora-rawhide-x86_64 -b 1962319
Buildroot used: fedora-rawhide-x86_64
Active plugins: C/C++, Shell-api, Generic
Disabled plugins: PHP, Ocaml, R, fonts, SugarActivity, Java, Perl, Python,
Haskell
Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH


-- 
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
_______________________________________________
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 on the list, report it: https://pagure.io/fedora-infrastructure




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

  Powered by Linux