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.

-Siva

-----Original Message-----
From: pkgsrc-users-owner%NetBSD.org@localhost 
[mailto:pkgsrc-users-owner%NetBSD.org@localhost] On Behalf Of Ss, Sivakumar
Sent: Monday, January 07, 2013 4:55 PM
To: jperkin%joyent.com@localhost
Cc: pkgsrc-users%netbsd.org@localhost
Subject: RE: pkg_add question

Jonathan.

Adding +BUILD_INFO works nicely. Thanks a lot.

-Siva


-----Original Message-----
From: Jonathan Perkin [mailto:jperkin%joyent.com@localhost]
Sent: Monday, January 07, 2013 1:50 PM
To: Ss, Sivakumar
Cc: pkgsrc-users%netbsd.org@localhost
Subject: Re: pkg_add question

* On 2013-01-07 at 06:57 GMT, Sivakumar_Ss%dell.com@localhost 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:

  http://www.perkin.org.uk/posts/creating-local-smartos-packages.html

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.

Regards,

--
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index