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.
could you please enable portage logging and attach the relevant complete log file of the emerge?
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.
odd. anyway, closing since it doesn't occur anymore.