From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: [PATCH rdma-core 2/5] cbuild: Properly create tarball for SuSE Date: Thu, 2 Nov 2017 11:17:38 -0600 Message-ID: <20171102171738.GP18874@ziepe.ca> References: <20171102165556.22105-1-leon@kernel.org> <20171102165556.22105-3-leon@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20171102165556.22105-3-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Leon Romanovsky Cc: Doug Ledford , linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Benjamin Drung , Nicolas Morey-Chaisemartin , Alaa Hleihel List-Id: linux-rdma@vger.kernel.org On Thu, Nov 02, 2017 at 06:55:53PM +0200, Leon Romanovsky wrote: > From: Alaa Hleihel > > 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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html