[Bug 2243345] Review Request: bootc - Bootable container system

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

 



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

Fabio Valentini <decathorpe@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |POST
              Flags|fedora-review?              |fedora-review+



--- Comment #14 from Fabio Valentini <decathorpe@xxxxxxxxx> ---
Strange, but OK. In this case my last request is that the package owns the
directory explicitly:

%{_prefix}/lib/bootc/ (note the trailing slash)

This prevents future headaches if this is ever replaced by a file (unlikely,
but there's currently no workaround in RPM / DNF for replacing file / directory
or the other way round, so best to avoid the situation entirely).

===

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

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


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

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.
[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.
[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.
[-]: Package contains desktop file if it is a GUI application.
[-]: 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.
[?]: Package obeys FHS, except libexecdir and /usr/target.
[-]: 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.
[-]: 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]: 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.
[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]: The License field must be a valid SPDX expression.
[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]: 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 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 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]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 8313 bytes in 1 files.
[x]: Packages must not store files under /srv, /opt or /usr/local

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

Generic:
[-]: 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).
[?]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
[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]: Fully versioned dependency in subpackages if applicable.
[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: No rpmlint messages.
[x]: Large data in /usr/share should live in a noarch subpackage if package
     is arched.


Rpmlint
-------
Checking: bootc-0.1.2-1.fc40.x86_64.rpm
          bootc-debuginfo-0.1.2-1.fc40.x86_64.rpm
          bootc-debugsource-0.1.2-1.fc40.x86_64.rpm
          bootc-0.1.2-1.fc40.src.rpm
============================ rpmlint session starts
============================
rpmlint: 2.4.0
configuration:
    /usr/lib/python3.12/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-legacy-licenses.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
rpmlintrc: [PosixPath('/tmp/tmp8cb4plr1')]
checks: 31, packages: 4

bootc.src: W: strange-permission bootc.spec 600
bootc.src: W: inconsistent-file-extension bootc-0.1.2-vendor.tar.zst
bootc.src: W: inconsistent-file-extension bootc-0.1.2.tar.zst
 4 packages and 0 specfiles checked; 0 errors, 3 warnings, 0 badness; has taken
0.9 s 




Rpmlint (debuginfo)
-------------------
Checking: bootc-debuginfo-0.1.2-1.fc40.x86_64.rpm
============================ rpmlint session starts
============================
rpmlint: 2.4.0
configuration:
    /usr/lib/python3.12/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-legacy-licenses.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
rpmlintrc: [PosixPath('/tmp/tmpczdedwni')]
checks: 31, packages: 1

 1 packages and 0 specfiles checked; 0 errors, 0 warnings, 0 badness; has taken
0.4 s 





Rpmlint (installed packages)
----------------------------
============================ rpmlint session starts
============================
rpmlint: 2.4.0
configuration:
    /usr/lib/python3.12/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-legacy-licenses.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
checks: 31, packages: 3

 3 packages and 0 specfiles checked; 0 errors, 0 warnings, 0 badness; has taken
0.4 s 



Source checksums
----------------
https://github.com/containers/bootc/releases/download/v0.1.2/bootc-0.1.2-vendor.tar.zst
:
  CHECKSUM(SHA256) this package     :
5e5967d939344d3b3bfa5bc80b59dcc57aa25329584e6289c084ec75b5d67b93
  CHECKSUM(SHA256) upstream package :
5e5967d939344d3b3bfa5bc80b59dcc57aa25329584e6289c084ec75b5d67b93
https://github.com/containers/bootc/releases/download/v0.1.2/bootc-0.1.2.tar.zst
:
  CHECKSUM(SHA256) this package     :
aedb18152aa334a5a03b18ea1b279b896494f6d28cb12944bd2d90b4cb01fff2
  CHECKSUM(SHA256) upstream package :
aedb18152aa334a5a03b18ea1b279b896494f6d28cb12944bd2d90b4cb01fff2


Requires
--------
bootc (rpmlib, GLIBC filtered):
    libc.so.6()(64bit)
    libcrypto.so.3()(64bit)
    libcrypto.so.3(OPENSSL_3.0.0)(64bit)
    libgcc_s.so.1()(64bit)
    libgcc_s.so.1(GCC_3.0)(64bit)
    libgcc_s.so.1(GCC_3.3)(64bit)
    libgcc_s.so.1(GCC_4.2.0)(64bit)
    libgio-2.0.so.0()(64bit)
    libglib-2.0.so.0()(64bit)
    libgobject-2.0.so.0()(64bit)
    libm.so.6()(64bit)
    libostree-1.so.1()(64bit)
    libostree-1.so.1(LIBOSTREE_2016.3)(64bit)
    libostree-1.so.1(LIBOSTREE_2016.4)(64bit)
    libostree-1.so.1(LIBOSTREE_2016.8)(64bit)
    libostree-1.so.1(LIBOSTREE_2017.10)(64bit)
    libostree-1.so.1(LIBOSTREE_2017.15)(64bit)
    libostree-1.so.1(LIBOSTREE_2017.7)(64bit)
    libostree-1.so.1(LIBOSTREE_2018.3)(64bit)
    libostree-1.so.1(LIBOSTREE_2018.5)(64bit)
    libostree-1.so.1(LIBOSTREE_2020.1)(64bit)
    libostree-1.so.1(LIBOSTREE_2020.7)(64bit)
    libostree-1.so.1(LIBOSTREE_2021.1)(64bit)
    libostree-1.so.1(LIBOSTREE_2021.2)(64bit)
    libostree-1.so.1(LIBOSTREE_2021.4)(64bit)
    libssl.so.3()(64bit)
    libssl.so.3(OPENSSL_3.0.0)(64bit)
    libz.so.1()(64bit)
    libz.so.1(ZLIB_1.2.3.4)(64bit)
    rtld(GNU_HASH)

bootc-debuginfo (rpmlib, GLIBC filtered):

bootc-debugsource (rpmlib, GLIBC filtered):



Provides
--------
bootc:
    bootc
    bootc(x86-64)
    bundled(crate(addr2line))
    bundled(crate(adler))
    bundled(crate(aho-corasick))
    bundled(crate(ambient-authority))
    bundled(crate(android-tzdata))
    bundled(crate(android_system_properties))
    bundled(crate(anstream))
    bundled(crate(anstyle))
    bundled(crate(anstyle-parse))
    bundled(crate(anstyle-query))
    bundled(crate(anstyle-wincon))
    bundled(crate(anyhow))
    bundled(crate(async-compression))
    bundled(crate(autocfg))
    bundled(crate(backtrace))
    bundled(crate(base64))
    bundled(crate(bitflags))
    bundled(crate(block-buffer))
    bundled(crate(bumpalo))
    bundled(crate(bytes))
    bundled(crate(camino))
    bundled(crate(cap-primitives))
    bundled(crate(cap-std))
    bundled(crate(cap-std-ext))
    bundled(crate(cap-tempfile))
    bundled(crate(cc))
    bundled(crate(cfg-expr))
    bundled(crate(cfg-if))
    bundled(crate(chrono))
    bundled(crate(clap))
    bundled(crate(clap_builder))
    bundled(crate(clap_derive))
    bundled(crate(clap_lex))
    bundled(crate(clap_mangen))
    bundled(crate(colorchoice))
    bundled(crate(console))
    bundled(crate(containers-image-proxy))
    bundled(crate(core-foundation-sys))
    bundled(crate(cpufeatures))
    bundled(crate(crc32fast))
    bundled(crate(crypto-common))
    bundled(crate(darling))
    bundled(crate(darling_core))
    bundled(crate(darling_macro))
    bundled(crate(derive_builder))
    bundled(crate(derive_builder_core))
    bundled(crate(derive_builder_macro))
    bundled(crate(digest))
    bundled(crate(dyn-clone))
    bundled(crate(encode_unicode))
    bundled(crate(equivalent))
    bundled(crate(errno))
    bundled(crate(errno-dragonfly))
    bundled(crate(fastrand))
    bundled(crate(filetime))
    bundled(crate(flate2))
    bundled(crate(fn-error-context))
    bundled(crate(fnv))
    bundled(crate(foreign-types))
    bundled(crate(foreign-types-shared))
    bundled(crate(fs-set-times))
    bundled(crate(futures-channel))
    bundled(crate(futures-core))
    bundled(crate(futures-executor))
    bundled(crate(futures-io))
    bundled(crate(futures-macro))
    bundled(crate(futures-sink))
    bundled(crate(futures-task))
    bundled(crate(futures-util))
    bundled(crate(generic-array))
    bundled(crate(getrandom))
    bundled(crate(getset))
    bundled(crate(gimli))
    bundled(crate(gio))
    bundled(crate(gio-sys))
    bundled(crate(glib))
    bundled(crate(glib-macros))
    bundled(crate(glib-sys))
    bundled(crate(gobject-sys))
    bundled(crate(gvariant))
    bundled(crate(gvariant-macro))
    bundled(crate(hashbrown))
    bundled(crate(heck))
    bundled(crate(hermit-abi))
    bundled(crate(hex))
    bundled(crate(hmac))
    bundled(crate(iana-time-zone))
    bundled(crate(iana-time-zone-haiku))
    bundled(crate(ident_case))
    bundled(crate(indexmap))
    bundled(crate(indicatif))
    bundled(crate(instant))
    bundled(crate(io-extras))
    bundled(crate(io-lifetimes))
    bundled(crate(ipnet))
    bundled(crate(itoa))
    bundled(crate(js-sys))
    bundled(crate(lazy_static))
    bundled(crate(libc))
    bundled(crate(liboverdrop))
    bundled(crate(libsystemd))
    bundled(crate(libz-sys))
    bundled(crate(linux-raw-sys))
    bundled(crate(log))
    bundled(crate(matchers))
    bundled(crate(maybe-owned))
    bundled(crate(memchr))
    bundled(crate(memoffset))
    bundled(crate(minimal-lexical))
    bundled(crate(miniz_oxide))
    bundled(crate(mio))
    bundled(crate(nix))
    bundled(crate(nom))
    bundled(crate(nu-ansi-term))
    bundled(crate(num-traits))
    bundled(crate(number_prefix))
    bundled(crate(object))
    bundled(crate(oci-spec))
    bundled(crate(olpc-cjson))
    bundled(crate(once_cell))
    bundled(crate(openssl))
    bundled(crate(openssl-macros))
    bundled(crate(openssl-sys))
    bundled(crate(ostree))
    bundled(crate(ostree-ext))
    bundled(crate(ostree-sys))
    bundled(crate(overload))
    bundled(crate(pin-project))
    bundled(crate(pin-project-internal))
    bundled(crate(pin-project-lite))
    bundled(crate(pin-utils))
    bundled(crate(pkg-config))
    bundled(crate(portable-atomic))
    bundled(crate(ppv-lite86))
    bundled(crate(proc-macro-crate))
    bundled(crate(proc-macro-error))
    bundled(crate(proc-macro-error-attr))
    bundled(crate(proc-macro2))
    bundled(crate(quote))
    bundled(crate(rand))
    bundled(crate(rand_chacha))
    bundled(crate(rand_core))
    bundled(crate(redox_syscall))
    bundled(crate(ref-cast))
    bundled(crate(ref-cast-impl))
    bundled(crate(regex))
    bundled(crate(regex-automata))
    bundled(crate(regex-syntax))
    bundled(crate(roff))
    bundled(crate(rustc-demangle))
    bundled(crate(rustix))
    bundled(crate(ryu))
    bundled(crate(schemars))
    bundled(crate(schemars_derive))
    bundled(crate(semver))
    bundled(crate(serde))
    bundled(crate(serde_derive))
    bundled(crate(serde_derive_internals))
    bundled(crate(serde_json))
    bundled(crate(serde_spanned))
    bundled(crate(serde_with))
    bundled(crate(serde_with_macros))
    bundled(crate(serde_yaml))
    bundled(crate(sha2))
    bundled(crate(sharded-slab))
    bundled(crate(signal-hook-registry))
    bundled(crate(slab))
    bundled(crate(smallvec))
    bundled(crate(socket2))
    bundled(crate(strsim))
    bundled(crate(subtle))
    bundled(crate(syn))
    bundled(crate(system-deps))
    bundled(crate(tar))
    bundled(crate(target-lexicon))
    bundled(crate(tempfile))
    bundled(crate(terminal_size))
    bundled(crate(thiserror))
    bundled(crate(thiserror-impl))
    bundled(crate(thread_local))
    bundled(crate(tinyvec))
    bundled(crate(tinyvec_macros))
    bundled(crate(tokio))
    bundled(crate(tokio-macros))
    bundled(crate(tokio-stream))
    bundled(crate(tokio-util))
    bundled(crate(toml))
    bundled(crate(toml_datetime))
    bundled(crate(toml_edit))
    bundled(crate(tracing))
    bundled(crate(tracing-attributes))
    bundled(crate(tracing-core))
    bundled(crate(tracing-log))
    bundled(crate(tracing-subscriber))
    bundled(crate(typenum))
    bundled(crate(unicode-ident))
    bundled(crate(unicode-normalization))
    bundled(crate(unicode-width))
    bundled(crate(unsafe-libyaml))
    bundled(crate(utf8parse))
    bundled(crate(uuid))
    bundled(crate(valuable))
    bundled(crate(vcpkg))
    bundled(crate(version-compare))
    bundled(crate(version_check))
    bundled(crate(wasi))
    bundled(crate(wasm-bindgen))
    bundled(crate(wasm-bindgen-backend))
    bundled(crate(wasm-bindgen-macro))
    bundled(crate(wasm-bindgen-macro-support))
    bundled(crate(wasm-bindgen-shared))
    bundled(crate(winapi))
    bundled(crate(winapi-i686-pc-windows-gnu))
    bundled(crate(winapi-x86_64-pc-windows-gnu))
    bundled(crate(windows))
    bundled(crate(windows-sys))
    bundled(crate(windows-targets))
    bundled(crate(windows_aarch64_gnullvm))
    bundled(crate(windows_aarch64_msvc))
    bundled(crate(windows_i686_gnu))
    bundled(crate(windows_i686_msvc))
    bundled(crate(windows_x86_64_gnu))
    bundled(crate(windows_x86_64_gnullvm))
    bundled(crate(windows_x86_64_msvc))
    bundled(crate(winnow))
    bundled(crate(winx))
    bundled(crate(xattr))
    bundled(crate(xshell))
    bundled(crate(xshell-macros))

bootc-debuginfo:
    bootc-debuginfo
    bootc-debuginfo(x86-64)
    debuginfo(build-id)

bootc-debugsource:
    bootc-debugsource
    bootc-debugsource(x86-64)



Diff spec file in url and in SRPM
---------------------------------
--- /home/deca/Downloads/2243345-bootc/srpm/bootc.spec  2023-10-20
20:06:47.357397886 +0200
+++ /home/deca/Downloads/2243345-bootc/srpm-unpacked/bootc.spec 2023-10-20
02:00:00.000000000 +0200
@@ -1,2 +1,12 @@
+## START: Set by rpmautospec
+## (rpmautospec version 0.3.5)
+## RPMAUTOSPEC: autorelease, autochangelog
+%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
+    release_number = 1;
+    base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
+    print(release_number + base_release_number - 1);
+}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
+## END: Set by rpmautospec
+
 %bcond_without check

@@ -61,4 +71,4 @@

 %changelog
-%autochangelog
-
+* Fri Oct 20 2023 John Doe <packager@xxxxxxxxxxx> - 0.1.2-1
+- Uncommitted changes

===

Please take care to import the correct spec file when importing this package
(i.e. the one that is *not* from the SRPM / has not been processed with
rpmautospec).

If you want to switch to not building against vendored dependencies in the
future, the Rust SIG should be able to help with packaging / maintaining
missing dependencies (looks like there aren't many of those).

I would also recommend to turn on monitoring for this package on
koschei.fedoraproject.org and set it up on release-monitoring.org.


-- 
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
https://bugzilla.redhat.com/show_bug.cgi?id=2243345

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202243345%23c14
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




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

  Powered by Linux