Subject: Re: gtexinfo
To: Amitai Schlair <schmonz@schmonz.com>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-pkg
Date: 07/17/2002 23:16:48
On Wed, 17 Jul 2002, Amitai Schlair wrote:

> "Randy Beaudreault" <maccult@pacbell.net> wrote:
>
> > In attempting to install Nessus on my Mac OS X machine I run into this:
> > Installed package gtexinfo>=3.12 is an ELF package.
> > You are building an Mach-O package, which will not inter-operate.
> > Please update the gtexinfo>=3.12 package to Mach-O
>
> Contrary to the messages, your gtexinfo is probably not ELF. (Run "file
> `which makeinfo`" to be sure.) I'm guessing you built gtexinfo sometime
> before this change:
>
>     http://mail-index.netbsd.org/pkgsrc-changes/2002/05/31/0000.html
>
> If so, the gtexinfo package thinks it's ELF because at the time you built
> it, pkgsrc thought Darwin was an ELF platform. Now pkgsrc knows better, but
> that doesn't help your already installed package.
>
> You might be able to get around this by twiddling some bits in the installed
> gtexinfo package, but it's probably best to just reinstall gtexinfo.
> Wouldn't hurt to do the same for all your packages, actually.

Or you could simply set FATAL_OBJECT_FMT_SKEW=no in ${MAKECONF} or in
your environment. The warning is for platforms that actually changed
binary format (like much of NetBSD). For Darwin, it serves no purpose,
so you may as well switch it off.

Frederick