[Gluster-devel] [smoke failure] Permission denied error while install-pygluypPYTHON

Niels de Vos ndevos at redhat.com
Thu May 12 09:03:35 UTC 2016


On Thu, May 12, 2016 at 02:01:43PM +0530, Aravinda wrote:
> I checked the Makefile.am and configure.ac of glupy, looks good to me. I
> don't think we have issue in glupy.
> 
> If we run make install with DESTDIR empty then
> `${DESTDIR}/usr/lib/python2.6/site-packages/gluster` will become
> /usr/lib/python2.6/site-packages/gluster. So we will get that error.
> 
> For example,
>     DESTDIR= make install
>     or
>     make install DESTDIR=
> 
> Can we check how we are executing smoke test?

I think it is this script, no DESTDIR in there:

  https://github.com/gluster/glusterfs-patch-acceptance-tests/blob/master/build.sh

My guess is that the --prefix ./configure option is not honoured?

Niels


> 
> regards
> Aravinda
> 
> On 05/12/2016 12:29 PM, Niels de Vos wrote:
> > On Thu, May 12, 2016 at 01:14:07AM -0400, Raghavendra Gowdappa wrote:
> > > https://build.gluster.org/job/smoke/27674/console
> > > 
> > > 06:09:06 /bin/mkdir: cannot create directory `/usr/lib/python2.6/site-packages/gluster': Permission denied
> > > 06:09:06 make[6]: *** [install-pyglupyPYTHON] Error 1
> > This definitely is a bug in the installation of glupy. Nothing should
> > get installed under /usr, teh installation process is instructed to do
> > its install under /build/install.
> > 
> > Did someone file a bug for this yet?
> > 
> > Thanks,
> > Niels
> > 
> > > 06:09:06 make[5]: *** [install-am] Error 2
> > > 06:09:06 make[4]: *** [install-recursive] Error 1
> > > 06:09:06 make[3]: *** [install-recursive] Error 1
> > > 06:09:06 make[2]: *** [install-recursive] Error 1
> > > 06:09:06 make[1]: *** [install-recursive] Error 1
> > > 06:09:06 make: *** [install-recursive] Error 1
> > > 06:09:06 Build step 'Execute shell' marked build as failure
> > > 06:09:06 Finished: FAILURE
> > > 
> > > regards,
> > > Raghavendra
> > > _______________________________________________
> > > Gluster-devel mailing list
> > > Gluster-devel at gluster.org
> > > http://www.gluster.org/mailman/listinfo/gluster-devel
> > > 
> > > 
> > > _______________________________________________
> > > Gluster-devel mailing list
> > > Gluster-devel at gluster.org
> > > http://www.gluster.org/mailman/listinfo/gluster-devel
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://www.gluster.org/pipermail/gluster-devel/attachments/20160512/77fda125/attachment.sig>


More information about the Gluster-devel mailing list