Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 759271 - dev-util/cmake-3.19.1 may insert target more than once
Summary: dev-util/cmake-3.19.1 may insert target more than once
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://gitlab.kitware.com/cmake/cmak...
Whiteboard:
Keywords: PATCH
: 756760 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-12-09 18:25 UTC by Attila Tóth
Modified: 2020-12-12 18:02 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Tóth 2020-12-09 18:25:36 UTC
-- Configuring done
CMake Error: install(EXPORT "GDCMTargets" ...) includes target "gdcmjpeg8" more than once in the export set.
-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
 * ERROR: sci-libs/gdcm-3.0.1::imaging failed (configure phase):

I know, that gdcm is only in the imaging overlay, but this symptom may affect other packages as well

Reproducible: Always
Comment 1 Attila Tóth 2020-12-09 18:26:34 UTC
Issue is resolved by the following commit:
https://gitlab.kitware.com/cmake/cmake/-/merge_requests/5556
Upcoming cmake-3.19.2 will contain the fix.
Comment 2 Ionen Wolkens gentoo-dev 2020-12-09 19:45:38 UTC
(In reply to Attila Tóth from comment #0)
> I know, that gdcm is only in the imaging overlay, but this symptom may
> affect other packages as well
It does, for ::gentoo examples: bug #756760, bug #755932, and bug #756325

Good to hear it was a regression rather than requiring finding and fixing individual packages.
Comment 3 Andreas Sturmlechner gentoo-dev 2020-12-12 16:54:46 UTC
*** Bug 756760 has been marked as a duplicate of this bug. ***
Comment 4 Andreas Sturmlechner gentoo-dev 2020-12-12 16:54:56 UTC
*** Bug 755932 has been marked as a duplicate of this bug. ***
Comment 5 Andreas Sturmlechner gentoo-dev 2020-12-12 16:55:06 UTC
*** Bug 756325 has been marked as a duplicate of this bug. ***
Comment 6 Larry the Git Cow gentoo-dev 2020-12-12 18:02:43 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=755299aaafbf5b1dd243ab371375f742699fcceb

commit 755299aaafbf5b1dd243ab371375f742699fcceb
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-12-12 17:00:40 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-12-12 17:58:23 +0000

    dev-util/cmake: Fix spurious include target
    
    Reported-by: Attila Tóth <atoth@atoth.sote.hu>
    Closes: https://bugs.gentoo.org/759271
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-util/cmake/cmake-3.19.1-r1.ebuild              | 225 +++++++++++++++++++++
 .../cmake-3.19.1-fix-spurious-include-target.patch | 198 ++++++++++++++++++
 2 files changed, 423 insertions(+)