Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935487 - media-libs/raptor-2.0.15-r8 fails to compile with dev-libs/libxml2-2.13.1
Summary: media-libs/raptor-2.0.15-r8 fails to compile with dev-libs/libxml2-2.13.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on: 935452 937305
Blocks:
  Show dependency tree
 
Reported: 2024-07-04 13:16 UTC by Nowa Ammerlaan
Modified: 2024-08-11 12:20 UTC (History)
7 users (show)

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


Attachments
builld log (build.log,55.28 KB, text/plain)
2024-07-04 13:18 UTC, Nowa Ammerlaan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nowa Ammerlaan gentoo-dev 2024-07-04 13:16:47 UTC
Libreoffice failed to start on my system today:

/usr/lib64/libreoffice/program/soffice.bin: symbol lookup error: /usr/lib64/libraptor2.so.0: undefined symbol:xmlNanoHTTPReturnCode, version LIBXML2_2.4.30

Attempting to recompile libraptor results in:

raptor_www_libxml.c:43:3: error: implicit declaration of function 'xmlNanoHTTPInit' [-Wimplicit-function-declaration]
43 |   xmlNanoHTTPInit();
|   ^~~~~~~~~~~~~~~
raptor_www_libxml.c: In function 'raptor_www_libxml_free':
raptor_www_libxml.c:51:3: error: implicit declaration of function 'xmlNanoHTTPCleanup' [-Wimplicit-function-declaration]
51 |   xmlNanoHTTPCleanup();
|   ^~~~~~~~~~~~~~~~~~
raptor_www_libxml.c: In function 'raptor_www_libxml_fetch':
raptor_www_libxml.c:61:5: error: implicit declaration of function 'xmlNanoHTTPScanProxy' [-Wimplicit-function-declaration]
61 |     xmlNanoHTTPScanProxy(www->proxy);
|     ^~~~~~~~~~~~~~~~~~~~
raptor_www_libxml.c:113:15: error: implicit declaration of function 'xmlNanoHTTPMethod' [-Wimplicit-function-declaration]
113 |   www->ctxt = xmlNanoHTTPMethod((const char*)raptor_uri_as_string(www->uri),
|               ^~~~~~~~~~~~~~~~~
raptor_www_libxml.c:113:13: error: assignment to 'void *' from 'int' makes pointer from integer without a cast[-Wint-conversion]
113 |   www->ctxt = xmlNanoHTTPMethod((const char*)raptor_uri_as_string(www->uri),
|             ^
raptor_www_libxml.c:130:9: error: implicit declaration of function 'xmlNanoHTTPClose' [-Wimplicit-function-declaration]
130 |         xmlNanoHTTPClose(www->ctxt);
|         ^~~~~~~~~~~~~~~~
raptor_www_libxml.c:138:22: error: implicit declaration of function 'xmlNanoHTTPReturnCode' [-Wimplicit-function-declaration]
138 |   www->status_code = xmlNanoHTTPReturnCode(www->ctxt);
|                      ^~~~~~~~~~~~~~~~~~~~~
raptor_www_libxml.c:141:15: error: implicit declaration of function 'xmlNanoHTTPRead' [-Wimplicit-function-declaration]
141 |     int len = xmlNanoHTTPRead(www->ctxt, www->buffer, RAPTOR_WWW_BUFFER_SIZE);
|               ^~~~~~~~~~~~~~~
raptor_nfc_icu.c: In function 'raptor_nfc_icu_check':
raptor_nfc_icu.c:64:4: warning: 'unorm_quickCheck' is deprecated [-Wdeprecated-declarations]
64 |    res = unorm_quickCheck((const UChar *)string, (int32_t)len,
|    ^~~
In file included from raptor_nfc_icu.c:43:
/usr/include/unicode/unorm.h:244:1: note: declared here
244 | unorm_quickCheck(const UChar *source, int32_t sourcelength,
| ^~~~~~~~~~~~~~~~
make[2]: *** [Makefile:975: raptor_www_libxml.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/tmp/portage/media-libs/raptor-2.0.15-r8/work/raptor2-2.0.15-abi_x86_64.amd64/src'
make[1]: *** [Makefile:796: all] Error 2
make[1]: Leaving directory '/tmp/portage/media-libs/raptor-2.0.15-r8/work/raptor2-2.0.15-abi_x86_64.amd64/src'
make: *** [Makefile:534: all-recursive] Error 1

Both problems are resolved by downgrading libxml2 to 2.12.8
Comment 1 Nowa Ammerlaan gentoo-dev 2024-07-04 13:18:22 UTC
Created attachment 896973 [details]
builld log
Comment 2 pxrb 2024-07-04 16:59:40 UTC
Happened to me as well.
Comment 3 Larry the Git Cow gentoo-dev 2024-07-04 17:31:26 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=301464a78f7b7ab198117d596b7d14b64455555a

commit 301464a78f7b7ab198117d596b7d14b64455555a
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2024-07-04 15:00:32 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-07-04 17:26:03 +0000

    media-libs/raptor: add 2.0.16
    
    Libxml2 is going to remove nanohttp so use the curl backend
    unconditionally. Similarily fix patch for curl-config so that curl
    use flag actually works.
    
    Bug: https://bugs.gentoo.org/935487
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/37434
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-libs/raptor/Manifest                         |  1 +
 .../files/raptor-2.0.16-dont_use_curl-config.patch | 70 ++++++++++++++++++++
 .../raptor-2.0.16-libxml2-2.11-compatibility.patch | 27 ++++++++
 media-libs/raptor/raptor-2.0.16.ebuild             | 77 ++++++++++++++++++++++
 4 files changed, 175 insertions(+)
Comment 4 Larry the Git Cow gentoo-dev 2024-08-11 12:20:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdbcf983a9c044561d6ebcb8e583335e22d3f144

commit cdbcf983a9c044561d6ebcb8e583335e22d3f144
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2024-08-11 12:20:00 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-08-11 12:20:00 +0000

    media-libs/raptor: dropped obsolete 2.0.15-r8
    
    Bug: https://bugs.gentoo.org/937305
    Closes: https://bugs.gentoo.org/935487
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-libs/raptor/Manifest                         |   1 -
 ...713-raptor2-malformed-input-file-can-lead.patch |  32 -------
 ...ptor-2.0.15-clang-pointer-integer-warning.patch |  44 ---------
 .../files/raptor-2.0.15-configure-clang16.patch    |  28 ------
 .../files/raptor-2.0.15-dont_use_curl-config.patch |  59 ------------
 .../raptor/files/raptor-2.0.15-heap-overflow.patch |  42 ---------
 .../raptor/files/raptor-2.0.15-libxml2-2.11.patch  |  30 ------
 .../files/raptor-2.0.15-use-pkg-config-icu.patch   |  48 ----------
 .../raptor-2.0.15-use-pkg-config-libxml2.patch     |  41 ---------
 .../raptor-2.0.15-use-pkg-config-libxslt.patch     | 102 ---------------------
 media-libs/raptor/raptor-2.0.15-r8.ebuild          |  85 -----------------
 11 files changed, 512 deletions(-)