pkgsrc-Users archive

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

Re: firefox-74.0.1 build failure



On 08.04.2020 12:49, Chavdar Ivanov wrote:
Hi,

Running 'make -d all configure' shows the problem in a long command
invoking the configure sh script (which further invokes python2.7),
the problem is in the first few characters - it starts with
...
set -e;ulimit -d `ulimit -H -d`; ; ulimit -d `ulimit -H -d`; ;
                                   cd
/usr/pkgsrc/www/firefox/work/firefox-74.0.1 && ....

Notice the duplication of the ulimit command (obviously harmless, but
why?) and the double semicolons, twice. This is illegal syntax for sh.
bash and ksh, but works fine for zsh and curiously fails for ksh93
only interactively, working as part of a script. I am still not able
to figure out how the above is generated.

Figuring this out is very simple. Just run:

make PKGSRC_DEBUG_LEVEL=2 configure

This will tell you the ${.TARGET} that belongs to these commands. From
there, finding the actual cause should be simple.


Home | Main Index | Thread Index | Old Index