Re: [PATCH rdma-core 2/5] cbuild: Properly create tarball for SuSE

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

 



Same here. Cannot reproduce the original issue...

Le 02/11/2017 à 18:17, Jason Gunthorpe a écrit :
> On Thu, Nov 02, 2017 at 06:55:53PM +0200, Leon Romanovsky wrote:
>> From: Alaa Hleihel <alaa@xxxxxxxxxxxx>
>>
>> The tarball was not created at the expected path by SUSE scripts,
>> causing rpmbuild to fail with the following error:
>> error: File /usr/src/packages/SOURCES/rdma-core-16.tar.gz: No such file or directory
>>
>> This patch fixes the issue by adding ".rpmmacros" file to root's home
>> folder and sets "%_topdir" to the path where we place the source tarball.
> Alaa,
>
> I'm not certain what this patch is about, I don't see these errors
> here:
>
> $ buildlib/cbuild pkg opensuse-42.2 
> Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JSkP2f
> + umask 022
> + cd /home/jgg/rpmbuild/BUILD
> + cd /home/jgg/rpmbuild/BUILD
> + rm -rf rdma-core-16
> + /usr/bin/gzip -dc /home/jgg/rpmbuild/SOURCES/rdma-core-16.tar.gz
> + /bin/tar -xf -
> + STATUS=0
> + '[' 0 -ne 0 ']'
> + cd rdma-core-16
> + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
> + exit 0
> Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rzpkKs
> + umask 022
> + cd /home/jgg/rpmbuild/BUILD
> + /usr/bin/rm -rf /home/jgg/rpmbuild/BUILDROOT/rdma-core-16-0.x86_64
> ++ dirname /home/jgg/rpmbuild/BUILDROOT/rdma-core-16-0.x86_64
> + /usr/bin/mkdir -p /home/jgg/rpmbuild/BUILDROOT
> + /usr/bin/mkdir /home/jgg/rpmbuild/BUILDROOT/rdma-core-16-0.x86_64
> + cd rdma-core-16
>
> How can you be getting such a significantly different result?
>
> Are you running cbuild as root or something? What is the docker
> command the script uses?
>
> Jason
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux