Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30605 - Courier-IMAP 2.1.2-r1 compile failure in maildir
Summary: Courier-IMAP 2.1.2-r1 compile failure in maildir
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-07 14:49 UTC by Martin Diers
Modified: 2003-10-22 18:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Diers 2003-10-07 14:49:48 UTC
When compiling in maildir, dependencies which usually get made at the beginning
of a make, are not being made at all when the maildir directory is entered. As a
result, header file dependencies are missing during the compile. The exact error
which stops the compile is:

autoresponse.c:7:38: autoresponsequota.h: No such file or directory
autoresponse.c: In function 'get_quota':
autoresponse.c:291: 'AUTORESPONSEQUOTA' undeclared (first use in this function)

After this, I went to the following directory:
/var/tmp/portage/courier-imap-2.1.2-r1/work/courer-imap-2.1.2/maildir

The autoresponsequota.h file was not present.

I ran 'make'.

Status lines immediately displayed showing the header files being created
(including the autoresponsequota.h file). I stopped the build, and noticed that
all the necessary header files were now present.

So, the question is: Why are these files not being created during a make of
courier-imap, but they are being created when make is run directly inside
work/courier-imap-2.1.2/maildir ?



Reproducible: Always
Steps to Reproduce:
1. Install vpopmail manually
2. emerge /usr/portage/net-mail/courier-imap/courier-imap-2.1.2-r1.ebuild

Actual Results:  
Compile failure in maildir directory

Expected Results:  
During a manual compile from source, no such error occurs.

Pertinent USE flags: doc imap maildir mysql xml

CFLAGS: "-O3 -marh=pentium3 -fomit-frame-pointer -funroll-loops -pipe -mmmx -msse"

I have a manually compiled version of vpopmail installed. The build detected
this installation properly.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-10-08 17:19:52 UTC
could you please enable portage logging and attach the relevant complete
log file of the emerge?
Comment 2 Martin Diers 2003-10-22 18:25:58 UTC
In attempting to comply with the request below I discovered that the latest
version of portage has inadvertently solved the problem, as I can now complete
the compile without a problem.

The only changes I made between times were upgrading portage, gcc (to 3.2.3-r2),
ncurses, and mysql. I am assuming that gcc was not at fault, but that it
was some strange portage issue. The only feature I had enabled was ccache,
which is still enabled.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-10-22 18:56:29 UTC
odd.
anyway, closing since it doesn't occur anymore.