Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 660716 - media-libs/opencolorio-1.1.0-r1 - .../work/opencolorio-1.1.0/src/pyglue/PyAllocationTransform.cpp:67:27: error: cast between incompatible function types from ‘PyObject* (*)(PyObject*)’ {aka ‘_object* (*)(_object*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_ob
Summary: media-libs/opencolorio-1.1.0-r1 - .../work/opencolorio-1.1.0/src/pyglue/PyAll...
Status: RESOLVED DUPLICATE of bug 666696
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-07-08 15:34 UTC by Petr Cerny [:hrosik]
Modified: 2020-09-06 22:54 UTC (History)
2 users (show)

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


Attachments
build log, emerge -pqv, emerge --info (opencolorio-1.1.0-r1_python_build_failure.tar.xz,10.40 KB, application/x-xz-compressed-tar)
2018-07-08 15:34 UTC, Petr Cerny [:hrosik]
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Cerny [:hrosik] 2018-07-08 15:34:11 UTC
Created attachment 538820 [details]
build log, emerge -pqv, emerge --info

Python bindings in OpenColorIO fail to build with GCC8, thus making the package unmergeable with the `python` keyword. A workaround might be adding `-Wno-error=cast-function-type` to compiler flags (for GCC8).

Likely similar issues:
https://github.com/pybind/pybind11/issues/1395
https://github.com/swig/swig/issues/1259

GCC bug (RESOLVED INVALID):
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84531
Comment 1 Dennis Schridde 2018-07-20 06:11:25 UTC
Please adjust:

Summary: media-libs/opencolorio-1.1.0-r1[python] - src/pyglue/PyAllocationTransform.cpp:67:27: error: cast between incompatible function types from ‘PyObject* (*)(PyObject*)’ {aka ‘_object* (*)(_object*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’}

Blocks: bug #654766

Maintainers will likely want the build.log and emerge --info output to be directly accessible in separate files, i.e. not in a tarball.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2020-09-06 22:54:38 UTC

*** This bug has been marked as a duplicate of bug 666696 ***