All of lore.kernel.org
 help / color / mirror / Atom feed
* With ceph-detect-init changes, make install fails
@ 2015-05-12 18:26 kernel neophyte
  2015-05-12 18:53 ` Loic Dachary
  2015-05-13 10:51 ` Loic Dachary
  0 siblings, 2 replies; 4+ messages in thread
From: kernel neophyte @ 2015-05-12 18:26 UTC (permalink / raw)
  To: ceph-devel@vger.kernel.org, Loic Dachary

Hi,

With the recent ceph-detect-init changes, make install now fails (
make succeeds hence this is not detected by build bots )

Error:

cd ceph-detect-init ; \

if lsb_release -si | grep --quiet 'Ubuntu\|Debian\|Devuan' ; then \

options=--install-layout=deb ; \

else \

options=--prefix=/usr ; \

fi ; \

python setup.py install --root= $options

running install

Checking .pth file support in usr/lib/python2.7/dist-packages/

/usr/bin/python -E -c pass

TEST FAILED: usr/lib/python2.7/dist-packages/ does NOT support .pth files

error: bad install directory or PYTHONPATH


You are attempting to install a package to a directory that is not

on PYTHONPATH and which Python does not read ".pth" files from.  The

installation directory you specified (via --install-dir, --prefix, or

the distutils default setting) was:


    usr/lib/python2.7/dist-packages/


and your PYTHONPATH environment variable currently contains:


    '../src/pybind'


Here are some of your options for correcting the problem:


* You can choose a different installation directory, i.e., one that is

  on PYTHONPATH or supports .pth files


* You can add the installation directory to the PYTHONPATH environment

  variable.  (It must then also be on PYTHONPATH whenever you run

  Python and want to use the package(s) you are installing.)


* You can set up the installation directory to support ".pth" files by

  using one of the approaches described here:


  https://pythonhosted.org/setuptools/easy_install.html#custom-installation-locations


-Neo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: With ceph-detect-init changes, make install fails
  2015-05-12 18:26 With ceph-detect-init changes, make install fails kernel neophyte
@ 2015-05-12 18:53 ` Loic Dachary
  2015-05-13 10:51 ` Loic Dachary
  1 sibling, 0 replies; 4+ messages in thread
From: Loic Dachary @ 2015-05-12 18:53 UTC (permalink / raw)
  To: kernel neophyte, ceph-devel@vger.kernel.org

