Estou tentando construir a versão estável (release) do Firefox 51.0.2 no Linux Mint 18.1.
Estou recebendo uma mensagem de erro estranha e não consegui encontrar nenhuma informação sobre o que isso significa. ./mach build
falha com o erro, ERROR: old-configure failed
.
A única resposta que encontrei online foi que isso pode acontecer quando não há um arquivo mozconfig, mas eu tenho um no lugar. Também verifiquei que o usuário que está sendo usado para fazer a compilação tem permissões de leitura e gravação para toda a árvore de fontes.
Algumas linhas antes do erro, há a linha:
js/src> /bin/sh: 1: ./config.status: Permission denied
Mas não consegui encontrar esse arquivo e, novamente, todas as permissões nos diretórios devem permitir a leitura e a gravação.
Alguém pode me dizer por que esse erro ocorreu?
As últimas linhas de saída do comando de compilação são:
0:16.41 js/src> creating ./config.data
0:16.41 js/src> Creating config.status
0:16.41 js/src> /bin/sh: 1: ./config.status: Permission denied
0:16.41
0:19.48 DEBUG: <truncated - see config.log for full output>
0:19.48 DEBUG: configure:17869: checking GLIB_LIBS
0:19.48 DEBUG: configure:17924: checking for freetype2 >= 6.1.0
0:19.49 DEBUG: configure:17931: checking FT2_CFLAGS
0:19.49 DEBUG: configure:17936: checking FT2_LIBS
0:19.49 DEBUG: configure:17973: checking for FT_Bitmap_Size.y_ppem
0:19.49 DEBUG: configure:17988: /usr/bin/gcc -std=gnu99 -c -fno-strict-aliasing -fno-math-errno -pthread -pipe -I/usr/include/freetype2 conftest.c 1>&5
0:19.49 DEBUG: configure:18017: checking for FT_GlyphSlot_Embolden
0:19.49 DEBUG: configure:18049: /usr/bin/gcc -std=gnu99 -o conftest -fno-strict-aliasing -fno-math-errno -pthread -pipe -I/usr/include/freetype2 -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B Builds/51/src/release/obj-x86_64-pc-linux-gnu/build/unix/gold conftest.c -ldl -lfreetype 1>&5
0:19.49 DEBUG: configure:18017: checking for FT_Load_Sfnt_Table
0:19.49 DEBUG: configure:18049: /usr/bin/gcc -std=gnu99 -o conftest -fno-strict-aliasing -fno-math-errno -pthread -pipe -I/usr/include/freetype2 -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B Builds/51/src/release/obj-x86_64-pc-linux-gnu/build/unix/gold conftest.c -ldl -lfreetype 1>&5
0:19.49 DEBUG: configure:18087: checking for fontconfig/fcfreetype.h
0:19.49 DEBUG: configure:18100: /usr/bin/gcc -std=gnu99 -c -fno-strict-aliasing -fno-math-errno -pthread -pipe -I/usr/include/freetype2 conftest.c 1>&5
0:19.49 DEBUG: configure:18151: checking for fontconfig >= 2.7.0
0:19.49 DEBUG: configure:18158: checking _FONTCONFIG_CFLAGS
0:19.49 DEBUG: configure:18163: checking _FONTCONFIG_LIBS
0:19.49 DEBUG: configure:19472: checking for posix_fadvise
0:19.49 DEBUG: configure:19504: /usr/bin/gcc -std=gnu99 -o conftest -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -fno-strict-aliasing -fno-math-errno -pthread -pipe -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B Builds/51/src/release/obj-x86_64-pc-linux-gnu/build/unix/gold conftest.c -ldl 1>&5
0:19.49 DEBUG: configure:19472: checking for posix_fallocate
0:19.49 DEBUG: configure:19504: /usr/bin/gcc -std=gnu99 -o conftest -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -fno-strict-aliasing -fno-math-errno -pthread -pipe -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B Builds/51/src/release/obj-x86_64-pc-linux-gnu/build/unix/gold conftest.c -ldl 1>&5
0:19.49 DEBUG: configure:19555: /usr/bin/gcc -std=gnu99 -c -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -fno-strict-aliasing -fno-math-errno -pthread -pipe conftest.c 1>&5
0:19.49 ERROR: old-configure failed
0:19.51 *** Fix above errors and then restart with\
0:19.51 "/usr/bin/make -f client.mk build"
0:19.51 client.mk:373: recipe for target 'configure' failed
0:19.51 make: *** [configure] Error 1