FS#75721 - [xmlsec] undefined symbol: xmlIOFTPRead, version LIBXML2_2.4.30

Attached to Project: Arch Linux
Opened by hexchain (hexchain) - Monday, 29 August 2022, 03:11 GMT
Last edited by Andreas Radke (AndyRTR) - Thursday, 01 September 2022, 05:10 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Andreas Radke (AndyRTR)
Jan Alexander Steffens (heftig)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:
It seems that the FTP functions are disabled in a LibXML2 update (In /usr/include/libxml2/xmlversion.h, LIBXML_FTP_ENABLED is no longer defined). Therefore, this package needs a rebuild to remove its reference to some LibXML2 symbols, such as xmlIOFTPRead.

Currently, applications depending on xmlsec, such as OpenConnect, cannot launch:

% openconnect
openconnect: symbol lookup error: /usr/lib/libxmlsec1.so.1: undefined symbol: xmlIOFTPRead, version LIBXML2_2.4.30


Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any

libxml2 2.10.1-1
xmlsec 1.2.34-1


This task depends upon

Closed by  Andreas Radke (AndyRTR)
Thursday, 01 September 2022, 05:10 GMT
Reason for closing:  Fixed
Additional comments about closing:  also moved xmlsec
Comment by hexchain (hexchain) - Monday, 29 August 2022, 03:12 GMT
Rebuilding xmlsec with testing-x86_64-build fixes the issue, but there is a test failure so I have to pass --nocheck.
Comment by Andreas Radke (AndyRTR) - Monday, 29 August 2022, 20:56 GMT
I could rebuild xmlsec and it passes all tests here.

Jan, maybe you should build libxml2 with --with-ftp to get this feature back?
see https://mail.gnome.org/archives/xml/2022-August/msg00001.html
Comment by Jan Alexander Steffens (heftig) - Tuesday, 30 August 2022, 17:35 GMT
I don't think we really want FTP support, do we?
Comment by Anatol Pomozov (anatolik) - Thursday, 01 September 2022, 01:31 GMT
new libxml2 has moved to extra, while rebuilt (i.e. fixed) xmlsec is still in [testing].

Now we have this `undefined symbol: xmlIOFTPRead, version LIBXML2_2.4.30` error in [extra].
Comment by Toolybird (Toolybird) - Thursday, 01 September 2022, 04:31 GMT
Dupe  FS#75769 

Loading...