Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 474978

Summary: www-client/firefox-22.0 - make[1]: *** No rule to make target `pgo-profile-run'. Stop.
Product: Gentoo Linux Reporter: Coacher <itumaykin+gentoo>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED INVALID    
Severity: normal CC: alecm, boxcars, rom
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=476940
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log.xz
emerge --info firefox
pgo fix

Description Coacher 2013-06-27 14:01:06 UTC
I am trying to build firefox-22 and it fails at the beginning of PGO step.
Error message:

make[4]: Leaving directory `/var/tmp/portage/www-client/firefox-22.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/locales'
make[3]: Leaving directory `/var/tmp/portage/www-client/firefox-22.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer'
make tools
make[3]: Entering directory `/var/tmp/portage/www-client/firefox-22.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer'
make[3]: Nothing to be done for `tools'.
make[3]: Leaving directory `/var/tmp/portage/www-client/firefox-22.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer'
make[2]: Leaving directory `/var/tmp/portage/www-client/firefox-22.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer'
make[1]: Leaving directory `/var/tmp/portage/www-client/firefox-22.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu'
rm -f obj-x86_64-unknown-linux-gnu/jarlog/en-US.log
MOZ_PGO_INSTRUMENTED=1 JARLOG_FILE=jarlog/en-US.log EXTRA_TEST_ARGS=10 make -C obj-x86_64-unknown-linux-gnu pgo-profile-run
make[1]: Entering directory `/var/tmp/portage/www-client/firefox-22.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[1]: *** No rule to make target `pgo-profile-run'.  Stop.
make[1]: Leaving directory `/var/tmp/portage/www-client/firefox-22.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu'
make: *** [profiledbuild] Error 2
emake failed

Reproducible: Always
Comment 1 Coacher 2013-06-27 14:04:28 UTC
Created attachment 352086 [details]
build.log.xz
Comment 2 Coacher 2013-06-27 14:04:46 UTC
Created attachment 352088 [details]
emerge --info firefox
Comment 3 Coacher 2013-06-27 14:08:30 UTC
I forgot to mention that firefox-21.0 with pgo was built fine on this machine.
Comment 4 Jory A. Pratt gentoo-dev 2013-06-27 22:35:49 UTC
PGO useflag was masked due to the team being unable to support it at this time, all bugs filed that are pgo related will continue to be closed as invalid unless a patch is attached to correct the problem.
Comment 5 Jory A. Pratt gentoo-dev 2013-06-30 13:09:08 UTC
*** Bug 475264 has been marked as a duplicate of this bug. ***
Comment 6 Ben Kohler gentoo-dev 2013-06-30 14:36:42 UTC
*** Bug 475328 has been marked as a duplicate of this bug. ***
Comment 7 victor romanchuk 2013-07-09 10:38:51 UTC
Created attachment 352918 [details, diff]
pgo fix

if anyone interested --

attached is a quick-and-dirty ebuild userpatch for firefox-22.0 profile quided optimization. i did not tested it widely and it actually succeeded on my own gentoo installation (~amd64)

again: strictly related to firefox-22.0 codebase only

fixes ${S}/client.mk and ${S}/build/automation.py.in
Comment 8 Siim Ainsaar 2013-08-08 13:29:22 UTC
I have posted an updated patch for www-client/firefox-23.0 in bug 480258.