#1109024 ruby-mimemagic: autopkgtest regression: non-zero exit status 1

#1109024#5
Date:
2025-07-09 19:34:27 UTC
From:
To:
Dear maintainer(s),

Your package has an autopkgtest, great. However, it fails since early
2025. Can you please investigate the situation and fix it? I copied some
of the output at the bottom of this report.

The release team has announced [1] that failing autopkgtest on amd64 and
arm64 are considered RC in testing.

More information about this bug and the reason for filing it can be
found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

With my Release Team member hat on I allow you to tag this bug as
trixie-ignore if this is nearly completely a test issue as it's so late
in the freeze and it's not worth removing the package from trixie
because of a failing test at this moment unless it exposes a much bigger
issue. Having said that, if this is a test only issue and a fix is
possible without fully removing the autopkgtest and without making the
test superficial, it's still welcome, but it would need to happen soon.

Paul

[1] https://lists.debian.org/debian-devel-announce/2019/07/msg00002.html

https://ci.debian.net/data/autopkgtest/testing/amd64/r/ruby-mimemagic/61514695/log.gz

  26s
┌──────────────────────────────────────────────────────────────────────────────┐
  26s │ Run tests for ruby3.3 from debian/ruby-tests.rake
             │
  26s
└──────────────────────────────────────────────────────────────────────────────┘
  26s
  26s RUBYLIB=. GEM_PATH= ruby3.3 -S rake --rakelibdir
/gem2deb-nonexistent -f debian/ruby-tests.rake
  26s mv lib ./.gem2deb.lib
  26s mv ext ./.gem2deb.ext
  26s /usr/bin/ruby3.3 -w -I"test"
/usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb
   -v
  27s mv ./.gem2deb.lib lib
  27s mv ./.gem2deb.ext ext
  27s autopkgtest [06:08:41]: test gem2deb-test-runner:
-----------------------]

#1109024#10
Date:
2025-07-10 12:52:55 UTC
From:
To:
Hi,

Thanks for the report.
somehow, this package misses a rebuild against ruby3.3.
We should request a binNMU.

Cheers,
Cédric

#1109024#17
Date:
2025-07-10 18:46:09 UTC
From:
To:
Hi


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

Paul

#1109024#22
Date:
2025-07-12 10:50:19 UTC
From:
To:
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

#1109024#27
Date:
2025-07-12 11:51:08 UTC
From:
To:
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

#1109024#32
Date:
2025-07-12 21:17:38 UTC
From:
To:
I indeed completely overlooked that. You're right that nothing is arch
specific in this package.

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

#1109024#37
Date:
2025-07-12 22:31:06 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
ruby-mimemagic, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1109024@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Cédric Boutillier <boutil@debian.org> (supplier of updated ruby-mimemagic package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 12 Jul 2025 23:07:00 +0200
Source: ruby-mimemagic
Architecture: source
Version: 0.4.3-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Changed-By: Cédric Boutillier <boutil@debian.org>
Closes: 1109024
Changes:
 ruby-mimemagic (0.4.3-2) unstable; urgency=medium
 .
   * Make the package arch:all as it should
     + Stop installing the files (especially gemspec) in a
     arch/version-specific path (Closes: #1109024)
     + Remove the (fake) binary extension mention in gemspec file
   * Create lib/mimemagic/path.rb by hand
   * Do not install files from ext/
Checksums-Sha1:
 68db4b3a9e874e75b27d5e6e8906fc19ef27d427 1469 ruby-mimemagic_0.4.3-2.dsc
 7fb6066249e2640ebbce63d8e310e300f335c547 7477 ruby-mimemagic_0.4.3.orig.tar.gz
 e38a723dd764246e218dfe888e2973c6117dc169 4128 ruby-mimemagic_0.4.3-2.debian.tar.xz
 ddc5a0468fe55092a9aeb0f62a239a3d96d88064 7983 ruby-mimemagic_0.4.3-2_amd64.buildinfo
Checksums-Sha256:
 47193aa797cf68ad65fc3fdd30fe01836a064bac0b28d095427ec609e2f61c5e 1469 ruby-mimemagic_0.4.3-2.dsc
 d268bef14f991f738b94da3e237e97e7d04aaa2fd564e407011fa57a67e16970 7477 ruby-mimemagic_0.4.3.orig.tar.gz
 c8ef81ec71a1721db95ed6b1d9542fb9b56e05d79e1a9eb499537f3653f46a4c 4128 ruby-mimemagic_0.4.3-2.debian.tar.xz
 70784eec52d5bd4f24b3d10849cb43c814606f0bed92acdc714191cc6d5958db 7983 ruby-mimemagic_0.4.3-2_amd64.buildinfo
Files:
 15e39e71381f56f47feac17a2ca87445 1469 ruby optional ruby-mimemagic_0.4.3-2.dsc
 c3bffa5c71606db011ae835f2f2d5922 7477 ruby optional ruby-mimemagic_0.4.3.orig.tar.gz
 75825c01b30f1c5b10e25758ede42012 4128 ruby optional ruby-mimemagic_0.4.3-2.debian.tar.xz
 26f4ee4b2c976fca5f3d04ee24af30e8 7983 ruby optional ruby-mimemagic_0.4.3-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQSEz/3CFSD4gwbsKdFSaZq2P58rwwUCaHLVhAAKCRBSaZq2P58r
wytYAP0bnEdBix4eOZGJ/9Y0A/oJ5Vy3TaqORKMz/cSKUNjQCQD/QNC3IGpWlakQ
rmD0UasyxmlS2UdnFgzoUovfKdGuvg0=
=DuD4
-----END PGP SIGNATURE-----