scripts/Mmake.vars:674: warning: undefined variable 'DESTDIR' Mmake.common:135: warning: undefined variable 'DESTDIR' gmake[1]: *** No rule to make target '1'. Stop. gmake[1]: Leaving directory '/var/tmp/portage/dev-lang/mercury-13.05.2/work/mercury-srcdist-13.05.2' make: *** [Makefile:75: 1] Error 2 emake failed === This is an issue at stable === ------------------------------------------------------------------- This is an stable amd64 chroot image at a tinderbox (==build bot) name: 17.0-no-multilib-hardened_stable_20180212-193640 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.4.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python2.7 (fallback) [3] jython2.7 (fallback) Available Ruby profiles: [1] ruby22 (with Rubygems) [2] ruby23 (with Rubygems) * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.6.0 [icedtea-bin-8] 2) JamVM JDK 2.0.0 [jamvm] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm [2] jamvm emerge -qpv dev-lang/mercury [ebuild N ] dev-lang/mercury-14.01.1 USE="readline -debug -emacs -erlang -examples -java -mono (-profile) -threads -trail"
Created attachment 519940 [details] emerge-info.txt
Created attachment 519942 [details] dev-lang:mercury-13.05.2:20180217-213803.log
Created attachment 519944 [details] emerge-history.txt
Created attachment 519946 [details] environment
Created attachment 519948 [details] etc.portage.tbz2
Created attachment 519950 [details] logs.tbz2
Created attachment 519952 [details] temp.tbz2
please retry with 14.01.1
(In reply to Pacho Ramos from comment #8) mr-fox /tmp/issues/20180306-201418_dev-lang_mercury-14.01.1 # cat issue scripts/Mmake.vars:674: warning: undefined variable 'DESTDIR' Mmake.common:135: warning: undefined variable 'DESTDIR' gmake[1]: *** No rule to make target '1'. Stop. gmake[1]: Leaving directory '/var/tmp/portage/dev-lang/mercury-14.01.1/work/mercury-srcdist-14.01.1' make: *** [Makefile:29: all] Error 2 * ERROR: dev-lang/mercury-14.01.1::gentoo failed (compile phase):
Can you provide the updated build.log? This looks strange: make -j 1 PARALLEL=-j 1 It seems "${MAKEOPTS}" ends up being "-j 1" instead of "-j1" in your case (in my case it works ok)
(In reply to Pacho Ramos from comment #10) I create the appropriate file as follows : cat << EOF > ./etc/portage/env/noconcurrent MAKEOPTS="-j 1" NINJAFLAGS="-j 1" EGO_BUILD_FLAGS="-p 1" GOMAXPROCS="1" GO19CONCURRENTCOMPILATION=0 RUSTFLAGS="-C codegen-units=1" RUST_TEST_THREADS=1 RUST_TEST_TASKS=1 EOF which works fine for almost all packages except few ones
Oh, I didn't even know that was supported :/, maybe you could open a tracker bug for that kind of issues as I wonder it's being tested (most of us I think that pass the number fused to the -j option)
hhm, manpage says '-j [jobs], --jobs[=jobs]'
Yes, I checked manpage... that is the reason I suggested to open a tracker to catch that packages that are showing this issue in your tinderbox to fix them finally ;)
This is now fixed in git. Thanks for reporting this bug.