#1140889 claws-mail FTBFS: checking whether libetpan-config hints compiles and links fine... no

#1140889#5
Date:
2026-06-27 23:09:26 UTC
From:
To:
claws-mail failed to rebuild with python 3.14 as default. That was
presumably not the failure, though:

https://buildd.debian.org/status/fetch.php?pkg=claws-mail&arch=amd64&ver=4.4.0-1%2Bb1&stamp=1782596945&raw=0

Building with NetworkManager support
checking whether to use libetpan... yes
checking for libetpan >= 1.9.4... yes
checking for libetpan/libetpan.h... yes
checking whether libetpan-config hints compiles and links fine... no
*** Claws Mail requires libetpan 0.57 or newer. See http://www.etpan.org/
*** You can use --disable-libetpan if you don't need IMAP4 and/or NNTP support.
configure: error: libetpan 0.57 not found
	tail -v -n \+0 config.log
==> config.log <==
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by claws-mail configure 4.4.0-dirty, which was
generated by GNU Autoconf 2.73.  Invocation command line was

  $ ./configure --build=x86_64-linux-gnu --prefix=/usr '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules '--libdir=${prefix}/lib/x86_64-linux-gnu' --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --libdir=/usr/lib/x86_64-linux-gnu --enable-ipv6 --enable-ldap --with-config-dir=.claws-mail

Stefano

#1140889#10
Date:
2026-06-28 11:06:16 UTC
From:
To:
On Sat, 27 Jun 2026 19:09:26 -0400 Stefano Rivera <stefanor@debian.org> wrote:

Presumably there is a problem with the version value in
/usr/lib/x86_64-linux-gnu/pkgconfig/libetpan.pc

The configure script should never reach the libetpan-config check when using
libetpan >= 1.9.4.

with regards

Paul

#1140889#15
Date:
2026-06-28 12:10:15 UTC
From:
To:
On Sun, 28 Jun 2026 11:06:16 -0000 Paul <paul@thewildbeast.co.uk> wrote:

On further investigation, it seems that claws-mail's configure.ac libetpan
detection is broken.

with regards

Paul

#1140889#20
Date:
2026-06-28 12:21:11 UTC
From:
To:
On Sun, 28 Jun 2026 12:10:15 -0000 Paul <paul@thewildbeast.co.uk> wrote:

Again correcting myself:

I have successfully built claws-mail with libetpan 1.10.1. No problems at all.

Over to you, Ricardo.

with regards

Paul

#1140889#25
Date:
2026-06-28 12:37:39 UTC
From:
To:
Control: reassign -1 libetpan-dev 1.9.4-7
Control: affects -1 src:claws-mail
Control: close -1 1.9.4-8

The problem is that when upgrading to 1.10.0 apparently the 1.9.4-8
changes (including the fix for this bug) were lost.