[Bug 1450633] Review request: keepassxc - Cross-platform password manager

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

 



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



--- Comment #17 from Mukundan Ragavan <nonamedotc@xxxxxxxxx> ---

Package Review
==============

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


Issues:
=======
- Package installs properly.
  Note: Installation errors (see attachment)
  See: https://fedoraproject.org/wiki/Packaging:Guidelines

---> This is fine. I can install this on my VM.  

[root@f26-guest Downloads]$ rpmlint keepassxc
keepassxc.x86_64: W: spelling-error %description -l en_US urls -> curls, purls,
hurls
keepassxc.x86_64: W: spelling-error %description -l en_US attachemts ->
attachments, attache, schemata

---> This is not fixed in the spec file. Please fix the spelling before import.
Not a blocker.

keepassxc.x86_64: W: spelling-error %description -l en_US customizable ->
customization
keepassxc.x86_64: W: gzipped-svg-icon
/usr/share/icons/hicolor/scalable/apps/keepassxc-dark.svgz
keepassxc.x86_64: W: gzipped-svg-icon
/usr/share/icons/hicolor/scalable/apps/keepassxc-locked.svgz
keepassxc.x86_64: W: gzipped-svg-icon
/usr/share/icons/hicolor/scalable/apps/keepassxc.svgz
keepassxc.x86_64: W: gzipped-svg-icon
/usr/share/icons/hicolor/scalable/mimetypes/application-x-keepassxc.svgz
keepassxc.x86_64: W: no-manual-page-for-binary keepassxc
1 packages and 0 specfiles checked; 0 errors, 8 warnings.


[root@f26-guest Downloads]$ rpm -qa keepassxc
keepassxc-2.1.4-1.fc26.x86_64



- Spec file name must match the spec package %{name}, in the format
  %{name}.spec.
  Note: keepassxc_v2.spec should be keepassxc.spec
  See:
  http://fedoraproject.org/wiki/Packaging/NamingGuidelines#Spec_file_name

---> You are clearly only using the _v2 format for package review. Make sure
you have the correct filename for spec when you import into SCM.


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

C/C++:
[x]: Provides: bundled(gnulib) in place as required.
     Note: Sources not installed
[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]: 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.

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: There is no build directory. Running licensecheck on vanilla
     upstream sources. No licenses found. Please check the source files for
     licenses manually.

[x]: License file installed when any subpackage combination is installed.
[x]: If the package is under multiple licenses, the licensing breakdown
     must be documented in the spec.

---> This is well done. From the spec file.

License:        Boost and BSD and CC0 and GPLv3 and LGPLv2 and LGPLv2+ and
LGPLv3+ and Public Domain

[x]: Package must own all directories that it creates.
     Note: Directories without known owners:
     /usr/share/icons/hicolor/16x16/mimetypes,
     /usr/share/icons/hicolor/scalable/mimetypes,
     /usr/share/icons/hicolor/32x32/apps, /usr/share/mime,
     /usr/share/icons/hicolor/24x24/apps, /usr/share/icons/hicolor/24x24,
     /usr/share/icons/hicolor/128x128/apps,
     /usr/share/icons/hicolor/128x128/mimetypes,
     /usr/share/icons/hicolor/64x64, /usr/share/icons/hicolor/256x256/apps,
     /usr/share/icons/hicolor/64x64/mimetypes,
     /usr/share/icons/hicolor/16x16, /usr/share/icons/hicolor/48x48/apps,
     /usr/share/icons/hicolor/scalable/apps, /usr/share/icons/hicolor,
     /usr/share/mime/packages, /usr/share/icons/hicolor/128x128,
     /usr/share/icons/hicolor/22x22/mimetypes,
     /usr/share/icons/hicolor/32x32, /usr/share/icons/hicolor/256x256,
     /usr/share/icons/hicolor/16x16/apps,
     /usr/share/icons/hicolor/64x64/apps, /usr/share/icons/hicolor/22x22,
     /usr/share/icons/hicolor/48x48,
     /usr/share/icons/hicolor/32x32/mimetypes,
     /usr/share/icons/hicolor/scalable

---> These directories are all owned by either hicolor-icon-theme or
shared-mime-info. Both the packages are needed by pretty much any GUI.

[x]: Package does not own files or directories owned by other packages.
     Note: Dirs in package are owned also by:
     /usr/share/mimelnk/application(obconf, kde-filesystem, sim),
     /usr/share/mimelnk(obconf, kde-filesystem, sim)


