View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0006594 | libmicrohttpd | build system | public | 2020-09-09 14:43 | 2021-09-02 17:54 | 
| Reporter | wiz | Assigned To | Christian Grothoff | ||
| Priority | normal | Severity | minor | Reproducibility | always | 
| Status | closed | Resolution | fixed | ||
| Platform | all | OS | all | OS Version | all | 
| Product Version | 0.9.71 | ||||
| Target Version | 0.9.72 | Fixed in Version | 0.9.72 | ||
| Summary | 0006594: configure script accepts too-old gnutls | ||||
| Description | libmicrohttpd 0.9.71 wants to use gnutls_record_uncork and gnutls_record_cork. These functions were added in gnutls 3.1.9. However, older versions of gnutls are accepted, leading to linker errors (e.g. on RHEL6). ../../src/microhttpd/.libs/libmicrohttpd.so: undefined reference to `gnutls_record_uncork' ../../src/microhttpd/.libs/libmicrohttpd.so: undefined reference to `gnutls_record_cork' | ||||
| Steps To Reproduce | Build on a system with gnutls-2.x installed. | ||||
| Additional Information | I tried just adding a minimum version to the gnutls pkg-config check, but libmicrohttpd ignores this and accepts older gnutls anyway. (I think this part is too smart and should just be replaced with PKG_CHECK_MODULES(GNUTLS, [gnutls >= 3.1.9]) ) | ||||
| Tags | No tags attached. | ||||
|  | 16c13329..ed6afa82 changes the test to check for gnutls_record_uncork. I agree the test is an atrocity, but I _suspect_ it was written to make things work on non-GNU systems. | 
|  | Fix committed to master branch. | 
| libmicrohttpd: master ed6afa82 2020-09-12 00:23 Details Diff | fix 0006594: better test for gnutls_record_uncork | Affected Issues 0006594 | |
| mod - configure.ac | Diff File | ||
| libmicrohttpd: master d3589c58 2020-12-25 16:37 Details Diff | Revert "fix 0006594: better test for gnutls_record_uncork" | Affected Issues 0006594 | |
| mod - configure.ac | Diff File | ||
| Date Modified | Username | Field | Change | 
|---|---|---|---|
| 2020-09-09 14:43 | wiz | New Issue | |
| 2020-09-11 22:31 | Christian Grothoff | Note Added: 0016965 | |
| 2020-09-11 22:31 | Christian Grothoff | Assigned To | => Christian Grothoff | 
| 2020-09-11 22:31 | Christian Grothoff | Status | new => resolved | 
| 2020-09-11 22:31 | Christian Grothoff | Resolution | open => fixed | 
| 2020-09-11 22:31 | Christian Grothoff | Fixed in Version | => 0.9.72 | 
| 2020-09-11 22:31 | Christian Grothoff | Target Version | => 0.9.72 | 
| 2021-01-03 10:18 | Christian Grothoff | Status | resolved => closed | 
| 2021-09-02 17:54 | Karlson2k | Changeset attached | => libmicrohttpd master d3589c58 | 
| 2021-09-02 17:54 | Christian Grothoff | Changeset attached | => libmicrohttpd master ed6afa82 | 
| 2021-09-02 17:54 | Christian Grothoff | Note Added: 0018166 | 
