[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#806966: marked as done (lintian: FTBFS: tests::legacy-debug fails)



Your message dated Fri, 4 Dec 2015 18:12:00 +0100
with message-id <20151204171200.GA4078@jwilk.net>
and subject line Re: Bug#806966: lintian: FTBFS: tests::legacy-debug fails
has caused the Debian Bug report #806966,
regarding lintian: FTBFS: tests::legacy-debug fails
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
806966: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806966
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: lintian
Version: 2.5.38.1
Severity: serious
Justification: fails to build from source

lintian FTBFS because tests::legacy-debug fails:
| tests::legacy-debug: diff -u t/tests/legacy-debug/tags /build/lintian-8S7bNp/lintian-2.5.38.1/debian/test-out/tests/debug/tags.debug
| --- t/tests/legacy-debug/tags	2015-11-01 14:48:36.000000000 +0000
| +++ /build/lintian-8S7bNp/lintian-2.5.38.1/debian/test-out/tests/debug/tags.debug	2015-12-03 15:44:58.424457639 +0000
| @@ -30,15 +30,12 @@
|  W: debug source: debian-rules-sets-DH_COMPAT line 5
|  W: debug source: dh-clean-k-is-deprecated
|  W: debug source: timewarp-standards-version (2006-04-04 < 2006-04-26)
| -W: hello-dbg: debug-file-with-no-debug-symbols usr/lib/debug/usr/bin/hello
|  W: hello-hello-dbg: latest-debian-changelog-entry-without-new-version
|  W: hello: binary-without-manpage usr/bin/hello
|  W: hello: binary-without-manpage usr/bin/hello.dbg
|  W: hello: latest-debian-changelog-entry-without-new-version
|  W: hi-dbg: latest-debian-changelog-entry-without-new-version
|  W: libhello0-dbg: debug-file-should-use-detached-symbols usr/lib/debug/lib/libhello.so.0.0
| -W: libhello0-dbg: debug-file-with-no-debug-symbols usr/lib/debug/lib/libhello.so.0.0
| -W: libhello0-dbg: debug-file-with-no-debug-symbols usr/lib/debug/usr/lib/libhello.so.0.0
|  W: libhello0-dbg: latest-debian-changelog-entry-without-new-version
|  W: libhello0-dbg: shared-lib-without-dependency-information usr/lib/libhello.so.dbg
|  W: libhello0: latest-debian-changelog-entry-without-new-version
| fail tests::legacy-debug: output differs!

Apparently something in GCC or libc has changed recently at causes binaries to contain debug info, even when they compiled without -g:

(stretch) $ gcc test.c && readelf --sections a.out | grep -c debug
0

(sid) $ gcc test.c && readelf --sections a.out | grep debug
 [28] .debug_aranges    PROGBITS        00000000 000690 000090 00      0   0  8
 [29] .debug_info       PROGBITS        00000000 000720 0001aa 00      0   0  1
 [30] .debug_abbrev     PROGBITS        00000000 0008ca 000076 00      0   0  1
 [31] .debug_line       PROGBITS        00000000 000940 000143 00      0   0  1
 [32] .debug_str        PROGBITS        00000000 000a83 00011d 01  MS  0   0  1
 [33] .debug_ranges     PROGBITS        00000000 000ba0 000048 00      0   0  8


Niels said on IRC that we could just remove that part of the test, as the new test suite already covers the debug-file-with-no-debug-symbols tag.

--
Jakub Wilk

--- End Message ---
--- Begin Message ---
* Jakub Wilk <jwilk@debian.org>, 2015-12-03, 16:51:
lintian FTBFS because tests::legacy-debug fails:
| tests::legacy-debug: diff -u t/tests/legacy-debug/tags /build/lintian-8S7bNp/lintian-2.5.38.1/debian/test-out/tests/debug/tags.debug
| --- t/tests/legacy-debug/tags	2015-11-01 14:48:36.000000000 +0000
| +++ /build/lintian-8S7bNp/lintian-2.5.38.1/debian/test-out/tests/debug/tags.debug	2015-12-03 15:44:58.424457639 +0000
| @@ -30,15 +30,12 @@
|  W: debug source: debian-rules-sets-DH_COMPAT line 5
|  W: debug source: dh-clean-k-is-deprecated
|  W: debug source: timewarp-standards-version (2006-04-04 < 2006-04-26)
| -W: hello-dbg: debug-file-with-no-debug-symbols usr/lib/debug/usr/bin/hello
|  W: hello-hello-dbg: latest-debian-changelog-entry-without-new-version
|  W: hello: binary-without-manpage usr/bin/hello
|  W: hello: binary-without-manpage usr/bin/hello.dbg
|  W: hello: latest-debian-changelog-entry-without-new-version
|  W: hi-dbg: latest-debian-changelog-entry-without-new-version
|  W: libhello0-dbg: debug-file-should-use-detached-symbols usr/lib/debug/lib/libhello.so.0.0
| -W: libhello0-dbg: debug-file-with-no-debug-symbols usr/lib/debug/lib/libhello.so.0.0
| -W: libhello0-dbg: debug-file-with-no-debug-symbols usr/lib/debug/usr/lib/libhello.so.0.0
|  W: libhello0-dbg: latest-debian-changelog-entry-without-new-version
|  W: libhello0-dbg: shared-lib-without-dependency-information usr/lib/libhello.so.dbg
|  W: libhello0: latest-debian-changelog-entry-without-new-version
| fail tests::legacy-debug: output differs!

The test no longer fails, presumably because of this fix:
| glibc (2.21-2) unstable; urgency=medium
|
|   [ Aurelien Jarno ]
[...]
|   * rules.d/debhelper.mk: strip *crt*.o files.

Thanks to Aurelien for promptly fixing this bug, and to Niels for poking him. :-)

--
Jakub Wilk

--- End Message ---

Reply to: