Recommended update for build

Announcement ID: SUSE-RU-2020:2658-1
Rating: moderate
References:
Affected Products:
  • Development Tools Module 15-SP2
  • SUSE Linux Enterprise Desktop 15 SP2
  • SUSE Linux Enterprise High Performance Computing 15 SP2
  • SUSE Linux Enterprise Real Time 15 SP2
  • SUSE Linux Enterprise Server 15 SP2
  • SUSE Linux Enterprise Server 15 SP2 Business Critical Linux 15-SP2
  • SUSE Linux Enterprise Server for SAP Applications 15 SP2
  • SUSE Manager Proxy 4.1
  • SUSE Manager Retail Branch Server 4.1
  • SUSE Manager Server 4.1

An update that has three fixes can now be installed.

Description:

This update for build fixes the following issues:

  • fix factory version in config file (bsc#1170956)
  • add missing ignores for Leap 15.2 (bsc#1174854)
  • fix sysrq handling for KVM builds
  • avoid double removal of obscpio files
  • docker:
  • support builds using USER root statements
  • proper error handling when obs-docker-support gets called as non-root
  • helm build target support
  • support milestone handling
  • support repo files without types set (SLE 15 SP2 zypp)
  • add default substitute for system-packages:repo-creation
  • Support recursive kiwi profile usage

  • fix dependencies for Fedora 33

  • Set $YAML::XS::LoadBlessed = 0 for Appimage/Snapcraft
  • add a new variable to track build time needed for ccache eviction
  • create folder for ccache archive to be copied before rsync
  • also package pkg-config files by default into baselibs. (bsc#1172563)
  • Use shorter kernel flag for mitigations
  • Ignore, if shutdown behavior changed by build in z/VM
  • Control disk-space consumption while creating ccache archive
  • cleaning ccache
  • create folders before trying to copy ccache.tar
  • Generate .packages and .basepackages files for docker builds

  • enable sysrq operations on boot

  • Set kvm_serial_device to virtio-serial in the fixup
  • Split console arg setting code into kvm_add_console_args
  • Update for zVM to make container builds work.
  • Write to /proc/sys/kernel/hostname if the hostname command is not available
  • Use --cgroup-manager=cgroupfs when calling podman
  • Also squash by default in podman builds
  • Support different interpreters in prein/postin scriptlets
  • Use grep -E instead of egrep to check for the needsbinariesforbuild flag
  • Use new Build::Intrepo module
  • Add new Intrepo module to read/write build's internal repo format
  • remove .gz from _ccache archive as it is no longer compressed
  • Add support for Arch in build-recipe-kiwi
  • Autodetect whether to use --pipe option of systemd-nspawn.
  • Split parse_depfile() from readdeps()
  • enable compression on ccache
  • add bugzilla numbers for s390 workaround
  • extend --ccache to generate _ccache.tar.gz and implement --pkg-ccache
  • disable transparent_hugepage on s390x guests for now, causes hangs
  • set buildflavor also for Build::parse

  • Leap 15.2 config update (libzstd1 for rpm)

  • handle obscpio extraction error as fatal
  • Return correct exit code from systemd-nspawn build
  • Spec parser: do not parse included files from end to start
  • running disk full check also outside of VM
  • run disk full check only for chroot

  • Spec parser: add support for %elif, %elifarch, %elifos

  • Support rpm's %include statement (EXPERIMENTAL, known limitations)
  • Do not do vminstall expansion in expanddeps unless --vm is used

  • 15.2 config: preinstall gcrypt deps again

  • Recommends for Fedora based distros
  • support obsgendiff functionality
  • various smaller code cleanups
  • additional test cases for spec file parsing
  • various fixes for cornercases during spec file parsing

  • fix regression in && operator handling of rpm spec file parser

  • Correctly expand macros defined with %global

  • 15.2 config: temporary revert gcrypt preinstall until distro has changed

  • factory config: ignore libxtables for iproute2, not needed for ip tool
  • Follow upstream rpm changes in regard to logical ops
  • Fix macro expansion of lines containing newlines
  • add missing header file to avoid compile warnings

  • support OBS-Milestone comment for kiwi

  • switch to preinstall expansion for factory

Patch Instructions:

To install this SUSE update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  • Development Tools Module 15-SP2
    zypper in -t patch SUSE-SLE-Module-Development-Tools-15-SP2-2020-2658=1

Package List:

  • Development Tools Module 15-SP2 (noarch)
    • build-20200520-3.3.1
    • build-mkbaselibs-20200520-3.3.1

References: