From owner-freebsd-ports@freebsd.org Sun Apr 10 02:47:05 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C3DE2B09BCD for ; Sun, 10 Apr 2016 02:47:05 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 908A01A79 for ; Sun, 10 Apr 2016 02:47:05 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=XSiHOGGrqz8tDVbFu1Sm8xG5NOv+FinLt1H5SLr71bA=; b=ep6BkyLFeRq9XroPT87YRmPG1a CDZXbnytuO2K/FWHc5TTQ+Z9kb95TBfl3phsskJygl1lONUI8piRpG9hkfq98pVVDBb3Ox/ZWygl9 FxUaM6NX+ZovE6WgzCWxo0u3gi7PxXhMmt3Z5ezV6KHtj2TlnfSkVnmIfrs81LweWowg=; Received: from subs12-223-255-228-107.three.co.id ([223.255.228.107]:37433 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86_1) (envelope-from ) id 1ap5Ox-0007Ti-Ih; Sat, 09 Apr 2016 20:47:04 -0600 Date: Sun, 10 Apr 2016 10:46:54 +0800 From: Erich Dollansky To: Jan Beich Cc: freebsd-ports@FreeBSD.org Subject: Re: impossible to compile firefox when WRKDIRPREFIX is used Message-ID: <20160410104654.0a4d5546@X220.alogt.com> In-Reply-To: References: <20160409105635.404e9871@X220.alogt.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Authenticated-Sender: sl-508-2.slc.westdc.net: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2016 02:47:05 -0000 Hi, On Sat, 09 Apr 2016 21:14:06 +0200 Jan Beich wrote: > Erich Dollansky writes: > > > Hi, > > > > I use WRKDIRPREFIX as a standard outside of jails. I could not > > compile there firefox since some time. I started to investigate > > today with a ports tree from last Sunday/Monday and still have had > > this problem. > > > > After removing WRKDIRPREFIX, it all worked as expected. > > Does it look like the following issue? > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206980 no, ah, I forgot to a the output. ... checking for pixman-1 >= 0.19.2... yes checking MOZ_PIXMAN_CFLAGS... -I/usr/local/include/pixman-1 checking MOZ_PIXMAN_LIBS... -L/usr/local/lib -lpixman-1 checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking for posix_fadvise... (cached) yes checking for posix_fallocate... (cached) yes checking for icu-i18n >= 50.1... yes checking MOZ_ICU_CFLAGS... -I/usr/local/include checking MOZ_ICU_LIBS... -licui18n -L/usr/local/lib -licuuc -licudata creating ./config.status Reticulating splines... Traceback (most recent call last): File "./config.status", line 1075, in config_status(**args) File "/usr/home/PORTS/work/usr/ports/www/firefox/work/firefox-45.0.1/python/mozbuild/mozbuild/config_status.py", line 175, in config_status definitions = list(definitions) File "/usr/home/PORTS/work/usr/ports/www/firefox/work/firefox-45.0.1/python/mozbuild/mozbuild/frontend/emitter.py", line 165, in emit for out in output: File "/usr/home/PORTS/work/usr/ports/www/firefox/work/firefox-45.0.1/python/mozbuild/mozbuild/frontend/reader.py", line 1062, in read_mozbuild raise bre mozbuild.frontend.reader.BuildReaderError: ============================== ERROR PROCESSING MOZBUILD FILE ============================== The error occurred while processing the following file: /usr/home/Depot/PORTS/work/usr/ports/www/firefox/work/firefox-45.0.1/moz.build The underlying problem is an illegal file access. This is likely due to trying to access a file outside of the top source directory. The path whose access was denied is: /usr/home/Depot/PORTS/work/usr/ports/www/firefox/work/firefox-45.0.1/js/src/moz.build Modify the script to not access this file and try again. *** Fix above errors and then restart with\ "gmake -f client.mk build" /usr/home/Depot/PORTS/work/usr/ports/www/firefox/work/firefox-45.0.1/client.mk:359: recipe for target 'configure' failed gmake[4]: *** [configure] Error 1 gmake[4]: Leaving directory '/usr/home/Depot/PORTS/work/usr/ports/www/firefox/work/firefox-45.0.1' /usr/home/Depot/PORTS/work/usr/ports/www/firefox/work/firefox-45.0.1/client.mk:373: recipe for target '/usr/home/PORTS/work/usr/ports/www/firefox/work/firefox-45.0.1/obj-x86_64-portbld-freebsd10.3/config.status' failed gmake[3]: *** [/usr/home/PORTS/work/usr/ports/www/firefox/work/firefox-45.0.1/obj-x86_64-portbld-freebsd10.3/config.status] Error 2 gmake[3]: Leaving directory '/usr/home/Depot/PORTS/work/usr/ports/www/firefox/work/firefox-45.0.1' /usr/home/PORTS/work/usr/ports/www/firefox/work/firefox-45.0.1/client.mk:171: recipe for target 'build' failed gmake[2]: *** [build] Error 2 gmake[2]: Leaving directory '/usr/home/Depot/PORTS/work/usr/ports/www/firefox/work/firefox-45.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[1]: stopped in /usr/ports/www/firefox *** Error code 1 Stop. make: stopped in /usr/ports/www/firefox I just ran this after removing WRKDIRPREFIX from the environment. Before I have been able to built firefox without WRKDIRPREFIX in the same shell. The same error happens in a fresh shell. If it matters, I believe that 37 was the last version I could built with WRKDIRPREFIX. I have compiled more than 100 ports these days on the machine. All others did not have a problem with WRKDIRPREFIX. Erich