| Summary: | mail-mta/courier-0.59 fails with aclocal -I m4 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | johan |
| Component: | New packages | Assignee: | Hanno Böck <hanno> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bugzilla-gentoo, fmouse-gentoo |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
johan
2008-04-25 11:10:05 UTC
I found a workaround. I added AC_USE_SYSTEM_EXTENSIONS to pcp/configure.in and created an empty pcp/m4 directory. That allowed it to get past the aclocal step anyhow... still waiting on results of compilation. Compilation after those changes went fine. Should thus be a minor fix. Same problem here. The update isn't mission-critical so I'll wait for a fix from Gentoo or upstream, assuming it comes relatively soon. A simpler fix, and I would guess that this is the best one, is to remove the last line of pcp/Makefile.am ACLOCAL_AMFLAGS = -I m4 Because Gentoo re-runs the autoconf tools on the source tree, this line gets processed, and because there's no pcp/m4 directory in the courier source tree, amlocal errors out and aborts the ebuild. The distributed source tarball comes with autoconf already done, and each directory in the source tree already contains configure and Makefile.in scripts, so this error isn't encountered by someone building Courier manually from source. I removed the above line from pcp/Makefile.am and the ebuild worked fine. I've also posted the the problem and the fix to the courier-users list so it'll probably make it into upstream as well at some point, if Mr. Sam approves. Actually, a better solution may be coming from upstream. Sam Varshavchik has suggested that inclusion of the pcp/m4 directory and its contents in the source tarball is the proper way to go with this, and this would resolve the breakage of the autotools system which references this non-existent directory. Mt. Sam is the principle maintainer of Courier (mostly the only maintainer), so if this happens, and the ebuild manifest is updated, the bug will be resolved. See http://sourceforge.net/search/?group_id=5404&words=aclocal&type_of_search=mlists&pmode=0&limit=50 Bernd, as per your note on the courier-users list, it would be sufficient to merge in a source file containing only the missing m4 macro files prior to re-running the autotools. Bump the ebuild to revision r1, and voila! Problem solved :-) Thanks again for taking up the slack on this ebuild. After some discussion with bernd, I think we don't need the eautoreconf-call on the whole source any more. So we should be fine on this. As soon as we have the as-needed-patch upstream, we can remove the autotools-calls all together. |