---> Keepassxc owning this directory is correct.     

[x]: %build honors applicable compiler flags or justifies otherwise.


---> This version of the spec uses the correct cmake macro. Build flags are
good.

[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: 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.


---> This is not a rename.

[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]: update-desktop-database is invoked in %post and %postun if package
     contains desktop file(s) with a MimeType: entry.
     Note: desktop file(s) with MimeType entry in keepassxc
[x]: gtk-update-icon-cache is invoked in %postun and %posttrans if package
     contains icons.
     Note: icons in keepassxc
[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]: 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]: 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]: Package contains desktop file if it is a GUI application.
[x]: Package installs a %{name}.desktop using desktop-file-install or
     desktop-file-validate if there is such a file.
[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]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local

===== SHOULD items =====

Generic:
[!]: update-mime-database is invoked in %post and %postun if package stores
     mime configuration in /usr/share/mime/packages.
     Note: mimeinfo files in: keepassxc
     See:
     http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#mimeinfo

---> This is [x].

update-mime-database is only need for F23 and older.

[-]: 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
     keepassxc-debuginfo
[x]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[x]: 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.
[x]: %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]: Uses parallel make %{?_smp_mflags} macro.
[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: http://fedoraproject.org/wiki/Packaging/Guidelines#rpmlint

---> Changing to [x].

See rpmlint messages above. 

[!]: Spec file according to URL is the same as in SRPM.
     Note: Bad spec filename:
    
/home/mukundan/nextcloud/misc_pkgs/pkg_reviews/keepassxc/1450633-keepassxc_v2
     /srpm-unpacked/keepassxc_v2.spec
     See: (this test has no URL)

---> specfile mismatch is only for review.

[x]: Large data in /usr/share should live in a noarch subpackage if package
     is arched.
     Note: Arch-ed rpms have a total of 1710080 bytes in /usr/share


Installation errors
-------------------
INFO: mock.py version 1.4.1 starting (python version = 3.6.1)...
Start: init plugins
INFO: selinux disabled
Finish: init plugins
Start: init plugins
INFO: selinux disabled
Finish: init plugins
Start: run
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled dnf cache
Start: cleaning dnf metadata
Finish: cleaning dnf metadata
INFO: enabled HW Info plugin
Mock Version: 1.4.1
INFO: Mock Version: 1.4.1
Finish: chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled dnf cache
Start: cleaning dnf metadata
Finish: cleaning dnf metadata
INFO: enabled HW Info plugin
Mock Version: 1.4.1
INFO: Mock Version: 1.4.1
Finish: chroot init
INFO: installing package(s):
/home/mukundan/nextcloud/misc_pkgs/pkg_reviews/keepassxc/1450633-keepassxc_v2/results/keepassxc-debuginfo-2.1.4-1.fc27.x86_64.rpm
/home/mukundan/nextcloud/misc_pkgs/pkg_reviews/keepassxc/1450633-keepassxc_v2/results/keepassxc-2.1.4-1.fc27.x86_64.rpm
ERROR: Command failed: 
 # /usr/bin/systemd-nspawn -q -M 604ac0d3686740d6ada2f623fdbb2a53 -D
/var/lib/mock/fedora-rawhide-x86_64-bootstrap/root -a --setenv=TERM=vt100
--setenv=SHELL=/bin/bash --setenv=HOME=/builddir --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=en_US.utf8 --setenv=LC_MESSAGES=C /usr/bin/dnf --installroot
/var/lib/mock/fedora-rawhide-x86_64/root/ --releasever 27 --disableplugin=local
--setopt=deltarpm=false install
/home/mukundan/nextcloud/misc_pkgs/pkg_reviews/keepassxc/1450633-keepassxc_v2/results/keepassxc-debuginfo-2.1.4-1.fc27.x86_64.rpm
/home/mukundan/nextcloud/misc_pkgs/pkg_reviews/keepassxc/1450633-keepassxc_v2/results/keepassxc-2.1.4-1.fc27.x86_64.rpm



Rpmlint
-------
Checking: keepassxc-2.1.4-1.fc27.x86_64.rpm
          keepassxc-debuginfo-2.1.4-1.fc27.x86_64.rpm
          keepassxc-2.1.4-1.fc27.src.rpm
keepassxc.x86_64: W: spelling-error %description -l en_US urls -> curls, purls,
hurls
keepassxc.x86_64: W: spelling-error %description -l en_US attachemts ->
attachments, attache, schemata


---> as pointed out above, please fix this.

keepassxc.x86_64: W: spelling-error %description -l en_US customizable ->
customization
keepassxc.x86_64: W: hidden-file-or-dir /usr/lib/.build-id
keepassxc.x86_64: W: hidden-file-or-dir /usr/lib/.build-id
keepassxc.x86_64: W: gzipped-svg-icon
/usr/share/icons/hicolor/scalable/apps/keepassxc-dark.svgz
keepassxc.x86_64: W: gzipped-svg-icon
/usr/share/icons/hicolor/scalable/apps/keepassxc-locked.svgz
keepassxc.x86_64: W: gzipped-svg-icon
/usr/share/icons/hicolor/scalable/apps/keepassxc.svgz
keepassxc.x86_64: W: gzipped-svg-icon
/usr/share/icons/hicolor/scalable/mimetypes/application-x-keepassxc.svgz
keepassxc.x86_64: W: no-manual-page-for-binary keepassxc
keepassxc.src: W: spelling-error %description -l en_US urls -> curls, purls,
hurls
keepassxc.src: W: spelling-error %description -l en_US attachemts ->
attachments, attache, schemata
keepassxc.src: W: spelling-error %description -l en_US customizable ->
customization
keepassxc.src: W: strange-permission keepassxc-2.1.4-src.tar.xz 400
keepassxc.src: E: invalid-spec-name
keepassxc.src:40: W: setup-not-quiet
3 packages and 0 specfiles checked; 1 errors, 15 warnings.




Requires
--------
keepassxc (rpmlib, GLIBC filtered):
    /bin/sh
    libQt5Core.so.5()(64bit)
    libQt5Core.so.5(Qt_5)(64bit)
    libQt5Core.so.5(Qt_5.9)(64bit)
    libQt5DBus.so.5()(64bit)
    libQt5DBus.so.5(Qt_5)(64bit)
    libQt5Gui.so.5()(64bit)
    libQt5Gui.so.5(Qt_5)(64bit)
    libQt5Network.so.5()(64bit)
    libQt5Network.so.5(Qt_5)(64bit)
    libQt5Widgets.so.5()(64bit)
    libQt5Widgets.so.5(Qt_5)(64bit)
    libQt5X11Extras.so.5()(64bit)
    libQt5X11Extras.so.5(Qt_5)(64bit)
    libX11.so.6()(64bit)
    libXi.so.6()(64bit)
    libXtst.so.6()(64bit)
    libc.so.6()(64bit)
    libgcrypt.so.20()(64bit)
    libgcrypt.so.20(GCRYPT_1.6)(64bit)
    libm.so.6()(64bit)
    libstdc++.so.6()(64bit)
    libstdc++.so.6(CXXABI_1.3)(64bit)
    libz.so.1()(64bit)
    rtld(GNU_HASH)

keepassxc-debuginfo (rpmlib, GLIBC filtered):



Provides
--------
keepassxc:
    application()
    application(keepassxc.desktop)
    keepassxc
    keepassxc(x86-64)
    libkeepassx-autotype-xcb.so()(64bit)
    mimehandler(application/x-keepass2)
    mimehandler(application/x-keepassxc)

keepassxc-debuginfo:
    keepassxc-debuginfo
    keepassxc-debuginfo(x86-64)



Unversioned so-files
--------------------
keepassxc: /usr/lib64/keepassxc/libkeepassx-autotype-xcb.so

Source checksums
----------------
https://github.com/keepassxreboot/keepassxc/releases/download/2.1.4/keepassxc-2.1.4-src.tar.xz
:
  CHECKSUM(SHA256) this package     :
22c564fab78bd960b9af5a779c7bd59f0cc04a9988b00c6b82329059e59b0035
  CHECKSUM(SHA256) upstream package :
22c564fab78bd960b9af5a779c7bd59f0cc04a9988b00c6b82329059e59b0035


Generated by fedora-review 0.6.1 (f03e4e7) last change: 2016-05-02
Command line :/usr/bin/fedora-review -m fedora-rawhide-x86_64 -b 1450633
Buildroot used: fedora-rawhide-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

-- 
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




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

  Powered by Linux