Time to update fetchmail. Questing isn't LTS, so the best time to update is now.
You're building 6.4.39, fetchmail is at release 6.5.4, and 6.5.0 has fixed this 
particular issue.

The reason is one of the configure checks no longer works with modern
compilers (arguably the test code was ill-formed but older compilers
didn't assume  that T f() was T f(void), probably because they operated
for older language standards by default), and breaks:


configure:11620: checking use of void pointer type
configure:11636: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:98:18: error: too many arguments to function 'xmalloc'; expected 0, 
have 1
   98 |     p = (char *) xmalloc(1);
      |                  ^~~~~~~ ~
conftest.c:97:11: note: declared here
   97 |     void *xmalloc();
      |           ^~~~~~~
configure:11636: $? = 1


and that leaves the HAVE_VOIDPOINTER undefined in config.h, causing the 
mismatch.  It was an attemped workaround for antediluvian systems, which are 
EOL or extinct now.


Note that fetchmail 6.4.X versions are no longer supported. I am not suggesting 
workarounds for those. You're on your own.  Let me know if the newest 6.5.X 
gives you troubles.  It follows a stable-branch approach where patches on the 
same MAJOR.MINOR.PATCH version are compatible and are usually applicable even 
by conservative distros.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2120850

Title:
  fetchmail: questing autopkgtests failures

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fetchmail/+bug/2120850/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to