Bug 34684

Summary: bad macros (incosistent with rpmbuild)
Product: Sisyphus Reporter: Ivan Zakharyaschev <imz>
Component: rpmAssignee: placeholder <placeholder>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: minor    
Priority: P3 CC: at, glebfm, imz, lav, ldv, mike, placeholder, viy, vt
Version: unstable   
Hardware: all   
OS: Linux   

Description Ivan Zakharyaschev 2018-03-21 19:25:59 MSK
rpm-4.13.0.1-alt1.x86_64

%make_build is defined differently from rpm-build-4.0.4-alt108.x86_64 :

[builder@localhost .in]$ rpm --eval '%make_build'
[ -n "$NPROCS" ] || NPROCS=32; make -j$NPROCS
[builder@localhost .in]$ rpmbuild --eval '%make_build'
make -j${NPROCS:-32}
rpmbuild: no spec files given for build
[builder@localhost .in]$ 

[builder@localhost .in]$ fgrep make_build -r /usr/lib/rpm/ -l | xargs -I'{}' rpm -qf '{}' --qf='%{NAME}: {}\n'
rpm-build: /usr/lib/rpm/x86_64-alt-linux/macros
rpm-build: /usr/lib/rpm/noarch-alt-linux/macros
rpm: /usr/lib/rpm/platform/x86_64-linux/macros
rpm: /usr/lib/rpm/platform/sparcv9v-linux/macros
rpm: /usr/lib/rpm/platform/sparcv9-linux/macros
rpm: /usr/lib/rpm/platform/sparcv8-linux/macros
rpm: /usr/lib/rpm/platform/sparc64v-linux/macros
rpm: /usr/lib/rpm/platform/sparc64-linux/macros
rpm: /usr/lib/rpm/platform/sparc-linux/macros
rpm: /usr/lib/rpm/platform/sh4a-linux/macros
rpm: /usr/lib/rpm/platform/sh4-linux/macros
rpm: /usr/lib/rpm/platform/sh3-linux/macros
rpm: /usr/lib/rpm/platform/sh-linux/macros
rpm: /usr/lib/rpm/platform/s390x-linux/macros
rpm: /usr/lib/rpm/platform/s390-linux/macros
rpm: /usr/lib/rpm/platform/riscv64-linux/macros
rpm: /usr/lib/rpm/platform/ppcpseries-linux/macros
rpm: /usr/lib/rpm/platform/ppciseries-linux/macros
rpm: /usr/lib/rpm/platform/ppc8560-linux/macros
rpm: /usr/lib/rpm/platform/ppc8260-linux/macros
rpm: /usr/lib/rpm/platform/ppc64pseries-linux/macros
rpm: /usr/lib/rpm/platform/ppc64p7-linux/macros
rpm: /usr/lib/rpm/platform/ppc64le-linux/macros
rpm: /usr/lib/rpm/platform/ppc64iseries-linux/macros
rpm: /usr/lib/rpm/platform/ppc64-linux/macros
rpm: /usr/lib/rpm/platform/ppc32dy4-linux/macros
rpm: /usr/lib/rpm/platform/ppc-linux/macros
rpm: /usr/lib/rpm/platform/pentium4-linux/macros
rpm: /usr/lib/rpm/platform/pentium3-linux/macros
rpm: /usr/lib/rpm/platform/noarch-linux/macros
rpm: /usr/lib/rpm/platform/mipsr6el-linux/macros
rpm: /usr/lib/rpm/platform/mipsr6-linux/macros
rpm: /usr/lib/rpm/platform/mipsel-linux/macros
rpm: /usr/lib/rpm/platform/mips64r6el-linux/macros
rpm: /usr/lib/rpm/platform/mips64r6-linux/macros
rpm: /usr/lib/rpm/platform/mips64el-linux/macros
rpm: /usr/lib/rpm/platform/mips64-linux/macros
rpm: /usr/lib/rpm/platform/mips-linux/macros
rpm: /usr/lib/rpm/platform/m68k-linux/macros
rpm: /usr/lib/rpm/platform/ia64-linux/macros
rpm: /usr/lib/rpm/platform/ia32e-linux/macros
rpm: /usr/lib/rpm/platform/i686-linux/macros
rpm: /usr/lib/rpm/platform/i586-linux/macros
rpm: /usr/lib/rpm/platform/i486-linux/macros
rpm: /usr/lib/rpm/platform/i386-linux/macros
rpm: /usr/lib/rpm/platform/geode-linux/macros
rpm: /usr/lib/rpm/platform/athlon-linux/macros
rpm: /usr/lib/rpm/platform/armv7l-linux/macros
rpm: /usr/lib/rpm/platform/armv7hnl-linux/macros
rpm: /usr/lib/rpm/platform/armv7hl-linux/macros
rpm: /usr/lib/rpm/platform/armv6l-linux/macros
rpm: /usr/lib/rpm/platform/armv6hl-linux/macros
rpm: /usr/lib/rpm/platform/armv5tel-linux/macros
rpm: /usr/lib/rpm/platform/armv5tejl-linux/macros
rpm: /usr/lib/rpm/platform/armv4l-linux/macros
rpm: /usr/lib/rpm/platform/armv4b-linux/macros
rpm: /usr/lib/rpm/platform/armv3l-linux/macros
rpm: /usr/lib/rpm/platform/amd64-linux/macros
rpm: /usr/lib/rpm/platform/alphapca56-linux/macros
rpm: /usr/lib/rpm/platform/alphaev67-linux/macros
rpm: /usr/lib/rpm/platform/alphaev6-linux/macros
rpm: /usr/lib/rpm/platform/alphaev56-linux/macros
rpm: /usr/lib/rpm/platform/alphaev5-linux/macros
rpm: /usr/lib/rpm/platform/alpha-linux/macros
Comment 1 Ivan Zakharyaschev 2018-04-05 22:35:40 MSK
This happened after:

* Вс янв 07 2018 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt107
- compare_deps: fixed a bug in handling epochs.
- platform.in:
  + %optflags_core: added -frecord-gcc-switches (see: #34162);
  + %make_build: implemented as a simple command (closes: #34237).
- genCpioListAndHeader: implemented remapping of device and inode numbers
  (by Vladimir D. Seleznev and me; closes: #34398).


See https://bugzilla.altlinux.org/show_bug.cgi?id=34237
Comment 2 Repository Robot 2018-06-08 19:09:11 MSK
rpm-4.13.0.1-alt2 -> sisyphus:

Fri Jun 08 2018 Gleb F-Malinovskiy <glebfm@altlinux> 4.13.0.1-alt2
- darktemplar@:
  + Added tag RPMTAG_AUTOINSTALLED (closes: #34252);
  + spec: use strong interpackage dependencies.
- Readded armh arch support (by Sergey Bolshakov).
- librpm7: changed C: librpm to match 4.0.4-alt101.M80P.* versions from p8
  (ALT#34505).
- Synced macros definitions with rpm-build 4.0.4-alt112 (ALT#34684).
- Fixed posttrans filetriggers when different root path is used (ALT#34430).
- Changed rpm output format of non-terminal output to avoid truncation
  of package names.