Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 756760

Summary: media-libs/simage and media-libs/coin cannot build with cmake >= 3.19
Product: Gentoo Linux Reporter: ppdplayer
Component: Current packagesAssignee: Maciej Mrozowski <reavertm>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log from coin

Description ppdplayer 2020-11-25 18:51:48 UTC
Both packages had a similar error during the generation step in configuration. 

CMake Error: install(EXPORT "Coin" ...) includes target "Coin" more than once in the export set.

This makes the package unable to build. This was fixed by using a cmake with a version < 3.19.

Reproducible: Always
Comment 1 ppdplayer 2020-11-25 18:52:35 UTC
Created attachment 675004 [details]
build log from coin
Comment 2 Ionen Wolkens gentoo-dev 2020-11-25 23:10:04 UTC
Is it cmake or packages that need to be fixed here? If the latter then maybe this need a tracker? (+ individual bugs)

I feel there may(?) be many affected packages that will slowly keep being found.

From a quick look I also see bug #756325 and bug #755932 with same EXPORT error.

Not ::gentoo but I also seen someone run into this with sci-libs/itk-5.1.0::science
Comment 3 ppdplayer 2020-11-26 18:34:39 UTC
There should probably be a tracker for this.
Comment 4 Ionen Wolkens gentoo-dev 2020-12-09 19:40:28 UTC
(In reply to Ionen Wolkens from comment #2)
> Is it cmake or packages that need to be fixed here?
It was the former and considered a regression[0], should be fixed in cmake-3.19.2

[0] https://gitlab.kitware.com/cmake/cmake/-/issues/21529
Comment 5 Andreas Sturmlechner gentoo-dev 2020-12-12 16:54:46 UTC

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