@foxxx0
Thanks for report! Fixed, but still doesn't build for me.
Git Clone URL: | https://aur.archlinux.org/libzypp-git.git (read-only, click to copy) |
---|---|
Package Base: | libzypp-git |
Description: | Library for package, patch, pattern and product management |
Upstream URL: | https://github.com/openSUSE/libzypp |
Keywords: | opensuse rpm suse zypper |
Licenses: | |
Conflicts: | |
Provides: | |
Submitter: | Spyhawk |
Maintainer: | yurikoles |
Last Packager: | yurikoles |
Votes: | 5 |
Popularity: | 0.000078 |
First Submitted: | 2014-11-06 12:33 |
Last Updated: | 2020-09-24 06:49 |
@foxxx0
Thanks for report! Fixed, but still doesn't build for me.
There are two missing makedependencies:
-- Checking for module 'sigc++-2.0'
-- Package 'sigc++-2.0', required by 'virtual:world', not found
CMake Error at /usr/share/cmake-3.16/Modules/FindPkgConfig.cmake:463 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/FindPkgConfig.cmake:643 (_pkg_check_modules_internal)
CMakeLists.txt:253 (pkg_check_modules)
and:
CMake Error at tests/lib/CMakeLists.txt:6 (message):
nginx not found
Please add libsigc++
and nginx
to makedepends.
The build will still fail with the following error, but at least the cmake/configure step will complete:
[5/268] Building CXX object zypp/CMakeFiles/zypp-objlib.dir/parser/xml/ParseDef.cc.o
FAILED: zypp/CMakeFiles/zypp-objlib.dir/parser/xml/ParseDef.cc.o
/usr/bin/c++ -DHAVE_PIPE2 -DHAVE_UDEV -DLOCALEDIR=\"/usr/share/locale\" -DTEXTDOMAIN=\"zypp\" -DWITH_LIBPROXY_SUPPORT -DZYPP_DLL -D_FILE_OFFSET_BITS=64 -I../ -I. -I/usr/include/rpm -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Izypp -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fno-strict-aliasing -fPIC -g -Wall -Wp,-D_GLIBCXX_ASSERTIONS -fvisibility-inlines-hidden -Woverloaded-virtual -Wnon-virtual-dtor -rdynamic -Wl,-as-needed -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fno-strict-aliasing -fPIC -g -Wall -Wp,-D_GLIBCXX_ASSERTIONS -fvisibility-inlines-hidden -Woverloaded-virtual -Wnon-virtual-dtor -O3 -DZYPP_NDEBUG -std=gnu++14 -DZYPP_BASE_LOGGER_LOGGROUP=\"zypp\" -MD -MT zypp/CMakeFiles/zypp-objlib.dir/parser/xml/ParseDef.cc.o -MF zypp/CMakeFiles/zypp-objlib.dir/parser/xml/ParseDef.cc.o.d -o zypp/CMakeFiles/zypp-objlib.dir/parser/xml/ParseDef.cc.o -c ../zypp/parser/xml/ParseDef.cc
In file included from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from /usr/include/libxml2/libxml/xmlreader.h:14,
from ../zypp/parser/xml/libxmlfwd.h:17,
from ../zypp/parser/xml/XmlString.h:20,
from ../zypp/parser/xml/Node.h:17,
from ../zypp/parser/xml/ParseDefConsume.h:21,
from ../zypp/parser/xml/ParseDef.cc:24:
/usr/include/unicode/localpointer.h:67:1: error: template with C linkage
67 | template<typename T>
| ^~~~~~~~
In file included from ../zypp/parser/xml/XmlString.h:20,
from ../zypp/parser/xml/Node.h:17,
from ../zypp/parser/xml/ParseDefConsume.h:21,
from ../zypp/parser/xml/ParseDef.cc:24:
../zypp/parser/xml/libxmlfwd.h:15:1: note: ‘extern "C"’ linkage started here
15 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from /usr/include/libxml2/libxml/xmlreader.h:14,
from ../zypp/parser/xml/libxmlfwd.h:17,
from ../zypp/parser/xml/XmlString.h:20,
from ../zypp/parser/xml/Node.h:17,
from ../zypp/parser/xml/ParseDefConsume.h:21,
from ../zypp/parser/xml/ParseDef.cc:24:
/usr/include/unicode/localpointer.h:190:1: error: template with C linkage
190 | template<typename T>
| ^~~~~~~~
In file included from ../zypp/parser/xml/XmlString.h:20,
from ../zypp/parser/xml/Node.h:17,
from ../zypp/parser/xml/ParseDefConsume.h:21,
from ../zypp/parser/xml/ParseDef.cc:24:
../zypp/parser/xml/libxmlfwd.h:15:1: note: ‘extern "C"’ linkage started here
15 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from /usr/include/libxml2/libxml/xmlreader.h:14,
from ../zypp/parser/xml/libxmlfwd.h:17,
from ../zypp/parser/xml/XmlString.h:20,
from ../zypp/parser/xml/Node.h:17,
from ../zypp/parser/xml/ParseDefConsume.h:21,
from ../zypp/parser/xml/ParseDef.cc:24:
/usr/include/unicode/localpointer.h:371:1: error: template with C linkage
371 | template<typename T>
| ^~~~~~~~
In file included from ../zypp/parser/xml/XmlString.h:20,
from ../zypp/parser/xml/Node.h:17,
from ../zypp/parser/xml/ParseDefConsume.h:21,
from ../zypp/parser/xml/ParseDef.cc:24:
../zypp/parser/xml/libxmlfwd.h:15:1: note: ‘extern "C"’ linkage started here
15 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from /usr/include/libxml2/libxml/xmlreader.h:14,
from ../zypp/parser/xml/libxmlfwd.h:17,
from ../zypp/parser/xml/XmlString.h:20,
from ../zypp/parser/xml/Node.h:17,
from ../zypp/parser/xml/ParseDefConsume.h:21,
from ../zypp/parser/xml/ParseDef.cc:24:
/usr/include/unicode/ucnv.h:585:1: error: conflicting declaration of C function ‘void icu_65::swap(icu_65::LocalUConverterPointer&, icu_65::LocalUConverterPointer&)’
585 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUConverterPointer, UConverter, ucnv_close);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/unicode/uenum.h:68:1: note: previous declaration ‘void icu_65::swap(icu_65::LocalUEnumerationPointer&, icu_65::LocalUEnumerationPointer&)’
68 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUEnumerationPointer, UEnumeration, uenum_close);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[6/268] Building CXX object zypp/CMakeFiles/zypp-objlib.dir/parser/xml/Node.cc.o
[7/268] Building CXX object zypp/CMakeFiles/zypp-objlib.dir/misc/DefaultLoadSystem.cc.o
In file included from ../zypp/misc/DefaultLoadSystem.cc:20:
../zypp/zypp_detail/ZYppReadOnlyHack.h:15:2: warning: #warning ZYPP_ZYPP_DETAIL_ZYPPREADONLYHACK_H [-Wcpp]
15 | #warning ZYPP_ZYPP_DETAIL_ZYPPREADONLYHACK_H
| ^~~~~~~
../zypp/misc/DefaultLoadSystem.cc: In function ‘void zypp::misc::defaultLoadSystem(const zypp::filesystem::Pathname&, zypp::misc::LoadSystemFlags)’:
../zypp/misc/DefaultLoadSystem.cc:48:29: warning: ‘void zypp::zypp_readonly_hack::IWantIt()’ is deprecated [-Wdeprecated-declarations]
48 | zypp_readonly_hack::IWantIt ();
| ^~~~~~~
In file included from ../zypp/misc/DefaultLoadSystem.cc:20:
../zypp/zypp_detail/ZYppReadOnlyHack.h:26:10: note: declared here
26 | void IWantIt() ZYPP_DEPRECATED;
| ^~~~~~~
../zypp/misc/DefaultLoadSystem.cc:48:38: warning: ‘void zypp::zypp_readonly_hack::IWantIt()’ is deprecated [-Wdeprecated-declarations]
48 | zypp_readonly_hack::IWantIt ();
| ^
In file included from ../zypp/misc/DefaultLoadSystem.cc:20:
../zypp/zypp_detail/ZYppReadOnlyHack.h:26:10: note: declared here
26 | void IWantIt() ZYPP_DEPRECATED;
| ^~~~~~~
../zypp/misc/DefaultLoadSystem.cc:48:38: warning: ‘void zypp::zypp_readonly_hack::IWantIt()’ is deprecated [-Wdeprecated-declarations]
48 | zypp_readonly_hack::IWantIt ();
| ^
In file included from ../zypp/misc/DefaultLoadSystem.cc:20:
../zypp/zypp_detail/ZYppReadOnlyHack.h:26:10: note: declared here
26 | void IWantIt() ZYPP_DEPRECATED;
| ^~~~~~~
[8/268] Building CXX object zypp/CMakeFiles/zypp-objlib.dir/parser/xml/ParseDefConsume.cc.o
FAILED: zypp/CMakeFiles/zypp-objlib.dir/parser/xml/ParseDefConsume.cc.o
/usr/bin/c++ -DHAVE_PIPE2 -DHAVE_UDEV -DLOCALEDIR=\"/usr/share/locale\" -DTEXTDOMAIN=\"zypp\" -DWITH_LIBPROXY_SUPPORT -DZYPP_DLL -D_FILE_OFFSET_BITS=64 -I../ -I. -I/usr/include/rpm -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Izypp -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fno-strict-aliasing -fPIC -g -Wall -Wp,-D_GLIBCXX_ASSERTIONS -fvisibility-inlines-hidden -Woverloaded-virtual -Wnon-virtual-dtor -rdynamic -Wl,-as-needed -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fno-strict-aliasing -fPIC -g -Wall -Wp,-D_GLIBCXX_ASSERTIONS -fvisibility-inlines-hidden -Woverloaded-virtual -Wnon-virtual-dtor -O3 -DZYPP_NDEBUG -std=gnu++14 -DZYPP_BASE_LOGGER_LOGGROUP=\"zypp\" -MD -MT zypp/CMakeFiles/zypp-objlib.dir/parser/xml/ParseDefConsume.cc.o -MF zypp/CMakeFiles/zypp-objlib.dir/parser/xml/ParseDefConsume.cc.o.d -o zypp/CMakeFiles/zypp-objlib.dir/parser/xml/ParseDefConsume.cc.o -c ../zypp/parser/xml/ParseDefConsume.cc
In file included from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from /usr/include/libxml2/libxml/xmlreader.h:14,
from ../zypp/parser/xml/libxmlfwd.h:17,
from ../zypp/parser/xml/XmlString.h:20,
from ../zypp/parser/xml/Node.h:17,
from ../zypp/parser/xml/ParseDefConsume.h:21,
from ../zypp/parser/xml/ParseDefConsume.cc:12:
/usr/include/unicode/localpointer.h:67:1: error: template with C linkage
67 | template<typename T>
| ^~~~~~~~
In file included from ../zypp/parser/xml/XmlString.h:20,
from ../zypp/parser/xml/Node.h:17,
from ../zypp/parser/xml/ParseDefConsume.h:21,
from ../zypp/parser/xml/ParseDefConsume.cc:12:
../zypp/parser/xml/libxmlfwd.h:15:1: note: ‘extern "C"’ linkage started here
15 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from /usr/include/libxml2/libxml/xmlreader.h:14,
from ../zypp/parser/xml/libxmlfwd.h:17,
from ../zypp/parser/xml/XmlString.h:20,
from ../zypp/parser/xml/Node.h:17,
from ../zypp/parser/xml/ParseDefConsume.h:21,
from ../zypp/parser/xml/ParseDefConsume.cc:12:
/usr/include/unicode/localpointer.h:190:1: error: template with C linkage
190 | template<typename T>
| ^~~~~~~~
In file included from ../zypp/parser/xml/XmlString.h:20,
from ../zypp/parser/xml/Node.h:17,
from ../zypp/parser/xml/ParseDefConsume.h:21,
from ../zypp/parser/xml/ParseDefConsume.cc:12:
../zypp/parser/xml/libxmlfwd.h:15:1: note: ‘extern "C"’ linkage started here
15 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from /usr/include/libxml2/libxml/xmlreader.h:14,
from ../zypp/parser/xml/libxmlfwd.h:17,
from ../zypp/parser/xml/XmlString.h:20,
from ../zypp/parser/xml/Node.h:17,
from ../zypp/parser/xml/ParseDefConsume.h:21,
from ../zypp/parser/xml/ParseDefConsume.cc:12:
/usr/include/unicode/localpointer.h:371:1: error: template with C linkage
371 | template<typename T>
| ^~~~~~~~
In file included from ../zypp/parser/xml/XmlString.h:20,
from ../zypp/parser/xml/Node.h:17,
from ../zypp/parser/xml/ParseDefConsume.h:21,
from ../zypp/parser/xml/ParseDefConsume.cc:12:
../zypp/parser/xml/libxmlfwd.h:15:1: note: ‘extern "C"’ linkage started here
15 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from /usr/include/libxml2/libxml/xmlreader.h:14,
from ../zypp/parser/xml/libxmlfwd.h:17,
from ../zypp/parser/xml/XmlString.h:20,
from ../zypp/parser/xml/Node.h:17,
from ../zypp/parser/xml/ParseDefConsume.h:21,
from ../zypp/parser/xml/ParseDefConsume.cc:12:
/usr/include/unicode/ucnv.h:585:1: error: conflicting declaration of C function ‘void icu_65::swap(icu_65::LocalUConverterPointer&, icu_65::LocalUConverterPointer&)’
585 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUConverterPointer, UConverter, ucnv_close);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/unicode/uenum.h:68:1: note: previous declaration ‘void icu_65::swap(icu_65::LocalUEnumerationPointer&, icu_65::LocalUEnumerationPointer&)’
68 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUEnumerationPointer, UEnumeration, uenum_close);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[9/268] Building CXX object zypp/CMakeFiles/zypp-objlib.dir/parser/xml/ParseDefException.cc.o
[10/268] Building CXX object zypp/CMakeFiles/zypp-objlib.dir/misc/CheckAccessDeleted.cc.o
ninja: build stopped: subcommand failed.
PRs are welcome: https://github.com/yurikoles-aur/libzypp-git
asciidoc is required to build latest version
Hi, would you mind to change the library path from /usr/lib64 to /usr/lib so the package doesn't conflict with »filesystem«?
Easy (maybe hackish) way for this would be to add
mv $pkgdir/usr/lib64/* $pkgdir/usr/lib/
rmdir $pkgdir/usr/lib64
into the package() function.
Thanks in advance.
Pinned Comments
yurikoles commented on 2018-09-18 18:49
PRs are welcome: https://github.com/yurikoles-aur/libzypp-git