Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48205 - dev-perl/Mail-SpamAssassin-2.63 installs into /usr/etc
Summary: dev-perl/Mail-SpamAssassin-2.63 installs into /usr/etc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 51437 (view as bug list)
Depends on: 58057
Blocks:
  Show dependency tree
 
Reported: 2004-04-18 05:01 UTC by Spider (RETIRED)
Modified: 2004-09-26 06:58 UTC (History)
4 users (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 Spider (RETIRED) gentoo-dev 2004-04-18 05:01:32 UTC
grep etc /var/db/pkg/dev-perl/Mail-SpamAssassin-2.63/CONTENTS
dir /usr/etc
dir /usr/etc/mail
dir /usr/etc/mail/spamassassin
obj /usr/etc/mail/spamassassin/local.cf bb7c0de4bc73c1fcf505e7aa30fad5b2 1082045797
dir /etc
dir /etc/init.d
obj /etc/init.d/spamd 609fc206db4c8a3bee6f93075443f359 1082045797
dir /etc/conf.d
obj /etc/conf.d/spamd 1ed9c6ddcb224ed5d2ad37aab7c0cce9 1082045797


Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25-grsec-1.9.14)
=================================================================
System uname: 2.4.25-grsec-1.9.14 i586
Gentoo Base System version 1.4.3.13
distcc 2.11.1 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=k6-3 -pipe -fstack-protector"
CHOST="i586-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k6-3 -pipe -fstack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox strict"
GENTOO_MIRRORS="http://mirror.pudas.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="apache2 apm avi berkdb crypt emacs encode foomaticdb gdbm gif gpm imap imlib ipv6 java jpeg libg++ libwww mad mikmod mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl svga tcpd tiff truetype x86 xml xml2 xmms xv zlib"
Comment 1 Eric Sammer (RETIRED) gentoo-dev 2004-04-25 19:17:57 UTC
esammer@samus esammer $ grep etc /var/db/pkg/dev-perl/Mail-SpamAssassin-2.63/CONTENTS
dir /etc
dir /etc/mail
dir /etc/mail/spamassassin
obj /etc/mail/spamassassin/local.cf bb7c0de4bc73c1fcf505e7aa30fad5b2 1077522972
dir /etc/init.d
obj /etc/init.d/spamd 4bc47f7ee058bf11457cca8723fcac91 1077522972
dir /etc/conf.d
obj /etc/conf.d/spamd 1ed9c6ddcb224ed5d2ad37aab7c0cce9 1077522972

^^ same arch (x86)

Can you re'emerge this and confirm? We've seen a few bug reports about perl modules that have installed things in strange places that have been resolved by reinstalling. I think something got weird with MakeMaker or the perl-module eclass. Thanks in advance.
Comment 2 Spider (RETIRED) gentoo-dev 2004-04-25 23:30:48 UTC
unfortunately I can't as I'm not administrating that system myself. I'll ask the maintainer to do it.
Comment 3 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2004-05-04 06:58:54 UTC
i saw this problem on an x86 box. emerge -C then installed it again, same
results.

fyi, during the build:

cd spamd; ./configure --prefix="/var/tmp/portage/Mail-SpamAssassin-2.63/image//usr" --sysconfdir="/var/tmp/portage/Mail-SpamAssassin-2.63/image//usr/etc" --datadir="/var/tmp/portage/Mail-SpamAssassin-2.63/image//usr/share/spamassassin" --enable-ssl="yes"


that --sysconfdir is obviously wrong.




Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5)
=================================================================
System uname: 2.6.5 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.9
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://mirrors.tds.net/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="apm arts avi berkdb crypt cups encode foomaticdb gdbm gif imap imlib jpeg libg++ libwww mad mbox mikmod mmx motif mpeg mysql ncurses nls oggvorbis oss pam pdflib perl png python quicktime readline sdl slang spell sse ssl svga truetype virus-scan x86 xml2 xmms xv zlib"

Comment 4 Malte S. Stretz 2004-05-10 15:44:44 UTC
I'll have a look...
Comment 5 Malte S. Stretz 2004-05-10 16:16:24 UTC
It indeed removed a directory /usr/etc when I re-emerged. I think I upgraded EU::MM in between, so probably something was fishy in there. Or the eclass, who knows.

I now have ExtUtils-MakeMaker-6.20. If anybody can reproduce this, please report your version.
Comment 6 Malte S. Stretz 2004-07-24 11:19:18 UTC
To fix this, somebody needs to report the version of EU::MM with which he sees this. Else all I can do is closing this as WFM.

To print the version, use this command:
  perl -MExtUtils::MakeMaker -le 'print $ExtUtils::MakeMaker::VERSION'
Comment 7 Malte S. Stretz 2004-08-16 12:14:27 UTC
The ebuild for 3.0 will contain a workaround to make sure that sysconfdir is fixed to /etc, not relying on the logic in Makefile.PL.  That should prevent this bug from ever happening again (though still nobody knows *why* it happened).

If you encounter this bug, please attach the generated Makefile to this bug.
Comment 8 Michael Cummings (RETIRED) gentoo-dev 2004-09-21 13:15:58 UTC
*** Bug 51437 has been marked as a duplicate of this bug. ***
Comment 9 Michael Cummings (RETIRED) gentoo-dev 2004-09-21 13:19:43 UTC
Also knowing which version of perl is installed would help on our end, in combination with wether you have an older version of MakeMaker installed or not. We've tried to work around this by blocking both being installed (ie, you either have an older perl with a newer makemaker, or a newer perl and the packaged makemaker). And before I forget, an idea of what's in your @INC (last block generated by perl -V ) - just in case you have a makemaker in your vendor_perl from an old install that is inadvertantly overriding the newer perl's makemaker.
Comment 10 Spider (RETIRED) gentoo-dev 2004-09-21 13:33:06 UTC
I'm unable to reproduce this (Appears gone in current installs)
Comment 11 Michael Cummings (RETIRED) gentoo-dev 2004-09-26 06:58:10 UTC
Since Spider is OP on this, closing it out. Please submit a bug if this crops up again in current versions. Thanks!