pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Possible fix for www/firefox on NetBSD 8



On Mon, 2020-05-25 at 17:35 +0200, is%netbsd.org@localhost wrote:
> On Mon, May 25, 2020 at 12:53:48PM +0200, Tobias Nygren wrote:
> 
> > It's a clang specific option. Looks like firefox68 builds partly
> > with
> > GCC? I see www/firefox has Makefile fragments that override PKG_CXX,
> > which firefox68 does not have. Maybe this is the problem?
> > (I haven't followed the Firefox upstream for some years and am
> > not really sure the build has to be set up this way.)

Yes, firefox68 varies significantly from firefox. The 69.0 release was
when ryoon@ changed things to require clang absolutely. When I last used
firefox68 on NetBSD 8.1/amd64 (a couple of months ago), it built and
ran correctly for me without any tweaks needed. I can try it again.

> in www/firefox I see:
> 
> DEBUG: Executing:
> `/pkg_comp/obj/pkgsrc/www/firefox/default/.cwrapper/bin/c++ -E
> /tmp/conftest.A6aODR.cpp`
> DEBUG: The command returned non-zero exit status 1.
> DEBUG: Its error output was:
> DEBUG: | clang-9: error: unknown argument: '-stdlib++-isystem'
> DEBUG: | clang-9: error: unknown argument: '-stdlib++-isystem'
> DEBUG: | clang-9: error: unknown argument: '-stdlib++-isystem'

You need clang 10 (in pkgsrc-current). I can duplicate this error with
clang 9. (My test environment was NetBSD 8.2/amd64, with pkgsrc-current
as of mid-May.)

Dave




Home | Main Index | Thread Index | Old Index