make rpm-pkg broken after f8d94c4e403c kbuild: do not create intermediate...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux