Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 666950 - dev-lang/erlang-21.0.9: mv: cannot stat 'obj/x86_64-pc-linux-gnu/opt/smp/beam_emu_pg.gcda': No such file or directory
Summary: dev-lang/erlang-21.0.9: mv: cannot stat 'obj/x86_64-pc-linux-gnu/opt/smp/beam...
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:
Depends on:
Blocks:
 
Reported: 2018-09-24 05:53 UTC by Michał Górny
Modified: 2018-09-30 20:28 UTC (History)
2 users (show)

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


Attachments
dev-lang:erlang-21.0.9:20180924-053714.log (dev-lang:erlang-21.0.9:20180924-053714.log,243.53 KB, text/plain)
2018-09-24 05:53 UTC, Michał Górny
Details
emerge-info.txt (e-info.txt,10.13 KB, text/plain)
2018-09-24 05:54 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-09-24 05:53:38 UTC
Created attachment 547746 [details]
dev-lang:erlang-21.0.9:20180924-053714.log

make -f x86_64-pc-linux-gnu/Makefile TYPE=opt
make[4]: Entering directory '/tmp/portage/dev-lang/erlang-21.0.9/work/otp-OTP-21.0.9/erts/emulator'
if utils/gen_git_version x86_64-pc-linux-gnu/gen_git_version.mk; then touch beam/erl_bif_info.c; fi
echo " PROFILE beam.prof.smp"
 PROFILE beam.prof.smp
rm -f obj/x86_64-pc-linux-gnu/opt/smp/erl*.profraw
set -e; LLVM_PROFILE_FILE="obj/x86_64-pc-linux-gnu/opt/smp/erlc-%m.profraw" \
          ERL_FLAGS="-emu_type prof +S 1" erlc -W  -DPGO \
  -o obj/x86_64-pc-linux-gnu/opt/smp test/estone_SUITE.erl > obj/x86_64-pc-linux-gnu/opt/smp/PROFILE_LOG
set -e; LLVM_PROFILE_FILE="obj/x86_64-pc-linux-gnu/opt/smp/erl-%m.profraw" \
  ERL_FLAGS="-emu_type prof +S 1" erl -boot start_clean -pa obj/x86_64-pc-linux-gnu/opt/smp \
  -noshell -s estone_SUITE pgo -s init stop >> obj/x86_64-pc-linux-gnu/opt/smp/PROFILE_LOG
touch obj/x86_64-pc-linux-gnu/opt/smp/PROFILE
mv obj/x86_64-pc-linux-gnu/opt/smp/beam_emu_pg.gcda obj/x86_64-pc-linux-gnu/opt/smp/beam_emu_pu.gcda
mv obj/x86_64-pc-linux-gnu/opt/smp/erl_process_pg.gcda obj/x86_64-pc-linux-gnu/opt/smp/erl_process_pu.gcda
mv: cannot stat 'obj/x86_64-pc-linux-gnu/opt/smp/beam_emu_pg.gcda': No such file or directory
make[4]: *** [x86_64-pc-linux-gnu/Makefile:742: obj/x86_64-pc-linux-gnu/opt/smp/beam_emu_pu.gcda] Error 1
make[4]: *** Waiting for unfinished jobs....
mv: cannot stat 'obj/x86_64-pc-linux-gnu/opt/smp/erl_process_pg.gcda': No such file or directory
make[4]: *** [x86_64-pc-linux-gnu/Makefile:742: obj/x86_64-pc-linux-gnu/opt/smp/erl_process_pu.gcda] Error 1
make[4]: Leaving directory '/tmp/portage/dev-lang/erlang-21.0.9/work/otp-OTP-21.0.9/erts/emulator'
make[3]: *** [/tmp/portage/dev-lang/erlang-21.0.9/work/otp-OTP-21.0.9/make/run_make.mk:35: opt] Error 2
make[3]: Leaving directory '/tmp/portage/dev-lang/erlang-21.0.9/work/otp-OTP-21.0.9/erts/emulator'
make[2]: *** [Makefile:45: opt] Error 2
make[2]: Leaving directory '/tmp/portage/dev-lang/erlang-21.0.9/work/otp-OTP-21.0.9/erts'
make[1]: *** [Makefile:54: smp] Error 2
make[1]: Leaving directory '/tmp/portage/dev-lang/erlang-21.0.9/work/otp-OTP-21.0.9/erts'
make: *** [Makefile:473: emulator] Error 2
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-09-24 05:54:26 UTC
Created attachment 547748 [details]
emerge-info.txt
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-09-24 07:56:09 UTC
MAKEOPTS=-j1 seems to work, so it's a parallel make issue.
Comment 3 Enne Eziarc 2018-09-30 20:05:07 UTC
For me MAKEOPTS wasn't enough, also had to disable distcc.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-09-30 20:28:31 UTC
This should be worked around in 21.1.