[Bug 895667] Review Request: polymake - Algorithms on convex polytopes and polyhedra

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

 



Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=895667

--- Comment #5 from Paulo Andrade <paulo.cesar.pereira.de.andrade@xxxxxxxxx> ---
Major problem is that the package is not installable, because it requires
a no longer generated provides. I checked in fedora 18 all requires, and
only the perl(Graphviz) is wrong:
$ for req in `rpm -qp --requires
review-polymake/results/polymake-2.12-2.fc19.x86_64.rpm | grep 'perl('`; do
echo -n "$req -> "; echo -n `repoquery --whatprovides $req`; echo;done
perl(:MODULE_COMPAT_5.16.2) -> perl-4:5.16.2-235.fc18.x86_64
perl(Carp) -> perl-Carp-0:1.26-235.fc18.noarch perl-Carp-0:1.26-3.fc18.noarch
perl(Config) -> perl-4:5.16.2-235.fc18.x86_64
perl(Cwd) -> perl-PathTools-0:3.39.2-235.fc18.x86_64
perl-PathTools-0:3.33-7.fc18.x86_64
perl(DynaLoader) -> perl-4:5.16.2-235.fc18.x86_64
perl(Encode) -> perl-4:5.16.2-235.fc18.x86_64
perl(Errno) -> perl-4:5.16.2-235.fc18.x86_64
perl(Fcntl) -> perl-4:5.16.2-235.fc18.x86_64
perl(File::Path) -> perl-4:5.16.2-235.fc18.x86_64
perl(Getopt::Long) -> perl-4:5.16.2-235.fc18.x86_64
perl(Graphviz) -> 
perl(IO::Handle) -> perl-4:5.16.2-235.fc18.x86_64
perl(IPC::Open3) -> perl-4:5.16.2-235.fc18.x86_64
perl(Math::Trig) -> perl-4:5.16.2-235.fc18.x86_64
perl(POSIX) -> perl-4:5.16.2-235.fc18.x86_64
perl(Socket) -> perl-Socket-0:2.002-3.fc18.x86_64
perl-Socket-0:2.001-235.fc18.x86_64
perl(Symbol) -> perl-4:5.16.2-235.fc18.x86_64
perl(Term::ReadLine) -> perl-4:5.16.2-235.fc18.x86_64
perl(XML::LibXML) -> perl-XML-LibXML-1:2.0004-1.fc18.x86_64
perl(XML::SAX::Base) -> perl-XML-SAX-Base-0:1.08-4.fc18.noarch
perl(XML::Writer) -> perl-XML-Writer-0:0.612-4.fc18.noarch
perl(integer) -> perl-4:5.16.2-235.fc18.x86_64
perl(lib) -> perl-4:5.16.2-235.fc18.x86_64
perl(overload) -> perl-4:5.16.2-235.fc18.x86_64
perl(re) -> perl-4:5.16.2-235.fc18.x86_64
perl(strict) -> perl-4:5.16.2-235.fc18.x86_64
perl(subs) -> perl-4:5.16.2-235.fc18.x86_64
perl(vars) -> perl-4:5.16.2-235.fc18.x86_64


You may want to install what is now in %{_datadir} in %{_libdir},
otherwise it should be safe to ignore the warnings, that probably
are wrong any (it keeps insisting that data in %{_datadir} are
documentation and should be in a noarch package).

D you know the reason the polymake svn repository is not
publicly available? How one can (read only) access to it?
Need to fill some form to register somewhere?

---%<---
Package Review
==============

