Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917525 - dev-libs/xmlsec-1.3.1 fails to build with dev-libs/libxml2-2.12.0
Summary: dev-libs/xmlsec-1.3.1 fails to build with dev-libs/libxml2-2.12.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libxml2-2.12
  Show dependency tree
 
Reported: 2023-11-17 20:51 UTC by Kostadin Shishmanov
Modified: 2023-11-25 00:55 UTC (History)
1 user (show)

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


Attachments
build log (xmlsec.log,92.04 KB, text/x-log)
2023-11-17 20:51 UTC, Kostadin Shishmanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kostadin Shishmanov 2023-11-17 20:51:20 UTC
Created attachment 875011 [details]
build log

In file included from app.c:29:
../include/xmlsec/xmlsec.h:100:80: error: unknown type name 'xmlExternalEntityLoader'
  100 | XMLSEC_EXPORT void                              xmlSecSetExternalEntityLoader (xmlExternalEntityLoader entityLoader);

relationship.c:343:5: error: unknown type name 'xmlListPtr'; did you mean 'xmlDictPtr'?
  343 |     xmlListPtr list;
      |     ^~~~~~~~~~
      |     xmlDictPtr

relationship.c:350:33: error: 'xmlListDataCompare' undeclared (first use in this function)
  350 |     list = xmlListCreate(NULL, (xmlListDataCompare)xmlSecTransformRelationshipCompare);
      |                                 ^~~~~~~~~~~~~~~~~~
relationship.c:350:33: note: each undeclared identifier is reported only once for each function it appears in
relationship.c:350:52: error: expected ')' before 'xmlSecTransformRelationshipCompare'
  350 |     list = xmlListCreate(NULL, (xmlListDataCompare)xmlSecTransformRelationshipCompare);
      |                         ~                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                    )

buffer.c:729:37: error: 'xmlOutputWriteCallback' undeclared (first use in this function)
  729 |     return(xmlOutputBufferCreateIO((xmlOutputWriteCallback)xmlSecBufferIOWrite,
      |                                     ^~~~~~~~~~~~~~~~~~~~~~
buffer.c:729:37: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [Makefile:725: list.lo] Error 1

relationship.c:376:9: error: unknown type name 'xmlLinkPtr'; did you mean 'xmlDictPtr'?
  376 |         xmlLinkPtr link = xmlListFront(list);
      |         ^~~~~~~~~~
      |         xmlDictPtr
Comment 1 Larry the Git Cow gentoo-dev 2023-11-25 00:55:24 UTC
The bug has been closed via the following commit(s):

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

commit ea17c1e92e82313ced2b7bc8b7eca46a510c6268
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-11-25 00:50:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-11-25 00:54:44 +0000

    dev-libs/xmlsec: add 1.3.2
    
    Closes: https://bugs.gentoo.org/917525
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/xmlsec/Manifest                           |   1 +
 .../xmlsec-1.3.2-libxml2-2.12.0-includes.patch     | 114 +++++++++++++++++++++
 dev-libs/xmlsec/xmlsec-1.3.2.ebuild                |  94 +++++++++++++++++
 3 files changed, 209 insertions(+)