Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 662060 - net-libs/aqbanking-5.7.8 fails to compile with "dialog_https.c:44:37: error: 'GWEN_HTTP_SESSION_FLAGS_TLS_IGN_PREMATURE_CLOSE' undeclared"
Summary: net-libs/aqbanking-5.7.8 fails to compile with "dialog_https.c:44:37: error: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-25 03:24 UTC by Patrick McMunn
Modified: 2019-10-13 12:03 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
output of emerge --info '=net-libs/aqbanking-5.7.8::net-kit' (emerge_info_aqbanking.txt,10.78 KB, text/plain)
2018-07-25 03:27 UTC, Patrick McMunn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick McMunn 2018-07-25 03:24:15 UTC
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
Comment 1 Patrick McMunn 2018-07-25 03:27:08 UTC
Created attachment 540988 [details]
output of emerge --info '=net-libs/aqbanking-5.7.8::net-kit'
Comment 2 Aaron W. Swenson gentoo-dev 2018-09-01 16:31:25 UTC
I've run into this myself, and I tried with both GCC 6.4.0 and 7.3.0.

GCC is not the issue.
Comment 3 Aaron W. Swenson gentoo-dev 2018-09-01 19:59:52 UTC
The issue is net-lib/aqbanking not requiring >=sys-libs/gwenhywfar-4.20.0.
Comment 4 Larry the Git Cow gentoo-dev 2019-10-13 12:03:12 UTC
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(-)