• Bug#1101077: meli: Please provide debug packages

    From Matthias Geiger@21:1/5 to All on Sat Mar 22 23:40:01 2025
    Package: meli
    Version: 0.8.10+dfsg-4
    Severity: normal
    X-Debbugs-Cc: werdahias@debian.org

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA256

    Hi,
    I wanted to debug meli today by installing its corresponding -debug
    package. But no suck package exists. Please consider providing it.

    best,


    werdahias


    - -- System Information:
    Debian Release: trixie/sid
    APT prefers unstable
    APT policy: (500, 'unstable'), (1, 'experimental')
    Architecture: amd64 (x86_64)
    Foreign Architectures: i386

    Kernel: Linux 6.12.19-amd64 (SMP w/16 CPU threads; PREEMPT)
    Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
    Shell: /bin/sh linked to /usr/bin/dash
    Init: OpenRC (via /run/openrc), PID 1: init
    LSM: AppArmor: enabled

    Versions of packages meli depends on:
    ii libc6 2.41-6
    ii libcurl3t64-gnutls 8.13.0~rc2-1
    ii libdbus-1-3 1.16.2-2
    ii libgcc-s1 14.2.0-19
    ii libsqlite3-0 3.46.1-2
    ii libssl3t64 3.4.1-1

    Versions of packages meli recommends:
    ii dbus-x11 [dbus-session-bus] 1.16.2-2
    ii libgpgme11t64 [libgpgme11] 1.24.2-1+b1
    ii libnotmuch5t64 [libnotmuch5] 0.39-1
    ii mailcap 3.74
    ii python3-pygments 2.18.0+dfsg-2
    ii w3m 0.5.3+git20230121-2.1

    Versions of packages meli suggests:
    ii exim4-daemon-light [mail-transport-agent] 4.98.1-1
    ii gnupg 2.2.46-5

    - -- no debconf information


    -----BEGIN PGP SIGNATURE-----

    iIsEARYIADMWIQQUWTv/Sl6/b+DpcW7svtu2B7myvgUCZ9867hUcd2VyZGFoaWFz QGRlYmlhbi5vcmcACgkQ7L7btge5sr4UuQEAoyjS8JH+1Pz2rTyRl19ehWpvRoYf us+G+enoBieRnI8A/3uK4rcq5r7y9JKzja2R96CEVrU8/KJXRiT6+LNgUgkN
    =BU6u
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jonas Smedegaard@21:1/5 to All on Sun Mar 23 00:30:01 2025
    Control: tag -1 moreinfo

    Hi Matthias,

    Quoting Matthias Geiger (2025-03-22 23:34:27)
    I wanted to debug meli today by installing its corresponding -debug
    package. But no suck package exists. Please consider providing it.

    I am unaware that I am supposed to cast any runes for -debug packages
    to occur. On the contrary, it is my understanding that *not* doing
    anything special allows debhelper to automagically generate -debug
    packages - when possible.

    It is therefore my guess that perhaps meli specifically or Rust more
    generally does not provide what is necessary for debhelper to do its
    magic.

    I am most happy to learn more, if anyone can help provide the needed information.

    - Jonas

    --
    * Jonas Smedegaard - idealist & Internet-arkitekt
    * Tlf.: +45 40843136 Website: http://dr.jones.dk/
    * Sponsorship: https://ko-fi.com/drjones

    [x] quote me freely [ ] ask before reusing [ ] keep private --==============h87316025389390505=MIME-Version: 1.0
    Content-Transfer-Encoding: 7bit
    Content-Description: signature
    Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii"

    -----BEGIN PGP SIGNATURE-----

    wsG7BAABCgBvBYJn30VqCRAsfDFGwaABIUcUAAAAAAAeACBzYWx0QG5vdGF0aW9u cy5zZXF1b2lhLXBncC5vcme2iXbrrEXF5lIwUwSnjgMmhKzmryjhBwkaqCJ0IXGN MhYhBJ/j6cNmkaaf9TzGhCx8MUbBoAEhAACIBQ/9GaUIXfvXkkpzPuEXf2Olwz7/ AH6pN8Ffej9iOzKBqlpJ4LauZrLqXjDtoNjbkGoa/NNiD0AEMmRoEU6Y/G6gYla5 /MDP6chSJZXJy2mpqYZmOnNk0l47U0WRDLPyEqNJONy5DrZZn2N9oklQ/7X/9IE3 K2TwDAtelJXWEoKXgcDpcJzMP2fVji1kRo2ktboBbx1K5CdeCv86UvoyeX7+H7fN TCU6ZdY/FgHJ5ZGB7GcSyiDZdKk2BLsmfcyAjk5A9yHzhIkqfosfzmyUON4TEzFl oilfb8IlRPskC77jeAOVgeg7Q5hvtSJVP7WCTF+zPEly1Ky5it7Rppt5wqaepnoW WJb8tsgIN/yhPsrF0gd65UXJRf1cSDECybBGAgmi
  • From Matthias Geiger@21:1/5 to Jonas Smedegaard on Sun Mar 23 00:40:01 2025
    On Sun, 23 Mar 2025 00:19, Jonas Smedegaard <jonas@jones.dk> wrote:
    Control: tag -1 moreinfo

    Hi Matthias,

    Quoting Matthias Geiger (2025-03-22 23:34:27)
    I wanted to debug meli today by installing its corresponding -debug
    package. But no suck package exists. Please consider providing it.

    I am unaware that I am supposed to cast any runes for -debug packages
    to occur. On the contrary, it is my understanding that *not* doing
    anything special allows debhelper to automagically generate -debug
    packages - when possible.

    It is therefore my guess that perhaps meli specifically or Rust more >generally does not provide what is necessary for debhelper to do its
    magic.

    I am most happy to learn more, if anyone can help provide the needed >information.

    I think this might be a dh-rust issue. From melis buildlog:
    dh_dwz -a
    dwz: debian/meli/usr/bin/meli: .debug_info section not present

    For instance for tex-fmt I just use the cargo wrapper (usr/share/cargo/bin/cargo) and its debug packages are generated
    automatically.
    I think that might be the root cause here (but happy to proven wrong).
    All binary rust packages I maintain built with the wrapper have debug
    symbols enabled.

    best,

    werdahias

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Matthias Geiger@21:1/5 to Matthias Geiger on Sun Mar 23 01:30:01 2025
    On Sun, 23 Mar 2025 00:23, Matthias Geiger <werdahias@riseup.net> wrote:
    On Sun, 23 Mar 2025 00:19, Jonas Smedegaard <jonas@jones.dk> wrote:
    Control: tag -1 moreinfo

    Hi Matthias,

    Quoting Matthias Geiger (2025-03-22 23:34:27)
    I wanted to debug meli today by installing its corresponding -debug
    package. But no suck package exists. Please consider providing it.

    I am unaware that I am supposed to cast any runes for -debug packages
    to occur. On the contrary, it is my understanding that *not* doing >>anything special allows debhelper to automagically generate -debug
    packages - when possible.

    It is therefore my guess that perhaps meli specifically or Rust more >>generally does not provide what is necessary for debhelper to do its
    magic.

    I am most happy to learn more, if anyone can help provide the needed >>information.

    I think this might be a dh-rust issue. From melis buildlog:
    dh_dwz -a
    dwz: debian/meli/usr/bin/meli: .debug_info section not present

    For instance for tex-fmt I just use the cargo wrapper >(usr/share/cargo/bin/cargo) and its debug packages are generated >automatically.
    I think that might be the root cause here (but happy to proven wrong).
    All binary rust packages I maintain built with the wrapper have debug
    symbols enabled.
    As pointed out by a fellow DD this is casued by the "strip = true" key
    in Cargo.toml: https://codesearch.debian.net/search?q=path%3ACargo.toml+strip+%3D+true&literal=1&perpkg=1

    best,

    werdahias

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jonas Smedegaard@21:1/5 to All on Sun Mar 23 13:40:01 2025
    Quoting Matthias Geiger (2025-03-23 01:17:11)
    As pointed out by a fellow DD this is casued by the "strip = true"
    key in Cargo.toml: https://codesearch.debian.net/search?q=path%3ACargo.toml+strip+%3D+true&literal=1&perpkg=1

    Ah - makes great sense. Thanks!

    - Jonasd

    --
    * Jonas Smedegaard - idealist & Internet-arkitekt
    * Tlf.: +45 40843136 Website: http://dr.jones.dk/
    * Sponsorship: https://ko-fi.com/drjones

    [x] quote me freely [ ] ask before reusing [ ] keep private --==============197943624987030690=MIME-Version: 1.0
    Content-Transfer-Encoding: 7bit
    Content-Description: signature
    Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii"

    -----BEGIN PGP SIGNATURE-----

    wsG7BAABCgBvBYJn3//sCRAsfDFGwaABIUcUAAAAAAAeACBzYWx0QG5vdGF0aW9u cy5zZXF1b2lhLXBncC5vcmdJHwz7aLEI17Y+Qodf5EOJA8u4qqDYyAYnVmt05GFe JRYhBJ/j6cNmkaaf9TzGhCx8MUbBoAEhAAAWCg/8CMF9bOW7qadvhG2ek9mdsj9Q GY1AVIP8Xs+r/YRMRrUdoagbWI50M0uHAqzd75dZdyfH3csGwW7z/HIx8AHyYdYG B+NA7YDWMAdns1z9OaEwarPC68SwjcytGn/0aHMh42q7nGD6ZK4FhgdloqHRBAv2 d9C6oqGKzro/EOVMjc1suBUY71JyhXQ1vSZEjSayNlWzcr+eCqm8J/othoe0tlnz n44iJsgryPSREIk2B/uyKU9PbyIKNx163aqvuOvOqmHIVV7nNvhYxOo1BjEBftW6 FTakceRelAJA6d2lULgXvKQdWHQXvsVPJ6/yC6GbJnjXovKHz+ZhH0GY3X0z9Elf E7Ha4sx6fPa0XGiKUgd+Xco7JWo+jVN43ykxJHsM