Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917523 - dev-cpp/libcmis fails to build with dev-libs/libxml2-2.12.0
Summary: dev-cpp/libcmis 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: Gentoo Office Team
URL: https://github.com/tdf/libcmis/issues/51
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks: libxml2-2.12
  Show dependency tree
 
Reported: 2023-11-17 20:13 UTC by Kostadin Shishmanov
Modified: 2023-11-21 22:36 UTC (History)
0 users

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


Attachments
build log (build.log,80.96 KB, text/x-log)
2023-11-17 20:13 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:13:15 UTC
Created attachment 875009 [details]
build log

This is reproducible with both 0.5.2 and the live ebuild 

atom-document.cxx: In member function 'virtual std::vector<boost::shared_ptr<libcmis::Folder> > AtomDocument::getParents()':
atom-document.cxx:88:21: error: 'xmlReadMemory' was not declared in this scope; did you mean 'xmlInitMemory'?
   88 |     xmlDocPtr doc = xmlReadMemory( buf.c_str(), buf.size(), parentsLink->getHref( ).c_str(), NULL, 0 );
      |                     ^~~~~~~~~~~~~
      |                     xmlInitMemory
atom-folder.cxx: In member function 'virtual std::vector<boost::shared_ptr<libcmis::Object> > AtomFolder::getChildren()':
atom-folder.cxx:90:25: error: 'xmlReadMemory' was not declared in this scope; did you mean 'xmlInitMemory'?
   90 |         xmlDocPtr doc = xmlReadMemory( buf.c_str(), buf.size(), pageUrl.c_str(), NULL, 0 );
      |                         ^~~~~~~~~~~~~
      |                         xmlInitMemory
atom-folder.cxx: In member function 'virtual libcmis::FolderPtr AtomFolder::createFolder(const libcmis::PropertyPtrMap&)':
atom-folder.cxx:177:21: error: 'xmlReadMemory' was not declared in this scope; did you mean 'xmlInitMemory'?
  177 |     xmlDocPtr doc = xmlReadMemory( respBuf.c_str(), respBuf.size(), getInfosUrl().c_str(), NULL, 0 );
      |                     ^~~~~~~~~~~~~
      |                     xmlInitMemory
atom-document.cxx: In member function 'virtual libcmis::DocumentPtr AtomDocument::checkOut()':
atom-document.cxx:282:21: error: 'xmlReadMemory' was not declared in this scope; did you mean 'xmlInitMemory'?
  282 |     xmlDocPtr doc = xmlReadMemory( respBuf.c_str(), respBuf.size(), checkedOutUrl.c_str(), NULL, 0 );
      |                     ^~~~~~~~~~~~~
      |                     xmlInitMemory
atom-object.cxx: In member function 'virtual libcmis::ObjectPtr AtomObject::updateProperties(const libcmis::PropertyPtrMap&)':
atom-object.cxx:152:21: error: 'xmlReadMemory' was not declared in this scope; did you mean 'xmlInitMemory'?
  152 |     xmlDocPtr doc = xmlReadMemory( respBuf.c_str(), respBuf.size(), getInfosUrl().c_str(), NULL, 0 );
      |                     ^~~~~~~~~~~~~
      |                     xmlInitMemory
atom-object.cxx: In member function 'virtual libcmis::AllowableActionsPtr AtomObject::getAllowableActions()':
atom-object.cxx:176:33: error: 'xmlReadMemory' was not declared in this scope; did you mean 'xmlInitMemory'?
  176 |                 xmlDocPtr doc = xmlReadMemory( buf.c_str(), buf.size(), link->getHref().c_str(), NULL, 0 );
      |                                 ^~~~~~~~~~~~~
      |                                 xmlInitMemory
atom-folder.cxx: In member function 'virtual libcmis::DocumentPtr AtomFolder::createDocument(const libcmis::PropertyPtrMap&, boost::shared_ptr<std::basic_ostream<char> >, std::string, std::string)':
atom-folder.cxx:223:115: error: 'XML_PARSE_NOERROR' was not declared in this scope; did you mean 'XML_ERR_ERROR'?
  223 |     boost::shared_ptr< xmlDoc > doc( xmlReadMemory( respBuf.c_str(), respBuf.size(), getInfosUrl().c_str(), NULL, XML_PARSE_NOERROR ), xmlFreeDoc );
      |                                                                                                                   ^~~~~~~~~~~~~~~~~
      |                                                                                                                   XML_ERR_ERROR
