From: Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Jason Gunthorpe <jgg-uk2M96/98Pc@public.gmane.org>
Cc: Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Benjamin Drung
<benjamin.drung-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>,
Nicolas Morey-Chaisemartin
<nmoreychaisemartin-l3A5Bk7waGM@public.gmane.org>,
Alaa Hleihel <alaa-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH rdma-core 2/5] cbuild: Properly create tarball for SuSE
Date: Thu, 2 Nov 2017 19:57:35 +0200 [thread overview]
Message-ID: <20171102175735.GE16127@mtr-leonro.local> (raw)
In-Reply-To: <20171102171738.GP18874-uk2M96/98Pc@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 1686 bytes --]
On Thu, Nov 02, 2017 at 11:17:38AM -0600, Jason Gunthorpe wrote:
> On Thu, Nov 02, 2017 at 06:55:53PM +0200, Leon Romanovsky wrote:
> > From: Alaa Hleihel <alaa-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> >
> > 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?
For me too, it doesn't reproduce, most probably Alaa run it as a root.
Thanks
>
> Jason
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2017-11-02 17:57 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-02 16:55 [PATCH rdma-core 0/5] Perform package tests in Travis CI Leon Romanovsky
[not found] ` <20171102165556.22105-1-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-11-02 16:55 ` [PATCH rdma-core 1/5] cbuild: Add udev dependency to package list of SuSE Leap Leon Romanovsky
[not found] ` <20171102165556.22105-2-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-11-02 17:30 ` Nicolas Morey-Chaisemartin
2017-11-02 17:32 ` Nicolas Morey-Chaisemartin
[not found] ` <3a06c93f-aa0f-93fa-1b74-af6388051f89-l3A5Bk7waGM@public.gmane.org>
2017-11-02 17:42 ` Leon Romanovsky
[not found] ` <20171102174220.GD16127-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-11-02 18:04 ` Nicolas Morey-Chaisemartin
[not found] ` <b2493da4-396e-5d24-ffa5-2fcccb9ee85c-l3A5Bk7waGM@public.gmane.org>
2017-11-02 18:32 ` Leon Romanovsky
[not found] ` <20171102183257.GI16127-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-11-05 8:13 ` Alaa Hleihel
[not found] ` <76d45899-f1ec-bbd1-e0dd-799e1fa4a400-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2017-11-06 2:05 ` Jason Gunthorpe
[not found] ` <20171106020518.GC12187-uk2M96/98Pc@public.gmane.org>
2017-11-06 7:58 ` Alaa Hleihel
[not found] ` <aae35c17-8135-9e4b-8ff8-f92558316f95-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2017-11-06 9:15 ` Nicolas Morey-Chaisemartin
[not found] ` <c9ecd165-c670-c58b-6d7b-006140fc15af-l3A5Bk7waGM@public.gmane.org>
2017-11-06 16:57 ` Jason Gunthorpe
2017-11-02 16:55 ` [PATCH rdma-core 2/5] cbuild: Properly create tarball for SuSE Leon Romanovsky
[not found] ` <20171102165556.22105-3-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-11-02 17:17 ` Jason Gunthorpe
[not found] ` <20171102171738.GP18874-uk2M96/98Pc@public.gmane.org>
2017-11-02 17:32 ` Nicolas Morey-Chaisemartin
2017-11-02 17:57 ` Leon Romanovsky [this message]
[not found] ` <20171102175735.GE16127-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-11-02 18:12 ` Jason Gunthorpe
[not found] ` <20171102181217.GS18874-uk2M96/98Pc@public.gmane.org>
2017-11-02 18:25 ` Leon Romanovsky
[not found] ` <20171102182526.GG16127-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-11-05 8:19 ` Alaa Hleihel
2017-11-02 16:55 ` [PATCH rdma-core 3/5] travis: Add RedHat and SuSE rpmbuild support Leon Romanovsky
[not found] ` <20171102165556.22105-4-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-11-02 17:31 ` Jason Gunthorpe
[not found] ` <20171102173123.GQ18874-uk2M96/98Pc@public.gmane.org>
2017-11-02 17:34 ` Nicolas Morey-Chaisemartin
[not found] ` <8a65f42d-01d4-6c4a-1bed-b1989cdb9e70-l3A5Bk7waGM@public.gmane.org>
2017-11-02 19:44 ` Jason Gunthorpe
[not found] ` <20171102194420.GT18874-uk2M96/98Pc@public.gmane.org>
2017-11-05 9:19 ` Alaa Hleihel
2017-11-02 16:55 ` [PATCH rdma-core 4/5] buildlib/cbuild: Add Ubuntu artful Leon Romanovsky
2017-11-02 16:55 ` [PATCH rdma-core 5/5] travis: Test Debian packaging under Artful container Leon Romanovsky
[not found] ` <20171102165556.22105-6-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-11-02 17:05 ` Jason Gunthorpe
[not found] ` <20171102170554.GO18874-uk2M96/98Pc@public.gmane.org>
2017-11-02 17:18 ` Leon Romanovsky
2017-11-02 17:32 ` Leon Romanovsky
[not found] ` <20171102173255.GC16127-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-11-02 17:55 ` Jason Gunthorpe
[not found] ` <20171102175522.GR18874-uk2M96/98Pc@public.gmane.org>
2017-11-05 10:00 ` Alaa Hleihel
[not found] ` <2e2d65c2-845e-13ad-1022-a859b2fef6a7-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2017-11-05 13:30 ` Alaa Hleihel
[not found] ` <f6a250cd-dd4f-5dbe-4b1d-53f2b1f87b32-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2017-11-06 2:14 ` Jason Gunthorpe
2017-11-02 21:18 ` [PATCH rdma-core 0/5] Perform package tests in Travis CI Jason Gunthorpe
[not found] ` <20171102211851.GV18874-uk2M96/98Pc@public.gmane.org>
2017-11-05 7:17 ` Leon Romanovsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171102175735.GE16127@mtr-leonro.local \
--to=leon-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
--cc=alaa-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
--cc=benjamin.drung-EIkl63zCoXaH+58JC4qpiA@public.gmane.org \
--cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=jgg-uk2M96/98Pc@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=nmoreychaisemartin-l3A5Bk7waGM@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox