[Bug 753517] Review Request: hoard - scalable memory allocator

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

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


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

Ralph Bean <rbean@xxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|nobody@xxxxxxxxxxxxxxxxx    |rbean@xxxxxxxxxx
               Flag|                            |fedora-review?

--- Comment #9 from Ralph Bean <rbean@xxxxxxxxxx> 2012-04-24 21:42:11 EDT ---

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

Key:
- = N/A
x = Pass
! = Fail
? = Not evaluated



==== C/C++ ====
[x]: MUST Header files in -devel subpackage, if present.
[x]: MUST Package does not contain any libtool archives (.la)
[x]: MUST Package does not contain kernel modules.
[x]: MUST Package contains no static executables.
[x]: MUST Rpath absent or only used for internal libs.
[x]: MUST Package is not relocatable.
[!]: MUST Development (unversioned) .so files in -devel subpackage, if
     present.
     Note: hoard-3.8-2.fc18.i686.rpm : /usr/lib/libhoard.so


==== Generic ====
[x]: MUST Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[x]: MUST Package successfully compiles and builds into binary rpms on at
     least one supported primary architecture.
[x]: MUST %build honors applicable compiler flags or justifies otherwise.
[x]: MUST All build dependencies are listed in BuildRequires, except for any
     that are listed in the exceptions section of Packaging Guidelines.
[!]: MUST Buildroot is not present
     Note: Invalid buildroot found: %(mktemp -ud
     %{_tmppath}/%{name}-%{tar_version}-%{release}-XXXXXX)
[x]: MUST Package contains no bundled libraries.
[x]: MUST Changelog in prescribed format.
[!]: MUST Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
     Note: Clean is needed only if supporting EPEL
[x]: MUST Sources contain only permissible code or content.
[x]: MUST Each %files section contains %defattr if rpm < 4.4
     Note: Note: defattr macros not found. They would be needed for EPEL5
[x]: MUST Macros in Summary, %description expandable at SRPM build time.
[x]: MUST Package requires other packages for directories it uses.
[x]: MUST Package uses nothing in %doc for runtime.
[x]: MUST Package is not known to require ExcludeArch.
[x]: MUST Permissions on files are set properly.
[x]: MUST Package does not contain duplicates in %files.
[x]: MUST Fully versioned dependency in subpackages, if present.
[x]: MUST Spec file lacks Packager, Vendor, PreReq tags.
[!]: MUST Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
     Note: rm -rf is only needed if supporting EPEL5
[x]: MUST Large documentation files are in a -doc subpackage, if required.
[!]: MUST 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]: MUST License field in the package spec file matches the actual license.
[x]: MUST License file installed when any subpackage combination is installed.
[!]: MUST Package consistently uses macros (instead of hard-coded directory
     names).
     Note: Using both %{buildroot} and $RPM_BUILD_ROOT
[x]: MUST Package is named according to the Package Naming Guidelines.
[x]: MUST Package does not generate any conflict.
[x]: MUST Package obeys FHS, except libexecdir and /usr/target.
[x]: MUST Package must own all directories that it creates.
[x]: MUST Package does not own files or directories owned by other packages.
[x]: MUST Package installs properly.
[x]: MUST Requires correct, justified where necessary.
[!]: MUST Rpmlint output is silent.

[x]: MUST Sources used to build the package match the upstream source, as
     provided in the spec URL.
/home/threebean/753517/753517/hoard-38.tar.gz :
  MD5SUM this package     : f2d8ec3a13d4d9ba7b1c48c777707ef5
  MD5SUM upstream package : f2d8ec3a13d4d9ba7b1c48c777707ef5

[x]: MUST Spec file is legible and written in American English.
[x]: MUST Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[x]: MUST Package contains a SysV-style init script if in need of one.
[x]: MUST File names are valid UTF-8.
[x]: MUST Useful -debuginfo package or justification otherwise.
[x]: SHOULD Reviewer should test that the package builds in mock.
[x]: SHOULD 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]: SHOULD Dist tag is present.
[x]: SHOULD No file requires outside of /etc, /bin, /sbin, /usr/bin,
     /usr/sbin.
[x]: SHOULD Final provides and requires are sane (rpm -q --provides and rpm -q
     --requires).
[ ]: SHOULD Package functions as described.
[x]: SHOULD Latest version is packaged.
[x]: SHOULD Package does not include license text files separate from
     upstream.
[!]: SHOULD Patches link to upstream bugs/comments/lists or are otherwise
     justified.
[x]: SHOULD Scriptlets must be sane, if used.
[!]: SHOULD SourceX / PatchY prefixed with %{name}.
     Note: Patch1: hoard-38-NOBUILD.patch (hoard-38-NOBUILD.patch) Patch2:
     hoard-38-ADDSONAME.patch (hoard-38-ADDSONAME.patch)
[x]: SHOULD SourceX is a working URL.
[x]: SHOULD Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[ ]: SHOULD Package should compile and build into binary rpms on all supported
     architectures.
[ ]: SHOULD %check is present and all tests pass.
[ ]: SHOULD Packages should try to preserve timestamps of original installed
     files.
[!]: SHOULD Spec use %global instead of %define.
     Note: %define tar_version 38

Issues:
[!]: MUST Buildroot is not present
     Note: Invalid buildroot found: %(mktemp -ud
     %{_tmppath}/%{name}-%{tar_version}-%{release}-XXXXXX)
See: http://fedoraproject.org/wiki/Packaging/Guidelines#BuildRoot_tag
[!]: MUST Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
     Note: Clean is needed only if supporting EPEL
See: http://fedoraproject.org/wiki/Packaging/Guidelines#.25clean
[!]: MUST Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
     Note: rm -rf is only needed if supporting EPEL5
See: None
[!]: MUST 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.
See: http://fedoraproject.org/wiki/Packaging/LicensingGuidelines#License_Text
[!]: MUST Package consistently uses macros (instead of hard-coded directory
     names).
     Note: Using both %{buildroot} and $RPM_BUILD_ROOT
See: http://fedoraproject.org/wiki/Packaging/Guidelines#macros
[!]: MUST Rpmlint output is silent.


rpmlint hoard-3.8-2.fc18.i686.rpm

hoard.i686: W: no-soname /usr/lib/libhoard.so
hoard.i686: E: shlib-with-non-pic-code /usr/lib/libhoard.so
hoard.i686: W: shared-lib-calls-exit /usr/lib/libhoard.so exit@GLIBC_2.0
hoard.i686: E: non-readable /usr/lib/libhoard.so 0751L
hoard.i686: E: non-standard-executable-perm /usr/lib/libhoard.so 0751L
1 packages and 0 specfiles checked; 4 errors, 5 warnings.


rpmlint hoard-debuginfo-3.8-2.fc18.i686.rpm

hoard-debuginfo.i686: W: spurious-executable-perm
/usr/src/debug/hoard-38/src/basehoardmanager.h
hoard-debuginfo.i686: W: spurious-executable-perm
/usr/src/debug/hoard-38/src/redirectfree.h
hoard-debuginfo.i686: W: spurious-executable-perm
/usr/src/debug/hoard-38/src/alignedmmap.h
hoard-debuginfo.i686: W: spurious-executable-perm
/usr/src/debug/hoard-38/src/processheap.h
hoard-debuginfo.i686: W: spurious-executable-perm
/usr/src/debug/hoard-38/src/threadpoolheap.h
hoard-debuginfo.i686: W: spurious-executable-perm
/usr/src/debug/hoard-38/src/tlab.h
hoard-debuginfo.i686: W: spurious-executable-perm
/usr/src/debug/hoard-38/src/addheaderheap.h
hoard-debuginfo.i686: W: spurious-executable-perm
/usr/src/debug/hoard-38/src/emptyhoardmanager.h
hoard-debuginfo.i686: W: spurious-executable-perm
/usr/src/debug/hoard-38/src/mmapalloc.h
hoard-debuginfo.i686: W: spurious-executable-perm
/usr/src/debug/hoard-38/src/heaplayers/bins64k.h
1 packages and 0 specfiles checked; 13 errors, 10 warnings.


See: http://fedoraproject.org/wiki/Packaging/Guidelines#rpmlint
[!]: MUST Development (unversioned) .so files in -devel subpackage, if
     present.
     Note: hoard-3.8-2.fc18.i686.rpm : /usr/lib/libhoard.so
See: http://fedoraproject.org/wiki/Packaging/Guidelines#DevelPackages

Generated by fedora-review 0.1.3
External plugins:

--------
Comments
--------

Ignorable
~~~~~~~~~

There was an incorrect fsf-address that Ryan has indicated is reported upstream
already.  Same goes for the patches applied in the specfile, they apparently
come from upstream bug reports.  The spelling complaints from rpmlint can be
safely ignored in this case.

The no-soname can be ignored, since Ryan has tried to fix it and verified that
the package works as expected anyways.

After reading http://fedoraproject.org/wiki/Packaging/Guidelines#DevelPackages,
the unversioned .so file does not appear to have to reside in a -devel package,
so this is fine.

Must Fix
~~~~~~~~

The spurious-executable-perm warnings should be an easy fix.

The COPYING file should be included in the -docs package

The rpm build root stuff should be standardized.  The %clean section should be
removed as well.

The upstream URL should be changed to http://www.hoard.org

To fix the debuginfo-without-sources error, check out
https://fedoraproject.org/wiki/Common_Rpmlint_issues#debuginfo-without-sources

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
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]