)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"change_message_id":"33625af17667f4664d3191437f7b003eb61683e9","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"aef98f46_ab4876e2","updated":"2024-09-17 13:12:04.000000000","message":"Feature-ACK, but it does not work for me.\n\nI applied this against 14d2db6cd41fb6 on Ubuntu 20.04, did `autoreconf -vif` then `configure`, `make`, and it fails for me with\n\n```\ngcc -DHAVE_CONFIG_H -I. -I../.. -I../../include  -I../../include -I../../src/compat    -I/usr/include/lzo    -DPLUGIN_LIBDIR\u003d\\\"/usr/local/lib/openvpn/plugins\\\"  -Wall -Wno-stringop-truncation -g -O2 -std\u003dc11 -MT options.o -MD -MP -MF $depbase.Tpo -c -o options.o options.c \u0026\u0026\\\nmv -f $depbase.Tpo $depbase.Po\nIn file included from dco_internal.h:31,\n                 from dco.h:31,\n                 from tun.h:43,\n                 from socket.h:37,\n                 from ssl.h:38,\n                 from options.c:45:\ndco_linux.h:31:10: fatal error: netlink/socket.h: No such file or directory\n   31 | #include \u003cnetlink/socket.h\u003e\n      |          ^~~~~~~~~~~~~~~~~~\ncompilation terminated.\n```\nbecause the LIBNL_GENL_CFLAGS do not show up on the gcc command line...","commit_id":"4347f9d70b0f4f6e9b742390e52347dd981d0b29"},{"author":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"change_message_id":"8695bc9fbcdb85db2c87480684a7525c87802d97","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"ce1bff21_f70368bd","updated":"2024-09-17 13:32:32.000000000","message":"yeah, only got a partial diff.  With the `Makefile.am` patch added it works ;-)\n\nI do wonder about the doubling of all the LDFLAGS/CFLAGS variables, and if we can get rid of half of them...","commit_id":"4347f9d70b0f4f6e9b742390e52347dd981d0b29"},{"author":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"change_message_id":"9c1a0ee92af64f208626e1beb2c648f62fcadc08","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"0ebea501_90ecc033","in_reply_to":"aef98f46_ab4876e2","updated":"2024-09-17 13:28:02.000000000","message":"hmm, works for me.","commit_id":"4347f9d70b0f4f6e9b742390e52347dd981d0b29"}],"configure.ac":[{"author":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"change_message_id":"33625af17667f4664d3191437f7b003eb61683e9","unresolved":true,"context_lines":[{"line_number":1492,"context_line":"AC_SUBST([OPTIONAL_LIBCAPNG_CFLAGS])"},{"line_number":1493,"context_line":"AC_SUBST([OPTIONAL_LIBCAPNG_LIBS])"},{"line_number":1494,"context_line":"AC_SUBST([OPTIONAL_LIBNL_GENL_CFLAGS])"},{"line_number":1495,"context_line":"AC_SUBST([OPTIONAL_LIBNL_GENL_LIBS])"},{"line_number":1496,"context_line":"AC_SUBST([OPTIONAL_LZO_CFLAGS])"},{"line_number":1497,"context_line":"AC_SUBST([OPTIONAL_LZO_LIBS])"},{"line_number":1498,"context_line":"AC_SUBST([OPTIONAL_LZ4_CFLAGS])"}],"source_content_type":"application/octet-stream","patch_set":3,"id":"546e2b93_7afac6b6","line":1495,"updated":"2024-09-17 13:12:04.000000000","message":"so what are these needed for?  I see that the generated `src/openvpn/Makefile` has both\n\n```\nLIBNL_GENL_CFLAGS \u003d -I/usr/include/libnl3\nLIBNL_GENL_LIBS \u003d -lnl-genl-3 -lnl-3\n```\nand\n```\nOPTIONAL_LIBNL_GENL_CFLAGS \u003d -I/usr/include/libnl3\nOPTIONAL_LIBNL_GENL_LIBS \u003d -lnl-genl-3 -lnl-3\n```\nso this seems slightly redundant...","commit_id":"4347f9d70b0f4f6e9b742390e52347dd981d0b29"},{"author":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"change_message_id":"9c1a0ee92af64f208626e1beb2c648f62fcadc08","unresolved":true,"context_lines":[{"line_number":1492,"context_line":"AC_SUBST([OPTIONAL_LIBCAPNG_CFLAGS])"},{"line_number":1493,"context_line":"AC_SUBST([OPTIONAL_LIBCAPNG_LIBS])"},{"line_number":1494,"context_line":"AC_SUBST([OPTIONAL_LIBNL_GENL_CFLAGS])"},{"line_number":1495,"context_line":"AC_SUBST([OPTIONAL_LIBNL_GENL_LIBS])"},{"line_number":1496,"context_line":"AC_SUBST([OPTIONAL_LZO_CFLAGS])"},{"line_number":1497,"context_line":"AC_SUBST([OPTIONAL_LZO_LIBS])"},{"line_number":1498,"context_line":"AC_SUBST([OPTIONAL_LZ4_CFLAGS])"}],"source_content_type":"application/octet-stream","patch_set":3,"id":"a0cd9504_a65fc9b8","line":1495,"in_reply_to":"546e2b93_7afac6b6","updated":"2024-09-17 13:28:02.000000000","message":"Yeah, I assume this is related to that LIBNL_GENL_CFLAGS is automatically generated by PKG_CHECK_MODULES. The OPTIONAL_ makes sure we have a consistent place to put the arguments that we completely control. But in this case I just made the code consistent.","commit_id":"4347f9d70b0f4f6e9b742390e52347dd981d0b29"},{"author":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"change_message_id":"33625af17667f4664d3191437f7b003eb61683e9","unresolved":true,"context_lines":[{"line_number":1542,"context_line":"TEST_LDFLAGS\u003d\"${TEST_LDFLAGS} ${OPTIONAL_LZO_LIBS} ${CMOCKA_LIBS}\""},{"line_number":1543,"context_line":"TEST_CFLAGS\u003d\"${OPTIONAL_CRYPTO_CFLAGS} ${OPTIONAL_PKCS11_HELPER_CFLAGS} ${OPTIONAL_LIBCAPNG_CFLAGS}\""},{"line_number":1544,"context_line":"TEST_CFLAGS\u003d\"${TEST_CFLAGS} ${OPTIONAL_LIBNL_GENL_CFLAGS} ${OPTIONAL_LZO_CFLAGS}\""},{"line_number":1545,"context_line":"TEST_CFLAGS\u003d\"${TEST_CFLAGS} -I\\$(top_srcdir)/include ${CMOCKA_CFLAGS}\""},{"line_number":1546,"context_line":""},{"line_number":1547,"context_line":"AC_SUBST([TEST_LDFLAGS])"},{"line_number":1548,"context_line":"AC_SUBST([TEST_CFLAGS])"}],"source_content_type":"application/octet-stream","patch_set":3,"id":"97ee1a30_d7a7fbe2","line":1545,"updated":"2024-09-17 13:12:04.000000000","message":"This is `TEST_*` only, but shouldn\u0027t we have these for `AM_CFLAGS` and `openvpn_LDADD` as well?","commit_id":"4347f9d70b0f4f6e9b742390e52347dd981d0b29"},{"author":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"change_message_id":"9c1a0ee92af64f208626e1beb2c648f62fcadc08","unresolved":true,"context_lines":[{"line_number":1542,"context_line":"TEST_LDFLAGS\u003d\"${TEST_LDFLAGS} ${OPTIONAL_LZO_LIBS} ${CMOCKA_LIBS}\""},{"line_number":1543,"context_line":"TEST_CFLAGS\u003d\"${OPTIONAL_CRYPTO_CFLAGS} ${OPTIONAL_PKCS11_HELPER_CFLAGS} ${OPTIONAL_LIBCAPNG_CFLAGS}\""},{"line_number":1544,"context_line":"TEST_CFLAGS\u003d\"${TEST_CFLAGS} ${OPTIONAL_LIBNL_GENL_CFLAGS} ${OPTIONAL_LZO_CFLAGS}\""},{"line_number":1545,"context_line":"TEST_CFLAGS\u003d\"${TEST_CFLAGS} -I\\$(top_srcdir)/include ${CMOCKA_CFLAGS}\""},{"line_number":1546,"context_line":""},{"line_number":1547,"context_line":"AC_SUBST([TEST_LDFLAGS])"},{"line_number":1548,"context_line":"AC_SUBST([TEST_CFLAGS])"}],"source_content_type":"application/octet-stream","patch_set":3,"id":"3aa88266_2f45c1c9","line":1545,"in_reply_to":"97ee1a30_d7a7fbe2","updated":"2024-09-17 13:28:02.000000000","message":"This is handled by the patch in Makefile.am","commit_id":"4347f9d70b0f4f6e9b742390e52347dd981d0b29"}]}
