It compiled and installed well after simply changeing the name of the ebuild to Mail-SpamAssassin-2.51.ebuild. Reproducible: Always Steps to Reproduce: 1.Renamed "Mail-SpamAssassin-2.50.ebuild" to "Mail-SpamAssassin-2.51.ebuild" 2.emerge the latter ebuild 3. Actual Results: I now have a working spamassassin configuration using the latest version :) Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r3) ================================================================= System uname: 2.4.20-gentoo-r2 i686 Pentium III (Coppermine) GENTOO_MIRRORS="http://gentoo.linux.no/ ftp://gentoo.linux.no/pub/gentoo/ " CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline arts bonobo svga tcltk java guile X sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis gnome gtk qt kde motif opengl alsa cdr dvd esd gtk2 imap mozilla pda samba sse usb" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CXXFLAGS="-march=pentium3 -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
i never touched SpamAssassin, please reassign to another dev. thanks.
Created attachment 10176 [details] Ebuild for spamassassin 2.53. If the user has razor installed (I have version 2.x), the compile section will try to prompt the user for some info (asking if the razor tests should be run), but the prompt does not get flushed and the ebuild appears to hang. I recommend just setting "RUN_RAZOR1_TESTS=n RUN_RAZOR2_TESTS=n" in the myconf options so that these prompts (and the potentially-problematical tests) are skipped. The attached ebuild (which I updated to version 2.53) fixes this.
*** Bug 19087 has been marked as a duplicate of this bug. ***
I should also add that this bug affected versions prior to 2.53, so a similar fix should be incorporated into the 2.52 ebuild (and I'd recommend removing the 2.50 ebuild, since that version of SpamAssassin was pretty buggy, and rapidly replaced with 2.51).
I just noticed this warning when installing 2.53 on a second system: /usr/lib/portage/bin/dodoc: TODO does not exist. If you remove the TODO file from the "mydoc" line, this should go away (I also double-checked that there is no TODO file in the 2.53 tar file).
I removed TODO from the docs list as Wayne suggested. After that, the attached ebuild here seemed equivalent to aliz's ebuild. If I have missed anything, please let me know. The TODO drop fix is in CVS.
Yes, you did miss something -- the fix for the pausing in the ebuild (which was the reason I attached the ebuild). As mentioned in comment 2 here, the "myconf" line needs two extra parameters added (the last two on this line): myconf="${myconf} SYSCONFDIR=${D}/etc INST_PREFIX=/usr RUN_RAZOR1_TESTS=n RUN_RAZOR2_TESTS=n" This prevents the ebuild from prompting, and thus appearing to hang (because the user can't see the prompt).
I tried installing the software locally with aliz's ebuild (minus the TODO) and did not encounter the problem. I missed the "if the user has razor installed" part. Apologies. myconf changes made in CVS.
*** Bug 19300 has been marked as a duplicate of this bug. ***