Key:
[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
[!]: Large documentation must go in a -doc subpackage.
     Note: Documentation size is 2969600 bytes in 32 files.
See: http://fedoraproject.org/wiki/Packaging/Guidelines#PackageDocumentation


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

C/C++:
[x]: Header files in -devel subpackage, if present.
[x]: ldconfig called in %post and %postun if required.
[x]: Package does not contain any libtool archives (.la)
[x]: Package does not contain kernel modules.
[x]: Package contains no static executables.
[x]: Rpath absent or only used for internal libs.
[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.

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]: Package successfully compiles and builds into binary rpms on at least one
     supported primary architecture.
[x]: %build honors applicable compiler flags or justifies otherwise.
[x]: All build dependencies are listed in BuildRequires, except for any that
     are listed in the exceptions section of Packaging Guidelines.
[x]: Package contains no bundled libraries.
[x]: Changelog in prescribed format.
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Sources contain only permissible code or content.
[x]: Each %files section contains %defattr if rpm < 4.4
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Package contains desktop file if it is a GUI application.
[x]: Development files must be in a -devel package
[x]: Package requires other packages for directories it uses.
[x]: Package uses nothing in %doc for runtime.
[x]: Package is not known to require ExcludeArch.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Fully versioned dependency in subpackages, if present.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in %package
     devel, %package doc
[x]: Package complies to the Packaging Guidelines
[x]: Spec file lacks Packager, Vendor, PreReq tags.
[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 %doc.
[x]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses found:
     "BSD (3 clause)", "BSD (2 clause)", "GPL (v2 or later)", "Unknown or
     generated". 4 files have unknown license. Detailed output of licensecheck
     in /home/pcpa/review-polymake/licensecheck.txt
[x]: License file installed when any subpackage combination is installed.
[x]: Package consistently uses macro is (instead of hard-coded directory
     names).
[x]: Package is named using only allowed ASCII characters.
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
     Note: Package contains no Conflicts: tag(s)
[x]: Package do not use a name that already exist
[x]: Package obeys FHS, except libexecdir and /usr/target.
[x]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: Package must own all directories that it creates.
[x]: Package does not own files or directories owned by other packages.
[!]: Package installs properly.
     Note: Installation errors (see attachment)
[x]: Package is not relocatable.
[?]: Requires correct, justified where necessary.
[x]: CheckResultdir
[x]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).
[x]: Sources used to build the package match the upstream source, as provided
     in the spec URL.
[x]: Spec file is legible and written in American English.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[x]: Package contains systemd file(s) if in need.
[x]: File names are valid UTF-8.
[x]: Useful -debuginfo package or justification otherwise.
[!]: Large documentation must go in a -doc subpackage.
     Note: Documentation size is 2969600 bytes in 32 files.
[x]: Packages must not store files under /srv, /opt or /usr/local

Perl:
[x]: Package contains the mandatory BuildRequires and Reguires:.
[?]: CPAN urls should be non-versioned.
     Note: Test run failed

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

Generic:
[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]: 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]: Dist tag is present.
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[!]: Final provides and requires are sane (rpm -q --provides and rpm -q
     --requires).
[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.
[x]: The placement of pkgconfig(.pc) files are correct.
[x]: Scriptlets must be sane, if used.
[x]: SourceX tarball generation or download is documented.
[x]: SourceX / PatchY prefixed with %{name}.
[x]: SourceX is a working URL.
[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]: Spec use %global instead of %define.

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

Generic:
[!]: Rpmlint is run on all installed packages.
     Note: Mock build failed
[-]: Large data in /usr/share should live in a noarch subpackage if package is
     arched.
     Note: Arch-ed rpms have a total of 5191680 bytes in /usr/share 2938880
     polymake-doc-2.12-2.fc19.x86_64.rpm 10240 polymake-
     devel-2.12-2.fc19.x86_64.rpm 2242560 polymake-2.12-2.fc19.x86_64.rpm


Installation errors
-------------------
INFO: mock.py version 1.1.28 starting...
Start: init plugins
INFO: selinux enabled
Finish: init plugins
Start: run
Mock Version: 1.1.28
INFO: Mock Version: 1.1.28
Start: lock buildroot
INFO: installing package(s):
/home/pcpa/review-polymake/results/polymake-devel-2.12-2.fc19.x86_64.rpm
/home/pcpa/review-polymake/results/polymake-2.12-2.fc19.x86_64.rpm
/home/pcpa/review-polymake/results/polymake-doc-2.12-2.fc19.x86_64.rpm
/home/pcpa/review-polymake/results/polymake-debuginfo-2.12-2.fc19.x86_64.rpm
ERROR: Command failed: 
 # ['/usr/bin/yum', '--installroot',
'/var/lib/mock/fedora-rawhide-x86_64/root/', 'install',
'/home/pcpa/review-polymake/results/polymake-devel-2.12-2.fc19.x86_64.rpm',
'/home/pcpa/review-polymake/results/polymake-2.12-2.fc19.x86_64.rpm',
'/home/pcpa/review-polymake/results/polymake-doc-2.12-2.fc19.x86_64.rpm',
'/home/pcpa/review-polymake/results/polymake-debuginfo-2.12-2.fc19.x86_64.rpm',
'--setopt=tsflags=nocontexts']
Error: Package: polymake-2.12-2.fc19.x86_64 (/polymake-2.12-2.fc19.x86_64)
           Requires: perl(Graphviz)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest



Rpmlint
-------
Checking: polymake-devel-2.12-2.fc19.x86_64.rpm
          polymake-2.12-2.fc19.src.rpm
          polymake-2.12-2.fc19.x86_64.rpm
          polymake-doc-2.12-2.fc19.x86_64.rpm
          polymake-debuginfo-2.12-2.fc19.x86_64.rpm
polymake-devel.x86_64: W: no-documentation
polymake-devel.x86_64: E: rpath-in-buildconfig /usr/bin/polymake-config lines
['150']
polymake-devel.x86_64: W: no-manual-page-for-binary polymake-config
polymake.src: W: spelling-error Summary(en_US) polytopes -> polytheist
polymake.src: W: spelling-error Summary(en_US) polyhedra -> polyhedral,
polyhedron
polymake.src: W: spelling-error %description -l en_US combinatorics ->
combinations
polymake.src: W: spelling-error %description -l en_US polytopes -> polytheist
polymake.src: W: spelling-error %description -l en_US polyhedra -> polyhedral,
polyhedron
polymake.src: W: spelling-error %description -l en_US simplicial -> simplicity,
simplistic
polymake.src: W: spelling-error %description -l en_US matroids -> mastoids
polymake.src: W: spelling-error %description -l en_US azove -> above, Azov
polymake.src: W: spelling-error %description -l en_US gfan -> fan, fang, gran
polymake.src: W: spelling-error %description -l en_US integrale -> integral,
integrals, integrate
polymake.src: W: spelling-error %description -l en_US normaliz -> normalize,
normalization, normal
polymake.src: W: spelling-error %description -l en_US ocaml -> Occam
polymake.src: W: spelling-error %description -l en_US tplib -> split
polymake.src: W: spelling-error %description -l en_US qhull -> hull, q hull,
Hull
polymake.src: W: spelling-error %description -l en_US vinci -> vincible
polymake.src: W: spelling-error %description -l en_US geomview -> geom view,
geom-view, overview
polymake.src: W: spelling-error %description -l en_US graphviz -> graph viz,
graph-viz, graphic
polymake.src: W: spelling-error %description -l en_US gv -> g, v, gov
polymake.src: W: spelling-error %description -l en_US okular -> ocular, ovular
polymake.x86_64: W: spelling-error Summary(en_US) polytopes -> polytheist
polymake.x86_64: W: spelling-error Summary(en_US) polyhedra -> polyhedral,
polyhedron
polymake.x86_64: W: spelling-error %description -l en_US combinatorics ->
combinations
polymake.x86_64: W: spelling-error %description -l en_US polytopes ->
polytheist
polymake.x86_64: W: spelling-error %description -l en_US polyhedra ->
polyhedral, polyhedron
polymake.x86_64: W: spelling-error %description -l en_US simplicial ->
simplicity, simplistic
polymake.x86_64: W: spelling-error %description -l en_US matroids -> mastoids
polymake.x86_64: W: spelling-error %description -l en_US azove -> above, Azov
polymake.x86_64: W: spelling-error %description -l en_US gfan -> fan, fang,
gran
polymake.x86_64: W: spelling-error %description -l en_US integrale -> integral,
integrals, integrate
polymake.x86_64: W: spelling-error %description -l en_US normaliz -> normalize,
normalization, normal
polymake.x86_64: W: spelling-error %description -l en_US ocaml -> Occam
polymake.x86_64: W: spelling-error %description -l en_US tplib -> split
polymake.x86_64: W: spelling-error %description -l en_US qhull -> hull, q hull,
Hull
polymake.x86_64: W: spelling-error %description -l en_US vinci -> vincible
polymake.x86_64: W: spelling-error %description -l en_US geomview -> geom view,
geom-view, overview
polymake.x86_64: W: spelling-error %description -l en_US graphviz -> graph viz,
graph-viz, graphic
polymake.x86_64: W: spelling-error %description -l en_US gv -> g, v, gov
polymake.x86_64: W: spelling-error %description -l en_US okular -> ocular,
ovular
polymake.x86_64: W: no-soname /usr/lib64/polymake/lib/core.so
polymake.x86_64: W: no-soname /usr/lib64/polymake/lib/matroid.so
polymake.x86_64: W: no-soname /usr/lib64/polymake/lib/tropical.so
polymake.x86_64: W: no-soname /usr/lib64/polymake/lib/graph.so
polymake.x86_64: W: no-soname /usr/lib64/polymake/lib/common.so
polymake.x86_64: W: no-soname /usr/lib64/polymake/lib/topaz.so
polymake.x86_64: W: no-soname /usr/lib64/polymake/lib/polytope.so
polymake.x86_64: W: no-soname /usr/lib64/polymake/lib/group.so
polymake.x86_64: W: no-soname /usr/lib64/polymake/lib/fan.so
5 packages and 0 specfiles checked; 1 errors, 49 warnings.




Requires
--------
polymake-devel-2.12-2.fc19.x86_64.rpm (rpmlib, GLIBC filtered):

    /usr/bin/perl
    libpolymake.so.2()(64bit)
    perl(strict)
    polymake(x86-64) = 2.12-2.fc19

