On Wed, 28 May 2014, 16:36 +1000, John Marshall wrote:
> I'm having no joy trying to install mailman on a new system.  Builds
> fine but won't install.  Any tips appreciated.

>   ===>   Registering installation for mailman-2.1.18.1_1
>   pkg-static: 
> lstat(/kits/ports/mail/mailman/work/stage/usr/local/mailman/data/sitelist.cfg):
>  No such file or directory
>   pkg-static: 
> lstat(/kits/ports/mail/mailman/work/stage/usr/local/mailman/spam/): No such 
> file or directory
>   pkg-static: 
> lstat(/kits/ports/mail/mailman/work/stage/usr/local/mailman/qfiles/): No such 
> file or directory
>   pkg-static: 
> lstat(/kits/ports/mail/mailman/work/stage/usr/local/mailman/logs/): No such 
> file or directory
>   pkg-static: 
> lstat(/kits/ports/mail/mailman/work/stage/usr/local/mailman/locks/): No such 
> file or directory
>   pkg-static: 
> lstat(/kits/ports/mail/mailman/work/stage/usr/local/mailman/lists/): No such 
> file or directory
>   pkg-static: 
> lstat(/kits/ports/mail/mailman/work/stage/usr/local/mailman/data/): No such 
> file or directory
>   pkg-static: 
> lstat(/kits/ports/mail/mailman/work/stage/usr/local/mailman/archives/public/):
>  No such file or directory
>   pkg-static: 
> lstat(/kits/ports/mail/mailman/work/stage/usr/local/mailman/archives/private/):
>  No such file or directory
>   pkg-static: 
> lstat(/kits/ports/mail/mailman/work/stage/usr/local/mailman/archives/): No 
> such file or directory
>   *** [fake-pkg] Error code 74

After helpful off-list mail from mandree@ which pointed at this being a
local problem, I eventually found the following line in
/usr/local/etc/ports.conf.

  mail/mailman: CONFIGURE_ARGS=--with-var-prefix=/data/mailman

One of those tweaks one implements to accommodate a local customization,
and doesn't even remember it's there 6 or 7 years later.

It would appear that this kind of thing doesn't play nicely with the new
staging environment.  After removing that line from ports.conf and
rebuilding the port, it installed happily.  Obviously I then had to
reshuffle my data directories manually.

-- 
John Marshall

Attachment: pgptZOSKdlPDD.pgp
Description: PGP signature

Reply via email to