Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 733496 - media-sound/supercollider-3.11.0 : ninja: error: build.ninja:7648: multiple rules generate editors/sc-el/el/sclang-server.elc [-w dupbuild=err]
Summary: media-sound/supercollider-3.11.0 : ninja: error: build.ninja:7648: multiple r...
Status: RESOLVED FIXED
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: PullRequest
: 846926 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-07-22 11:08 UTC by Jan Seeger
Modified: 2024-02-04 12:11 UTC (History)
8 users (show)

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


Attachments
emerge --info output. (supercollider,7.19 KB, text/plain)
2020-07-22 11:08 UTC, Jan Seeger
Details
build.log (build.log,143.07 KB, text/plain)
2020-07-22 11:11 UTC, Jan Seeger
Details
Build log (buildlog,9.53 KB, text/plain)
2020-07-30 12:13 UTC, Jan Seeger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Seeger 2020-07-22 11:08:17 UTC
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'
Comment 1 Jan Seeger 2020-07-22 11:11:25 UTC
Created attachment 650170 [details]
build.log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2020-07-30 10:39:41 UTC
Comment on attachment 650170 [details]
build.log

This is not the build log you wanted to upload.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2020-07-30 10:40:28 UTC
Please attach the correct build log to this bug report.
Comment 4 Jan Seeger 2020-07-30 12:13:49 UTC
Created attachment 651638 [details]
Build log
Comment 5 Leonid Kopylov 2021-06-21 08:31:08 UTC
Have same error
Comment 6 Andreas Sturmlechner gentoo-dev 2024-02-04 12:10:16 UTC
assuming this is fixed, then.
Comment 7 Andreas Sturmlechner gentoo-dev 2024-02-04 12:11:01 UTC
*** Bug 846926 has been marked as a duplicate of this bug. ***