In file included from /var/tmp/portage/media-libs/opencollada-1.6.62/work/OpenCOLLADA-1.6.62/COLLADABaseUtils/src/COLLADABUURI.cpp:18:0: /usr/include/pcre.h:325:33: error: conflicting declaration ‘typedef struct real_pcre8_or_16 pcre’ typedef struct real_pcre8_or_16 pcre; ^~~~ In file included from /var/tmp/portage/media-libs/opencollada-1.6.62/work/OpenCOLLADA-1.6.62/COLLADABaseUtils/src/COLLADABUURI.cpp:14:0: ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-no-multilib_20180322-172729 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python3.6 (fallback) [3] python2.7 (fallback) Available Ruby profiles: [1] ruby22 (with Rubygems) [2] ruby23 (with Rubygems) * emerge -qpv media-libs/opencollada [ebuild N ] media-libs/opencollada-1.6.62 USE="-static-libs" !!! The following installed packages are masked: - sys-apps/portage-mgorny-2.3.24.2::gentoo (masked by: package.mask) /etc/portage/package.mask/common: # https://bugs.gentoo.org/show_bug.cgi?id=647924 pytest-relaxed changes pytest behaviour in an incompatible way # For more information, see the MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook.
Created attachment 525754 [details] emerge-info.txt
Created attachment 525756 [details] emerge-history.txt
Created attachment 525758 [details] environment
Created attachment 525760 [details] etc.portage.tbz2
Created attachment 525762 [details] logs.tbz2
Created attachment 525764 [details] media-libs:opencollada-1.6.62:20180327-135236.log
Created attachment 525766 [details] temp.tbz2
It appears that opencollada is without an active maintainer since 3 months. Should it be tree-cleaned?
A patch exists in https://github.com/KhronosGroup/OpenCOLLADA/issues/581, but it needs to be applied after cleaning up line endings. (`find -name '*.[ch]' -exec dos2unix '{}' \; ; find -name '*.[ch]pp' -exec dos2unix '{}' \; ; find -name '*.[ch]xx' -exec dos2unix '{}' \;` will be sufficient.) See-Also: https://github.com/KhronosGroup/OpenCOLLADA/issues/547 See-Also: https://github.com/KhronosGroup/OpenCOLLADA/issues/570 See-Also: https://github.com/KhronosGroup/OpenCOLLADA/issues/582
Created attachment 542170 [details] fixed ebuild
Created attachment 542172 [details, diff] werror patch
Created attachment 542174 [details, diff] typedef patch
The problem was the new version libpcre-8.42, which is still unstable keyworded and OpenCollada is stable keyworded, so I'll update the depends on this version to block future versions of libpcre. I made a patch that is generic enough to use against both stable and unstable versions of libpcre in case someone is running a stable system, but chooses to use the unstable OpenCollada versions. It's a possibility. :) This patch will go in the tree with OpenCollada 1.6.63. Well, the patch works and installs for me. I hope this will solve this issue.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=453bc80613a22b535e6b9d4b2200fe3c4052c9c9 commit 453bc80613a22b535e6b9d4b2200fe3c4052c9c9 Author: Jonathan Scruggs <dracwyrm@gentoo.org> AuthorDate: 2018-08-07 12:03:01 +0000 Commit: Jonathan Scruggs <dracwyrm@gentoo.org> CommitDate: 2018-08-07 12:03:01 +0000 media-libs/opencollada: fix depend on libpcre libpcre v8.42 changes struct types, which breaks compiling. Change the depend to block 8.42 and higher versions. Closes: https://bugs.gentoo.org/651756 Package-Manager: Portage-2.3.44, Repoman-2.3.10 media-libs/opencollada/opencollada-1.6.62.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
Version 1.6.63 is in portage with a new patch, so you can use the newer versions of libpcre now. Hope it works for you all.
Will it be stabilized because stable dev-libs/poco requires stable libpcre unsupported by stable opencollada?
it is still an issue at stable amd64 tinderbox image 17.0-no-multilib_stable_20190503-231754
Created attachment 575926 [details] emerge-info.txt
Created attachment 575928 [details] emerge-history.txt
Created attachment 575930 [details] environment
Created attachment 575932 [details] etc.portage.tbz2
Created attachment 575934 [details] logs.tbz2
Created attachment 575936 [details] media-libs:opencollada-1.6.58:20190509-101928.log
Created attachment 575938 [details] temp.tbz2
I too had this problem before and I do not encounter the problem with: * opencollada-1.6.63-r1 (with latest libpcre = 8.43) * opencollada-1.6.62 (with the libpcre it requires = 8.41-r1) I guess this can be closed.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c9f281f62ec52cd605f3bb1bb2e8a21bbc56c70 commit 3c9f281f62ec52cd605f3bb1bb2e8a21bbc56c70 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2020-02-13 14:18:37 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2020-02-13 14:18:57 +0000 media-libs/opencollada: Removed old Closes: https://bugs.gentoo.org/682448 Closes: https://bugs.gentoo.org/651756 Package-Manager: Portage-2.3.88, Repoman-2.3.20 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> media-libs/opencollada/Manifest | 1 - media-libs/opencollada/opencollada-1.6.62.ebuild | 69 ------------------------ 2 files changed, 70 deletions(-)