Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651756 - media-libs/opencollada-1.6.62 : /.../pcre.h:325:33: error: conflicting declaration typedef struct real_pcre8_or_16 pcre
Summary: media-libs/opencollada-1.6.62 : /.../pcre.h:325:33: error: conflicting declar...
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:
 
Reported: 2018-03-27 17:27 UTC by Toralf Förster
Modified: 2020-02-13 14:19 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.66 KB, text/plain)
2018-03-27 17:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,255.10 KB, text/plain)
2018-03-27 17:28 UTC, Toralf Förster
Details
environment (environment,115.71 KB, text/plain)
2018-03-27 17:28 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.84 KB, application/x-bzip)
2018-03-27 17:28 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.24 KB, application/x-bzip)
2018-03-27 17:28 UTC, Toralf Förster
Details
media-libs:opencollada-1.6.62:20180327-135236.log (media-libs:opencollada-1.6.62:20180327-135236.log,109.14 KB, text/plain)
2018-03-27 17:28 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,35.59 KB, application/x-bzip)
2018-03-27 17:28 UTC, Toralf Förster
Details
fixed ebuild (opencollada-1.6.62.ebuild,1.66 KB, text/plain)
2018-08-02 20:22 UTC, Vova
Details
werror patch (opencollada-1.6.62-remove-werror.patch,677 bytes, patch)
2018-08-02 20:23 UTC, Vova
Details | Diff
typedef patch (opencollada-1.6.62-fix-typedef.patch,605 bytes, patch)
2018-08-02 20:24 UTC, Vova
Details | Diff
emerge-info.txt (emerge-info.txt,16.25 KB, text/plain)
2019-05-10 18:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,276.78 KB, text/plain)
2019-05-10 18:21 UTC, Toralf Förster
Details
environment (environment,118.99 KB, text/plain)
2019-05-10 18:21 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.52 KB, application/x-bzip)
2019-05-10 18:21 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.84 KB, application/x-bzip)
2019-05-10 18:21 UTC, Toralf Förster
Details
media-libs:opencollada-1.6.58:20190509-101928.log (media-libs:opencollada-1.6.58:20190509-101928.log,108.97 KB, text/plain)
2019-05-10 18:21 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,36.08 KB, application/x-bzip)
2019-05-10 18:21 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-03-27 17:27:57 UTC
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.
Comment 1 Toralf Förster gentoo-dev 2018-03-27 17:28:00 UTC
Created attachment 525754 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-03-27 17:28:03 UTC
Created attachment 525756 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-03-27 17:28:06 UTC
Created attachment 525758 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-03-27 17:28:09 UTC
Created attachment 525760 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-03-27 17:28:11 UTC
Created attachment 525762 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-03-27 17:28:14 UTC
Created attachment 525764 [details]
media-libs:opencollada-1.6.62:20180327-135236.log
Comment 7 Toralf Förster gentoo-dev 2018-03-27 17:28:17 UTC
Created attachment 525766 [details]
temp.tbz2
Comment 8 Dennis Schridde 2018-06-21 20:07:57 UTC
It appears that opencollada is without an active maintainer since 3 months.  Should it be tree-cleaned?
Comment 9 Dennis Schridde 2018-07-12 05:47:28 UTC
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
Comment 10 Vova 2018-08-02 20:22:38 UTC
Created attachment 542170 [details]
fixed ebuild
Comment 11 Vova 2018-08-02 20:23:39 UTC
Created attachment 542172 [details, diff]
werror patch
Comment 12 Vova 2018-08-02 20:24:30 UTC
Created attachment 542174 [details, diff]
typedef patch
Comment 13 Jonathan Scruggs (RETIRED) gentoo-dev 2018-08-07 11:42:57 UTC
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.
Comment 14 Larry the Git Cow gentoo-dev 2018-08-07 12:03:38 UTC
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(-)
Comment 15 Jonathan Scruggs (RETIRED) gentoo-dev 2018-08-07 12:22:23 UTC
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.
Comment 16 Oleg 2019-03-26 19:21:29 UTC
Will it be stabilized because stable dev-libs/poco requires stable libpcre unsupported by stable opencollada?
Comment 17 Toralf Förster gentoo-dev 2019-05-10 18:21:09 UTC
it is still an issue at stable amd64 tinderbox image 17.0-no-multilib_stable_20190503-231754
Comment 18 Toralf Förster gentoo-dev 2019-05-10 18:21:12 UTC
Created attachment 575926 [details]
emerge-info.txt
Comment 19 Toralf Förster gentoo-dev 2019-05-10 18:21:14 UTC
Created attachment 575928 [details]
emerge-history.txt
Comment 20 Toralf Förster gentoo-dev 2019-05-10 18:21:17 UTC
Created attachment 575930 [details]
environment
Comment 21 Toralf Förster gentoo-dev 2019-05-10 18:21:20 UTC
Created attachment 575932 [details]
etc.portage.tbz2
Comment 22 Toralf Förster gentoo-dev 2019-05-10 18:21:22 UTC
Created attachment 575934 [details]
logs.tbz2
Comment 23 Toralf Förster gentoo-dev 2019-05-10 18:21:25 UTC
Created attachment 575936 [details]
media-libs:opencollada-1.6.58:20190509-101928.log
Comment 24 Toralf Förster gentoo-dev 2019-05-10 18:21:28 UTC
Created attachment 575938 [details]
temp.tbz2
Comment 25 Kobboi 2020-01-14 11:10:15 UTC
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.
Comment 26 Larry the Git Cow gentoo-dev 2020-02-13 14:19:05 UTC
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(-)