• Bug#1109024: Bug#1109054: nmu: ruby-mimemagic_0.4.3-1

    From Sebastian Ramacher@21:1/5 to Paul Gevers on Sat Jul 12 13:00:01 2025
    On 2025-07-10 20:46:09 +0200, Paul Gevers wrote:
    Hi

    On 10-07-2025 19:52, Sebastian Ramacher wrote:
    On 2025-07-10 15:24:26 +0200, Cédric Boutillier wrote:
    Package: release.debian.org
    Severity: normal
    X-Debbugs-Cc: ruby-mimemagic@packages.debian.org
    Control: affects -1 + src:ruby-mimemagic
    User: release.debian.org@packages.debian.org
    Usertags: binnmu

    nmu ruby-mimemagic_0.4.3-1 . ANY . unstable . -m "Rebuild against ruby3.3"

    Why is this rebuild needed?


    Because of bug #1109024. But, why did we miss this in ruby transition? Is there some automatically injected Depends missing in the packaging?

    I am not a ruby export, but none of the files seem to be ruby-version
    specific extensions (.so). Should ruby-mimemagic install its files to /usr/share/rubygems-integration/all instead of version-specific paths?

    Cheers
    --
    Sebastian Ramacher

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lucas Nussbaum@21:1/5 to Sebastian Ramacher on Sat Jul 12 14:00:01 2025
    On 12/07/25 at 12:50 +0200, Sebastian Ramacher wrote:
    On 2025-07-10 20:46:09 +0200, Paul Gevers wrote:
    Hi

    On 10-07-2025 19:52, Sebastian Ramacher wrote:
    On 2025-07-10 15:24:26 +0200, Cédric Boutillier wrote:
    Package: release.debian.org
    Severity: normal
    X-Debbugs-Cc: ruby-mimemagic@packages.debian.org
    Control: affects -1 + src:ruby-mimemagic
    User: release.debian.org@packages.debian.org
    Usertags: binnmu

    nmu ruby-mimemagic_0.4.3-1 . ANY . unstable . -m "Rebuild against ruby3.3"

    Why is this rebuild needed?


    Because of bug #1109024. But, why did we miss this in ruby transition? Is there some automatically injected Depends missing in the packaging?

    I am not a ruby export, but none of the files seem to be ruby-version specific extensions (.so). Should ruby-mimemagic install its files to /usr/share/rubygems-integration/all instead of version-specific paths?

    The upstream packaging is a bit broken: it includes an 'ext' dir (that
    is normally used for arch-specific libs) but its use of it does not
    involve arch-specific libs.

    Fixing the upstream packaging could make this a arch:all package too.

    Lucas

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?utf-8?q?C=C3=A9dric_Boutillier?=@21:1/5 to All on Sat Jul 12 23:20:02 2025
    --c9536ff20952d397f28f27e7f42cdf761b175aa2a6543a5a05461090cd1b Content-Transfer-Encoding: quoted-printable
    Content-Type: text/plain; charset=UTF-8

    On 12/07/25 at 12:50 +0200, Sebastian Ramacher wrote:
    On 2025-07-10 20:46:09 +0200, Paul Gevers wrote:
    Hi

    On 10-07-2025 19:52, Sebastian Ramacher wrote:

    I am not a ruby export, but none of the files seem to be ruby-version
    specific extensions (.so). Should ruby-mimemagic install its files to
    /usr/share/rubygems-integration/all instead of version-specific paths?

    I indeed completely overlooked that. You're right that nothing is arch
    specific in this package.

    The upstream packaging is a bit broken: it includes an 'ext' dir (that
    is normally used for arch-specific libs) but its use of it does not
    involve arch-specific libs.

    Fixing the upstream packaging could make this a arch:all package too.

    I remove the mention of an extension in the gemspec file, and make the
    package arch:all. This will fix what was a mysterious arch specific (and
    thus version specific) path for the gemspec file without explicit
    dependency on the librubx.y package. Polishing in progress.

    The NMU would help with the symptoms but not the cure the package, so
    let me cancel it.

    Cédric

    --c9536ff20952d397f28f27e7f42cdf761b175aa2a6543a5a05461090cd1b
    Content-Type: application/pgp-signature; name="signature.asc"

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

    iHUEABYKAB0WIQSEz/3CFSD4gwbsKdFSaZq2P58rwwUCaHLQ8gAKCRBSaZq2P58r wy70AP9fGzSMV0ATyk5o/QoNQvIy2kVw6R2q+cVL57lW0I5dkwEA9wRm49/2BR8I mU15X8H/mlHzVlw82G8P3Er4KA7qfAs=1v2i
    -----END PGP SIGNATURE-----

    --c9536ff20952d397f28f27e7f42cdf761b175aa2a6543a5a05461090cd1b--

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)