Date: Sun, 5 May 2019 16:11:06 +0900 From: Tomoaki AOKI <junchoon@dec.sakura.ne.jp> To: svn-ports-head@freebsd.org Cc: jbeich@FreeBSD.org, danfe@freebsd.org Subject: Re: svn commit: r498376 - head/www/palemoon Message-ID: <20190505161106.210bd11a5dc3bd85b47561c6@dec.sakura.ne.jp>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --Multipart=_Sun__5_May_2019_16_11_06_+0900_eoW3F_T0zDxw_dES Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Not ideal, but can be fixed by what emulators/virtualbox-ose does. Force devel/llvm60 for arches/branches having clang8 by default. See attached patch. Applicable on top of ports tree (/usr/ports). Builds and at least starts fine on stable/12 r347126 amd64 with this. > Author: jbeich > Date: Mon Apr 8 13:36:08 2019 > New Revision: 498376 > URL: https://svnweb.freebsd.org/changeset/ports/498376 > > Log: > www/palemoon: mark BROKEN on -CURRENT > > resource://gre/components/Weave.js > resource://gre/components/WebVTTParserWrapper.js > resource://gre/components/Webapps.js > Traceback (most recent call last): > File "toolkit/mozapps/installer/packager.py", line 405, in <module> > main() > File "toolkit/mozapps/installer/packager.py", line 399, in main > args.source, gre_path, base) > File "toolkit/mozapps/installer/packager.py", line 157, in > precompile_cache errors.fatal('Error while running startup cache > precompilation') File "python/mozbuild/mozpack/errors.py", line 101, in > fatal self._handle(self.FATAL, msg) > File "python/mozbuild/mozpack/errors.py", line 96, in _handle > raise ErrorMessage(msg) > mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation gmake[2]: *** [toolkit/mozapps/installer/packager.mk:37: stage-package] Error 1 > ? Modified: > head/www/palemoon/Makefile (contents, props changed) > > Modified: head/www/palemoon/Makefile > ============================================================================== > --- head/www/palemoon/Makefile Mon Apr 8 13:35:56 2019 (r498375) > +++ head/www/palemoon/Makefile Mon Apr 8 13:36:08 2019 (r498376) > @@ -10,6 +10,8 @@ CATEGORIES= www ipv6 > MAINTAINER= lichray at gmail.com > COMMENT= Open Source Goanna-based web browser > > +BROKEN_FreeBSD_13_amd64= xpcshell crashes after base Clang > updated to 8.0.0 + > BUILD_DEPENDS= nspr>=4.15:devel/nspr \ > nss>=3.31.1:security/nss \ > libevent>=2.0.22:devel/libevent \ -- Tomoaki AOKI <junchoon@dec.sakura.ne.jp> --Multipart=_Sun__5_May_2019_16_11_06_+0900_eoW3F_T0zDxw_dES Content-Type: text/x-diff; name="www_palemoon.diff" Content-Disposition: attachment; filename="www_palemoon.diff" Content-Transfer-Encoding: 7bit --- www/palemoon/Makefile.orig 2019-05-02 11:33:22.785557000 +0900 +++ www/palemoon/Makefile 2019-05-05 14:41:15.288231000 +0900 @@ -46,6 +46,18 @@ OPTIONS_EXCLUDE= JACK TEST WAYLAND .include "${.CURDIR}/../../www/firefox/Makefile.options" +.include <bsd.port.pre.mk> + +.if ${COMPILER_TYPE} == clang +.if ${COMPILER_VERSION} == 80 +# XXX : Clang 8.0 caused packaging problems. +BUILD_DEPENDS+= ${LOCALBASE}/bin/clang${PALEMOON_LLVM_VER}:devel/llvm${PALEMOON_LLVM_VER} +CC= ${LOCALBASE}/bin/clang${PALEMOON_LLVM_VER} +CXX= ${LOCALBASE}/bin/clang++${PALEMOON_LLVM_VER} +PALEMOON_LLVM_VER?= 60 +.endif +.endif + post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/browser/app/nsBrowserApp.cpp @@ -59,4 +71,4 @@ post-install: ${INSTALL_DATA} ${PM_DESKTOP} ${STAGEDIR}${PREFIX}/share/applications/ ${LN} -sf ${PM_ICON_SRC} ${STAGEDIR}${PREFIX}/share/pixmaps/${PM_ICON} -.include <bsd.port.mk> +.include <bsd.port.post.mk> --Multipart=_Sun__5_May_2019_16_11_06_+0900_eoW3F_T0zDxw_dES--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190505161106.210bd11a5dc3bd85b47561c6>