View Issue Details

IDProjectCategoryView StatusLast Update
0011347libmicrohttpdbuild systempublic2026-04-15 16:27
Reporterfernst Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Summary0011347: test suite failure in 1.0.4: FAIL: test_mhd_version
Description============================================================
   GNU libmicrohttpd 1.0.4: src/microhttpd/test-suite.log
============================================================

# TOTAL: 48
# PASS: 47
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0

System information (uname -a): Linux 6.12.74+deb13+1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.74-2 (2026-03-08) x86_64
Distribution information (/etc/os-release):
PRETTY_NAME="Debian GNU/Linux forky/sid"
NAME="Debian GNU/Linux"
VERSION_CODENAME=forky
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

.. contents:: :depth: 2

FAIL: test_mhd_version
======================

'1.0.4' vs '0x01000300' ('1.0.3') - FAILED.
Test failed. Number of errors: 1
Checking PACKAGE_VERSION macro vs VERSION macro.
'1.0.4' vs '1.0.4' - success.
Checking VERSION macro vs MHD_get_version() function.
'1.0.4' vs '1.0.4' - success.
Checking MHD_get_version() function vs MHD_VERSION macro.
Checking MHD_VERSION macro vs MHD_get_version_bin() function.
'0x01000300' vs '0x01000300' - success.
Checking format of MHD_get_version_bin() function return value.
'0x01000300' - success.
FAIL test_mhd_version (exit status: 1)
Steps To ReproduceBuild the package, run the tests.
Additional InformationThe attached trivial patch fixes the test.

BTW, I wanted to check in https://git.gnunet.org/libmicrohttpd.git (as linked to for Git access from https://www.gnu.org/software/libmicrohttpd/) to see whether this had already been worked on, but this 404s ...
TagsNo tags attached.
Attached Files
test_mhd_version.patch (510 bytes)   
Index: git/src/include/microhttpd.h
===================================================================
--- git.orig/src/include/microhttpd.h
+++ git/src/include/microhttpd.h
@@ -101,7 +101,7 @@ MHD_C_DECLRATIONS_START_HERE_
  * they are parsed as decimal numbers.
  * Example: 0x01093001 = 1.9.30-1.
  */
-#define MHD_VERSION 0x01000300
+#define MHD_VERSION 0x01000400
 
 /* If generic headers don't work on your platform, include headers
    which define 'va_list', 'size_t', 'ssize_t', 'intptr_t', 'off_t',
test_mhd_version.patch (510 bytes)   

Activities

Issue History

Date Modified Username Field Change
2026-04-15 16:27 fernst New Issue
2026-04-15 16:27 fernst File Added: test_mhd_version.patch