atom-document.cxx: In member function 'virtual libcmis::DocumentPtr AtomDocument::checkIn(bool, std::string, const libcmis::PropertyPtrMap&, boost::shared_ptr<std::basic_ostream<char> >, std::string, std::string)':
atom-document.cxx:378:21: error: 'xmlReadMemory' was not declared in this scope; did you mean 'xmlInitMemory'?
  378 |     xmlDocPtr doc = xmlReadMemory( respBuf.c_str(), respBuf.size(), checkInUrl.c_str(), NULL, 0 );
      |                     ^~~~~~~~~~~~~
      |                     xmlInitMemory
atom-object.cxx: In member function 'virtual void AtomObject::refreshImpl(xmlDocPtr)':
atom-object.cxx:207:15: error: 'xmlReadMemory' was not declared in this scope; did you mean 'xmlInitMemory'?
  207 |         doc = xmlReadMemory( buf.c_str(), buf.size(), getInfosUrl().c_str(), NULL, 0 );
      |               ^~~~~~~~~~~~~
      |               xmlInitMemory
atom-folder.cxx:223:38: error: 'xmlReadMemory' was not declared in this scope; did you mean 'xmlInitMemory'?
  223 |     boost::shared_ptr< xmlDoc > doc( xmlReadMemory( respBuf.c_str(), respBuf.size(), getInfosUrl().c_str(), NULL, XML_PARSE_NOERROR ), xmlFreeDoc );
      |                                      ^~~~~~~~~~~~~
      |                                      xmlInitMemory
atom-document.cxx: In member function 'virtual std::vector<boost::shared_ptr<libcmis::Document> > AtomDocument::getAllVersions()':
atom-document.cxx:414:25: error: 'xmlReadMemory' was not declared in this scope; did you mean 'xmlInitMemory'?
  414 |         xmlDocPtr doc = xmlReadMemory( buf.c_str(), buf.size(), pageUrl.c_str(), NULL, 0 );
      |                         ^~~~~~~~~~~~~
      |                         xmlInitMemory
atom-object.cxx: In member function 'virtual void AtomObject::move(boost::shared_ptr<libcmis::Folder>, boost::shared_ptr<libcmis::Folder>)':
atom-object.cxx:305:21: error: 'xmlReadMemory' was not declared in this scope; did you mean 'xmlInitMemory'?
  305 |     xmlDocPtr doc = xmlReadMemory( respBuf.c_str(), respBuf.size(), getInfosUrl().c_str(), NULL, 0 );
      |                     ^~~~~~~~~~~~~
      |                     xmlInitMemory
atom-object-type.cxx: In member function 'void AtomObjectType::refreshImpl(xmlDocPtr)':
atom-object-type.cxx:128:15: error: 'xmlReadMemory' was not declared in this scope; did you mean 'xmlInitMemory'?
  128 |         doc = xmlReadMemory( buf.c_str(), buf.size(), m_selfUrl.c_str(), NULL, 0 );
      |               ^~~~~~~~~~~~~
      |               xmlInitMemory
Comment 1 Larry the Git Cow gentoo-dev 2023-11-21 22:36:11 UTC
The bug has been closed via the following commit(s):

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

commit 123eca67c41a657baef5709ec6fa9ff2dcf5403f
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-11-21 20:42:16 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-11-21 22:19:54 +0000

    dev-cpp/libcmis: Fix build with dev-libs/libxml2-2.12.0
    
    Closes: https://bugs.gentoo.org/917523
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../libcmis/files/libcmis-0.6.2-libxml2-2.12.patch | 26 ++++++++++++++++++++++
 dev-cpp/libcmis/libcmis-0.6.2.ebuild               |  3 +++
 2 files changed, 29 insertions(+)