Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 May 2003 22:20:44 -0400
From:      "Thomas Dwyer" <tom@nexus.protechnologies.ca>
To:        "Peter Elsner" <peter@servplex.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Error with PKG_INSTALL
Message-ID:  <000f01c3143f$43bb0110$0100a8c0@tom>
References:  <5.2.0.9.2.20030506152007.0187c640@mail.servplex.com>

next in thread | previous in thread | raw e-mail | index | archive | help
UPDATE:

I removed the COMMENT= line from the Makefile and created a pkg-comment file
containing the text from the COMMENT= line.

make install now works correctly

It appears the pkg-install is having problems parsing the COMMENT= line?

Ideas?
Tom

----- Original Message -----
From: "Peter Elsner" <peter@servplex.com>
To: "Thomas Dwyer" <tom@dwyers.ca>
Cc: <freebsd-questions@FreeBSD.ORG>
Sent: Tuesday, May 06, 2003 4:20 PM
Subject: Re: Error with PKG_INSTALL


> Looks like you forgot to run mergemaster...
>
> man mergemaster
>
> Peter
>
>
> At 04:23 PM 5/6/2003 -0400, you wrote:
> >Hello
> >
> >I was happily using FreeBSD 4.6 Stable.  I had successfully installed
> >several ports and downloaded .tar(s) without any problems.
> >
> >I recently ran cvsup with src-all in the supfile and upgraded to FreeBSD
> >4.8-STABLE.
> >
> >I did the proper steps to upgrade ..
> >     make buildworld
> >     make buildkernel ...
> >     make installkernel ...
> >     make installworld
> >
> >I updated my ports to the latest versions as well using cvsup.
> >
> >Now whenever I try to install any ports package I get the following
error:
> >
> >pkg_create: only one package name allowed ('interface' extraneous)
> >usage: pkg_create [-YNOhvy] [-P pkgs] [-p prefix] [-f contents] [-i
iscript]
> >                   [-I piscript] [-k dscript] [-K pdscript] [-r rscript]
> >                   [-t template] [-X excludefile] [-D displayfile]
> >                   [-m mtreefile] [-o origin] -c comment -d description
> >                   -f packlist pkg-filename
> >        pkg_create [-YNhvy] -b pkg-name [pkg-filename]
> >*** Error code 1
> >
> >Stop in /usr/ports/security/p5-Authen-PAM.
> >
> >Looking at the Makefile:
> >PORTNAME=       Authen-PAM
> >PORTVERSION=    0.14
> >CATEGORIES=     security perl5
> >MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
> >MASTER_SITE_SUBDIR=     Authen
> >PKGNAMEPREFIX=  p5-
> >MAINTAINER=     des@FreeBSD.org
> >COMMENT=        A Perl interface to the PAM library
> >PERL_CONFIGURE= yes
> >CONFIGURE_ARGS= -DPAM_STRERROR_NEEDS_PAMH
> >MAN3PREFIX=     ${PREFIX}/lib/perl5/${PERL_VERSION}
> >MAN3=           Authen::FAQ.3 \
> >                 Authen::PAM.3
> >.include <bsd.port.mk>
> >
> >The "interface" comes from the COMMENT= line.  Note that this error
> >happens no matter what port I try to install.
> >
> >When I try to: make deinstall
> >I get this error:
> >===>  Deinstalling for p5-Authen-PAM-0.14
> >pkg_delete: package 'p5-Authen-PAM-0.14' doesn't have a prefix
> >*** Error code 1
> >
> >Stop in /usr/ports/security/p5-Authen-PAM.
> >
> >Again this error is the same for all ports.
> >
> >When I try to do pkg_info:
> >nexus# pkg_info p5-Authen-PAM-0.14
> >Information for p5-Authen-PAM-0.14:
> >
> >Comment:
> >ERROR: show_file: Can't open '+COMMENT' for reading!
> >
> >Description:
> >ERROR: show_file: Can't open '+DESC' for reading!
> >
> >I tried to remake and reinstall the pkg_install located in
> >/usr/src/usr.sbin/pkg_install  but that had no effect.
> >
> >Has something drastic changed in 4.8, or am I missing something major?
> >
> >Please help.
> >Tom
> >_______________________________________________
> >freebsd-questions@freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@freebsd.org"
>
> --------------------------------------------------------------------------
--------------------------------
> Peter Elsner <peter@servplex.com>
> Vice President Of Customer Service (And System Administrator)
> 1835 S. Carrier Parkway
> Grand Prairie, Texas 75051
> (972) 263-2080 - Voice
> (972) 263-2082 - Fax
> (972) 489-4838 - Cell Phone
> (425) 988-8061 - eFax
>
> I worry about my child and the Internet all the time, even though she's
> too young to have logged on yet. Here's what I worry about. I worry
> that 10 or 15 years from now, she will come to me and say "Daddy, where
> were you when they took freedom of the press away from the Internet?"
> -- Mike Godwin
>
> Unix IS user friendly... It's just selective about who its friends are.
> System Administration - It's a dirty job, but somebody said I had to do
it.
> If you receive something that says 'Send this to everyone you know,
> pretend you don't know me.
>
> Standard $500/message proofreading fee applies for UCE.
>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000f01c3143f$43bb0110$0100a8c0>