Recommended update for build, osc

Announcement ID: SUSE-RU-2017:1711-1
Rating: low
Affected Products:
  • SUSE Linux Enterprise Desktop 12 SP2
  • SUSE Linux Enterprise High Performance Computing 12 SP2
  • SUSE Linux Enterprise Server 12 SP2
  • SUSE Linux Enterprise Server for SAP Applications 12 SP2
  • SUSE Linux Enterprise Software Development Kit 12 12-SP2

An update that has five fixes can now be installed.


The Open Build Service Commander (osc) was updated to version 0.158.0, which brings many new features, enhancements and fixes:

New commands added:

  • unpublish (requires OBS 2.8)
  • blame (requires OBS 2.9)
  • comment
  • checkconstraints
  • workerinfo
  • addchannels
  • enablechannel
  • service merge
  • service wait

New options:

  • Add '--blame' option to osc meta command
  • Add '--build-opt' to osc build command
  • Add 'multibuild (-M)' to commands: buildlog, remotebuildlog, buildinfo, build, buildhistory, jobhistory, rebuild, restartbuild/abortbuild, wipebinaries, getbinaries
  • Add '--wipe' option to osc chroot for deleting buildroots
  • Add '--vm-memory' option to osc build
  • Add '--multibuild' to results command for showing all packages of a multibuild config
  • Add '--multibuild-package' option to results command for showing only one package of the multibuild config
  • Add 'osc service runall' to run all services locally, independent of the mode
  • Add 'build --vm-telnet' option for getting debug shell in KVM builds
  • Add 'buildhistory --limit' option
  • Add '--linkrev' option to branch command
  • Add '--add-repository-block' option to branch command
  • Add '--add-repository-rebuild' option to branch command

Fixes and enhancements:

  • cat/less/blame: Default to expand to stay in sync with checkout
  • Show package status when repository configuration is broken
  • Try to autodetect local package when running 'osc build'
  • Comment requests in interactive mode
  • Fix wipebinaries to prevent wiping of complete repository
  • Add compat code for older APIs that do not support multibuild
  • Fix ssl.connection instantiation in case of old M2Crypto
  • Fix local service run for non-existent (server-side) package
  • Fix local build of kiwi images using obsrepositories://
  • Show multibuild results by default
  • Support operation in checked out package for cat/less/blame
  • Highlight scheduled jobs with dispatch problems due to constraints
  • Allow to specify a log message in lock command
  • Fix "osc add" of new package container
  • Support snapcraft.yaml build descriptions
  • "osc add" of a directory offers to create an archive for uploading it
  • Support usage or preinstall images in local builds
  • Revision control options for "meta prj"
  • Support for new obs_scm services (OBS 2.7 needed)
  • Show errors on branch failures again
  • Maintenance request offers to supersede old, but still open requests
  • Support new package instances on branching when using -N parameter

For a comprehensive list of changes please refer to the package's change log.

Packages 'build', 'obs-service-format_spec_file' and 'obs-service-source_validator' also received updates bringing fixes and enhancements. Please refer to the respective change logs for a comprehensive list of changes.

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:

  • SUSE Linux Enterprise Software Development Kit 12 12-SP2
    zypper in -t patch SUSE-SLE-SDK-12-SP2-2017-1061=1

Package List:

  • SUSE Linux Enterprise Software Development Kit 12 12-SP2 (noarch)
    • obs-service-format_spec_file-20170204-3.1
    • build-20170320-8.1
    • build-initvm-s390-20170320-8.1
    • osc-0.158.0-14.1
    • build-mkbaselibs-20170320-8.1
    • build-initvm-x86_64-20170320-8.1
    • obs-service-source_validator-0.6+git20170111.82ea590-8.1