* make rpm-pkg broken after f8d94c4e403c kbuild: do not create intermediate...
@ 2023-04-18 21:48 Kyle Pelton
0 siblings, 0 replies; only message in thread
From: Kyle Pelton @ 2023-04-18 21:48 UTC (permalink / raw)
To: Masahiro Yamada, Nathan Chancellor; +Cc: linux-kbuild
Hello,
I am getting the below rpm-pkg build failure after this patch was
introduced in v6.2-rc7:
f8d94c4e403c kbuild: do not create intermediate *.tar for source tarballs
If I revert the patch, the failure is gone.
Thanks,
Kyle
f8d94c4e403c kbuild: do not create intermediate *.tar for source tarballs
[root@efd6e5b39c41 linux]# RPMOPTS="--nodeps" make rpm-pkg
sh ./scripts/package/mkspec >./kernel.spec
rpmbuild --nodeps --target x86_64-linux -bs kernel.spec \
--define='_smp_mflags %{nil}' --define='_sourcedir rpmbuild/SOURCES' --define='_srcrpmdir .'
Building target platforms: x86_64-linux
Building for target x86_64-linux
Wrote: ./kernel-6.3.0_rc7_00043_gaf67688dca57-1.src.rpm
rpmbuild --nodeps --target x86_64-linux -rb kernel-6.3.0_rc7_00043_gaf67688dca57-1.src.rpm \
--define='_smp_mflags %{nil}'
Installing kernel-6.3.0_rc7_00043_gaf67688dca57-1.src.rpm
Building target platforms: x86_64-linux
Building for target x86_64-linux
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Pa04vf
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd /root/rpmbuild/BUILD
+ rm -rf linux
+ /usr/bin/gzip -dc /root/rpmbuild/SOURCES/linux.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd linux
/var/tmp/rpm-tmp.Pa04vf: line 40: cd: linux: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.Pa04vf (%prep)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.Pa04vf (%prep)
make[1]: *** [scripts/Makefile.package:69: rpm-pkg] Error 1
make: *** [Makefile:1656: rpm-pkg] Error 2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-04-18 21:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-18 21:48 make rpm-pkg broken after f8d94c4e403c kbuild: do not create intermediate Kyle Pelton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.