After running the elfsigning process on a number of IPS packages as
part of the publish phase, I get the following error on a small subset
of packages:
$ pfexec pkgsend -s file:///var/pkg/repo publish --fmri-in-manifest
--no-catalog --no-index -d . ./manifest
pkgsend: 'add' failed for transaction ID
'1280791380_pkg%3A%2F%2Fopensolaris.org%2Fx11%2Fxfs%401.1.0%2C5.11-0.145%3A20100802T232300Z':
Unrecognized or malformed data in operation payload: 'Format error: shdr
table truncated'.
The code that appears to be generating the error is transaction.py:
347 # Extract ELF information
348 # XXX This needs to be modularized.
349 if haveelf and data[:4] == "\x7fELF":
350 elf_name = "%s/.temp" % self.dir
351 elf_file = open(elf_name, "wb")
352 elf_file.write(data)
353 elf_file.close()
354
355 try:
356 elf_info =
elf.get_info(elf_name)
357 except elf.ElfError, e:
358 raise
TransactionContentError(e)
359
I am able to reproduce it, as it is always on the same list of packages.
I have a zipped up set directory of one of the packages that I can send
to anyone who might need it for debugging.
Anyone have ideas or might be able to help me out here?
Thanks,
Alan
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss