ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Q: debuginfod
@ 2021-08-13 14:47 Konstantin Lepikhov
  2021-08-13 15:20 ` Vitaly Chikunov
  0 siblings, 1 reply; 7+ messages in thread
From: Konstantin Lepikhov @ 2021-08-13 14:47 UTC (permalink / raw)
  To: ALT Linux Devel Mailing List

Привет!

А это у нас bluez как-то не так собран, или публикация debuginfod файлов
сломалась?

# export DEBUGINFOD_URLS="https://debuginfod.altlinux.org/"
# gdb -c /.1194039
GNU gdb (GDB) 10.1-alt1 (ALT Sisyphus)
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-alt-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
[New LWP 1194039]
Missing separate debuginfo for the main executable file
Try to install the hash file /usr/lib/debug/.build-id/c2/96ab4d3ecf88b1c1fa892584400e82a851cfaf
`/root/.cache/debuginfod_client/9260f25aefd8da6e252b02b6c66016554fd52608/debuginfo': can't read symbols: file format not recognized.
Core was generated by `/usr/libexec/bluetooth/bluetoothd'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007ff1dd87929a in ?? ()
(gdb) q
# rpm -q bluez
bluez-5.58-alt2.x86_64

# ll .cache/debuginfod_client/9260f25aefd8da6e252b02b6c66016554fd52608/debuginfo 
---------- 1 root root 0 13 aug 16:42 .cache/debuginfod_client/9260f25aefd8da6e252b02b6c66016554fd52608/debuginfo

-- 
WBR et al.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [devel] Q: debuginfod
  2021-08-13 14:47 [devel] Q: debuginfod Konstantin Lepikhov
@ 2021-08-13 15:20 ` Vitaly Chikunov
  2021-08-13 21:20   ` Konstantin Lepikhov
  0 siblings, 1 reply; 7+ messages in thread
From: Vitaly Chikunov @ 2021-08-13 15:20 UTC (permalink / raw)
  To: ALT Linux Devel Mailing List

Hi,

On Fri, Aug 13, 2021 at 04:47:11PM +0200, Konstantin Lepikhov wrote:
> 
> А это у нас bluez как-то не так собран, или публикация debuginfod файлов
> сломалась?

Работает. Но файла с таким build-id нет в архиве заданий - то есть, не было ни
в одном задании попавшем ни в один репозиторий, не закоммиченые задания не
обрабатываются.


> 
> # export DEBUGINFOD_URLS="https://debuginfod.altlinux.org/"
> # gdb -c /.1194039
> GNU gdb (GDB) 10.1-alt1 (ALT Sisyphus)
> Copyright (C) 2020 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> Type "show copying" and "show warranty" for details.
> This GDB was configured as "x86_64-alt-linux".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <https://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
>     <http://www.gnu.org/software/gdb/documentation/>.
> 
> For help, type "help".
> Type "apropos word" to search for commands related to "word".
> [New LWP 1194039]
> Missing separate debuginfo for the main executable file
> Try to install the hash file /usr/lib/debug/.build-id/c2/96ab4d3ecf88b1c1fa892584400e82a851cfaf
> `/root/.cache/debuginfod_client/9260f25aefd8da6e252b02b6c66016554fd52608/debuginfo': can't read symbols: file format not recognized.
> Core was generated by `/usr/libexec/bluetooth/bluetoothd'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  0x00007ff1dd87929a in ?? ()
> (gdb) q
> # rpm -q bluez
> bluez-5.58-alt2.x86_64
> 
> # ll .cache/debuginfod_client/9260f25aefd8da6e252b02b6c66016554fd52608/debuginfo 
> ---------- 1 root root 0 13 aug 16:42 .cache/debuginfod_client/9260f25aefd8da6e252b02b6c66016554fd52608/debuginfo
> 
> -- 
> WBR et al.
> _______________________________________________
> Devel mailing list
> Devel@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [devel] Q: debuginfod
  2021-08-13 15:20 ` Vitaly Chikunov
@ 2021-08-13 21:20   ` Konstantin Lepikhov
  2021-08-27 11:54     ` Konstantin Lepikhov
  0 siblings, 1 reply; 7+ messages in thread
From: Konstantin Lepikhov @ 2021-08-13 21:20 UTC (permalink / raw)
  To: devel

Hi Vitaly!

On 13-08-21, at 06:20:22  you wrote:

> Hi,
> 
> On Fri, Aug 13, 2021 at 04:47:11PM +0200, Konstantin Lepikhov wrote:
> > 
> > А это у нас bluez как-то не так собран, или публикация debuginfod файлов
> > сломалась?
> 
> Работает. Но файла с таким build-id нет в архиве заданий - то есть, не было ни
> в одном задании попавшем ни в один репозиторий, не закоммиченые задания не
> обрабатываются.
Спасибо! Да, это я наверное себе локальную сборку поставил.

-- 
WBR et al.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [devel] Q: debuginfod
  2021-08-13 21:20   ` Konstantin Lepikhov
@ 2021-08-27 11:54     ` Konstantin Lepikhov
  2021-08-28  7:45       ` Vitaly Chikunov
  0 siblings, 1 reply; 7+ messages in thread
From: Konstantin Lepikhov @ 2021-08-27 11:54 UTC (permalink / raw)
  To: devel

On 08/13/2021, at 11:20:10 PM you wrote:

> Hi Vitaly!
> 
> On 13-08-21, at 06:20:22  you wrote:
> 
> > Hi,
> > 
> > On Fri, Aug 13, 2021 at 04:47:11PM +0200, Konstantin Lepikhov wrote:
> > > 
> > > А это у нас bluez как-то не так собран, или публикация debuginfod файлов
> > > сломалась?
> > 
> > Работает. Но файла с таким build-id нет в архиве заданий - то есть, не было ни
> > в одном задании попавшем ни в один репозиторий, не закоммиченые задания не
> > обрабатываются.
> Спасибо! Да, это я наверное себе локальную сборку поставил.
Хм, все не так просто:

$ rpm -qi bluez
Name        : bluez
Version     : 5.58
Release     : alt2
DistTag     : sisyphus+279660.100.1.2
Architecture: x86_64
Install Date: vr 13 aug 2021 23:19:01 CEST
Group       : Networking/Other
Size        : 6933096
License     : GPL-2.0-or-later
Signature   : DSA/SHA1, ma 19 jul 2021 01:50:26 CEST, Key ID
95c584d5ae4ae412
Source RPM  : bluez-5.58-alt2.src.rpm
Build Date  : ma 19 jul 2021 01:50:21 CEST
Build Host  : qa_ldv-sisyphus.hasher.altlinux.org
Relocations : (not relocatable)
Packager    : L.A. Kostis <lakostis@altlinux.org>
Vendor      : ALT Linux Team
URL         : http://www.bluez.org/
Summary     : Bluetooth utilities
Description :
Bluetooth protocol stack for Linux

# gdb -c /.4072340
GNU gdb (GDB) 10.1-alt1 (ALT Sisyphus)
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-alt-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".

warning: Can't open file /lib64/libsystemd.so.0.32.0 (deleted) during
file-backed mapping note processing

warning: Can't open file /lib64/libpcre.so.3.15.13 (deleted) during
file-backed mapping note processing

warning: Can't open file /lib64/libglib-2.0.so.0.6800.3 (deleted)
during file-backed mapping note processing
[New LWP 4072340]
Missing separate debuginfo for the main executable file
Try to install the hash file
/usr/lib/debug/.build-id/c2/96ab4d3ecf88b1c1fa892584400e82a851cfaf
`/root/.cache/debuginfod_client/9260f25aefd8da6e252b02b6c66016554fd52608/debuginfo':
can't read symbols: file format not recognized.
Core was generated by `/usr/libexec/bluetooth/bluetoothd'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f13fa9dd29a in ?? ()
(gdb) 

т.е. опять этот несуществующий build id, хотя пакет установлен из Сизифа.

-- 
WBR et al.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [devel] Q: debuginfod
  2021-08-27 11:54     ` Konstantin Lepikhov
@ 2021-08-28  7:45       ` Vitaly Chikunov
  2021-08-30  9:56         ` Konstantin Lepikhov
  0 siblings, 1 reply; 7+ messages in thread
From: Vitaly Chikunov @ 2021-08-28  7:45 UTC (permalink / raw)
  To: devel

On Fri, Aug 27, 2021 at 01:54:51PM +0200, Konstantin Lepikhov wrote:
> On 08/13/2021, at 11:20:10 PM you wrote:
> > On 13-08-21, at 06:20:22  you wrote:
> > > On Fri, Aug 13, 2021 at 04:47:11PM +0200, Konstantin Lepikhov wrote:
> > > > 
> > > > А это у нас bluez как-то не так собран, или публикация debuginfod файлов
> > > > сломалась?
> > > 
> > > Работает. Но файла с таким build-id нет в архиве заданий - то есть, не было ни
> > > в одном задании попавшем ни в один репозиторий, не закоммиченые задания не
> > > обрабатываются.
> > Спасибо! Да, это я наверное себе локальную сборку поставил.
> Хм, все не так просто:
> 
> $ rpm -qi bluez
> Name        : bluez
> Version     : 5.58
> Release     : alt2
> DistTag     : sisyphus+279660.100.1.2
> Architecture: x86_64
> Install Date: vr 13 aug 2021 23:19:01 CEST
> Group       : Networking/Other
> Size        : 6933096
> License     : GPL-2.0-or-later
> Signature   : DSA/SHA1, ma 19 jul 2021 01:50:26 CEST, Key ID
> 95c584d5ae4ae412
> Source RPM  : bluez-5.58-alt2.src.rpm
> Build Date  : ma 19 jul 2021 01:50:21 CEST
> Build Host  : qa_ldv-sisyphus.hasher.altlinux.org
> Relocations : (not relocatable)
> Packager    : L.A. Kostis <lakostis@altlinux.org>
> Vendor      : ALT Linux Team
> URL         : http://www.bluez.org/
> Summary     : Bluetooth utilities
> Description :
> Bluetooth protocol stack for Linux
> 
> # gdb -c /.4072340
> GNU gdb (GDB) 10.1-alt1 (ALT Sisyphus)
> Copyright (C) 2020 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> Type "show copying" and "show warranty" for details.
> This GDB was configured as "x86_64-alt-linux".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <https://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
>     <http://www.gnu.org/software/gdb/documentation/>.
> 
> For help, type "help".
> Type "apropos word" to search for commands related to "word".
> 
> warning: Can't open file /lib64/libsystemd.so.0.32.0 (deleted) during
> file-backed mapping note processing
> 
> warning: Can't open file /lib64/libpcre.so.3.15.13 (deleted) during
> file-backed mapping note processing
> 
> warning: Can't open file /lib64/libglib-2.0.so.0.6800.3 (deleted)
> during file-backed mapping note processing
> [New LWP 4072340]
> Missing separate debuginfo for the main executable file
> Try to install the hash file
> /usr/lib/debug/.build-id/c2/96ab4d3ecf88b1c1fa892584400e82a851cfaf
> `/root/.cache/debuginfod_client/9260f25aefd8da6e252b02b6c66016554fd52608/debuginfo':
> can't read symbols: file format not recognized.
> Core was generated by `/usr/libexec/bluetooth/bluetoothd'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  0x00007f13fa9dd29a in ?? ()
> (gdb) 
> 
> т.е. опять этот несуществующий build id, хотя пакет установлен из Сизифа.

Если не было debuginfo для этого бинарника, то его нет и в базе.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [devel] Q: debuginfod
  2021-08-28  7:45       ` Vitaly Chikunov
@ 2021-08-30  9:56         ` Konstantin Lepikhov
  2021-08-30 10:05           ` Dmitry V. Levin
  0 siblings, 1 reply; 7+ messages in thread
From: Konstantin Lepikhov @ 2021-08-30  9:56 UTC (permalink / raw)
  To: devel; +Cc: aris

Hi Vitaly!

On 08/28/2021, at 10:45:55 AM you wrote:

<skip>
> > т.е. опять этот несуществующий build id, хотя пакет установлен из Сизифа.
> 
> Если не было debuginfo для этого бинарника, то его нет и в базе.
Ага, спасибо! Сделал исправление:
http://git.altlinux.org/tasks/284164/logs/events.1.1.log

-- 
WBR et al.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [devel] Q: debuginfod
  2021-08-30  9:56         ` Konstantin Lepikhov
@ 2021-08-30 10:05           ` Dmitry V. Levin
  0 siblings, 0 replies; 7+ messages in thread
From: Dmitry V. Levin @ 2021-08-30 10:05 UTC (permalink / raw)
  To: devel; +Cc: aris

On Mon, Aug 30, 2021 at 11:56:29AM +0200, Konstantin Lepikhov wrote:
> On 08/28/2021, at 10:45:55 AM you wrote:
> 
> <skip>
> > > т.е. опять этот несуществующий build id, хотя пакет установлен из Сизифа.
> > 
> > Если не было debuginfo для этого бинарника, то его нет и в базе.
> Ага, спасибо! Сделал исправление:
> http://git.altlinux.org/tasks/284164/logs/events.1.1.log

Спасибо, до этого изменения %optflags вообще не учитывались во время
компиляции в этом пакете.


-- 
ldv


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-08-30 10:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-13 14:47 [devel] Q: debuginfod Konstantin Lepikhov
2021-08-13 15:20 ` Vitaly Chikunov
2021-08-13 21:20   ` Konstantin Lepikhov
2021-08-27 11:54     ` Konstantin Lepikhov
2021-08-28  7:45       ` Vitaly Chikunov
2021-08-30  9:56         ` Konstantin Lepikhov
2021-08-30 10:05           ` Dmitry V. Levin

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git