#1138240 meli: FTBFS: error: failed to select a version for `isahc`.

Package:
meli
Source:
meli
Description:
terminal mail client
Submitter:
Matthias Geiger
Date:
2026-05-31 12:07:02 UTC
Severity:
normal
Tags:
#1138240#5
Date:
2026-05-29 20:08:56 UTC
From:
To:
Hi,

a fresh debcheckout does not build at all:

dpkg-source: info: building meli in ../meli_0.8.13+dfsg-3.debian.tar.xz
dpkg-source: info: building meli in ../meli_0.8.13+dfsg-3.dsc
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure --buildsystem=rust
	/usr/share/dh-rust/bin/cargo prepare-debian debian/cargo_registry
debian cargo wrapper: options, profiles, parallel, lto: ['parallel=14'] [] ['-j14'] 0
debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu, x86_64-linux-gnu
debian cargo wrapper: linking /usr/share/cargo/registry/* into /build/reproducible-path/meli-0.8.13+dfsg/debian/cargo_registry/
	cargo update
error: failed to select a version for `isahc`.
    ... required by package `melib v0.8.13 (/build/reproducible-path/meli-0.8.13+dfsg/melib)`
    ... which satisfies path dependency `melib` of package `meli v0.8.13 (/build/reproducible-path/meli-0.8.13+dfsg/meli)`
versions that meet the requirements `^1.7.2` are: 1.8.2

package `melib` depends on `isahc` with feature `static-curl` but `isahc` does not have that feature.
 available features: cookies, default, encoding_rs, http2, httpdate, json, mime, psl, serde, serde_json, spnego, text-decoding, unstable-interceptors


failed to select a version for `isahc` which could resolve this conflict
dh_auto_configure: error: cargo update returned exit code 101
make: *** [debian/rules:16: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2

best,

werdahias

#1138240#10
Date:
2026-05-29 20:56:05 UTC
From:
To:
Quoting Matthias Geiger (2026-05-29 22:08:56)

It seems you are building with patches unapplied: The patch
2002_system-shared_libs.patch should take care of that issue with
static C libraries.

 - Jonas

#1138240#15
Date:
2026-05-29 21:22:44 UTC
From:
To:
retitle 1138240 meli: FTBFS: error: failed to select a version for `isahc`.
thanks

Hello. I assume he's doing the normal thing, because I also can't
build meli from source, and the error I get is the same and also the
same you can see in reproducible-builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/meli.html

I did not report this failure myself because I already reported another FTBFS bug
which is still open:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1129191

(In cases like this one, my scripts assume that whatever build failure
I get is due to the only ftbfs bug reported. This is usually the case,
but not always. In either case I prefer this poor algorithm than
running the risk of filing duplicate bugs).

Maybe the old bug is already fixed and the only bug which needs to be
fixed is the one reported now.

Thanks.

#1138240#22
Date:
2026-05-29 21:27:48 UTC
From:
To:
debcheckout meli; uscan -dd; sbuild
That should not matter as dpkg-source applies those patches.

best,

werdahias

#1138240#29
Date:
2026-05-31 12:05:04 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
meli, 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 1138240@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonas Smedegaard <dr@jones.dk> (supplier of updated meli 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: Sun, 31 May 2026 13:39:06 +0200
Source: meli
Architecture: source
Version: 0.8.13+dfsg-4
Distribution: unstable
Urgency: medium
Maintainer: Jonas Smedegaard <dr@jones.dk>
Changed-By: Jonas Smedegaard <dr@jones.dk>
Closes: 1129191 1138240
Changes:
 meli (0.8.13+dfsg-4) unstable; urgency=medium
 .
   * extend patch 2002_system-shared_libs;
     closes: bug#1138240, thanks to Matthias Geiger and Santiago Vila
   * add patch cherry-picked upstream
     to fix odd Debian-speciic build failure;
     closes: bug#1129191, thanks to Santiago Vila and Manos Pitsidianakis
   * update copyright info: license patches same as main upstream license
Checksums-Sha1:
 f6afa0c1aab724605a990c056c0909c2e31febd4 4173 meli_0.8.13+dfsg-4.dsc
 8c8e8672b34f2f622cc0eff5fae5667a9258fbf5 19880 meli_0.8.13+dfsg-4.debian.tar.xz
 e7045bf3f7dd1ed5de57b76c25d5b6ae39030831 34849 meli_0.8.13+dfsg-4_amd64.buildinfo
Checksums-Sha256:
 9deaf41c9417e84a23e183568393c16155996cf4740db11550c75a6566b25165 4173 meli_0.8.13+dfsg-4.dsc
 57a8fb53c3d5c3eb5980e777e005a3df6e220c819b467343b02a09609f0b6168 19880 meli_0.8.13+dfsg-4.debian.tar.xz
 df337100739f2dd79656cbce71936ee694e20b32d5618606758f8bb370898f81 34849 meli_0.8.13+dfsg-4_amd64.buildinfo
Files:
 cbbacaab97af3b6fbb95ecd8b51f6ead 4173 mail optional meli_0.8.13+dfsg-4.dsc
 4ec95e1d1a9a437f30b2f402d25e1b20 19880 mail optional meli_0.8.13+dfsg-4.debian.tar.xz
 562a90f8ccfc16148ee3c987465bcd22 34849 mail optional meli_0.8.13+dfsg-4_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJABAEBCgAqFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmocIO0MHGRyQGpvbmVz
LmRrAAoJECx8MUbBoAEhHEgQAIXA+QApoua2M6b7rpqLuYeghdSIUoCYlWuqFgIE
KUZOmUURtDFTi7Y1tKiUi3L+i9/vwhuysz5U9tMgP5IBIi8BaOO7IQO0GAFnqlRp
GPEbPrU20QjnCdJrDbBu/it4x2CmU+aQWEWgdYS53GKNyaq7zSlpK8RHX7+AiDMR
ZaaelW4WbXMr9sGwknYyVbTisd8h0XR6+WT7D/bHQrmo2LhlV21RjzSHHAkAHyLL
neqf/PxJ83Ec2h4nnswk7BUZQH5Wi3Js3pKwMf0v1EV68xK6ZI/YSt0aMg5QQscu
3LKGgXTxeOVgn5GqDnDtFewTBU3zYTm1N9i0n8UVceg5xiJ8lt+DpP8LMi6dCZQc
TInmOQ0NLQg0d+krSaKqqerX8JChurtsd8WhsNUGbgvGH4Cvs9ectMT28xqiYBxg
P7PuagjwlBpMq7RMGEVT//g2WZM7b6FALLW7R96+IgaSAfYPmSykesaFH/lPIbbw
W/gXJHaCi+chGNJap8Kjn6Xa8BsrDJIJ/KmGqR/762ESfwEPH7p9TfuL/E6A37Ik
OQ52eeTx5CtyqvlIYj3Lo8wtRrbBFEz7/9bY9J3SchSaDYqbR6rkKhsy12Pb4o4W
BFdSXmsidoecC9/e3RvxcAE3nrWLZrlvVwksqt0uMPYkT3JOzJXDdxejPOgj2EEn
I3SI
=757F
-----END PGP SIGNATURE-----