Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 441658 - www-client/firefox-16.0.2[pgo] fails to build if a server is listening on port 8888
Summary: www-client/firefox-16.0.2[pgo] fails to build if a server is listening on por...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-03 23:12 UTC by Jonathan Callen (RETIRED)
Modified: 2012-12-15 19:18 UTC (History)
1 user (show)

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


Attachments
build log (gzipped) (www-client:firefox-16.0.2:20121103-204054.log.gz,440.80 KB, application/x-gzip; charset=binary)
2012-11-03 23:14 UTC, Jonathan Callen (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Callen (RETIRED) gentoo-dev 2012-11-03 23:12:04 UTC
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.
Comment 1 Jonathan Callen (RETIRED) gentoo-dev 2012-11-03 23:14:27 UTC
Created attachment 328256 [details]
build log (gzipped)

Build log is compressed because it's too large to submit otherwise.
Comment 2 iGentoo 2012-11-04 03:16:54 UTC
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.
Comment 3 Михаил 2012-11-27 20:28:02 UTC
Please add pre-check for 8888 port free.
Comment 4 Jory A. Pratt gentoo-dev 2012-12-15 19:18:43 UTC
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.