FEDORA-2017-77cb570c74 created by msuchy 3 years ago for Fedora 25
stable

There are new features:

  • All chroot (but rawhide) configs now contains best=1. This way DNF will always try to install latest package. If its dependence cannot be satisfied DNF will report an error. Without this DNF may silently install some older version which does not have broken deps. This is fine for regular user, but not for buildsystems, where maintainers usually want to use latest version. Note that this change may result in sudden build failure, which previously silently succedded. In this case, please check your BuildRequires and ask maintainers of those build deps to resolve broken dependency. This option was not added to rawhide chroots as there are broken dependencied very often. Additionaly option best=1 is used for repos passed to mockchain using -a option.
  • new config for epel-7-aarch64 chroot
  • You can use new variable hostname: config_opts['hostname'] = 'my.own.hostname' This unconditionally calls sethostname(), however variable use_container_host_hostname or %_buildhost macro can override this.
  • Use DNF on RHEL, when it is installed and configured #1405783
  • Temporary directories now use tmp.mock. prefix.
  • Temporary directories are now removed even when buildroot is not cleaned.
  • Add bash completion for .cfg files outside /etc/mock #20

There are some bugfixes:

  • Handle working directories which contains spaces #1389663
  • Error: is not iterable #1387895
  • Delay mounting of user-defined mountpoints #1386544
  • Added example how to use more_buildreqs when you need more packages
  • Added example how to use --plugin-option

How to install

sudo dnf upgrade --advisory=FEDORA-2017-77cb570c74

This update has been submitted for testing by msuchy.

3 years ago

This update has been pushed to testing.

3 years ago
User Icon cserpentis commented & provided feedback 3 years ago
karma

works for me

User Icon rathann commented & provided feedback 3 years ago

It seems mock grew a dependency on SMTP daemon and redhat-lsb-core (due to a new dependency on python3-distro), which is not documented in the package changelog or the release notes above. Please explain why I have to have an MTA installed on a development machine? This update pulls in 8 new packages in total without any explanation:

ed
m4
python3-distro
redhat-lsb-core
redhat-lsb-submod-security
spax
(something providing smtpdaemon)
util-linux-user
User Icon heikoada commented & provided feedback 3 years ago
karma

LGTM

User Icon msuchy commented & provided feedback 3 years ago

@rathan it was because of python-distro (which we need because python obsoleted platform.distro()), which requires lsb_release because of https://github.com/nir0s/distro/pull/144 This is fixed in latest version. I just create update for python-distro, which changed this deps to soft dep.

This update has been submitted for stable by bodhi.

3 years ago
User Icon filiperosset commented & provided feedback 3 years ago
karma

no regressions noted on simple local builds

This update has been pushed to stable.

3 years ago

Please login to add feedback.

Metadata
Type
enhancement
Karma
3
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-3
Stable by Karma
3
Stable by Time
disabled
Dates
submitted
3 years ago
in testing
3 years ago
in stable
3 years ago
BZ#1386544 bind mounting a dir to homedir wipes the dir (outside chroot) when cleaning
0
0
BZ#1387895 TypeError: can only join an iterable
0
0
BZ#1389663 mock fails when the current working directory name contains spaces.
0
0
BZ#1397965 Latest mock for el7 ver 1.2.21 doesn't contain gpg primary key for fedora25
0
0
BZ#1398373 bash-completion doesn't support config files outside /etc/mock
0
0
BZ#1405783 mock: Does not use DNF to set up Fedora build roots
0
0

Automated Test Results