polymake-2.12-2.fc19.x86_64.rpm (rpmlib, GLIBC filtered):

    /sbin/ldconfig
    /usr/bin/perl
    libbliss.so.0()(64bit)
    libc.so.6()(64bit)
    libcdd.so.0()(64bit)
    libcddgmp.so.0()(64bit)
    libdl.so.2()(64bit)
    libgcc_s.so.1()(64bit)
    libgcc_s.so.1(GCC_3.0)(64bit)
    libgmp.so.10()(64bit)
    liblrsgmp.so.4()(64bit)
    libm.so.6()(64bit)
    libmpfr.so.4()(64bit)
    libperl.so()(64bit)
    libpolymake.so.2()(64bit)
    libstdc++.so.6()(64bit)
    libstdc++.so.6(CXXABI_1.3)(64bit)
    libstdc++.so.6(CXXABI_1.3.1)(64bit)
    libsympol.so.0.1()(64bit)
    libxml2.so.2()(64bit)
    libxml2.so.2(LIBXML2_2.4.30)(64bit)
    perl >= 1:5.8.1
    perl(:MODULE_COMPAT_5.16.2)
    perl(Carp)
    perl(Config)
    perl(Cwd)
    perl(DynaLoader)
    perl(Encode)
    perl(Errno)
    perl(Fcntl)
    perl(File::Path)
    perl(Getopt::Long)
    perl(Graphviz)
    perl(IO::Handle)
    perl(IPC::Open3)
    perl(Math::Trig)
    perl(POSIX)
    perl(Socket)
    perl(Symbol)
    perl(Term::ReadLine)
    perl(XML::LibXML)
    perl(XML::SAX::Base)
    perl(XML::Writer)
    perl(integer)
    perl(lib)
    perl(overload)
    perl(re)
    perl(strict)
    perl(subs)
    perl(vars)
    rtld(GNU_HASH)

polymake-doc-2.12-2.fc19.x86_64.rpm (rpmlib, GLIBC filtered):

    polymake(x86-64) = 2.12-2.fc19

polymake-debuginfo-2.12-2.fc19.x86_64.rpm (rpmlib, GLIBC filtered):




Provides
--------
polymake-devel-2.12-2.fc19.x86_64.rpm:

    polymake-devel = 2.12-2.fc19
    polymake-devel(x86-64) = 2.12-2.fc19

polymake-2.12-2.fc19.x86_64.rpm:

    libpolymake.so.2()(64bit)
    polymake = 2.12-2.fc19
    polymake(x86-64) = 2.12-2.fc19

polymake-doc-2.12-2.fc19.x86_64.rpm:

    polymake-doc = 2.12-2.fc19
    polymake-doc(x86-64) = 2.12-2.fc19

polymake-debuginfo-2.12-2.fc19.x86_64.rpm:

    polymake-debuginfo = 2.12-2.fc19
    polymake-debuginfo(x86-64) = 2.12-2.fc19



Unversioned so-files
--------------------
polymake-2.12-2.fc19.x86_64.rpm: /usr/lib64/polymake/lib/common.so
polymake-2.12-2.fc19.x86_64.rpm: /usr/lib64/polymake/lib/core.so
polymake-2.12-2.fc19.x86_64.rpm: /usr/lib64/polymake/lib/fan.so
polymake-2.12-2.fc19.x86_64.rpm: /usr/lib64/polymake/lib/graph.so
polymake-2.12-2.fc19.x86_64.rpm: /usr/lib64/polymake/lib/group.so
polymake-2.12-2.fc19.x86_64.rpm: /usr/lib64/polymake/lib/matroid.so
polymake-2.12-2.fc19.x86_64.rpm: /usr/lib64/polymake/lib/polytope.so
polymake-2.12-2.fc19.x86_64.rpm: /usr/lib64/polymake/lib/topaz.so
polymake-2.12-2.fc19.x86_64.rpm: /usr/lib64/polymake/lib/tropical.so
polymake-2.12-2.fc19.x86_64.rpm:
/usr/lib64/polymake/perlx/5.16.2/x86_64-linux-thread-multi/auto/Polymake/Ext/Ext.so

MD5-sum check
-------------
http://polymake.org/lib/exe/fetch.php/download/polymake-2.12-rc3.tar.bz2 :
  CHECKSUM(SHA256) this package     :
354a5220009882c178d8d98ec8c16921eea284ed73ff7d36c5fee787aa3f4796
  CHECKSUM(SHA256) upstream package :
354a5220009882c178d8d98ec8c16921eea284ed73ff7d36c5fee787aa3f4796


Generated by fedora-review 0.3.1 (b71abc1) last change: 2012-10-16
Buildroot used: fedora-rawhide-x86_64
Command line :/usr/bin/fedora-review -v -r -n polymake -m fedora-rawhide-x86_64
---%<---

I do not enforce what appears to be a wrong test treating files in
%{_datadir} as documentation and leave it to you to choose if
willing to install everything in %{_libdir}, but the wrong
dependency must be corrected. Should be just a matter of
adding one extra entry to the existing macros under the
"# Don't Require the private perl interfaces that we don't Provide."
comment in polymake.spec.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=wNEwiAEtTP&a=cc_unsubscribe
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]