Bug 243863

Summary: www/firefox: 73.0 build error
Product: Ports & Packages Reporter: Ivan Rozhuk <rozhuk.im>
Component: Individual Port(s)Assignee: freebsd-gecko (Nobody) <gecko>
Status: Closed FIXED    
Severity: Affects Some People CC: david, iron.udjin, junchoon, rozhuk.im
Priority: --- Flags: jbeich: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
URL: http://beefy18.nyi.freebsd.org/data/head-amd64-default/p525125_s357494/logs/errors/firefox-73.0,1.log
See Also: https://bugzilla.mozilla.org/show_bug.cgi?id=1594027

Description Ivan Rozhuk 2020-02-04 09:12:09 UTC
In file included from /tmp/ports/usr/ports/www/firefox/work/firefox-73.0/config/external/rlbox/rlbox_thread_locals.cpp:10:                                                                
In file included from /tmp/ports/usr/ports/www/firefox/work/.build/dist/include/mozilla/rlbox/rlbox_noop_sandbox.hpp:4:
In file included from /tmp/ports/usr/ports/www/firefox/work/.build/dist/stl_wrappers/cstdlib:44:
In file included from /tmp/ports/usr/ports/www/firefox/work/.build/dist/system_wrappers/cstdlib:3:
In file included from /usr/include/c++/v1/cstdlib:85:
In file included from /tmp/ports/usr/ports/www/firefox/work/.build/dist/system_wrappers/stdlib.h:3:
In file included from /usr/include/c++/v1/stdlib.h:100:
In file included from /tmp/ports/usr/ports/www/firefox/work/.build/dist/system_wrappers/math.h:3:
In file included from /usr/include/c++/v1/math.h:311:
In file included from /tmp/ports/usr/ports/www/firefox/work/.build/dist/stl_wrappers/type_traits:50:
In file included from /tmp/ports/usr/ports/www/firefox/work/.build/dist/include/mozilla/mozalloc.h:31:
In file included from /tmp/ports/usr/ports/www/firefox/work/.build/dist/stl_wrappers/new:44:
In file included from /tmp/ports/usr/ports/www/firefox/work/.build/dist/system_wrappers/new:3:
In file included from /usr/include/c++/v1/new:90:
In file included from /tmp/ports/usr/ports/www/firefox/work/.build/dist/system_wrappers/exception:3:
/usr/include/c++/v1/exception:180:5: error: no member named 'abort' in namespace 'std::__1'; did you mean simply 'abort'?
    _VSTD::abort();
    ^~~~~~~
/usr/include/c++/v1/__config:759:15: note: expanded from macro '_VSTD'
#define _VSTD std::_LIBCPP_ABI_NAMESPACE
              ^
/usr/include/stdlib.h:86:17: note: 'abort' declared here
_Noreturn void   abort(void);
                 ^
Comment 1 iron.udjin 2020-02-04 11:29:46 UTC
Have the same problem on 12.1-STABLE r357442.
Comment 2 david 2020-02-04 12:11:59 UTC
Also on stable/12 @r357495, amd64; ports head @r525150.
Comment 3 Tomoaki AOKI 2020-02-04 12:31:43 UTC
+1, at stable/12 amd64 r357437.
Next actual revision is r357484, so actually at same rev as iron.udjin@gmail.com.
Looks header incompatibility with base or possibly wrong c++ version specified, but not dug in further.
Comment 4 commit-hook freebsd_committer freebsd_triage 2020-02-04 12:50:25 UTC
A commit references this bug:

Author: jbeich
Date: Tue Feb  4 12:50:07 UTC 2020
New revision: 525155
URL: https://svnweb.freebsd.org/changeset/ports/525155

Log:
  www/firefox: unbreak on -CURRENT/-STABLE after r525108

  PR:		243863
  Reported by:	many

Changes:
  head/www/firefox/files/patch-bug1594027
Comment 5 Ivan Rozhuk 2020-02-04 15:15:00 UTC
Build ok, thanks!