Subject: bin-install broken?
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 03/14/2002 15:40:54
It seems like something changed between Feb. 18 and Mar. 7, that made
bin-install target not work.

It previously would act like:

rainier:/usr/pkgsrc/mail/exim$ time make TARGET=bin-install bin-install
2>&1 | tee LOG
Trying ftp://ftp.netbsd.org/pub/NetBSD/packages/1.5/i386/All
ftp: connect to address 3ffe:8050:201:1860:2a0:c9ff:feed:b7ea: No route to
host
pkg_add: can't find package 'exim-3.34.tgz'
Installing from source
=> exim-3.34.tar.gz doesn't seem to exist on this system.
=> Attempting to fetch exim-3.34.tar.gz from ftp://ftp.exim.org/pub/exim/.
^C

Notice how it starts "Installing from source" if package not available.

Now it does:
# time make TARGET=bin-install bin-install 2>&1 | tee LOG
Trying ftp://ftp.netbsd.org/pub/NetBSD/packages/1.5/i386/All
ftp: connect to address 3ffe:8050:201:1860:2a0:c9ff:feed:b7ea: No route to
host
pkg_add: can't find package 'exim-3.34.tgz'
       60.37 real         1.09 user         0.03 sys

This worked with bsd.pkg.mk 1.928, but didn't work with bsd.pkg.mk 1.943.
I see there have been lots of changes.

Any ideas?

I want to use bin-install, because hopefully many binary packages (like
perl) may be available. But I want it to build exim from source since
latest has not package.

Thanks,

   Jeremy C. Reed
   http://www.reedmedia.net/