Bug 1317956 - Review Request: libfilezilla - C++ Library for FileZilla
Summary: Review Request: libfilezilla - C++ Library for FileZilla
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: gil cattaneo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1303382
TreeView+ depends on / blocked
 
Reported: 2016-03-15 15:28 UTC by Gwyn Ciesla
Modified: 2016-06-15 18:10 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-15 18:10:01 UTC
Type: Bug
Embargoed:
puntogil: fedora-review+


Attachments (Terms of Use)

Description Gwyn Ciesla 2016-03-15 15:28:16 UTC
Description:
libfilezilla is a small and modern C++ library, offering some basic
functionality to build high-performing, platform-independent programs.

SRPM: https://fedorapeople.org/~limb/review/libfilezilla/libfilezilla-0.4.0.1-1.fc25.src.rpm
SPEC: https://fedorapeople.org/~limb/review/libfilezilla/libfilezilla.spec

Comment 1 gil cattaneo 2016-03-22 16:55:05 UTC
can you take this https://bugzilla.redhat.com/show_bug.cgi?id=1286467 for me?

Comment 2 gil cattaneo 2016-03-22 16:59:34 UTC
Please, remove:
Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Group: Development/Libraries
%install
rm -rf $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,0755)

Comment 3 gil cattaneo 2016-03-22 17:03:43 UTC
Please, use:  Requires: %{name}%{?_isa} = %{version}-%{release}

Comment 4 Yaakov Selkowitz 2016-03-22 17:16:22 UTC
BTW, since you're deleting the static library (and rightfully so), you might as well %configure --disable-static instead to speed up the build a bit.

Comment 5 gil cattaneo 2016-03-22 20:00:01 UTC
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


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

C/C++:
[x]: Package does not contain kernel modules.
[x]: Package contains no static executables.
[x]: ldconfig called in %post and %postun if required.
[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.
[ ]: 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)", "GPL (v2 or later)", "Unknown or
     generated". 58 files have unknown license. Detailed output of
     licensecheck in /home/gil/1317956-libfilezilla/licensecheck.txt

[x]: License file installed when any subpackage combination is installed.
[x]: %build honors applicable compiler flags or justifies otherwise.
[?]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[?]: Each %files section contains %defattr if rpm < 4.4
     Note: %defattr present but not needed
[-]: 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.
[x]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 266240 bytes in 11 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]: 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:
[!]: Buildroot is not present
     Note: Invalid buildroot found: %{_tmppath}/%{name}-%{version}-root
     See: http://fedoraproject.org/wiki/Packaging/Guidelines#BuildRoot_tag
[!]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
     Note: %clean present but not required
[?]: 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
     libfilezilla-devel , libfilezilla-debuginfo
[x]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[x]: Scriptlets must be sane, if used.
[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.
[?]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed
     files.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[x]: Reviewer should test that the package builds in mock.
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Uses parallel make %{?_smp_mflags} macro.
[x]: The placement of pkgconfig(.pc) files are correct.
[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
[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.


Installation errors
-------------------
INFO: mock.py version 1.2.15 starting (python version = 3.4.3)...
Start: init plugins
INFO: selinux enabled
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
Mock Version: 1.2.15
INFO: Mock Version: 1.2.15
Finish: chroot init
INFO: installing package(s): /home/gil/1317956-libfilezilla/results/libfilezilla-0.4.0.1-1.fc25.i686.rpm /home/gil/1317956-libfilezilla/results/libfilezilla-devel-0.4.0.1-1.fc25.i686.rpm /home/gil/1317956-libfilezilla/results/libfilezilla-debuginfo-0.4.0.1-1.fc25.i686.rpm /home/gil/1317956-libfilezilla/results/libfilezilla-debuginfo-0.4.0.1-1.fc25.i686.rpm
ERROR: Command failed. See logs for output.
 # /usr/bin/dnf --installroot /var/lib/mock/fedora-rawhide-i386/root/ --releasever 25 --disableplugin=local --setopt=deltarpm=false install /home/gil/1317956-libfilezilla/results/libfilezilla-0.4.0.1-1.fc25.i686.rpm /home/gil/1317956-libfilezilla/results/libfilezilla-devel-0.4.0.1-1.fc25.i686.rpm /home/gil/1317956-libfilezilla/results/libfilezilla-debuginfo-0.4.0.1-1.fc25.i686.rpm /home/gil/1317956-libfilezilla/results/libfilezilla-debuginfo-0.4.0.1-1.fc25.i686.rpm --setopt=tsflags=nocontexts
WARNING: unable to delete selinux filesystems (/tmp/mock-selinux-plugin.obw2ocwz): [Errno 1] Operation not permitted: '/tmp/mock-selinux-plugin.obw2ocwz'


Rpmlint
-------
Checking: libfilezilla-0.4.0.1-1.fc25.i686.rpm
          libfilezilla-devel-0.4.0.1-1.fc25.i686.rpm
          libfilezilla-debuginfo-0.4.0.1-1.fc25.i686.rpm
          libfilezilla-0.4.0.1-1.fc25.src.rpm
libfilezilla.i686: E: incorrect-fsf-address /usr/share/licenses/libfilezilla/COPYING
4 packages and 0 specfiles checked; 1 errors, 0 warnings.




Requires
--------
libfilezilla-debuginfo (rpmlib, GLIBC filtered):

libfilezilla-devel (rpmlib, GLIBC filtered):
    /usr/bin/pkg-config
    libfilezilla
    libfilezilla.so.0

libfilezilla (rpmlib, GLIBC filtered):
    /sbin/ldconfig
    libc.so.6
    libgcc_s.so.1
    libgcc_s.so.1(GCC_3.0)
    libm.so.6
    libpthread.so.0
    libstdc++.so.6
    libstdc++.so.6(CXXABI_1.3)
    libstdc++.so.6(CXXABI_1.3.8)
    libstdc++.so.6(CXXABI_1.3.9)
    rtld(GNU_HASH)



Provides
--------
libfilezilla-debuginfo:
    libfilezilla-debuginfo
    libfilezilla-debuginfo(x86-32)

libfilezilla-devel:
    libfilezilla-devel
    libfilezilla-devel(x86-32)
    pkgconfig(libfilezilla)

libfilezilla:
    libfilezilla
    libfilezilla(x86-32)
    libfilezilla.so.0



Source checksums
----------------
http://download.sourceforge.net/sourceforge/filezilla/libfilezilla-0.4.0.1.tar.bz2 :
  CHECKSUM(SHA256) this package     : 6003689254e9d250bcdefc1414dcc4a0d324fda3d59436a497e249b225f4b1d1
  CHECKSUM(SHA256) upstream package : 6003689254e9d250bcdefc1414dcc4a0d324fda3d59436a497e249b225f4b1d1


Generated by fedora-review 0.6.0 (3c5c9d7) last change: 2015-05-20
Command line :/usr/bin/fedora-review -b 1317956 --plugins C/C++ -m fedora-rawhide-i386
Buildroot used: fedora-rawhide-i386
Active plugins: Generic, Shell-api, C/C++
Disabled plugins: Java, Python, fonts, SugarActivity, Ocaml, Perl, Haskell, R, PHP, Ruby
Disabled flags: EXARCH, DISTTAG, EPEL5, BATCH, EPEL6

Comment 6 gil cattaneo 2016-03-22 20:05:33 UTC
Issues:

[ ]: 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)", "GPL (v2 or later)", "Unknown or
     generated". 58 files have unknown license. Detailed output of
     licensecheck in /home/gil/1317956-libfilezilla/licensecheck.txt


The following source files are without license headers:

libfilezilla-0.4.0.1/demos/events.cpp
libfilezilla-0.4.0.1/demos/list.cpp
libfilezilla-0.4.0.1/demos/process.cpp
libfilezilla-0.4.0.1/demos/timer_fizzbuzz.cpp
libfilezilla-0.4.0.1/lib/event.cpp
libfilezilla-0.4.0.1/lib/event_handler.cpp
libfilezilla-0.4.0.1/lib/event_loop.cpp
libfilezilla-0.4.0.1/lib/file.cpp
libfilezilla-0.4.0.1/lib/iputils.cpp
libfilezilla-0.4.0.1/lib/libfilezilla/apply.hpp
libfilezilla-0.4.0.1/lib/libfilezilla/event.hpp
libfilezilla-0.4.0.1/lib/libfilezilla/event_handler.hpp
libfilezilla-0.4.0.1/lib/libfilezilla/event_loop.hpp
libfilezilla-0.4.0.1/lib/libfilezilla/file.hpp
libfilezilla-0.4.0.1/lib/libfilezilla/glue/wx.hpp
libfilezilla-0.4.0.1/lib/libfilezilla/iputils.hpp
libfilezilla-0.4.0.1/lib/libfilezilla/libfilezilla.hpp
libfilezilla-0.4.0.1/lib/libfilezilla/local_filesys.hpp
libfilezilla-0.4.0.1/lib/libfilezilla/mutex.hpp
libfilezilla-0.4.0.1/lib/libfilezilla/optional.hpp
libfilezilla-0.4.0.1/lib/libfilezilla/private/defs.hpp
libfilezilla-0.4.0.1/lib/libfilezilla/private/visibility.hpp
libfilezilla-0.4.0.1/lib/libfilezilla/private/windows.hpp
libfilezilla-0.4.0.1/lib/libfilezilla/process.hpp
libfilezilla-0.4.0.1/lib/libfilezilla/recursive_remove.hpp
libfilezilla-0.4.0.1/lib/libfilezilla/shared.hpp
libfilezilla-0.4.0.1/lib/libfilezilla/string.hpp
libfilezilla-0.4.0.1/lib/libfilezilla/thread.hpp
libfilezilla-0.4.0.1/lib/libfilezilla/time.hpp
libfilezilla-0.4.0.1/lib/libfilezilla/util.hpp
libfilezilla-0.4.0.1/lib/libfilezilla/version.hpp
libfilezilla-0.4.0.1/lib/local_filesys.cpp
libfilezilla-0.4.0.1/lib/mutex.cpp
libfilezilla-0.4.0.1/lib/process.cpp
libfilezilla-0.4.0.1/lib/recursive_remove.cpp
libfilezilla-0.4.0.1/lib/string.cpp
libfilezilla-0.4.0.1/lib/thread.cpp
libfilezilla-0.4.0.1/lib/time.cpp
libfilezilla-0.4.0.1/lib/util.cpp
libfilezilla-0.4.0.1/lib/version.cpp
libfilezilla-0.4.0.1/tests/dispatch.cpp
libfilezilla-0.4.0.1/tests/eventloop.cpp
libfilezilla-0.4.0.1/tests/iputils.cpp
libfilezilla-0.4.0.1/tests/smart_pointer.cpp
libfilezilla-0.4.0.1/tests/string.cpp
libfilezilla-0.4.0.1/tests/test.cpp
libfilezilla-0.4.0.1/tests/test_utils.hpp
libfilezilla-0.4.0.1/tests/time.cpp

Please, aks to upstream to add license headers
https://fedoraproject.org/wiki/Packaging:LicensingGuidelines?rd=Packaging/LicensingGuidelines#License_Clarification


[?]: Each %files section contains %defattr if rpm < 4.4
     Note: %defattr present but not needed

[!]: Buildroot is not present
     Note: Invalid buildroot found: %{_tmppath}/%{name}-%{version}-root
     See: http://fedoraproject.org/wiki/Packaging/Guidelines#BuildRoot_tag
[!]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
     Note: %clean present but not required
Please, remove

[!]: Fully versioned dependency in subpackages if applicable.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in
     libfilezilla-devel , libfilezilla-debuginfo


libfilezilla.i686: E: incorrect-fsf-address /usr/share/licenses/libfilezilla/COPYING
https://fedoraproject.org/wiki/Common_Rpmlint_issues#incorrect-fsf-address
Please, report to upstream

Comment 7 gil cattaneo 2016-03-22 20:27:42 UTC
ignore the previous comment#1
can you take this https://bugzilla.redhat.com/show_bug.cgi?id=1316195 for me?

Comment 8 Gwyn Ciesla 2016-04-04 15:44:18 UTC
Sorry for the delay, life got crazy.

Fixed everything I see from above;

SRPM: https://fedorapeople.org/~limb/review/libfilezilla/libfilezilla-0.4.0.1-1.fc25.src.rpm
SPEC: https://fedorapeople.org/~limb/review/libfilezilla/libfilezilla.spec

Trying to file an upstream license header bug but their Trac isn't cooperating.


Please let me know what review I can take.

Comment 9 gil cattaneo 2016-04-04 16:13:54 UTC
can you add tracks of the issues, as a comment in the spec file?(In reply to Jon Ciesla from comment #8)
> Sorry for the delay, life got crazy.
> 
> Fixed everything I see from above;
> 
> SRPM:
> https://fedorapeople.org/~limb/review/libfilezilla/libfilezilla-0.4.0.1-1.
> fc25.src.rpm
> SPEC: https://fedorapeople.org/~limb/review/libfilezilla/libfilezilla.spec
> 
> Trying to file an upstream license header bug but their Trac isn't
> cooperating.

can you add tracks of the issues, as a comment in the spec file?

> Please let me know what review I can take.
Yes sure, thanks in advance
https://bugzilla.redhat.com/show_bug.cgi?id=1244655

approved

Comment 10 Gwyn Ciesla 2016-04-04 16:22:45 UTC
Will do, thanks!

Comment 11 Gwyn Ciesla 2016-04-04 16:28:44 UTC
Package request has been approved: https://admin.fedoraproject.org/pkgdb/package/rpms/libfilezilla


Note You need to log in before you can comment on or make changes to this bug.