Bug 221451 - www/firefox: unable to build with PGO option
Summary: www/firefox: unable to build with PGO option
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-gecko (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-12 18:35 UTC by John Smith
Modified: 2017-11-22 06:29 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (gecko)


Attachments
firefox-55-GPO-error.txt (26.09 KB, text/plain)
2017-08-19 08:30 UTC, iron.udjin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Smith 2017-08-12 18:35:33 UTC
FreeBSD 11.1 x64
firefox 55.0.1
builder: synth

make config options enabled:
BUNDLED_CAIRO
DBUS
FFMPEG
OPTIMIZED_CFLAGS
PGO
PROFILE
RUST
PULSEAUDIO

build log tail:
rm -f libxpcom_build.a
/construction/xports/www/firefox/work/firefox-55.0.1/obj-x86_64-unknown-freebsd11.1/_virtuale
nv/bin/python /construction/xports/www/firefox/work/firefox-55.0.1/config/expandlibs_gen.py -o libxpcom_build.a.desc NSPRInterposer.i_o PoisonIOInterposerStub.i_o Unified_cpp_xpcom_build0.i_o  
gmake[6]: Leaving directory '/construction/xports/www/firefox/work/firefox-55.0.1/obj-x86_64-unknown-freebsd11.1/xpcom/build'
gmake[5]: Leaving directory '/construction/xports/www/firefox/work/firefox-55.0.1/obj-x86_64-unknown-freebsd11.1'
gmake[4]: *** [/construction/xports/www/firefox/work/firefox-55.0.1/config/recurse.mk:33: compile] Error 2
gmake[4]: Leaving directory '/construction/xports/www/firefox/work/firefox-55.0.1/obj-x86_64-unknown-freebsd11.1'
gmake[3]: *** [/construction/xports/www/firefox/work/firefox-55.0.1/config/rules.mk:519: default] Error 2
gmake[3]: Leaving directory '/construction/xports/www/firefox/work/firefox-55.0.1/obj-x86_64-unknown-freebsd11.1'
gmake[2]: *** [/construction/xports/www/firefox/work/firefox-55.0.1/client.mk:419: realbuild] Error 2
gmake[2]: Leaving directory '/construction/xports/www/firefox/work/firefox-55.0.1'
gmake[1]: *** [/construction/xports/www/firefox/work/firefox-55.0.1/client.mk:232: profiledbuild] Error 2
gmake[1]: Leaving directory '/construction/xports/www/firefox/work/firefox-55.0.1'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /xports/www/firefox
Comment 1 John Smith 2017-08-12 22:20:27 UTC
I've disabled PROFILE option first and it still failed to build.
I've disabled PGO option and it got successfully built.
Comment 2 iron.udjin 2017-08-19 08:30:36 UTC
Created attachment 185567 [details]
firefox-55-GPO-error.txt

Same problem here. In the attachment detailed error message.
Comment 3 Jan Beich freebsd_committer freebsd_triage 2017-11-09 17:28:30 UTC
*** Bug 223563 has been marked as a duplicate of this bug. ***
Comment 4 commit-hook freebsd_committer freebsd_triage 2017-11-22 06:25:11 UTC
A commit references this bug:

Author: jbeich
Date: Wed Nov 22 06:24:59 UTC 2017
New revision: 454669
URL: https://svnweb.freebsd.org/changeset/ports/454669

Log:
  gecko: drop broken and unmaintained PGO option

  Clang PGO isn't supported by the build system yet.
  https://bugzilla.mozilla.org/show_bug.cgi?id=1064049

  Reported by:	many
  PR:		221451

Changes:
  head/Mk/bsd.gecko.mk
  head/www/firefox/Makefile.options