Re: [gentoo-user] Re: dev-python/whoosh fails to compile

2017-08-12 Thread John Covici
On Thu, 10 Aug 2017 16:37:57 -0400,
Ian Zimmerman wrote:
> 
> On 2017-08-09 08:31, Ian Zimmerman wrote:
> 
> > So, bug #627244 is relevant after all.
> > 
> > I don't have doc in make.conf, so it should just work for me [murmurs a
> > belief-neutral invocation/]
> 
> And it did work with no problems.
> 
> So John - your "doc" USE flag is almost certainly what ails you.

OK, thanks. Its now working, but I take your point.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



[gentoo-user] Re: dev-python/whoosh fails to compile

2017-08-10 Thread Ian Zimmerman
On 2017-08-09 08:31, Ian Zimmerman wrote:

> So, bug #627244 is relevant after all.
> 
> I don't have doc in make.conf, so it should just work for me [murmurs a
> belief-neutral invocation/]

And it did work with no problems.

So John - your "doc" USE flag is almost certainly what ails you.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.



[gentoo-user] Re: dev-python/whoosh fails to compile

2017-08-09 Thread Ian Zimmerman
On 2017-08-09 02:35, John Covici wrote:

> whoosh was looking for
> raise DistributionNotFound(req, requirers)
> pkg_resources.DistributionNotFound: The 'sphinxcontrib-websupport'
> distribution was not found and is required by Sphinx
> So, I emerged that, but I had to use --nodeps because it wanted
> whoosh first, and after doing that I was able to emerge whoosh.  Very
> nuts.

Ah, but the dep of whoosh on sphinx is conditional:

DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx )
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"

So, bug #627244 is relevant after all.

I don't have doc in make.conf, so it should just work for me [murmurs a
belief-neutral invocation/]

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.



Re: [gentoo-user] Re: dev-python/whoosh fails to compile

2017-08-09 Thread Alan McKinnon
On 09/08/2017 08:35, John Covici wrote:
> On Wed, 09 Aug 2017 00:06:08 -0400,
> Ian Zimmerman wrote:
>>
>> On 2017-07-29 11:23, Alan McKinnon wrote:
>>
>>> On 29/07/2017 10:51, John Covici wrote:
 Hi.  In my latest world update, portage wants to include this new
 package dev-python/whoosh.  The package fails to compile and googling
 and searching bgo yields nothing.

 Any assistance would be appreciated.
>>>
>>> [snip]
>>>
 pkg_resources.DistributionNotFound: The 'sphinxcontrib-websupport' 
 distribution was not found and is required by Sphinx
>>>
>>> [snip]
>>>
  * The specific snippet of code:
  *   sphinx-build -b html -c docs/source/ docs/source/ 
 docs/source/build/html || die;
>>>
>>> File a bug at bgo
>>
>> What was the conclusion of this?  After syncing my portage wants to
>> build this too (the same exact version), and I'm afraid to let it
>> proceed lest I land in a mess.
>>
>> I couldn't find any relevant filed bug, either.
> 
> I have not had a chance to file a bug, but I got it working by doing
> the following:
> whoosh was looking for
> raise DistributionNotFound(req, requirers)
> pkg_resources.DistributionNotFound: The 'sphinxcontrib-websupport'
> distribution was not found and is required by Sphinx
> So, I emerged that, but I had to use --nodeps because it wanted
> whoosh first, and after doing that I was able to emerge whoosh.  Very
> nuts.

Not nuts at all, looks like a simple circular dependency:
whoosh needs sphinxcontrib-websupport (via sphinx) to build, but
sphinxcontrib-websupport is declared to depend on whoosh. Circular.

This ebuild bug probably crept in as everyone so far who installed
sphinx already had a functioning whoosh. All those packages are in
stable, so this will hit everyone who now needs whoosh added for the
first time.

The package maintainer needs to have the info you can give him, so a bug
at b.g.o. is indeed called for.

These circular dep bugs are tricky to find because installing everything
from scratch again and in different order usually doesn't get tested.


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Re: dev-python/whoosh fails to compile

2017-08-09 Thread John Covici
On Wed, 09 Aug 2017 00:06:08 -0400,
Ian Zimmerman wrote:
> 
> On 2017-07-29 11:23, Alan McKinnon wrote:
> 
> > On 29/07/2017 10:51, John Covici wrote:
> > > Hi.  In my latest world update, portage wants to include this new
> > > package dev-python/whoosh.  The package fails to compile and googling
> > > and searching bgo yields nothing.
> > > 
> > > Any assistance would be appreciated.
> > 
> > [snip]
> > 
> > > pkg_resources.DistributionNotFound: The 'sphinxcontrib-websupport' 
> > > distribution was not found and is required by Sphinx
> > 
> > [snip]
> > 
> > >  * The specific snippet of code:
> > >  *   sphinx-build -b html -c docs/source/ docs/source/ 
> > > docs/source/build/html || die;
> > 
> > File a bug at bgo
> 
> What was the conclusion of this?  After syncing my portage wants to
> build this too (the same exact version), and I'm afraid to let it
> proceed lest I land in a mess.
> 
> I couldn't find any relevant filed bug, either.

I have not had a chance to file a bug, but I got it working by doing
the following:
whoosh was looking for
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'sphinxcontrib-websupport'
distribution was not found and is required by Sphinx
So, I emerged that, but I had to use --nodeps because it wanted
whoosh first, and after doing that I was able to emerge whoosh.  Very
nuts.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



[gentoo-user] Re: dev-python/whoosh fails to compile

2017-08-08 Thread Ian Zimmerman
On 2017-07-29 11:23, Alan McKinnon wrote:

> On 29/07/2017 10:51, John Covici wrote:
> > Hi.  In my latest world update, portage wants to include this new
> > package dev-python/whoosh.  The package fails to compile and googling
> > and searching bgo yields nothing.
> > 
> > Any assistance would be appreciated.
> 
> [snip]
> 
> > pkg_resources.DistributionNotFound: The 'sphinxcontrib-websupport' 
> > distribution was not found and is required by Sphinx
> 
> [snip]
> 
> >  * The specific snippet of code:
> >  *   sphinx-build -b html -c docs/source/ docs/source/ 
> > docs/source/build/html || die;
> 
> File a bug at bgo

What was the conclusion of this?  After syncing my portage wants to
build this too (the same exact version), and I'm afraid to let it
proceed lest I land in a mess.

I couldn't find any relevant filed bug, either.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.