[-- Attachment #1: Type: text/plain, Size: 1983 bytes --]

Hi,

I've created http://tracker.ceph.com/issues/11598 to track this problem. Thanks for proposing solutions, it will help a lot.

Cheers

On 12/05/2015 20:26, kernel neophyte wrote:
> Hi,
> 
> With the recent ceph-detect-init changes, make install now fails (
> make succeeds hence this is not detected by build bots )
> 
> Error:
> 
> cd ceph-detect-init ; \
> 
> if lsb_release -si | grep --quiet 'Ubuntu\|Debian\|Devuan' ; then \
> 
> options=--install-layout=deb ; \
> 
> else \
> 
> options=--prefix=/usr ; \
> 
> fi ; \
> 
> python setup.py install --root= $options
> 
> running install
> 
> Checking .pth file support in usr/lib/python2.7/dist-packages/
> 
> /usr/bin/python -E -c pass
> 
> TEST FAILED: usr/lib/python2.7/dist-packages/ does NOT support .pth files
> 
> error: bad install directory or PYTHONPATH
> 
> 
> You are attempting to install a package to a directory that is not
> 
> on PYTHONPATH and which Python does not read ".pth" files from.  The
> 
> installation directory you specified (via --install-dir, --prefix, or
> 
> the distutils default setting) was:
> 
> 
>     usr/lib/python2.7/dist-packages/
> 
> 
> and your PYTHONPATH environment variable currently contains:
> 
> 
>     '../src/pybind'
> 
> 
> Here are some of your options for correcting the problem:
> 
> 
> * You can choose a different installation directory, i.e., one that is
> 
>   on PYTHONPATH or supports .pth files
> 
> 
> * You can add the installation directory to the PYTHONPATH environment
> 
>   variable.  (It must then also be on PYTHONPATH whenever you run
> 
>   Python and want to use the package(s) you are installing.)
> 
> 
> * You can set up the installation directory to support ".pth" files by
> 
>   using one of the approaches described here:
> 
> 
>   https://pythonhosted.org/setuptools/easy_install.html#custom-installation-locations

-- 
Loïc Dachary, Artisan Logiciel Libre


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: With ceph-detect-init changes, make install fails
  2015-05-12 18:26 With ceph-detect-init changes, make install fails kernel neophyte
  2015-05-12 18:53 ` Loic Dachary
@ 2015-05-13 10:51 ` Loic Dachary
  2015-05-13 16:42   ` kernel neophyte
  1 sibling, 1 reply; 4+ messages in thread
From: Loic Dachary @ 2015-05-13 10:51 UTC (permalink / raw)
  To: kernel neophyte, ceph-devel@vger.kernel.org

[-- Attachment #1: Type: text/plain, Size: 2019 bytes --]

Hi,

http://tracker.ceph.com/issues/11598 should be fixed with https://github.com/ceph/ceph/pull/4663. Would you have time to review this fix ?

Thanks !

On 12/05/2015 20:26, kernel neophyte wrote:
> Hi,
> 
> With the recent ceph-detect-init changes, make install now fails (
> make succeeds hence this is not detected by build bots )
> 
> Error:
> 
> cd ceph-detect-init ; \
> 
> if lsb_release -si | grep --quiet 'Ubuntu\|Debian\|Devuan' ; then \
> 
> options=--install-layout=deb ; \
> 
> else \
> 
> options=--prefix=/usr ; \
> 
> fi ; \
> 
> python setup.py install --root= $options
> 
> running install
> 
> Checking .pth file support in usr/lib/python2.7/dist-packages/
> 
> /usr/bin/python -E -c pass
> 
> TEST FAILED: usr/lib/python2.7/dist-packages/ does NOT support .pth files
> 
> error: bad install directory or PYTHONPATH
> 
> 
> You are attempting to install a package to a directory that is not
> 
> on PYTHONPATH and which Python does not read ".pth" files from.  The
> 
> installation directory you specified (via --install-dir, --prefix, or
> 
> the distutils default setting) was:
> 
> 
>     usr/lib/python2.7/dist-packages/
> 
> 
> and your PYTHONPATH environment variable currently contains:
> 
> 
>     '../src/pybind'
> 
> 
> Here are some of your options for correcting the problem:
> 
> 
> * You can choose a different installation directory, i.e., one that is
> 
>   on PYTHONPATH or supports .pth files
> 
> 
> * You can add the installation directory to the PYTHONPATH environment
> 
>   variable.  (It must then also be on PYTHONPATH whenever you run
> 
>   Python and want to use the package(s) you are installing.)
> 
> 
> * You can set up the installation directory to support ".pth" files by
> 
>   using one of the approaches described here:
> 
> 
>   https://pythonhosted.org/setuptools/easy_install.html#custom-installation-locations
> 
> 
> -Neo
> 

-- 
Loïc Dachary, Artisan Logiciel Libre


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: With ceph-detect-init changes, make install fails
  2015-05-13 10:51 ` Loic Dachary
@ 2015-05-13 16:42   ` kernel neophyte
  0 siblings, 0 replies; 4+ messages in thread
From: kernel neophyte @ 2015-05-13 16:42 UTC (permalink / raw)
  To: Loic Dachary; +Cc: ceph-devel@vger.kernel.org

Hi Loic,

https://github.com/ceph/ceph/pull/4663 fixes the issue. Thanks!

-Neo

On Wed, May 13, 2015 at 3:51 AM, Loic Dachary <loic@dachary.org> wrote:
> Hi,
>
> http://tracker.ceph.com/issues/11598 should be fixed with https://github.com/ceph/ceph/pull/4663. Would you have time to review this fix ?
>
> Thanks !
>
> On 12/05/2015 20:26, kernel neophyte wrote:
>> Hi,
>>
>> With the recent ceph-detect-init changes, make install now fails (
>> make succeeds hence this is not detected by build bots )
>>
>> Error:
>>
>> cd ceph-detect-init ; \
>>
>> if lsb_release -si | grep --quiet 'Ubuntu\|Debian\|Devuan' ; then \
>>
>> options=--install-layout=deb ; \
>>
>> else \
>>
>> options=--prefix=/usr ; \
>>
>> fi ; \
>>
>> python setup.py install --root= $options
>>
>> running install
>>
>> Checking .pth file support in usr/lib/python2.7/dist-packages/
>>
>> /usr/bin/python -E -c pass
>>
>> TEST FAILED: usr/lib/python2.7/dist-packages/ does NOT support .pth files
>>
>> error: bad install directory or PYTHONPATH
>>
>>
>> You are attempting to install a package to a directory that is not
>>
>> on PYTHONPATH and which Python does not read ".pth" files from.  The
>>
>> installation directory you specified (via --install-dir, --prefix, or
>>
>> the distutils default setting) was:
>>
>>
>>     usr/lib/python2.7/dist-packages/
>>
>>
>> and your PYTHONPATH environment variable currently contains:
>>
>>
>>     '../src/pybind'
>>
>>
>> Here are some of your options for correcting the problem:
>>
>>
>> * You can choose a different installation directory, i.e., one that is
>>
>>   on PYTHONPATH or supports .pth files
>>
>>
>> * You can add the installation directory to the PYTHONPATH environment
>>
>>   variable.  (It must then also be on PYTHONPATH whenever you run
>>
>>   Python and want to use the package(s) you are installing.)
>>
>>
>> * You can set up the installation directory to support ".pth" files by
>>
>>   using one of the approaches described here:
>>
>>
>>   https://pythonhosted.org/setuptools/easy_install.html#custom-installation-locations
>>
>>
>> -Neo
>>
>
> --
> Loïc Dachary, Artisan Logiciel Libre
>
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-05-13 16:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-12 18:26 With ceph-detect-init changes, make install fails kernel neophyte
2015-05-12 18:53 ` Loic Dachary
2015-05-13 10:51 ` Loic Dachary
2015-05-13 16:42   ` kernel neophyte

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.