FEDORA-EPEL-2020-5a84e15907 created by praiskup 4 months ago for Fedora EPEL 8
stable

Sumup is in upstream release notes

mock-2.2-1

  • depend on mock-configs, not mock-core-configs so users can pick an alternative package with configuration
  • bind-mounting stuff below /tmp into bootstrap is fixed with nspawn (GH#502)
  • don't do util.getAddtlReqs when 'more_buildreqs' not specified
  • implement doOutChroot() abstraction which runs commands either in bootstrap or on host, depending on isolation={nspawn|simple}
  • use doOutChroot() for package_state plugin (GH#525)
  • fix for "mock --chroot -- cmd arg1 arg2" use-case
  • site-defaults.cfg moved from /etc to %%doc, and the config file is now provided by mock-core-configs (GH#555)
  • bootstrap: expand dnf vars in local repo bind-mounts (#1815703)
  • bootstrap: bindmount local metalink/mirrorlist (#1816696)
  • config_opts['isolation'] option invented, replaces 'use_nspawn'
  • 'isolation' is now set to 'auto' (means 'nspawn' with fallback to 'simple', (GH#337, otaylor@fishsoup.net)
  • Fedora Toolbox && bootstrap - don't re-bind-mount dev files, and fix installation of filesystem.rpm from bootstrap to normal chroot (GH#550)
  • re-define %%python3_pkgversion on el7 (GH#545)
  • docker use-case: use getpass.getuser() instead of os.getlogin() (GH#551)
  • set LANG to C.UTF-8 by default, even if host has different value (GH#451)
  • bootstrap: use configured yum commands (GH#518, paul@city-fan.org)
  • fixup doubled-logs by predictable bootstrap resultdir (GH#539, #1805631)
  • fix --chain --isolation=simple with external URLs (GH#542)
  • option --orphanskill fixed for --isolation=simple --bootstrap-chroot
  • orphan processes are now also killed "postyum", right after the installation trasactions are executed to also kill daemons started from scriptlets (GH#183)
  • EL7 fix - use 'private' mount option for <bootsrap_root>/<root>, not 'rprivate'
  • ceanup rpmdb before checking installed packages (fixes builds against target chroots that have different rpmdb backend, e.g. SQLite on F33+)

mock-core-configs-32.6-1

  • the site-defaults.cfg file moved from mock to mock-core-configs
  • new option config_opts['isolation'], obsoletes 'use_nspawn'
  • declare minimal version of mock, and set this to v2.2 as we use the new 'isolation' config option now, and we provide site-defaults.cfg file
  • specify amazonlinux bootstrap image, to fix --use-bootstrap-image
  • allow to replace mock-core-configs by packages that 'Provides: mock-configs'
  • rpmlint: remove macro in comment

mock 2.1

  • depend on mock-core-configs >= 32.4
  • new build-time testsuite
  • accept return code 0 from rpmbuild -br (thrnciar@redhat.com)
  • bootstrap: bind-mount the inner root mount with rprivate
  • new ssl_ca_bundle_path option
  • chain: don't run buildroot.finalize() for each package
  • don't fail when /etc/pki certs are not found (frostyx@email.cz)
  • lvm_root: fix --scrub=all
  • exclude plugin compiled stuff packaged in sub-packages
  • keep trailing newlines in jinja expand
  • sign-plugin: use %%(rpms) variable expansion again
  • bootstrap: bind-mount also baseurl=/absolute/dir repos
  • 'dnf.conf' config is now equivalent to 'yum.conf'
  • don't emit unneeded warning for missing yum (remi@remirepo.net)
  • allow --install /usr/bin/time [GH#474] (miroslav@suchy.cz)

mock 32.4

  • disable package_state plugin for openmandriva 4.0/Cooker
  • Mageia 6 is EOL
  • opensuse: copy ssl ca bundle to correct path

mock

  • log reasons why src.rpm can not be installed into chroot
  • nspawn: non-interactive commands in chroot are executed with --pipe
  • bind mount local repos to bootstrap chroot (dturecek@redhat.com)
  • expand the generated config (includes) completely before passing it to eval() (sergio@serjux.com)
  • do not ignore cleanup_on_success when post_install is True (logans@cottsay.net)
  • fix fd resource-leak in 'mock --chain' (jcajka@redhat.com)
  • the --debug-config option only shows the differences from the mock's default configuration
  • do not expand jinja for --debug-config
  • don't use chroot.pkg_manager in podman case, we need to install from within the container
  • --use-bootstrap-image implies --bootstrap-chroot
  • drop python2 support from spec file, and code too
  • ammend man page and state that --dnf is the default now
  • rename --{old,new}-chroot to --isolation
  • turn ON the jinja rendering a bit earlier
  • pre-populate loop devices in nspawn chroot as with --isolation=chroot
  • deepcopy the plugin_conf options from chroot to bootstrap_chroot
  • simplified implementation of include() config option, accept relative files (jkadlcik@redhat.com, sergio@serjux.com)
  • lvm_root: fix volume removal in --scrub
  • bootstrap: don't install shadow-utils, and distribution-gpg-keys
  • make --sources optional for --buildsrpm mode (sisi.chlupova@gmail.com)
  • bootstrap: bind-mount normal chroot into bootstrap chroot recursively
  • add --scrub=bootstrap parameter (frostyx@email.cz)
  • don't clean bootstrap with --clean
  • do not call traceLog decorator when no tracing
  • pre-create builddir before changing it's owner, and when we have proper process privileges
  • copy /etc/pki/ca-trust/extracted into chroot [GH#397]
  • change default of 'package_manager' to 'dnf'
  • always copy distribution-gpg-keys into chroot [GH#308]
  • support DNF vars added [GH#346]
  • use jinja macros instead of python variable expansion
  • get the text representation of error code
  • --scrub=all also does --scrub=bootstrap (jkadlcik@redhat.com)
  • success/fail aren't created root-owned
  • compress_logs: setup defaults to 'gzip'
  • raise error for --localrepo without --chain
  • detect that forcearch can not work, and raise obvious error
  • drop unnecessary privilege escalations which only make unnecessary root-owned files
  • solve yum.conf vs. dnf.conf inconsistency in code and config
  • fix mockchain with --bootstrap-chroot (issue/469)
  • document 'mock --chain -c' in man page

mock-core-configs

  • solve yum.conf vs. dnf.conf inconsistency in config and code
  • add F32 configs and move rawhide to F33
  • make compatibility changes with mock 2.0
  • allow host overrides (build-time for now)
  • use jinja for gpgkey= in rawhide template
  • add rhel-{7,8}-s390x configs
  • drop rhel-8-ppc64, it was never supported
  • fix rhel-7 configs
  • update epel-8 config template to include modular repos as well as missing non-modular source repo (mmathesi@redhat.com)
  • drop for a long time useless epel-6-ppc64 config
  • use template for opensuse, openmandriva, mageia, epel, custom ...
  • fix epel-6.tpl config bug
  • set default podman image for centos-stream
  • remove aarch64 string from repo name in template [#1780977]
  • EOL F29 configs
  • fix rhelepel configs
  • allow including configs and templates from relative path (frostyx@email.cz)
  • configs: drop cost=2000 from fedora-31+-i386
  • add missing metadata_expire=0 to epel configs
  • change default of 'package_manager' to 'dnf', and use 'dnf.conf'
  • remove rhelbeta-8-*
  • fixed mageia, opensuse and mandriva configs
  • fixed fedora 31+ i386 configs

This update has been submitted for testing by praiskup.

4 months ago

This update's test gating status has been changed to 'waiting'.

4 months ago

This update has obsoleted mock-2.0-2.el8, and has inherited its bugs and notes.

4 months ago

This update's test gating status has been changed to 'ignored'.

4 months ago

praiskup edited this update.

4 months ago

praiskup edited this update.

4 months ago

This update has been pushed to testing.

4 months ago
User Icon mkutlak provided feedback 4 months ago
karma

This update can be pushed to stable now if the maintainer wishes

4 months ago

praiskup edited this update.

New build(s):

  • mock-core-configs-32.5-1.el8

Removed build(s):

  • mock-core-configs-32.4-1.el8

Karma has been reset.

4 months ago

This update has been submitted for testing by praiskup.

4 months ago

This update has been pushed to testing.

4 months ago

praiskup edited this update.

New build(s):

  • mock-2.2-1.el8
  • mock-core-configs-32.6-1.el8

Removed build(s):

  • mock-2.1-1.el8
  • mock-core-configs-32.5-1.el8

Karma has been reset.

3 months ago

This update has been submitted for testing by praiskup.

3 months ago

praiskup edited this update.

3 months ago

praiskup edited this update.

3 months ago

This update's test gating status has been changed to 'greenwave_failed'.

3 months ago

This update's test gating status has been changed to 'ignored'.

3 months ago

This update has been pushed to testing.

3 months ago
User Icon tdawson commented & provided feedback 3 months ago
karma

Installs correctly. Works correctly for me.

User Icon tdawson commented & provided feedback 3 months ago
karma

Installs correctly. Works correctly for me.

This update can be pushed to stable now if the maintainer wishes

3 months ago
User Icon robert provided feedback 3 months ago
karma
User Icon jpena commented & provided feedback 3 months ago
karma

I have an issue with this version, when building a package with --postinstall. In that case, mock fails to find the built package. For example:

$ mock --rebuild -r epel-8-x86_64 --postinstall python-distroinfo-0.3.2-2.el8.src.rpm

Using [1] as test source RPM. I get the following log message:

Can not load RPM file: /var/lib/mock/epel-8-x86_64/result/python3-distroinfo-0.3.2-2.el8.noarch.rpm. Could not open: /var/lib/mock/epel-8-x86_64/result/python3-distroinfo-0.3.2-2.el8.noarch.rpm WARNING: Failed install built packages

As a workaround, I can use --no-bootstrap-chroot, but the default configuration is broken.

Would it help if I open an issue on GitHub or BZ?

[1] - https://kojipkgs.fedoraproject.org//packages/python-distroinfo/0.3.2/2.el8/src/python-distroinfo-0.3.2-2.el8.src.rpm

Bodhi is disabling automatic push to stable due to negative karma. The maintainer may push manually if they determine that the issue is not severe.

3 months ago
User Icon jpena commented & provided feedback 3 months ago
karma

I have an issue with this version, when building a package with --postinstall. In that case, mock fails to find the built package. For example:

$ mock --rebuild -r epel-8-x86_64 --postinstall python-distroinfo-0.3.2-2.el8.src.rpm

Using [1] as test source RPM. I get the following log message:

Can not load RPM file: /var/lib/mock/epel-8-x86_64/result/python3-distroinfo-0.3.2-2.el8.noarch.rpm. Could not open: /var/lib/mock/epel-8-x86_64/result/python3-distroinfo-0.3.2-2.el8.noarch.rpm WARNING: Failed install built packages

As a workaround, I can use --no-bootstrap-chroot, but the default configuration is broken.

Would it help if I open an issue on GitHub or BZ?

[1] - https://kojipkgs.fedoraproject.org//packages/python-distroinfo/0.3.2/2.el8/src/python-distroinfo-0.3.2-2.el8.src.rpm

User Icon jpena commented & provided feedback 3 months ago
karma

Sorry for the double-comment, it looked like the Bodhi UI tricked me.

User Icon praiskup commented & provided feedback 3 months ago

@jpena, thanks for the update. Please use --no-bootstrap-chroot if you want to use --postinstall. The --postinstall option is not yet fixed, and fix will be in v2.3 hopefully. I don't want to skip the update only because of this small problem (ie fedora got the updates, and nobody noticed this so far).

Thanks for the upstream report: https://github.com/rpm-software-management/mock/issues/564

User Icon praiskup commented & provided feedback 3 months ago

@jpena, thanks for the update. Please use --no-bootstrap-chroot if you want to use --postinstall. The --postinstall option is not yet fixed, and fix will be in v2.3 hopefully. I don't want to skip the update only because of this small problem (ie fedora got the updates, and nobody noticed this so far).

Thanks for the upstream report: https://github.com/rpm-software-management/mock/issues/564

User Icon praiskup commented & provided feedback 3 months ago

@jpena, thanks for the update. Please use --no-bootstrap-chroot if you want to use --postinstall. The --postinstall option is not yet fixed, and fix will be in v2.3 hopefully. I don't want to skip the update only because of this small problem (ie fedora got the updates, and nobody noticed this so far).

Thanks for the upstream report: https://github.com/rpm-software-management/mock/issues/564

User Icon praiskup commented & provided feedback 3 months ago

Meh, yeah, bodhi sucks these days :-( anyways, since the negative karma turned off the auto push - I will very likely push the update to stable anyways once it is in 30 days of testing. Unless some much more serious problems appear.

This update has been submitted for stable by praiskup.

2 months ago

This update has been pushed to stable.

2 months ago

Please login to add feedback.

Metadata
Type
bugfix
Karma
1
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-4
Stable by Karma
disabled
Stable by Time
disabled
Dates
submitted
4 months ago
in testing
3 months ago
in stable
2 months ago
modified
3 months ago
BZ#1672984 mock --buildsrpm requires --sources when there are zero sources in the spec file
0
0
BZ#1694420 [abrt] mock: rmtree(): util.py:231:rmtree:PermissionError: [Errno 13] Permission denied: '/var/lib/mock/fedora-29-x86_64/root/builddir/build/SOURCES'
0
0
BZ#1740421 selinux is preventing mock-1.4.17-1 from executing RPM scriptlets
0
0
BZ#1743843 Builds fail with use_bootstrap_container experimental feature enabled
0
0
BZ#1762728 [lvm] can't scrub volume
0
0
BZ#1767417 --forcearch doesn't warn/fail if you don't have qemu-user-static installed
0
0
BZ#1772598 use_bootstrap_image doesn't use proxy
0
0
BZ#1802930 unwanted output in quiet mode
0
0
BZ#1805179 Mock does not work with LVM plugin when bootstrap enabled
0
0
BZ#1806039 config_opts['yum.conf'] was changed to config_opts['dnf.conf'], breaking things
0
0
BZ#1806482 Doing `flatpak-module local-build` against mock-2 causes "ValueError: too deep jinja re-evaluation on '...'"
0
0
BZ#1806577 Macros for "sign" plugin are not expanded
0
0

Automated Test Results