Strange checkpkg issue

Dagobert Michelsen dam at opencsw.org
Wed Feb 18 15:45:00 CET 2015


Hi folks,

I have a funky checkpkg error:

> INFO 2015-02-18 15:33:57,236 package_stats.py:132 Juicing the svr4 package stream files...
> CRITICAL 2015-02-18 15:34:56,036 shell.py:55                                                                                                                                                                                                                                                |
> CRITICAL 2015-02-18 15:34:56,037 shell.py:56 Traceback (most recent call last):
>   File "/home/dam/mgar/pkg/.buildsys/v2/gar/lib/python/collect_binary_elfinfo.py", line 238, in <module>
>     md5_sum = extractor.CollectBinaryElfinfo()
>   File "/home/dam/mgar/pkg/.buildsys/v2/gar/lib/python/collect_binary_elfinfo.py", line 166, in CollectBinaryElfinfo
>     syminfo = sections['syminfo'].get_symbol(index)
>   File "/opt/csw/lib/python2.6/site-packages/elftools/elf/sections.py", line 153, in get_symbol
>     name = self.symboltable.get_symbol(n).name
> AttributeError: 'NullSection' object has no attribute 'get_symbol'
> CRITICAL 2015-02-18 15:34:55,874 shell.py:55 
> CRITICAL 2015-02-18 15:34:55,876 shell.py:56 None
> Traceback (most recent call last):
>   File "/home/dam/mgar/pkg/.buildsys/v2/gar/lib/python/collect_pkg_metadata.py", line 623, in <module>
>     unpacked = unpacker.CollectStats(force_unpack=options.force_unpack)
>   File "/home/dam/mgar/pkg/.buildsys/v2/gar/lib/python/collect_pkg_metadata.py", line 597, in CollectStats
>     binary_md5_sums = self._CollectElfdumpData()
>   File "/home/dam/mgar/pkg/.buildsys/v2/gar/lib/python/collect_pkg_metadata.py", line 584, in _CollectElfdumpData
>     ret_code, stdout, stderr = shell.ShellCommand(args, stderr=se)
>   File "/home/dam/mgar/pkg/.buildsys/v2/gar/lib/python/shell.py", line 60, in ShellCommand
>     % (args, retcode, ' '.join(pipes.quote(x) for x in args)))
> lib.python.shell.ShellError: Running ['/home/dam/mgar/pkg/.buildsys/v2/gar/lib/python/collect_binary_elfinfo.py', '--input', '/var/tmp/pkg_XGEtjW/CSWnagios-plugin-mk-livestatus/root/usr/lib/check_mk/livestatus.o'] has failed, error code: 1. To find out why the command failed, please run it in the foreground, like this: /home/dam/mgar/pkg/.buildsys/v2/gar/lib/python/collect_binary_elfinfo.py --input /var/tmp/pkg_XGEtjW/CSWnagios-plugin-mk-livestatus/root/usr/lib/check_mk/livestatus.o
> 
> Traceback (most recent call last):
>   File "/home/dam/mgar/pkg/.buildsys/v2/gar//bin/../lib/python/checkpkg2.py", line 268, in <module>
>     main()
>   File "/home/dam/mgar/pkg/.buildsys/v2/gar//bin/../lib/python/checkpkg2.py", line 174, in main
>     md5_sums_from_files = collector.CollectStatsFromCatalogEntries(entries, False)
>   File "/home/dam/mgar/pkg/.buildsys/v2/gar/lib/python/package_stats.py", line 158, in CollectStatsFromCatalogEntries
>     stderr=stderr_file)
>   File "/home/dam/mgar/pkg/.buildsys/v2/gar/lib/python/shell.py", line 60, in ShellCommand
>     % (args, retcode, ' '.join(pipes.quote(x) for x in args)))
> lib.python.shell.ShellError: Running ['/home/dam/mgar/pkg/.buildsys/v2/gar/lib/python/collect_pkg_metadata.py', '--input', '/home/dam/staging/build-18.Feb.2015/nagios_plugin_mk_livestatus-1.2.4p5,REV=2015.02.18-SunOS5.10-sparc-UNCOMMITTED.pkg.gz'] has failed, error code: 1. To find out why the command failed, please run it in the foreground, like this: /home/dam/mgar/pkg/.buildsys/v2/gar/lib/python/collect_pkg_metadata.py --input /home/dam/staging/build-18.Feb.2015/nagios_plugin_mk_livestatus-1.2.4p5,REV=2015.02.18-SunOS5.10-sparc-UNCOMMITTED.pkg.gz
> /home/dam/mgar/pkg/.buildsys/v2/gar//gar.pkg.mk:1023: recipe for target 'pkgcheck' failed
> gmake: *** [pkgcheck] Error 2
> zsh: 27101 exit 2     mgar repackage

Any idea what is happening?


Best regards

  — Dago

-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2418 bytes
Desc: not available
URL: <http://lists.opencsw.org/pipermail/maintainers/attachments/20150218/1133f43c/attachment.p7s>


More information about the maintainers mailing list