Created attachment 650168 [details] emerge --info output. When building supercollider with the /emacs/ useflag enabled, ninja will fail build becaus there are multiple rules that generate `sc-el/el/sclang-server.elc`. This seems to be a bug with cmake custom targets and ninja, however, I was unable to find a relevant upstream bug. Building with make works around this error, so a fix would be adding "CMAKE_MAKEFILE_GENERATOR=emake" to this ebuild. The failed compile output: >>> Compiling source in /tmp/portage/media-sound/supercollider-3.11.0/work/SuperCollider-3.11.0-Source ... * Working in BUILD_DIR: "/tmp/portage/media-sound/supercollider-3.11.0/work/supercollider-3.11.0_build" ninja -v -j4 -l0 ninja: warning: phony target 'editors/sc-el/el/sclang-server.elc' names itself as an input; ignoring [-w phonycycle=warn] ninja: warning: phony target 'editors/sc-el/el/sclang-minor-mode.elc' names itself as an input; ignoring [-w phonycycle=warn] ninja: warning: phony target 'editors/sc-el/el/sclang-language.elc' names itself as an input; ignoring [-w phonycycle=warn] ninja: warning: phony target 'editors/sc-el/el/sclang-keys.elc' names itself as an input; ignoring [-w phonycycle=warn] ninja: warning: phony target 'editors/sc-el/el/sclang-dev.elc' names itself as an input; ignoring [-w phonycycle=warn] ninja: warning: phony target 'editors/sc-el/el/sclang-document.elc' names itself as an input; ignoring [-w phonycycle=warn] ninja: warning: phony target 'editors/sc-el/el/sclang-mode.elc' names itself as an input; ignoring [-w phonycycle=warn] ninja: warning: phony target 'editors/sc-el/el/sclang-menu.elc' names itself as an input; ignoring [-w phonycycle=warn] ninja: warning: phony target 'editors/sc-el/el/sclang-interp.elc' names itself as an input; ignoring [-w phonycycle=warn] ninja: warning: phony target 'editors/sc-el/el/sclang-help.elc' names itself as an input; ignoring [-w phonycycle=warn] ninja: warning: phony target 'editors/sc-el/el/sclang-widgets.elc' names itself as an input; ignoring [-w phonycycle=warn] ninja: warning: phony target 'editors/sc-el/el/sclang-browser.elc' names itself as an input; ignoring [-w phonycycle=warn] ninja: warning: phony target 'editors/sc-el/el/sclang-util.elc' names itself as an input; ignoring [-w phonycycle=warn] ninja: warning: phony target 'editors/sc-el/el/sclang.elc' names itself as an input; ignoring [-w phonycycle=warn] ninja: warning: phony target 'editors/sc-el/el/sclang-vars.elc' names itself as an input; ignoring [-w phonycycle=warn] ninja: error: build.ninja:7648: multiple rules generate editors/sc-el/el/sclang-server.elc [-w dupbuild=err] * ERROR: media-sound/supercollider-3.11.0::gentoo failed (compile phase): * ninja -v -j4 -l0 failed * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 2060: Called cmake_src_compile * environment, line 746: Called cmake_build * environment, line 725: Called eninja * environment, line 1164: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed" * * If you need support, post the output of `emerge --info '=media-sound/supercollider-3.11.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-sound/supercollider-3.11.0::gentoo'`. * The complete build log is located at '/var/log/portage/buildlogs/media-sound:supercollider-3.11.0:20200722-104955.log'. * The ebuild environment file is located at '/tmp/portage/media-sound/supercollider-3.11.0/temp/environment'. * Working directory: '/tmp/portage/media-sound/supercollider-3.11.0/work/supercollider-3.11.0_build' * S: '/tmp/portage/media-sound/supercollider-3.11.0/work/SuperCollider-3.11.0-Source'
Created attachment 650170 [details] build.log
Comment on attachment 650170 [details] build.log This is not the build log you wanted to upload.
Please attach the correct build log to this bug report.
Created attachment 651638 [details] Build log
Have same error
assuming this is fixed, then.
*** Bug 846926 has been marked as a duplicate of this bug. ***