For the record, running oprofile like that doesn't work for me, so I
created some commands to get and verify the CRC checksum with more basic
commands. These might come in handy for adding to the test suite.

Reading CRC checksum of a library's .gnu_debuglink and swap it around to
little endian:

$ objdump -j .gnu_debuglink -s /lib/libglib-2.0.so.0|sed -rn '$ { s/^.* 
([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})  .*$/\4\3\2\1/; p }'
8b249d1b

Calculate CRC checksum of a library's debug symbols:

$ python -c "import zlib; print '%x' % 
(zlib.crc32(open('/usr/lib/debug/lib/libglib-2.0.so.0.2400.0').read()) & 
0xffffffff)" 
8b249d1b

I checked that the checksum is correct for both libglib2.0-0-dbg and
libglib2.0-0-dbgsym, so it must be something specific with the cairo
build system. Trying that now..

-- 
Unable to create valid debug packages from some packages
https://bugs.launchpad.net/bugs/423748
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to