I was the maintainer of fastbit for a long while and would like to unretire it. Since it is about a month beyond the 8-week "easy-unretire" window, the package needs a review. I have run package-review locally on it and given the spec a little more love to check off a few more boxes. I no fails [!] on it. The Fedora in-tree package is here: https://src.fedoraproject.org/rpms/fastbit Dist-git spec for F30: https://src.fedoraproject.org/rpms/fastbit/blob/f30/f/fastbit.spec The build history with associated source rpms are here: https://koji.fedoraproject.org/koji/packageinfo?packageID=25394 I am already a package maintainer. My id is pkfed. Thanks much, Phil
You should public a source rpm (.src.rpm) for review
If you click on the build history page (3rd link in my OP) and then any of the builds, the associated srpm are there, e.g. https://koji.fedoraproject.org/koji/buildinfo?buildID=1373242
$ rpmbuild -ba fastbit.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6ZtUO1 + umask 022 + cd /home/mufti/rpmbuild/BUILD + cd /home/mufti/rpmbuild/BUILD + rm -rf fastbit-2.0.3 + /usr/bin/gzip -dc /home/mufti/rpmbuild/SOURCES/fastbit-2.0.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd fastbit-2.0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/mufti/rpmbuild/SOURCES/fastbit_format_truncation.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch 1 out of 2 hunks FAILED -- saving rejects to file contrib/fbmerge/fbmerge.cpp.re j error: Bad exit status from /var/tmp/rpm-tmp.6ZtUO1 (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.6ZtUO1 (%prep) $ Can you public the patches in a way, that so not require cut/paste of a HTML page ? A direct link to the patches would make things much more easy...
Without the patches i get thefollowing error: $ rpmbuild -ba fastbit.spec ... echo fixing permissions ... fixing permissions ... + find . -type f -perm /0111 ./install-sh ./depcomp ./README ./examples/ibis.cpp ./examples/thula.cpp ./ltmain.sh ./ChangeLog ./contrib/fbmerge/fbmerge.cpp ./contrib/Makefile.am ./doc/ibisCommandLine.html ./src/mensa.cpp ./src/fromParser.yy ./src/bundle.cpp ./src/part.cpp ./src/util.cpp ./src/util.h ./src/filter.cpp ./src/query.cpp ./src/selectParser.yy ./src/fileManager.cpp ./src/whereParser.yy ./src/Doxyfile ./runconfig ./configure.ac ./missing ./tests/scripts/printWarning.pl ./tests/scripts/matchCounts.pl ./tests/scripts/fastbit-config.in ./tests/scripts/jrf-check.pl ./tests/scripts/star2002.sh ./tests/scripts/hcompare.pl ./tests/scripts/query-count.list ./tests/inRange.cpp ./tests/Makefile.am ./tests/smatch.cpp ./configure ./win/README ./win/java.vcproj ./win/tcapi.vcproj ./win/trydll.vcproj ./win/trydll.cpp ./win/MinGW.mak ./win/dll.vcproj ./config.sub ./compile ./config.guess + '(' -name '*.cpp' -or -name '*.h' -or -name '*.yy' -or -name '*.ll' -or /var/tmp/rpm-tmp.RvTaqD: line 62: (: command not found error: Bad exit status from /var/tmp/rpm-tmp.RvTaqD (%prep)
To build it in your home rpmbuild tree: cd $HOME/rpmbuild/SOURCES # get the src.rpm wget https://kojipkgs.fedoraproject.org//packages/fastbit/2.0.3/13.fc30/src/fastbit-2.0.3-13.fc30.src.rpm # unpack the src.rpm rpm2cpio ./fastbit-2.0.3-13.fc30.src.rpm | cpio -idmv # install build dependencies, if needed sudo dnf builddep fastbit.spec # prep and build rpmbuild -bc fastbit.spec Or, to build it with locally with fedpkg: mkdir $HOME/fastbit cd $HOME/fastbit # get the src.rpm wget https://kojipkgs.fedoraproject.org//packages/fastbit/2.0.3/13.fc30/src/fastbit-2.0.3-13.fc30.src.rpm # unpack the src.rpm rpm2cpio ./fastbit-2.0.3-13.fc30.src.rpm | cpio -idmv # install build dependencies, if needed sudo dnf builddep fastbit.spec # prep and build fedpkg --name fastbit --release f30 local
This is a informal review, i am not in the packager group 8-( Package Review ============== Legend: [x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated [ ] = Manual review needed Issues: ======= - This seems like a Java package, please install fedora-review-plugin-java to get additional checks - Package does not use a name that already exists. Note: A package with this name already exists. Please check https://src.fedoraproject.org/rpms/fastbit See: https://docs.fedoraproject.org/en-US/packaging- guidelines/Naming/#_conflicting_package_names ===== MUST items ===== C/C++: [x]: Package does not contain kernel modules. [x]: Package contains no static executables. [!]: 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. [!]: License field in the package spec file matches the actual license. Note: Checking patched sources after %prep for licenses. Licenses found: "Unknown or generated", "BSD 3-clause "New" or "Revised" License", "Expat License", "GPL (v2 or later)", "GPL (v3 or later)", "FSF Unlimited License (with Retention) GPL (v2 or later)", "FSF Unlimited License (with Retention)", "GNU Lesser General Public License". 254 files have unknown license. Detailed output of licensecheck in /home/mufti/review-fastbit/licensecheck.txt [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. [!]: Package must own all directories that it creates. Note: Directories without known owners: /usr/lib/java [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. [x]: 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. [x]: 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. [x]: Large documentation must go in a -doc subpackage. Large could be size (~1MB) or number of files. Note: Documentation size is 184320 bytes in 9 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 does not own files or directories owned by other packages. [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 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 Java: [x]: Bundled jar/class files should be removed before build ===== SHOULD items ===== Generic: [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]: Final provides and requires are sane (see attachments). [x]: Fully versioned dependency in subpackages if applicable. Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in fastbit [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]: 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]: 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: [!]: Spec file according to URL is the same as in SRPM. Note: Spec file as given by url is not the same as in SRPM (see attached diff). See: (this test has no URL) [x]: Rpmlint is run on debuginfo package(s). Note: No rpmlint messages. [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 Rpmlint ------- Checking: fastbit-2.0.3-13.fc31.x86_64.rpm fastbit-devel-2.0.3-13.fc31.x86_64.rpm fastbit-java-2.0.3-13.fc31.x86_64.rpm fastbit-debuginfo-2.0.3-13.fc31.x86_64.rpm fastbit-debugsource-2.0.3-13.fc31.x86_64.rpm fastbit-2.0.3-13.fc31.src.rpm fastbit.x86_64: W: shared-lib-calls-exit /usr/lib64/libfastbit.so.1.0.0 exit.5 fastbit.x86_64: W: no-manual-page-for-binary ardea fastbit.x86_64: W: no-manual-page-for-binary fbmerge fastbit.x86_64: W: no-manual-page-for-binary ibis fastbit.x86_64: W: no-manual-page-for-binary rara fastbit.x86_64: W: no-manual-page-for-binary tcapi fastbit.x86_64: W: no-manual-page-for-binary thula fastbit.x86_64: W: no-manual-page-for-binary tiapi fastbit-devel.x86_64: W: no-documentation fastbit-devel.x86_64: W: no-manual-page-for-binary fastbit-config fastbit-java.x86_64: W: no-documentation 6 packages and 0 specfiles checked; 0 errors, 11 warnings. Rpmlint (debuginfo) ------------------- Checking: fastbit-debuginfo-2.0.3-13.fc31.x86_64.rpm fastbit-java-debuginfo-2.0.3-13.fc31.x86_64.rpm 2 packages and 0 specfiles checked; 0 errors, 0 warnings. Rpmlint (installed packages) ---------------------------- perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = "C.UTF-8", LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = "C.UTF-8", LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). fastbit.x86_64: W: invalid-url URL: https://sdm.lbl.gov/fastbit/ <urlopen error [Errno -2] Name or service not known> fastbit.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libfastbit.so.1.0.0 /lib64/librt.so.1 fastbit.x86_64: W: shared-lib-calls-exit /usr/lib64/libfastbit.so.1.0.0 exit.5 fastbit.x86_64: W: no-manual-page-for-binary ardea fastbit.x86_64: W: no-manual-page-for-binary fbmerge fastbit.x86_64: W: no-manual-page-for-binary ibis fastbit.x86_64: W: no-manual-page-for-binary rara fastbit.x86_64: W: no-manual-page-for-binary tcapi fastbit.x86_64: W: no-manual-page-for-binary thula fastbit.x86_64: W: no-manual-page-for-binary tiapi fastbit-devel.x86_64: W: invalid-url URL: https://sdm.lbl.gov/fastbit/ <urlopen error [Errno -2] Name or service not known> fastbit-devel.x86_64: W: no-documentation fastbit-devel.x86_64: W: no-manual-page-for-binary fastbit-config fastbit-debugsource.x86_64: W: invalid-url URL: https://sdm.lbl.gov/fastbit/ <urlopen error [Errno -2] Name or service not known> fastbit-debuginfo.x86_64: W: invalid-url URL: https://sdm.lbl.gov/fastbit/ <urlopen error [Errno -2] Name or service not known> fastbit-java.x86_64: W: invalid-url URL: https://sdm.lbl.gov/fastbit/ <urlopen error [Errno -2] Name or service not known> fastbit-java.x86_64: W: no-documentation fastbit-java-debuginfo.x86_64: W: invalid-url URL: https://sdm.lbl.gov/fastbit/ <urlopen error [Errno -2] Name or service not known> 6 packages and 0 specfiles checked; 0 errors, 18 warnings. Unversioned so-files -------------------- fastbit-java: /usr/lib64/fastbit/libfastbitjni.so Source checksums ---------------- https://code.lbl.gov/frs/download.php/file/426/fastbit-2.0.3.tar.gz : CHECKSUM(SHA256) this package : 1ddb16d33d869894f8d8cd745cd3198974aabebca68fa2b83eb44d22339466ec CHECKSUM(SHA256) upstream package : 1ddb16d33d869894f8d8cd745cd3198974aabebca68fa2b83eb44d22339466ec Requires -------- fastbit (rpmlib, GLIBC filtered): libc.so.6()(64bit) libfastbit.so.1()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) librt.so.1()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) rtld(GNU_HASH) fastbit-devel (rpmlib, GLIBC filtered): /usr/bin/sh fastbit(x86-64) libfastbit.so.1()(64bit) fastbit-java (rpmlib, GLIBC filtered): fastbit(x86-64) libc.so.6()(64bit) libfastbit.so.1()(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) librt.so.1()(64bit) rtld(GNU_HASH) fastbit-debuginfo (rpmlib, GLIBC filtered): fastbit-debugsource (rpmlib, GLIBC filtered): Provides -------- fastbit: fastbit fastbit(x86-64) libfastbit.so.1()(64bit) fastbit-devel: fastbit-devel fastbit-devel(x86-64) fastbit-java: fastbit-java fastbit-java(x86-64) libfastbitjni.so()(64bit) fastbit-debuginfo: debuginfo(build-id) fastbit-debuginfo fastbit-debuginfo(x86-64) fastbit-debugsource: fastbit-debugsource fastbit-debugsource(x86-64) Diff spec file in url and in SRPM --------------------------------- --- /home/mufti/fastbit.spec 2019-09-10 01:22:58.936258286 -0400 +++ /home/mufti/review-fastbit/srpm-unpacked/fastbit.spec 2019-09-06 11:21:51.000000000 -0400 @@ -1,357 +1,178 @@ Name: fastbit - Version: 2.0.3 - Release: 13%{?dist} - Summary: An Efficient Compressed Bitmap Index Technology - # Main package is BSD; the Bison-generated parsers are GPLv3+ with exceptions; - # contribs/fbmerge is GPLv2+ - License: BSD and GPLv3+ with exceptions and GPLv2+ - URL: https://sdm.lbl.gov/fastbit/ - Source0: https://code.lbl.gov/frs/download.php/file/426/%{name}-%{version}.tar.gz - - - + # Code patch to fix format truncation issue, sent to upstream ML - Patch0: fastbit_format_truncation.patch - - - + # Code patch to fix FSF address in fbmerge.cpp, sent to upstream ML - Patch1: fastbit_fsf_address.patch - - - + # Code patch to remove indentation warnings, sent to upstream ML - Patch2: fastbit_indentation.patch - - - + # Code patch to remove unused variable warnings, sent to upstream ML - Patch3: fastbit_unused_variable.patch - - - + # Build system patch to ensure linkage to pthread - Patch10: fastbit_pthread_linkage.patch - - - + # Build system patch for tests to use compiled binaries, not libtool wrappers - Patch11: fastbit_tests_use_binaries.patch - - - + # Build system patch to avoid versioning the JNI shared library (plugin) - Patch12: fastbit_jni_avoid_version.patch - - - + # Fedora patch for java bindings to use System.load not System.loadLibrary - Patch20: fastbit_java_system_load.patch - - - + BuildRequires: autoconf - BuildRequires: automake - BuildRequires: gcc-c++ - BuildRequires: java-devel - BuildRequires: javapackages-tools - BuildRequires: perl-interpreter - - - + %description - FastBit is an open-source data processing library following the spirit of NoSQL - movement. It offers a set of searching functions supported by compressed bitmap - indexes. It treats user data in the column-oriented manner similar to - well-known database management systems such as Sybase IQ, MonetDB, and Vertica. - It is designed to accelerate user's data selection tasks without imposing undue - requirements. - - - + %package devel - Summary: FastBit development - Requires: %{name}%{?_isa} = %{version}-%{release} - %description devel - Development package for FastBit. Includes headers, libraries and man pages for - using FastBit API. - - - + %package java - Summary: FastBit Java libraries - Requires: %{name}%{?_isa} = %{version}-%{release} - %description java - FastBit API bindings for java using JNI. - - - + %prep - %autosetup -p1 -n %{name}-%{version} - - - + # remove bundled jars before build as required - rm -f java/tests/lib/commons-logging.jar - rm -f java/tests/lib/log4j-1.2.15.jar - rm -f java/tests/lib/junit-4.4.jar - - - + echo fixing permissions ... - find . -type f -perm /0111 \ - \( -name \*.cpp -or -name \*.h -or -name \*.yy -or -name \*.ll -or \ - -name \*.html -or -name README \) -print -exec chmod 0644 {} \; - - - + %build - aclocal -I tests/m4 - autoconf - automake --copy --no-force - %configure \ - --disable-static \ - --enable-contrib \ - --with-quiet-nan \ - --with-java=%{java_home} - # patch libtool to remove rpaths - sed -i 's|^hardcode_into_libs=.*|hardcode_into_libs=no|g' libtool - sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool - sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool - %make_build - - - + %check - # The test binaries need LD_LIBRARY_PATH to find the compiled fastbit library - # in the build tree. - %make_build LD_LIBRARY_PATH="%{buildroot}%{_libdir};%{_libdir}" check - - - + %install - %make_install - - - + # move jar file to _jnidir, as required - install -d -m 0755 %{buildroot}%{_jnidir} - mv %{buildroot}%{_libdir}/fastbitjni.jar %{buildroot}%{_jnidir}/%{name}.jar - chmod 0644 %{buildroot}%{_jnidir}/%{name}.jar - - - + # move JNI shared library to _libdir/name, as required - install -d -m 0755 %{buildroot}%{_libdir}/%{name} - mv %{buildroot}%{_libdir}/libfastbitjni.so %{buildroot}%{_libdir}/%{name}/ - - - + # remove libtool archives - find %{buildroot} -name \*.la | xargs rm -f - - - + %ldconfig_scriptlets - %ldconfig_scriptlets -n devel - - - + %files - %doc NEWS README - %license COPYING - %{_docdir}/%{name}/*.html - %{_bindir}/ardea - %{_bindir}/fbmerge - %{_bindir}/ibis - %{_bindir}/rara - %{_bindir}/tcapi - %{_bindir}/thula - %{_bindir}/tiapi - %{_libdir}/libfastbit.so.* - - - + %files devel - %dir %{_prefix}/include/%{name} - %{_prefix}/include/%{name}/*.{h,hh} - %{_bindir}/fastbit-config - %{_libdir}/libfastbit.so - - - + %files java - %dir %{_libdir}/%{name} - %{_libdir}/%{name}/libfastbitjni.so - %{_jnidir}/%{name}.jar - - - + %changelog - * Fri Sep 6 2019 Philip Kovacs <pkdevel> - 2.0.3-13 - - Remove unnecessary build dependencies - - Improve packaging conformance - - - + * Wed Jun 19 2019 Philip Kovacs <pkdevel> - 2.0.3-12 - - Use make_build macro instead of make - - - + * Wed Jun 19 2019 Philip Kovacs <pkdevel> - 2.0.3-11 - - Replace __make macro with make - - - + * Wed Jun 19 2019 Philip Kovacs <pkdevel> - 2.0.3-10 - - Stop using autotools macros that were removed from rpm - - - + * Thu Jan 31 2019 Fedora Release Engineering <releng> - 2.0.3-9 - - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - - - + * Fri Jul 13 2018 Fedora Release Engineering <releng> - 2.0.3-8 - - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - - - + * Fri May 25 2018 Philip Kovacs <pkdevel> - 2.0.3-7 - - Add BuildRequires javapackages-tools for needed rpm macros - - - + * Wed Mar 07 2018 Adam Williamson <awilliam> - 2.0.3-6 - - Rebuild to fix GCC 8 mis-compilation - See https://da.gd/YJVwk ("GCC 8 ABI change on x86_64") - - - + * Sat Feb 10 2018 Philip Kovacs <pkdevel> - 2.0.3-5 - - Use new ldconfig_scriptlets macro. - - - + * Wed Feb 07 2018 Fedora Release Engineering <releng> - 2.0.3-4 - - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - - - + * Tue Jan 23 2018 Philip Kovacs <pkdevel> - 2.0.3-3 - - Ensure linkage to pthread (for ld flag -z defs). - - - + * Wed Dec 20 2017 Philip Kovacs <pkdevel> - 2.0.3-2 - - Fix minor typos in spec. - - - + * Tue Oct 10 2017 Philip Kovacs <pkdevel> - 2.0.3-1 - - Packaging for Fedora. - - \ No newline at end of file Generated by fedora-review 0.7.2 (65d36bb) last change: 2019-04-09 Command line :/usr/bin/fedora-review -n fastbit Buildroot used: fedora-rawhide-x86_64 Active plugins: Java, Generic, Shell-api, C/C++ Disabled plugins: Ocaml, fonts, SugarActivity, Python, Haskell, R, Perl, PHP Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH
[!]: License field in the package spec file matches the actual license. Note: Checking patched sources after %prep for licenses. Licenses found: "Unknown or generated", "BSD 3-clause "New" or "Revised" License", "Expat License", "GPL (v2 or later)", "GPL (v3 or later)", "FSF Unlimited License (with Retention) GPL (v2 or later)", "FSF Unlimited License (with Retention)", "GNU Lesser General Public License". 254 files have unknown license. Detailed output of licensecheck in /home/mufti/review-fastbit/licensecheck.txt $ cat /home/mufti/review-fastbit/licensecheck.txt BSD 3-clause "New" or "Revised" License --------------------------------------- fastbit-2.0.3/COPYING Expat License ------------- fastbit-2.0.3/install-sh FSF Unlimited License (with Retention) -------------------------------------- fastbit-2.0.3/tests/m4/ltoptions.m4 fastbit-2.0.3/tests/m4/ltsugar.m4 fastbit-2.0.3/tests/m4/ltversion.m4 fastbit-2.0.3/tests/m4/lt~obsolete.m4 FSF Unlimited License (with Retention) GPL (v2 or later) -------------------------------------------------------- fastbit-2.0.3/tests/m4/libtool.m4 GNU Lesser General Public License --------------------------------- fastbit-2.0.3/tests/scripts/fastbit-config.in GPL (v2 or later) ----------------- fastbit-2.0.3/contrib/fbmerge/fbmerge.cpp fastbit-2.0.3/ltmain.sh GPL (v3 or later) ----------------- fastbit-2.0.3/src/fromParser.cc fastbit-2.0.3/src/fromParser.hh fastbit-2.0.3/src/location.hh fastbit-2.0.3/src/position.hh fastbit-2.0.3/src/selectParser.cc fastbit-2.0.3/src/selectParser.hh fastbit-2.0.3/src/stack.hh fastbit-2.0.3/src/whereParser.cc fastbit-2.0.3/src/whereParser.hh Unknown or generated -------------------- fastbit-2.0.3/._NEWS fastbit-2.0.3/AUTHORS fastbit-2.0.3/ChangeLog fastbit-2.0.3/INSTALL fastbit-2.0.3/Makefile.am fastbit-2.0.3/Makefile.in fastbit-2.0.3/NEWS fastbit-2.0.3/README fastbit-2.0.3/aclocal.m4 fastbit-2.0.3/compile fastbit-2.0.3/config.guess fastbit-2.0.3/config.sub fastbit-2.0.3/configure fastbit-2.0.3/configure.ac fastbit-2.0.3/contrib/Makefile.am fastbit-2.0.3/contrib/Makefile.in fastbit-2.0.3/contrib/README fastbit-2.0.3/contrib/fbmerge/Makefile.am fastbit-2.0.3/contrib/fbmerge/Makefile.in fastbit-2.0.3/contrib/fbmerge/fbmerge.sln fastbit-2.0.3/contrib/fbmerge/fbmerge.vcproj fastbit-2.0.3/depcomp fastbit-2.0.3/doc/dataDistributions.html fastbit-2.0.3/doc/dataLoading.html fastbit-2.0.3/doc/footer.html fastbit-2.0.3/doc/ibisCommandLine.html fastbit-2.0.3/doc/index.html fastbit-2.0.3/doc/indexSpec.html fastbit-2.0.3/doc/quickstart.html fastbit-2.0.3/examples/Makefile.am fastbit-2.0.3/examples/Makefile.in fastbit-2.0.3/examples/README fastbit-2.0.3/examples/ardea.cpp fastbit-2.0.3/examples/ibis.cpp fastbit-2.0.3/examples/rara.cpp fastbit-2.0.3/examples/tcapi.c fastbit-2.0.3/examples/thula.cpp fastbit-2.0.3/examples/tiapi.c fastbit-2.0.3/java/FastBit.c fastbit-2.0.3/java/FastBit.h fastbit-2.0.3/java/Makefile.am fastbit-2.0.3/java/Makefile.in fastbit-2.0.3/java/README fastbit-2.0.3/java/build.xml fastbit-2.0.3/java/gov/lbl/fastbit/FastBit.java fastbit-2.0.3/java/gov/lbl/fastbit/FastBitStringReader.java fastbit-2.0.3/java/gov/lbl/fastbit/FastBitStringReaderException.java fastbit-2.0.3/java/gov/lbl/fastbit/FastBitStringWriter.java fastbit-2.0.3/java/gov/lbl/fastbit/FastBitStringWriterException.java fastbit-2.0.3/java/milky.java fastbit-2.0.3/java/tests/README fastbit-2.0.3/java/tests/TestFastBitJava.java fastbit-2.0.3/java/tests/log4j.properties fastbit-2.0.3/missing fastbit-2.0.3/runconfig fastbit-2.0.3/src/Doxyfile fastbit-2.0.3/src/Makefile.am fastbit-2.0.3/src/Makefile.in fastbit-2.0.3/src/array_t.cpp fastbit-2.0.3/src/array_t.h fastbit-2.0.3/src/bitvector.cpp fastbit-2.0.3/src/bitvector.h fastbit-2.0.3/src/bitvector64.cpp fastbit-2.0.3/src/bitvector64.h fastbit-2.0.3/src/blob.cpp fastbit-2.0.3/src/blob.h fastbit-2.0.3/src/bord.cpp fastbit-2.0.3/src/bord.h fastbit-2.0.3/src/bordm.cpp fastbit-2.0.3/src/bundle.cpp fastbit-2.0.3/src/bundle.h fastbit-2.0.3/src/capi.cpp fastbit-2.0.3/src/capi.h fastbit-2.0.3/src/category.cpp fastbit-2.0.3/src/category.h fastbit-2.0.3/src/colValues.cpp fastbit-2.0.3/src/colValues.h fastbit-2.0.3/src/column.cpp fastbit-2.0.3/src/column.h fastbit-2.0.3/src/const.h fastbit-2.0.3/src/countQuery.cpp fastbit-2.0.3/src/countQuery.h fastbit-2.0.3/src/dictionary.cpp fastbit-2.0.3/src/dictionary.h fastbit-2.0.3/src/fastbit-config.h fastbit-2.0.3/src/fastbit-config.h.in fastbit-2.0.3/src/fileManager.cpp fastbit-2.0.3/src/fileManager.h fastbit-2.0.3/src/filter.cpp fastbit-2.0.3/src/filter.h fastbit-2.0.3/src/fromClause.cpp fastbit-2.0.3/src/fromClause.h fastbit-2.0.3/src/fromLexer.cc fastbit-2.0.3/src/fromLexer.h fastbit-2.0.3/src/fromLexer.ll fastbit-2.0.3/src/fromParser.yy fastbit-2.0.3/src/horometer.h fastbit-2.0.3/src/iapi.cpp fastbit-2.0.3/src/iapi.h fastbit-2.0.3/src/ibin.cpp fastbit-2.0.3/src/ibin.h fastbit-2.0.3/src/ibis.h fastbit-2.0.3/src/icegale.cpp fastbit-2.0.3/src/icentre.cpp fastbit-2.0.3/src/icmoins.cpp fastbit-2.0.3/src/idbak.cpp fastbit-2.0.3/src/idbak2.cpp fastbit-2.0.3/src/idirekte.cpp fastbit-2.0.3/src/idirekte.h fastbit-2.0.3/src/ifade.cpp fastbit-2.0.3/src/ikeywords.cpp fastbit-2.0.3/src/ikeywords.h fastbit-2.0.3/src/imesa.cpp fastbit-2.0.3/src/index.cpp fastbit-2.0.3/src/index.h fastbit-2.0.3/src/irange.cpp fastbit-2.0.3/src/irelic.cpp fastbit-2.0.3/src/irelic.h fastbit-2.0.3/src/iroster.cpp fastbit-2.0.3/src/iroster.h fastbit-2.0.3/src/isapid.cpp fastbit-2.0.3/src/isbiad.cpp fastbit-2.0.3/src/iskive.cpp fastbit-2.0.3/src/islice.cpp fastbit-2.0.3/src/ixambit.cpp fastbit-2.0.3/src/ixbylt.cpp fastbit-2.0.3/src/ixfuge.cpp fastbit-2.0.3/src/ixfuzz.cpp fastbit-2.0.3/src/ixpack.cpp fastbit-2.0.3/src/ixpale.cpp fastbit-2.0.3/src/ixzona.cpp fastbit-2.0.3/src/ixzone.cpp fastbit-2.0.3/src/jnatural.cpp fastbit-2.0.3/src/jnatural.h fastbit-2.0.3/src/jrange.cpp fastbit-2.0.3/src/jrange.h fastbit-2.0.3/src/mensa.cpp fastbit-2.0.3/src/mensa.h fastbit-2.0.3/src/meshQuery.cpp fastbit-2.0.3/src/meshQuery.h fastbit-2.0.3/src/part.cpp fastbit-2.0.3/src/part.h fastbit-2.0.3/src/parth.cpp fastbit-2.0.3/src/parth2d.cpp fastbit-2.0.3/src/parth3d.cpp fastbit-2.0.3/src/parth3da.cpp fastbit-2.0.3/src/parth3db.cpp fastbit-2.0.3/src/parth3dw.cpp fastbit-2.0.3/src/parti.cpp fastbit-2.0.3/src/party.cpp fastbit-2.0.3/src/qExpr.cpp fastbit-2.0.3/src/qExpr.h fastbit-2.0.3/src/quaere.cpp fastbit-2.0.3/src/quaere.h fastbit-2.0.3/src/query.cpp fastbit-2.0.3/src/query.h fastbit-2.0.3/src/resource.cpp fastbit-2.0.3/src/resource.h fastbit-2.0.3/src/rids.cpp fastbit-2.0.3/src/rids.h fastbit-2.0.3/src/selectClause.cpp fastbit-2.0.3/src/selectClause.h fastbit-2.0.3/src/selectLexer.cc fastbit-2.0.3/src/selectLexer.h fastbit-2.0.3/src/selectLexer.ll fastbit-2.0.3/src/selectParser.yy fastbit-2.0.3/src/tab.h fastbit-2.0.3/src/table.h fastbit-2.0.3/src/tafel.cpp fastbit-2.0.3/src/tafel.h fastbit-2.0.3/src/twister.h fastbit-2.0.3/src/util.cpp fastbit-2.0.3/src/util.h fastbit-2.0.3/src/utilidor.cpp fastbit-2.0.3/src/utilidor.h fastbit-2.0.3/src/whereClause.cpp fastbit-2.0.3/src/whereClause.h fastbit-2.0.3/src/whereLexer.cc fastbit-2.0.3/src/whereLexer.h fastbit-2.0.3/src/whereLexer.ll fastbit-2.0.3/src/whereParser.yy fastbit-2.0.3/tests/._js2.csv fastbit-2.0.3/tests/Makefile.am fastbit-2.0.3/tests/Makefile.in fastbit-2.0.3/tests/README fastbit-2.0.3/tests/acmpub.csv fastbit-2.0.3/tests/acmpub.v.a fastbit-2.0.3/tests/acmpub.v.b fastbit-2.0.3/tests/inRange.cpp fastbit-2.0.3/tests/jrf.cpp fastbit-2.0.3/tests/js2.csv fastbit-2.0.3/tests/marksdb.csv fastbit-2.0.3/tests/maurel.csv fastbit-2.0.3/tests/readcsv.cpp fastbit-2.0.3/tests/scripts/hcompare.pl fastbit-2.0.3/tests/scripts/jrf-check.pl fastbit-2.0.3/tests/scripts/matchCounts.pl fastbit-2.0.3/tests/scripts/printWarning.pl fastbit-2.0.3/tests/scripts/query-count.list fastbit-2.0.3/tests/scripts/star2002.sh fastbit-2.0.3/tests/setqgen.cpp fastbit-2.0.3/tests/smatch.cpp fastbit-2.0.3/tests/test0.csv fastbit-2.0.3/tests/test1.csv fastbit-2.0.3/tests/vault/acmpub-0 fastbit-2.0.3/tests/vault/acmpub-1 fastbit-2.0.3/tests/vault/acmpub-2 fastbit-2.0.3/tests/vault/hist0 fastbit-2.0.3/tests/vault/hist1 fastbit-2.0.3/tests/vault/hist2 fastbit-2.0.3/tests/vault/hist3 fastbit-2.0.3/tests/vault/hist4 fastbit-2.0.3/tests/vault/hist5 fastbit-2.0.3/tests/vault/hist6 fastbit-2.0.3/tests/vault/inRange-1 fastbit-2.0.3/tests/vault/join-1 fastbit-2.0.3/tests/vault/join-2 fastbit-2.0.3/tests/vault/join-3 fastbit-2.0.3/tests/vault/join-4 fastbit-2.0.3/tests/vault/join-5 fastbit-2.0.3/tests/vault/join-6 fastbit-2.0.3/tests/vault/join-7 fastbit-2.0.3/tests/vault/join-8 fastbit-2.0.3/tests/vault/marksdb-1 fastbit-2.0.3/tests/vault/marksdb-3 fastbit-2.0.3/tests/vault/marksdb-4 fastbit-2.0.3/tests/vault/small-1 fastbit-2.0.3/tests/vault/small-10 fastbit-2.0.3/tests/vault/small-11 fastbit-2.0.3/tests/vault/small-12 fastbit-2.0.3/tests/vault/small-2 fastbit-2.0.3/tests/vault/small-3 fastbit-2.0.3/tests/vault/small-4 fastbit-2.0.3/tests/vault/small-5 fastbit-2.0.3/tests/vault/small-6 fastbit-2.0.3/tests/vault/small-7 fastbit-2.0.3/tests/vault/smatch-1 fastbit-2.0.3/tests/vault/tcapi-3 fastbit-2.0.3/tests/vault/text-0 fastbit-2.0.3/tests/vault/thula-0 fastbit-2.0.3/tests/vault/thula-1 fastbit-2.0.3/win/FlexLexer.h fastbit-2.0.3/win/MinGW.mak fastbit-2.0.3/win/README fastbit-2.0.3/win/Win.mak fastbit-2.0.3/win/ardea.vcproj fastbit-2.0.3/win/dll.vcproj fastbit-2.0.3/win/ibis.sln fastbit-2.0.3/win/ibis.vcproj fastbit-2.0.3/win/java.vcproj fastbit-2.0.3/win/tcapi.vcproj fastbit-2.0.3/win/thula.vcproj fastbit-2.0.3/win/trydll.cpp fastbit-2.0.3/win/trydll.vcproj
[!]: Spec file according to URL is the same as in SRPM. Note: Spec file as given by url is not the same as in SRPM (see attached diff). See: (this test has no URL) Rpmlint ------- Checking: fastbit-2.0.3-13.fc31.x86_64.rpm fastbit-devel-2.0.3-13.fc31.x86_64.rpm fastbit-java-2.0.3-13.fc31.x86_64.rpm fastbit-debuginfo-2.0.3-13.fc31.x86_64.rpm fastbit-debugsource-2.0.3-13.fc31.x86_64.rpm fastbit-2.0.3-13.fc31.src.rpm fastbit.x86_64: W: shared-lib-calls-exit /usr/lib64/libfastbit.so.1.0.0 exit.5 fastbit.x86_64: W: no-manual-page-for-binary ardea fastbit.x86_64: W: no-manual-page-for-binary fbmerge fastbit.x86_64: W: no-manual-page-for-binary ibis fastbit.x86_64: W: no-manual-page-for-binary rara fastbit.x86_64: W: no-manual-page-for-binary tcapi fastbit.x86_64: W: no-manual-page-for-binary thula fastbit.x86_64: W: no-manual-page-for-binary tiapi fastbit-devel.x86_64: W: no-documentation fastbit-devel.x86_64: W: no-manual-page-for-binary fastbit-config fastbit-java.x86_64: W: no-documentation 6 packages and 0 specfiles checked; 0 errors, 11 warnings. Rpmlint (installed packages) ---------------------------- ...fastbit.x86_64: W: invalid-url URL: https://sdm.lbl.gov/fastbit/ <urlopen error [Errno -2] Name or service not known> fastbit.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libfastbit.so.1.0.0 /lib64/librt.so.1 fastbit.x86_64: W: shared-lib-calls-exit /usr/lib64/libfastbit.so.1.0.0 exit.5 fastbit.x86_64: W: no-manual-page-for-binary ardea fastbit.x86_64: W: no-manual-page-for-binary fbmerge fastbit.x86_64: W: no-manual-page-for-binary ibis fastbit.x86_64: W: no-manual-page-for-binary rara fastbit.x86_64: W: no-manual-page-for-binary tcapi fastbit.x86_64: W: no-manual-page-for-binary thula fastbit.x86_64: W: no-manual-page-for-binary tiapi fastbit-devel.x86_64: W: invalid-url URL: https://sdm.lbl.gov/fastbit/ <urlopen error [Errno -2] Name or service not known> fastbit-devel.x86_64: W: no-documentation fastbit-devel.x86_64: W: no-manual-page-for-binary fastbit-config fastbit-debugsource.x86_64: W: invalid-url URL: https://sdm.lbl.gov/fastbit/ <urlopen error [Errno -2] Name or service not known> fastbit-debuginfo.x86_64: W: invalid-url URL: https://sdm.lbl.gov/fastbit/ <urlopen error [Errno -2] Name or service not known> fastbit-java.x86_64: W: invalid-url URL: https://sdm.lbl.gov/fastbit/ <urlopen error [Errno -2] Name or service not known> fastbit-java.x86_64: W: no-documentation fastbit-java-debuginfo.x86_64: W: invalid-url URL: https://sdm.lbl.gov/fastbit/ <urlopen error [Errno -2] Name or service not known> 6 packages and 0 specfiles checked; 0 errors, 18 warnings. Unversioned so-files -------------------- fastbit-java: /usr/lib64/fastbit/libfastbitjni.so Diff spec file in url and in SRPM --------------------------------- ... - \ No newline at end of file
Please introduce yourself more clearly in the future. The spec difference problem is on your side not my issue. I will ask a packager/proven packager to get this done.
SPEC: https://src.fedoraproject.org/rpms/fastbit/blob/f30/f/fastbit.spec SRPM: https://kojipkgs.fedoraproject.org//packages/fastbit/2.0.3/13.fc30/src/fastbit-2.0.3-13.fc30.src.rpm
SPEC: https://src.fedoraproject.org/rpms/fastbit/raw/f30/f/fastbit.spec SRPM: https://kojipkgs.fedoraproject.org//packages/fastbit/2.0.3/13.fc30/src/fastbit-2.0.3-13.fc30.src.rpm
Replying to some earlier comments first: > Unversioned so-files > -------------------- > fastbit-java: /usr/lib64/fastbit/libfastbitjni.so That's OK. The file is not in the normal library lookup path. > - Package does not use a name that already exists. This is a re-review, so the package obviously exists. fedora-review could be smarter, but it's not. When using fedora-review, please remove such comments in the future from it's output when it is clear that it is wrong. > # Main package is BSD; the Bison-generated parsers are GPLv3+ with exceptions; > # contribs/fbmerge is GPLv2+ > License: BSD and GPLv3+ with exceptions and GPLv2+ This one actually should be changed. A license describes the *binary* package [1]. In this particular case, the parser parts can only be included in the package because of the license exception. As the GPLv3-exception header says, "you may distribute that work under the terms of your choice". This is exactly what is happening here: the authors are distributing fastbit under the BSD license. Please remove any mention of GPLv3+ from the License lines. Also, if fbmerge is GPLv2+, then this doesn't matter for the -devel and -java subpackages. Their license is just "BSD". [1] https://fedoraproject.org/wiki/Licensing:FAQ?rd=Licensing/FAQ#Does_the_License:_tag_cover_the_SRPM_or_the_binary_RPM.3F Otherwise, looks OK. + package name is OK + latest version + builds and installs OK + fedora-review is happy + scriptlets look OK (there are none ;)) + Provides/Requires/BR look OK Package is RE-APPROVED. Please fix the license bits when re-importing.
Zbyszek, I will make the changes you discussed and thank you for your time and effort. Phil
They restored the fastbit dist-git and unblocked the needed branches. All done.