Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 2003 04:13:23 +0100 (BST)
From:      jamie@host-1289.news.bishopston.net
To:        undisclosed-recipients: ;
Subject:   Re: make install fails
Message-ID:  <200307140313.h6E3DNfR084847@thompson.bishopston.net>

next in thread | raw e-mail | index | archive | help
> Chaps,
>
> This is a general ports problem, not specific to any one port. I'm using
> FreeBSD 4.6,2
>
> Now, when I do either a portupgrade, or a make install, make *always* fails at
> the same point with the same error message. It makes no difference whether
> it's a fresh install or an upgrade.
>
> Has something changed with the BSD Makefile? Here's an example (though it
> affects everything, not just this example, and I can no longer install any
> ports):
>
> --->  Installing the new version via the port
> ===>  Installing for nmap-3.30
> ===>   Generating temporary packing list
> ===>  Checking if security/nmap already installed
> *** Error code 1

Yes, I'd noticed this too, only today - it appears the Mk file has
been changed to use the -O option of pkg_info

That is a new option, that wasn't added to pkg_info on a release
version until FreeBSD 4.7-RELEASE

So someone will either have to regress it, or you'll need to upgrade
to freebsd 4.8, or patch pkg_info (/usr/src/usr.sbin/pkg_install/info)

As a work around, if you define the environment variable
FORCE_PKG_REGISTER to anything from the command line before running
the install, it will work (as it will skip the part that checks if the port
is already installed.)

Hope this helps,
Cheers,
 Jamie



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307140313.h6E3DNfR084847>