When building Firefox 16.0.2 with USE=pgo enabled, it attempts to start an http server running on port 8888. I already happen to be running a different server on this port, which causes the build to fail. Build log attached.
Created attachment 328256 [details] build log (gzipped) Build log is compressed because it's too large to submit otherwise.
PGO server port is here: diff --git a/build/pgo/profileserver.py b/build/pgo/profileserver.py --- a/build/pgo/profileserver.py +++ b/build/pgo/profileserver.py @@ -52,7 +52,7 @@ from automation import Automation from automationutils import getDebuggerInfo, addCommonOptions -PORT = 8888 +PORT = 9999 PROFILE_DIRECTORY = os.path.abspath(os.path.join(SCRIPT_DIR, "./pgoprofile")) MOZ_JAR_LOG_DIR = os.path.abspath(os.getenv("JARLOG_DIR")) os.chdir(SCRIPT_DIR) diff --git a/build/pgo/server-locations.txt b/build/pgo/server-locations.txt --- a/build/pgo/server-locations.txt +++ b/build/pgo/server-locations.txt @@ -89,6 +89,7 @@ # http://127.0.0.1:80 privileged http://127.0.0.1:8888 privileged +http://127.0.0.1:9999 privileged http://test:80 privileged http://mochi.test:8888 privileged http://example.org:80 privileged Changing 8888 to other value may break mochitest and many other tests.
Please add pre-check for 8888 port free.
PGO useflag has been masked until such a time we can properly support it in gentoo. Soon as we can we will unmask and support pgo builds for all users. At this time even upstream is having problems supporting pgo builds in Linux. I will continue to track there upstream to determine when best we can come back and review all pgo build failures. Please ignore resolution we no longer have an option for later.