Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Apr 2016 10:46:54 +0800
From:      Erich Dollansky <erichsfreebsdlist@alogt.com>
To:        Jan Beich <jbeich@vfemail.net>
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: <egae-fvcx-wny@vfemail.net>
References:  <20160409105635.404e9871@X220.alogt.com> <egae-fvcx-wny@vfemail.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Sat, 09 Apr 2016 21:14:06 +0200
Jan Beich <jbeich@vfemail.net> wrote:

> Erich Dollansky <erichsfreebsdlist@alogt.com> 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 <module>
    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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160410104654.0a4d5546>