I was trying to emerge kmymoney with the hbci USE flag enabled, and it pulled in net-libs/aqbanking as a dependency. I'm using GCC 7.3.1, but I don't know if that has any bearing on this. The compilation of aqbanking failed with the following output: Making all in msglayer make[8]: Entering directory '/var/tmp/portage/net-libs/aqbanking-5.7.8/work/aqbanking-5.7.8/src/plugins/backends/aqhbci/plugin/msglayer' /bin/sh ../../../../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DAH_XMLDATADIR=\"/usr/share/aqbanking/backends/aqhbci\" -I. -I../../../../../.. -I. -I./.. -I./../banking -I./../applayer -I./../joblayer -I../../../../../../aqbanking5 -I/usr/include/gwenhywfar4 -I../../../../../../src/libs/aqbanking -DBUILDING_AQHBCI -fvisibility=hidden -march=nocona -O2 -freorder-blocks-and-partition -pipe -Wall -c -o account.lo account.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DAH_XMLDATADIR=\"/usr/share/aqbanking/backends/aqhbci\" -I. -I../../../../../.. -I. -I./.. -I./../banking -I./../applayer -I./../joblayer -I../../../../../../aqbanking5 -I/usr/include/gwenhywfar4 -I../../../../../../src/libs/aqbanking -DBUILDING_AQHBCI -fvisibility=hidden -march=nocona -O2 -freorder-blocks-and-partition -pipe -Wall -c account.c -fPIC -DPIC -o .libs/account.o /bin/sh ../../../../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DAH_XMLDATADIR=\"/usr/share/aqbanking/backends/aqhbci\" -I. -I../../../../../.. -I. -I./.. -I./../banking -I./../applayer -I./../joblayer -I../../../../../../aqbanking5 -I/usr/include/gwenhywfar4 -I../../../../../../src/libs/aqbanking -DBUILDING_AQHBCI -fvisibility=hidden -march=nocona -O2 -freorder-blocks-and-partition -pipe -Wall -c -o bpd.lo bpd.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DAH_XMLDATADIR=\"/usr/share/aqbanking/backends/aqhbci\" -I. -I../../../../../.. -I. -I./.. -I./../banking -I./../applayer -I./../joblayer -I../../../../../../aqbanking5 -I/usr/include/gwenhywfar4 -I../../../../../../src/libs/aqbanking -DBUILDING_AQHBCI -fvisibility=hidden -march=nocona -O2 -freorder-blocks-and-partition -pipe -Wall -c bpd.c -fPIC -DPIC -o .libs/bpd.o /bin/sh ../../../../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DAH_XMLDATADIR=\"/usr/share/aqbanking/backends/aqhbci\" -I. -I../../../../../.. -I. -I./.. -I./../banking -I./../applayer -I./../joblayer -I../../../../../../aqbanking5 -I/usr/include/gwenhywfar4 -I../../../../../../src/libs/aqbanking -DBUILDING_AQHBCI -fvisibility=hidden -march=nocona -O2 -freorder-blocks-and-partition -pipe -Wall -c -o dialog.lo dialog.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DAH_XMLDATADIR=\"/usr/share/aqbanking/backends/aqhbci\" -I. -I../../../../../.. -I. -I./.. -I./../banking -I./../applayer -I./../joblayer -I../../../../../../aqbanking5 -I/usr/include/gwenhywfar4 -I../../../../../../src/libs/aqbanking -DBUILDING_AQHBCI -fvisibility=hidden -march=nocona -O2 -freorder-blocks-and-partition -pipe -Wall -c dialog.c -fPIC -DPIC -o .libs/dialog.o In file included from dialog.c:371:0: dialog_https.c: In function 'AH_Dialog_CreateIoLayer_Https': dialog_https.c:44:37: error: 'GWEN_HTTP_SESSION_FLAGS_TLS_IGN_PREMATURE_CLOSE' undeclared (first use in this function); did you mean 'AH_USER_FLAGS_TLS_IGN_PREMATURE_CLOSE'? GWEN_HttpSession_AddFlags(sess, GWEN_HTTP_SESSION_FLAGS_TLS_IGN_PREMATURE_CLOSE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AH_USER_FLAGS_TLS_IGN_PREMATURE_CLOSE dialog_https.c:44:37: note: each undeclared identifier is reported only once for each function it appears in Reproducible: Always
Created attachment 540988 [details] output of emerge --info '=net-libs/aqbanking-5.7.8::net-kit'
I've run into this myself, and I tried with both GCC 6.4.0 and 7.3.0. GCC is not the issue.
The issue is net-lib/aqbanking not requiring >=sys-libs/gwenhywfar-4.20.0.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6eb452439c589e3855042819376e6acbc0be01b commit a6eb452439c589e3855042819376e6acbc0be01b Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2019-10-13 12:02:34 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2019-10-13 12:03:01 +0000 net-libs/aqbanking: Fix gwenhywfar minimum version Closes: https://bugs.gentoo.org/662060 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> net-libs/aqbanking/aqbanking-5.8.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)