Discussion:
Ports / pkg_create issues
Mark Saad
2004-02-01 00:22:40 UTC
Permalink
Hey ,
I 've just inherited an OpenBSD mail server (qmail) and one of the
issues with it I can't seem to figure out is why I can't get any of the
ports to install.
I downloaded a new snapshot from ftp.openbsd.org just to make sure that
there was not something broken in the original setup, but I keep ending
up with this,
any ideas ?


bash-2.05b# make install
===> Building package for tcsh-6.12.00
pkg_create: unknown option -- A
usage: pkg_create [-Ohv] [-P dpkgs] [-C cpkgs] [-p prefix] [-f contents]
[-i iscript] [-k dscript] [-r rscript] [-t template]
[-X excludefile] [-D displayfile] [-m mtreefile]
-c comment -d description -f packlist -S basedir pkg-name
===> Cleaning for tcsh-6.12.00
rm -f /usr/ports/packages/i386/all/tcsh-6.12.00.tgz
*** Error code 1

Stop in /usr/ports/shells/tcsh (line 1795 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/shells/tcsh (line 1113 of
/usr/ports/infrastructure/mk/bsd.port.mk).
--
-------------------------
| Mark Saad |
-------------------------
STeve Andre'
2004-02-01 00:35:21 UTC
Permalink
Post by Mark Saad
Hey ,
I 've just inherited an OpenBSD mail server (qmail) and one of the
issues with it I can't seem to figure out is why I can't get any of the
ports to install.
I downloaded a new snapshot from ftp.openbsd.org just to make sure that
there was not something broken in the original setup, but I keep ending
up with this,
any ideas ?
bash-2.05b# make install
===> Building package for tcsh-6.12.00
pkg_create: unknown option -- A
usage: pkg_create [-Ohv] [-P dpkgs] [-C cpkgs] [-p prefix] [-f contents]
[-i iscript] [-k dscript] [-r rscript] [-t template]
[-X excludefile] [-D displayfile] [-m mtreefile]
-c comment -d description -f packlist -S basedir pkg-name
===> Cleaning for tcsh-6.12.00
rm -f /usr/ports/packages/i386/all/tcsh-6.12.00.tgz
*** Error code 1
Stop in /usr/ports/shells/tcsh (line 1795 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1
Stop in /usr/ports/shells/tcsh (line 1113 of
/usr/ports/infrastructure/mk/bsd.port.mk).
Did you get the matching set of packages to go along with that
snapshot? You *must* do this--never mix a snapshot with a
release version of packages or vise versa. It might work, maybe,
but could also screw things up rather well. It isn't clear to me if
you got the packages or not.

--STeve Andre'
Marc Espie
2004-02-01 01:35:45 UTC
Permalink
Post by Mark Saad
Hey ,
I 've just inherited an OpenBSD mail server (qmail) and one of the
issues with it I can't seem to figure out is why I can't get any of the
ports to install.
I downloaded a new snapshot from ftp.openbsd.org just to make sure that
there was not something broken in the original setup, but I keep ending
up with this,
any ideas ?
Not recent enough snapshot.

Since the pkg tools are perl, just grab src/usr.sbin/pkg_add thru cvs,
and do

make obj
make depend
make
sudo make install BINDIR=/usr/sbin

in there.

Loading...