[csw-dev] checkpkg problem

Aubrey Li aubreylee at gmail.com
Mon Mar 31 07:26:18 CEST 2008


On Sun, Mar 30, 2008 at 11:09 PM, Aubrey Li <aubreylee at gmail.com> wrote:
> On Sun, Mar 30, 2008 at 9:32 PM,  <Murray.Jensen at csiro.au> wrote:
>  > On Sun, 30 Mar 2008 19:46:52 +0800, "Aubrey Li" writes:
>  >  >NAME=pmtools
>  >
>  >  NAME must have the "real" package name (i.e. not the system V CSW... name)
>  >  followed by " - " and a short description (the sed pattern should have
>  >  given it away). Cheers!
>  >                                                                 Murray...

I got another check error - cpio error, see below please.
the package is ok except this error.
any hints?

Thanks,
-Aubrey
====================================
[aubrey-sz330p at pmtools]createpkg -b
/export/home/aubrey/pkg-home/build/pmtools-20071116/cswstage/opt/csw
i copyright
## Building pkgmap from package prototype file.
## Processing pkginfo file.
WARNING: parameter <PSTAMP> set to "aubrey-sz330p20080331131732"
WARNING: parameter <CLASSES> set to "none"
## Attempting to volumize 5 entries in pkgmap.
part  1 -- 108 blocks, 15 entries
## Packaging one part.
/var/spool/pkg/CSWpmtools/pkgmap
/var/spool/pkg/CSWpmtools/pkginfo
/var/spool/pkg/CSWpmtools/reloc/bin/acpidump
/var/spool/pkg/CSWpmtools/reloc/bin/acpitbl
/var/spool/pkg/CSWpmtools/reloc/bin/acpixtract
/var/spool/pkg/CSWpmtools/reloc/bin/madt
/var/spool/pkg/CSWpmtools/install/copyright
/var/spool/pkg/CSWpmtools/install/depend
## Validating control scripts.
## Packaging complete.
Transferring <CSWpmtools> package instance
Conversion complete. Cleaning up in /var/spool/pkg

Running checkpkg on pkgfile
Examining pmtools-20071116,REV=2008.03.30-SunOS5.11-i386-CSW.pkg
Looking for bad strings...
Extracting files for more detailed inspection...
CSWpmtools/pkginfo
2 blocks
Info for pkg CSWpmtools
software= 'pmtools'
arch= 'i386'
desc='ACPI utilities'
pkgname='CSWpmtools'
version='20071116,REV=2008.03.30'
maintainer name='Aubrey Li'
maint email='aubrey at blastwave.org'
hotline='http://www.blastwave.org/bugtrack/'
basedir='/opt/csw'

Extracing pkg for examination of files...
cpio: Impossible header type.         <============= here
1 errors
retrying extract with different archive offset...
pkginfo
pkgmap
install
install/copyright
install/depend
reloc
reloc/bin
reloc/bin/acpidump
reloc/bin/acpitbl
reloc/bin/acpixtract
reloc/bin/madt
89 blocks
Checking uninstalled directory format package <CSWpmtools> from
</tmp/dissect.102987>
## Checking control scripts.
## Checking package objects.
## Checking is complete.
/usr/sbin/pkgchk passed.
libraries used are:
libc.so.1
cross-referencing with depend file (May take a while)

Examining 'depend' file
system      CSWcommon common - common files and dirs for CSW packages
system      SUNWcsl Core Solaris, (Shared Libs)
system      SUNWdpl Developer Profiled Libraries
SUGGESTION: you may want to add some or all of the following as depends:
   (Feel free to ignore SUNW or SPRO packages)
> SUNWcslr

Checking relocation ability...
trivial check passed

packaging of files under
/export/home/aubrey/pkg-home/build/pmtools-20071116/cswstage/opt/csw
complete
gzipping pkgfile



More information about the devel mailing list