Subject: OBJECT_FMT= a.out but should be ELF
To: None <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 01/13/2003 15:30:39
Building qt3-libs, I received note that my jpeg was a.out but should be
ELF. Then libtool-base (which was installed Dec. 3), then x11-links ...

I saw that every /var/db/pkg/*/+BUILD_INFO file had

This is under Linux (using pkgsrc).

antelope:~/netbsd/usr/pkgsrc/x11/qt3-libs $ bmake show-var VARNAME=OBJECT_FMT

$ file /usr/lib/
/usr/lib/ ELF 32-bit LSB shared object, Intel 80386,
version 1 (SYSV), not stripped

I don't know why I noticed just today. I've been using this pkgsrc on this
Linux for months.

I need to look further to see why I didn't notice til today and why it was
recorded as a.out.

In the meanwhile, I changed all those +BUILD_INFO files:
# perl -pi -e 's/OBJECT_FMT= a.out/OBJECT_FMT= ELF/' /var/db/pkg/*/+BUILD_INFO

   Jeremy C. Reed