make install fails

jamie at host-1289.news.bishopston.net jamie at host-1289.news.bishopston.net
Sun Jul 13 20:14:07 PDT 2003


> 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



More information about the freebsd-ports mailing list