* [gentoo-user] Dovecot 2.1.3 fails to compile
@ 2012-03-21 12:38 Tanstaafl
2012-03-21 14:23 ` Alan McKinnon
0 siblings, 1 reply; 7+ messages in thread
From: Tanstaafl @ 2012-03-21 12:38 UTC (permalink / raw
To: gentoo-user
With this error:
In file included from /usr/include/CLucene/StdHeader.h:20:0,
from /usr/include/CLucene.h:11,
from lucene-wrapper.cc:23:
/usr/include/CLucene/SharedHeader.h:18:36: fatal error:
CLucene/clucene-config.h: No such file or directory
compilation terminated.
make[4]: *** [lucene-wrapper.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory
`/var/tmp/portage/net-mail/dovecot-2.1.3/work/dovecot-2.1.3/src/plugins/fts-lucene'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/net-mail/dovecot-2.1.3/work/dovecot-2.1.3/src/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/net-mail/dovecot-2.1.3/work/dovecot-2.1.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/net-mail/dovecot-2.1.3/work/dovecot-2.1.3'
make: *** [all] Error 2
* ERROR: net-mail/dovecot-2.1.3 failed (compile phase):
* emake failed
Any ideas?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Dovecot 2.1.3 fails to compile
2012-03-21 12:38 [gentoo-user] Dovecot 2.1.3 fails to compile Tanstaafl
@ 2012-03-21 14:23 ` Alan McKinnon
2012-03-21 14:56 ` Tanstaafl
0 siblings, 1 reply; 7+ messages in thread
From: Alan McKinnon @ 2012-03-21 14:23 UTC (permalink / raw
To: gentoo-user; +Cc: tanstaafl
On Wed, 21 Mar 2012 08:38:42 -0400
Tanstaafl <tanstaafl@libertytrek.org> wrote:
> With this error:
>
> In file included from /usr/include/CLucene/StdHeader.h:20:0,
> from /usr/include/CLucene.h:11,
> from lucene-wrapper.cc:23:
> /usr/include/CLucene/SharedHeader.h:18:36: fatal error:
> CLucene/clucene-config.h: No such file or directory
> compilation terminated.
> make[4]: *** [lucene-wrapper.lo] Error 1
> make[4]: *** Waiting for unfinished jobs....
> make[4]: Leaving directory
> `/var/tmp/portage/net-mail/dovecot-2.1.3/work/dovecot-2.1.3/src/plugins/fts-lucene'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/var/tmp/portage/net-mail/dovecot-2.1.3/work/dovecot-2.1.3/src/plugins'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/var/tmp/portage/net-mail/dovecot-2.1.3/work/dovecot-2.1.3/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/net-mail/dovecot-2.1.3/work/dovecot-2.1.3'
> make: *** [all] Error 2
> * ERROR: net-mail/dovecot-2.1.3 failed (compile phase):
> * emake failed
>
> Any ideas?
>
Do you have dev-cpp/clucene installed? That missing header come from
there.
Dovecot does depend on (lucene ? >=dev-cpp/clucene-2.3) so you should
have it, I reckon I'd just remerge clucene then dovecot
--
Alan McKinnnon
alan.mckinnon@gmail.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Dovecot 2.1.3 fails to compile
2012-03-21 14:23 ` Alan McKinnon
@ 2012-03-21 14:56 ` Tanstaafl
2012-03-21 15:53 ` Alan McKinnon
2012-03-21 16:09 ` Alan McKinnon
0 siblings, 2 replies; 7+ messages in thread
From: Tanstaafl @ 2012-03-21 14:56 UTC (permalink / raw
To: gentoo-user
On 2012-03-21 10:23 AM, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> On Wed, 21 Mar 2012 08:38:42 -0400 Tanstaafl wrote:
> Do you have dev-cpp/clucene installed? That missing header come from
> there.
Of course (I have the lucene USE flag set for dovecot):
myhst : Wed Mar 21, 08:01:06 : ~
# equery list -p clucene
* Searching for clucene ...
[-P-] [ ] dev-cpp/clucene-0.9.21b-r1:1
[IP-] [ ] dev-cpp/clucene-2.3.3.4-r2:1
myhost : Wed Mar 21, 10:52:49 : ~
#
> Dovecot does depend on (lucene ?>=dev-cpp/clucene-2.3) so you should
> have it, I reckon I'd just remerge clucene then dovecot
When I tried updating dovecot, it *successfully* emerged the clucene
update first (it was already installed), then the dovecot build failed
with the error...
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Dovecot 2.1.3 fails to compile
2012-03-21 14:56 ` Tanstaafl
@ 2012-03-21 15:53 ` Alan McKinnon
2012-03-21 16:09 ` Alan McKinnon
1 sibling, 0 replies; 7+ messages in thread
From: Alan McKinnon @ 2012-03-21 15:53 UTC (permalink / raw
To: gentoo-user
On Wed, 21 Mar 2012 10:56:37 -0400
Tanstaafl <tanstaafl@libertytrek.org> wrote:
> On 2012-03-21 10:23 AM, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> > On Wed, 21 Mar 2012 08:38:42 -0400 Tanstaafl wrote:
> > Do you have dev-cpp/clucene installed? That missing header come from
> > there.
>
> Of course (I have the lucene USE flag set for dovecot):
>
> myhst : Wed Mar 21, 08:01:06 : ~
> # equery list -p clucene
> * Searching for clucene ...
> [-P-] [ ] dev-cpp/clucene-0.9.21b-r1:1
> [IP-] [ ] dev-cpp/clucene-2.3.3.4-r2:1
> myhost : Wed Mar 21, 10:52:49 : ~
> #
>
> > Dovecot does depend on (lucene ?>=dev-cpp/clucene-2.3) so you should
> > have it, I reckon I'd just remerge clucene then dovecot
>
> When I tried updating dovecot, it *successfully* emerged the clucene
> update first (it was already installed), then the dovecot build
> failed with the error...
>
I see this end emerge world wants to update both packages here. I'll
let them do their thing and see if I get the same results as you (might
take a short while as there's a libreoffice update in the mix too...)
--
Alan McKinnnon
alan.mckinnon@gmail.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Dovecot 2.1.3 fails to compile
2012-03-21 14:56 ` Tanstaafl
2012-03-21 15:53 ` Alan McKinnon
@ 2012-03-21 16:09 ` Alan McKinnon
2012-03-21 17:32 ` Tanstaafl
1 sibling, 1 reply; 7+ messages in thread
From: Alan McKinnon @ 2012-03-21 16:09 UTC (permalink / raw
To: gentoo-user
On Wed, 21 Mar 2012 10:56:37 -0400
Tanstaafl <tanstaafl@libertytrek.org> wrote:
> On 2012-03-21 10:23 AM, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> > On Wed, 21 Mar 2012 08:38:42 -0400 Tanstaafl wrote:
> > Do you have dev-cpp/clucene installed? That missing header come from
> > there.
>
> Of course (I have the lucene USE flag set for dovecot):
>
> myhst : Wed Mar 21, 08:01:06 : ~
> # equery list -p clucene
> * Searching for clucene ...
> [-P-] [ ] dev-cpp/clucene-0.9.21b-r1:1
> [IP-] [ ] dev-cpp/clucene-2.3.3.4-r2:1
> myhost : Wed Mar 21, 10:52:49 : ~
> #
>
> > Dovecot does depend on (lucene ?>=dev-cpp/clucene-2.3) so you should
> > have it, I reckon I'd just remerge clucene then dovecot
>
> When I tried updating dovecot, it *successfully* emerged the clucene
> update first (it was already installed), then the dovecot build
> failed with the error...
>
It's quite simple as it turns out. dev-cpp/clucene changed the name of
/usr/include/CLucene/clucene-config.h
to
/usr/include/CLucene/CLConfig.h
As a quick nasty test I made a symlink, but that produced a gigantic
amount of build errors later on.
I reckon you should file a bug and meanwhile downgrade&mask clucene
--
Alan McKinnnon
alan.mckinnon@gmail.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Dovecot 2.1.3 fails to compile
2012-03-21 16:09 ` Alan McKinnon
@ 2012-03-21 17:32 ` Tanstaafl
2012-03-21 20:27 ` Alan McKinnon
0 siblings, 1 reply; 7+ messages in thread
From: Tanstaafl @ 2012-03-21 17:32 UTC (permalink / raw
To: gentoo-user
On 2012-03-21 12:09 PM, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> On Wed, 21 Mar 2012 10:56:37 -0400 Tanstaafl wrote:
>> When I tried updating dovecot, it *successfully* emerged the clucene
>> update first (it was already installed), then the dovecot build
>> failed with the error...
> It's quite simple as it turns out. dev-cpp/clucene changed the name of
>
> /usr/include/CLucene/clucene-config.h
>
> to
>
> /usr/include/CLucene/CLConfig.h
>
> As a quick nasty test I made a symlink, but that produced a gigantic
> amount of build errors later on.
>
> I reckon you should file a bug and meanwhile downgrade&mask clucene
Done: https://bugs.gentoo.org/show_bug.cgi?id=409205
Thanks! But I reckon if I'd have looked more closely, I could have
figured that one out for myself - guess I'm just too used to *not* being
able to figure these out myself... ;)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Dovecot 2.1.3 fails to compile
2012-03-21 17:32 ` Tanstaafl
@ 2012-03-21 20:27 ` Alan McKinnon
0 siblings, 0 replies; 7+ messages in thread
From: Alan McKinnon @ 2012-03-21 20:27 UTC (permalink / raw
To: gentoo-user
On Wed, 21 Mar 2012 13:32:30 -0400
Tanstaafl <tanstaafl@libertytrek.org> wrote:
> On 2012-03-21 12:09 PM, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> > On Wed, 21 Mar 2012 10:56:37 -0400 Tanstaafl wrote:
> >> When I tried updating dovecot, it *successfully* emerged the
> >> clucene update first (it was already installed), then the dovecot
> >> build failed with the error...
>
> > It's quite simple as it turns out. dev-cpp/clucene changed the name
> > of
> >
> > /usr/include/CLucene/clucene-config.h
> >
> > to
> >
> > /usr/include/CLucene/CLConfig.h
> >
> > As a quick nasty test I made a symlink, but that produced a gigantic
> > amount of build errors later on.
> >
> > I reckon you should file a bug and meanwhile downgrade&mask clucene
>
> Done: https://bugs.gentoo.org/show_bug.cgi?id=409205
>
> Thanks! But I reckon if I'd have looked more closely, I could have
> figured that one out for myself - guess I'm just too used to *not*
> being able to figure these out myself... ;)
>
No worries :-)
But lets be honest, when you are faced with a zillion lines of gcc
output and an error buried in there somewhere, it's not exactly a walk
in the park to see what is going wrong.
Today I just got lucky and just happened to see the right thing at the
right time.
--
Alan McKinnnon
alan.mckinnon@gmail.com
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-03-21 20:29 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-21 12:38 [gentoo-user] Dovecot 2.1.3 fails to compile Tanstaafl
2012-03-21 14:23 ` Alan McKinnon
2012-03-21 14:56 ` Tanstaafl
2012-03-21 15:53 ` Alan McKinnon
2012-03-21 16:09 ` Alan McKinnon
2012-03-21 17:32 ` Tanstaafl
2012-03-21 20:27 ` Alan McKinnon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox