[csw-maintainers] pkgcheck phase is failing

Yann Rouillard yann at pleiades.fr.eu.org
Mon Jan 7 09:29:41 CET 2013


Hi Peter,

It's not really the build system that seems to be wrong here.

The elf header of the dvips binary seems to be corrupt and ldd, that is
used to gather information on the binary, doesn't like it.

Indeed:

$ ldd -Ur
/home/pfelecan/opencsw/texlive/trunk/work/solaris10-sparc/pkgroot/opt/csw/bin/dvips

ldd:
/home/pfelecan/opencsw/texlive/trunk/work/solaris10-sparc/pkgroot/opt/csw/bin/dvips:
elf_getehdr: Format error: shdr table truncated

$ ldd
/home/pfelecan/opencsw/texlive/trunk/work/solaris10-sparc/pkgroot/opt/csw/bin/dvips

ldd:
/home/pfelecan/opencsw/texlive/trunk/work/solaris10-sparc/pkgroot/opt/csw/bin/dvips:
elf_getehdr: Format error: shdr table truncated
$ elfdump
/home/pfelecan/opencsw/texlive/trunk/work/solaris10-sparc/pkgroot/opt/csw/bin/dvips
/home/pfelecan/opencsw/texlive/trunk/work/solaris10-sparc/pkgroot/opt/csw/bin/dvips:
elf_getehdr failed: Format error: shdr table truncated


Can you find the exact command line that was used to generate this binary ?


Yann


Le 7 janv. 2013 09:03, "pfelecan" <pfelecan at opencsw.org> a écrit :

> Since last week the checking phase of the packages is quite fragile. The
> last error that I got follows:
>
>   File "/home/pfelecan/opencsw/.**buildsys/v2/gar//bin/checkpkg"**, line
> 197, in <module>
>     main()
>   File "/home/pfelecan/opencsw/.**buildsys/v2/gar//bin/checkpkg"**, line
> 120, in main
>     stats_list = collector.**CollectStatsFromFiles(file_**list, None)
>   File "/home/pfelecan/opencsw/.**buildsys/v2/lib/python/**package_stats.py",
> line 506, in CollectStatsFromFiles
>     stats.CollectStats(force=**force_unpack)
>   File "/home/pfelecan/opencsw/.**buildsys/v2/lib/python/**package_stats.py",
> line 175, in CollectStats
>     return self._CollectStats(register_**files=register_files)
>   File "/home/pfelecan/opencsw/.**buildsys/v2/lib/python/**package_stats.py",
> line 211, in _CollectStats
>     "ldd_info": dir_pkg.GetLddMinusRlines(),
>   File "/home/pfelecan/opencsw/.**buildsys/v2/lib/python/**inspective_package.py",
> line 405, in GetLddMinusRlines
>     raise package.Error("%s returned an error: %s" % (args, stderr))
> package.Error: ['ldd', '-Ur', '/tmp/pkg_Oqf0qy/CSWtexlive-**
> binaries/root/opt/csw/bin/**dvips'] returned an error: ldd:
> /tmp/pkg_Oqf0qy/CSWtexlive-**binaries/root/opt/csw/bin/**dvips:
> elf_getehdr: Format error: shdr table truncated
>
> gmake[1]: *** [pkgcheck] Error 2
> gmake: *** [platforms-repackage] Error 2
>
> Don't hesitate to tell me when a correction is made to start a new
> iteration on TeXLive.
>
> TIA
>
> N.B. I updated the .buildsys/v2 before the action.
>
> ______________________________**_________________
> maintainers mailing list
> maintainers at lists.opencsw.org
> https://lists.opencsw.org/**mailman/listinfo/maintainers<https://lists.opencsw.org/mailman/listinfo/maintainers>
> .:: This mailing list's archive is public. ::.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/maintainers/attachments/20130107/8ce56dde/attachment.html>


More information about the maintainers mailing list