debuginfo package

Jan Kratochvil jan.kratochvil at redhat.com
Tue Jun 11 13:24:51 UTC 2013


On Tue, 11 Jun 2013 13:37:09 +0200, Peter Hatina wrote:
> cpio: wireshark-1.2.15/asn1/x509if/packet-x509if-dis-tab.c: Cannot stat:
> No such file or directory
[...]
> Does find-debuginfo.sh get confused, or where do those non-existing
> files come from?

They come from #line cpp directives which get compiled into .debug_line DWARF
section (readelf -wl or readelf -wL) and rpmbuild extracts them using:

$ /usr/lib/rpm/debugedit --help
  -l, --list-file=STRING     file where to put list of source and header file names

In your package:
$ grep -r packet-x509if-ett.c .
./wireshark-1.8.6/asn1/x509if/packet-x509if-template.c:#include "packet-x509if-ett.c"
./wireshark-1.8.6/epan/dissectors/packet-x509if.c:/*--- Included file: packet-x509if-ett.c ---*/
./wireshark-1.8.6/epan/dissectors/packet-x509if.c:#line 1 "../../asn1/x509if/packet-x509if-ett.c"
./wireshark-1.8.6/epan/dissectors/packet-x509if.c:/*--- End of included file: packet-x509if-ett.c ---*/
$ find -name packet-x509if-ett.c 
$ _

I did not check how to generate asn1/x509if/packet-x509if-ett.c and/or how to
regenerate epan/dissectors/packet-x509if.c , that is up to you as the package
maintainer.


Regards,
Jan


More information about the devel mailing list