pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

RE: pkg_add question

One problem though.

Pkg_info package.tgz works but 'pkg_info -X package.tgz' dumps core with 
'Memory fault'.
Only the PKGNAME and COMMENT gets displayed before the core dumps.

Any help is much appreciated.


-----Original Message-----
[] On Behalf Of Ss, Sivakumar
Sent: Monday, January 07, 2013 4:55 PM
Subject: RE: pkg_add question


Adding +BUILD_INFO works nicely. Thanks a lot.


-----Original Message-----
From: Jonathan Perkin []
Sent: Monday, January 07, 2013 1:50 PM
To: Ss, Sivakumar
Subject: Re: pkg_add question

* On 2013-01-07 at 06:57 GMT, wrote:

> I am trying to create a package to be used in NetBSD (5.1) but without 
> using pkg_create.  I added +CONTENTS, +COMMENT & +DESC files in 
> addition to files in a directory and make a tar of them. This is done 
> from a Linux build machine using cross compilers.  When I try to add 
> it using 'pkg_add' command,  I get the following error.
> Pkg_add: Not all build information are present.
> Man page of pkg_add does not help much as to pin point what is 
> missing.

If your reason for not using pkg_create is simply because you are 
cross-compiling, you may find one of my blog posts helpful:

Ignore that it mentions SmartOS in the title, the instructions are generic for 
pkgsrc, but are targeted for SmartOS installations - you should be able to 
tweak the paths to make it work.


Jonathan Perkin  -  Joyent, Inc.  -

Home | Main Index | Thread Index | Old Index