[Bug 2132701] Review Request: libloc - Library to determine a location of someone on the Internet

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

 



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



--- Comment #4 from Benson Muite <benson_muite@xxxxxxxxxxxxx> ---
Package Review
==============

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


Issues:
=======
- Package contains the mandatory BuildRequires and Requires:.
  Note: Explicit dependency on perl-devel is not allowed
  See: https://docs.fedoraproject.org/en-US/packaging-guidelines/Perl/


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

C/C++:
[x]: Package does not contain kernel modules.
[x]: Package contains no static executables.
[x]: Development (unversioned) .so files in -devel subpackage, if present.
     Note: Unversioned so-files in private %_libdir subdirectory (see
     attachment). Verify they are not in ld path.
[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.

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: "GNU Lesser General Public License, Version 2.1", "Unknown or
     generated", "FSF Unlimited License (with License Retention) FSF All
     Permissive License Artistic License GNU Lesser General Public License,
     Version 2.1 GNU General Public License, Version 2 Creative Commons
     Attribution-ShareAlike 4.0", "GNU General Public License v2.0 or
     later", "GNU Lesser General Public License v2.1 or later". 50 files
     have unknown license. Detailed output of licensecheck in
     /home/FedoraPackaging/reviews/libloc/review-libloc/licensecheck.txt
[x]: License file installed when any subpackage combination is installed.
[x]: Package does not own files or directories owned by other packages.
     Note: Dirs in package are owned also by:
     /usr/lib64/pkgconfig(ignition-transport-devel, libmodsecurity-devel,
     nexus-devel, uid_wrapper, ignition-math-devel, pkgconf-pkg-config,
     dontpanic-devel, bemenu-devel, xalan-c-devel, openshadinglanguage-
     devel)
[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.
[?]: The spec file handles locales properly.
[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.
[x]: 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 10240 bytes in 2 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 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]: systemd_post is invoked in %post, systemd_preun in %preun, and
     systemd_postun in %postun for Systemd service files.
     Note: Systemd service file(s) in libloc-tools
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local

Python:
[x]: Python eggs must not download any dependencies during the build
     process.
[-]: A package which is used by another package via an egg interface should
     provide egg info.
[x]: Package meets the Packaging Guidelines::Python
[x]: Package contains BR: python2-devel or python3-devel
[x]: Packages MUST NOT have dependencies (either build-time or runtime) on
     packages named with the unversioned python- prefix unless no properly
     versioned package exists. Dependencies on Python packages instead MUST
     use names beginning with python2- or python3- as appropriate.
[x]: Python packages must not contain %{pythonX_site(lib|arch)}/* in %files
[x]: Binary eggs must be removed in %prep

===== 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).
[x]: Fully versioned dependency in subpackages if applicable.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in perl-
     libloc , python3-libloc , libloc-tools
[x]: 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.
[-]: Scriptlets must be sane, if used.
[-]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: gpgverify is not used.
[x]: Package should compile and build into binary rpms on all supported
     architectures.
[x]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed
     files.
[?]: Spec use %global instead of %define unless justified.
     Note: %define requiring justification: %define default_database_file
     %{_sharedstatedir}/location/database.db
[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.

===== EXTRA items =====

Generic:
[x]: Rpmlint is run on debuginfo package(s).
     Note: There are rpmlint messages (see attachment).
[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]: Package should not use obsolete m4 macros
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Cannot parse rpmlint output:


Rpmlint (debuginfo)
-------------------
Cannot parse rpmlint output:



Rpmlint (installed packages)
----------------------------
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
============================ rpmlint session starts
============================
rpmlint: 2.4.0
configuration:
    /usr/lib/python3.11/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-legacy-licenses.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
checks: 31, packages: 7

python3-libloc.x86_64: W: unused-direct-shlib-dependency
/usr/lib64/python3.11/site-packages/_location.so /lib64/libresolv.so.2
python3-libloc.x86_64: W: unused-direct-shlib-dependency
/usr/lib64/python3.11/site-packages/_location.so /lib64/libcrypto.so.3
libloc.x86_64: E: unused-direct-shlib-dependency /usr/lib64/libloc.so.1.0.2
/lib64/libresolv.so.2
libloc-debuginfo.x86_64: W: unstripped-binary-or-object
/usr/lib/debug/.dwz/libloc-0.9.15-1.fc38.x86_64
libloc-debuginfo.x86_64: W: unstripped-binary-or-object
/usr/lib/debug/usr/lib64/libloc.so.1.0.2-0.9.15-1.fc38.x86_64.debug
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyExc_ValueError  
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so _Py_TrueStruct    
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyExc_IndexError  
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyList_Type       
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so _Py_NoneStruct    
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyExc_IOError     
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyExc_OSError     
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so _Py_NotImplementedStruct  
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyExc_StopIteration       
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyExc_TypeError   
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so _Py_FalseStruct   
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyExc_SystemError 
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyObject_SelfIter 
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyType_GenericAlloc       
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyLong_AsLong     
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyModule_AddObject
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyErr_SetFromErrno
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyUnicode_FromFormat      
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyList_Append     
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyBytes_FromStringAndSize 
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyArg_ParseTupleAndKeywords   
    (/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyList_Size       
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyErr_Format      
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so _Py_Dealloc       
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyModule_AddIntConstant   
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyList_New
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyUnicode_FromString      
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyObject_AsFileDescriptor 
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyList_GetItem    
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyErr_SetString   
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyArg_ParseTuple  
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyUnicode_AsUTF8  
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyModule_AddStringConstant
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyType_Ready      
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyErr_SetNone     
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyLong_FromLong   
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyModule_Create2  
(/usr/lib64/python3.11/site-packages/_location.so)
python3-libloc.x86_64: W: undefined-non-weak-symbol
/usr/lib64/python3.11/site-packages/_location.so PyLong_FromUnsignedLong   
(/usr/lib64/python3.11/site-packages/_location.so)
libloc-debuginfo.x86_64: E: statically-linked-binary
/usr/lib/debug/.dwz/libloc-0.9.15-1.fc38.x86_64
libloc-tools.noarch: W: only-non-binary-in-usr-lib
libloc-tools.noarch: W: no-manual-page-for-binary location
libloc-tools.noarch: W: no-manual-page-for-binary location-importer
libloc-debugsource.x86_64: E: no-binary
libloc.x86_64: E: missing-hash-section /usr/lib64/libloc.so.1.0.2
libloc-debuginfo.x86_64: E: missing-PT_GNU_STACK-section
/usr/lib/debug/.dwz/libloc-0.9.15-1.fc38.x86_64
libloc-debuginfo.x86_64: E: ldd-failed
/usr/lib/debug/usr/lib64/libloc.so.1.0.2-0.9.15-1.fc38.x86_64.debug
/usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
ldd: warning: you do not have execution permission for
`/usr/lib/debug/usr/lib64/libloc.so.1.0.2-0.9.15-1.fc38.x86_64.debug'

libloc-debuginfo.x86_64: W: hidden-file-or-dir /usr/lib/debug/.dwz
libloc-debuginfo.x86_64: W: hidden-file-or-dir /usr/lib/debug/.dwz
libloc-debuginfo.x86_64: W: dangling-relative-symlink
/usr/lib/debug/.build-id/4c/d144e604ac2ee289f50d91bbcdd6573ea8997d
../../../.build-id/4c/d144e604ac2ee289f50d91bbcdd6573ea8997d
 7 packages and 0 specfiles checked; 6 errors, 48 warnings, 6 badness; has
taken 2.9 s 



Unversioned so-files
--------------------
perl-libloc: /usr/lib64/perl5/vendor_perl/auto/Location/Location.so
python3-libloc: /usr/lib64/python3.11/site-packages/_location.so

Source checksums
----------------
https://source.ipfire.org/releases/libloc/libloc-0.9.15.tar.gz :
  CHECKSUM(SHA256) this package     :
934a66d9f88234e0c609c4b117d33dcddd7160b3ea3767ec0324a55a3d090252
  CHECKSUM(SHA256) upstream package :
934a66d9f88234e0c609c4b117d33dcddd7160b3ea3767ec0324a55a3d090252


Requires
--------
libloc (rpmlib, GLIBC filtered):
    libc.so.6()(64bit)
    libcrypto.so.3()(64bit)
    libcrypto.so.3(OPENSSL_3.0.0)(64bit)
    libresolv.so.2()(64bit)
    rtld(GNU_HASH)

libloc-devel (rpmlib, GLIBC filtered):
    /usr/bin/pkg-config
    libloc(x86-64)
    libloc.so.1()(64bit)

perl-libloc (rpmlib, GLIBC filtered):
    libc.so.6()(64bit)
    libloc.so.1()(64bit)
    libloc.so.1(LIBLOC_1)(64bit)
    libperl.so.5.36()(64bit)
    perl(:MODULE_COMPAT_5.36.0)
    perl(:VERSION)
    perl(Exporter)
    perl(XSLoader)
    perl(strict)
    perl(warnings)
    rtld(GNU_HASH)

python3-libloc (rpmlib, GLIBC filtered):
    libc.so.6()(64bit)
    libcrypto.so.3()(64bit)
    libloc.so.1()(64bit)
    libloc.so.1(LIBLOC_1)(64bit)
    libresolv.so.2()(64bit)
    python(abi)
    python3.11dist(psycopg2)
    rtld(GNU_HASH)

libloc-tools (rpmlib, GLIBC filtered):
    /bin/sh
    /usr/bin/python3
    python3-libloc

libloc-debuginfo (rpmlib, GLIBC filtered):

libloc-debugsource (rpmlib, GLIBC filtered):



Provides
--------
libloc:
    libloc
    libloc(x86-64)
    libloc.so.1()(64bit)
    libloc.so.1(LIBLOC_1)(64bit)

libloc-devel:
    libloc-devel
    libloc-devel(x86-64)
    pkgconfig(libloc)

perl-libloc:
    perl(Location)
    perl-libloc
    perl-libloc(x86-64)

python3-libloc:
    python-libloc
    python-location
    python3-libloc
    python3-libloc(x86-64)
    python3-location
    python3.11-libloc
    python3.11-location
    python3.11dist(libloc)
    python3dist(libloc)

libloc-tools:
    libloc-tools

libloc-debuginfo:
    debuginfo(build-id)
    libloc-debuginfo
    libloc-debuginfo(x86-64)
    libloc.so.1.0.2-0.9.15-1.fc38.x86_64.debug()(64bit)

libloc-debugsource:
    libloc-debugsource
    libloc-debugsource(x86-64)



Generated by fedora-review 0.9.0 (6761b6c) last change: 2022-08-23
Command line :/usr/bin/fedora-review -n libloc
Buildroot used: fedora-rawhide-x86_64
Active plugins: Generic, Python, C/C++, Perl, Shell-api
Disabled plugins: Ruby, Java, Haskell, PHP, fonts, SugarActivity, R, Ocaml
Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH

Comments :
a) Bug for fedora-review https://bugzilla.redhat.com/show_bug.cgi?id=2134376 ,
associated pull request https://pagure.io/FedoraReview/pull-request/459
b) Builds seem ok
https://copr.fedorainfracloud.org/coprs/fed500/libloc/build/4912517/
c) Assume the line "# ??? psycopg2"   is in the spec file and not "Requires:
python3-psycopg2" because the package is only available for EPEL
https://packages.fedoraproject.org/pkgs/python3-psycopg2/python3-psycopg2/ - if
so, maybe Python RPM should not be built initially? The package seems to be
needed for src/python/location/database.py though tests seem to pass.
d) Python package has examples/python as documentation. Should
doc/private-key.pem  doc/public-key.pem also be included in documentation? 
e) Why differentiate  between %define and %global for database location?
f) Have not checked German locale handling


-- 
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=2132701
_______________________________________________
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