Hi Owen, On 20/08/15 15:31, Lamar Owen wrote: > On 08/20/2015 03:44 AM, Paul Millar wrote: >> Hi guys, >> >> I previously reported that RPM building failed after the upgrade >> because of changes to macros. >> >> I've just discovered another problem: after the upgrade, binary >> payloads are compressed with xz (instead of gzip) and file digests use >> SHA-256 by default, instead of MD5. > > What versions of SL are we talking about here? What version were you > running, and what version are you running now? The problem affected three build machines: [root@vm-dcache-wn-sl6 ~]# lsb_release -a LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch Distributor ID: Scientific Description: Scientific Linux release 6.6 (Carbon) Release: 6.6 Codename: Carbon [root@sisyphus ~]# lsb_release -a LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch Distributor ID: Scientific Description: Scientific Linux release 6.6 (Carbon) Release: 6.6 Codename: Carbon [root@dcache-tb02 ~]# lsb_release -a LSB Version: :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch Distributor ID: Scientific Description: Scientific Linux release 6.2 (Carbon) Release: 6.2 Codename: Carbon All three machines were updated to the latest rpm packages (automatically by yum): [root@vm-dcache-wn-sl6 ~]# rpm -qa|grep rpm rpm-libs-4.8.0-47.el6.x86_64 redhat-rpm-config-9.0.3-44.sl6.noarch rpm-4.8.0-47.el6.x86_64 rpm-build-4.8.0-47.el6.x86_64 rpm-python-4.8.0-47.el6.x86_64 [root@sisyphus ~]# rpm -qa|grep rpm redhat-rpm-config-9.0.3-44.sl6.noarch rpm-libs-4.8.0-47.el6.x86_64 rpm-python-4.8.0-47.el6.x86_64 rpm-build-4.8.0-47.el6.x86_64 rpm-4.8.0-47.el6.x86_64 [root@dcache-tb02 ~]# rpm -qa|grep rpm rpm-python-4.8.0-47.el6.x86_64 rpm-libs-4.8.0-47.el6.x86_64 redhat-rpm-config-9.0.3-44.sl6.noarch rpm-build-4.8.0-47.el6.x86_64 rpm-4.8.0-47.el6.x86_64 The update to 4.8.0-47 introduced the dependency on redhat-rpm-config [root@sisyphus ~]# rpm -q --provides redhat-rpm-config system-rpm-config redhat-rpm-config = 9.0.3-44.sl6 [root@sisyphus ~]# rpm -q --whatrequires redhat-rpm-config no package requires redhat-rpm-config [root@sisyphus ~]# rpm -q --whatrequires system-rpm-config rpm-build-4.8.0-47.el6.x86_64 [root@sisyphus ~]# ls PreviousWorkingRPMs/ rpm-4.8.0-37.el6.x86_64.rpm rpm-libs-4.8.0-37.el6.x86_64.rpm rpm-build-4.8.0-37.el6.x86_64.rpm rpm-python-4.8.0-37.el6.x86_64.rpm [root@sisyphus ~]# rpm -q --requires -p PreviousWorkingRPMs/rpm-* | egrep '(redhat|system)-rpm-config' [root@sisyphus ~]# The file /usr/lib/rpm/redhat/macros introduces the problem by redefining the defaults to SL-5 incompatible values: [root@sisyphus ~]# egrep '_payload|filedigest' /usr/lib/rpm/redhat/macros %_source_filedigest_algorithm 8 %_binary_filedigest_algorithm 8 %_binary_payload w2.xzdio The /usr/lib/rpm/redhat/macros file is supplied by the redhat-rpm-config RPM, that the security update pulled in: [root@sisyphus ~]# rpm -qf /usr/lib/rpm/redhat/macros redhat-rpm-config-9.0.3-44.sl6.noarch HTH, Paul