Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 623956 - =media-libs/portmidi-217-r1[java]: ninja: error: dependency cycle: pm_java/pmdefaults.jar -> pm_java/pmdefaults.jar
Summary: =media-libs/portmidi-217-r1[java]: ninja: error: dependency cycle: pm_java/pm...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ninja-porting
  Show dependency tree
 
Reported: 2017-07-06 07:36 UTC by Marek Szuba
Modified: 2020-07-01 17:49 UTC (History)
2 users (show)

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


Attachments
portmidi-217-r1-build.log (build.log,5.90 KB, text/x-log)
2017-07-06 07:36 UTC, Marek Szuba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Szuba archtester gentoo-dev 2017-07-06 07:36:30 UTC
Created attachment 481122 [details]
portmidi-217-r1-build.log

The part of CMake scripts in the current (and at the moment only) ebuild of media-libs/portmidi that is responsible for the building of Java bindings is incompatible with Ninja; please see the attached build log for details. The bindings do build fine when CMAKE_MAKEFILE_GENERATOR="emake", and with USE="-java" Ninja works fine.

I haven't reported this upstream yet because at a glance, it seems the problem has been introduced by Gentoo patches.
Comment 1 Marek Szuba archtester gentoo-dev 2020-07-01 17:44:51 UTC
Current ebuild works around this by forcing the use of emake.
Comment 2 Andreas Sturmlechner gentoo-dev 2020-07-01 17:49:31 UTC
I'd consider that a workaround, not a fix, but hey.

The cmake patch to that package is indeed rather huge, contains no header and was probably never attempted to be sent upstream?