From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: [PATCH] gnu: Add IceCat. Date: Tue, 12 Nov 2013 22:13:01 +0100 Message-ID: <20131112211301.GB24048@debian> References: <20131111194739.GA27236@debian> <52813F28.8040007@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50985) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VgLNj-0003Rx-7L for guix-devel@gnu.org; Tue, 12 Nov 2013 16:20:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VgLNd-0005lp-2a for guix-devel@gnu.org; Tue, 12 Nov 2013 16:20:19 -0500 Received: from moutng.kundenserver.de ([212.227.126.187]:59759) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VgLNc-0005lR-P6 for guix-devel@gnu.org; Tue, 12 Nov 2013 16:20:13 -0500 Resent-Message-ID: <20131112212007.GA11429@debian> Resent-To: guix-devel@gnu.org Content-Disposition: inline In-Reply-To: <52813F28.8040007@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Cyril Roelandt On Mon, Nov 11, 2013 at 09:33:44PM +0100, Cyril Roelandt wrote: > >+ (let ((out (assoc-ref outputs "out"))) > >+ (setenv "SHELL" (which "bash")) > >+ (setenv "CONFIG_SHELL" (which "bash")) > >+ (zero? (system* "./configure" > >+ (string-append "--prefix=" out) > >+ "--disable-webrtc")))) ; webrtc creates an error > > Can't you use #:configure-flags here ? This is the same problem as encountered also for other packages, such as ffmpeg and bigloo. > Btw, I think you should > include more details about the errors created by WebRTC, so someone > can try and fix them. For the record, I am posting the error message here: generating WebRTC Makefiles... Updating projects from gyp files... Traceback (most recent call last): File "./media/webrtc/trunk/build/gyp_chromium", line 175, in sys.exit(gyp.main(args)) File "/tmp/nix-build-icecat-24.0.drv-0/icecat-24.0/media/webrtc/trunk/tools/gyp/pylib/gyp/__init__.py", line 526, in main return gyp_main(args) File "/tmp/nix-build-icecat-24.0.drv-0/icecat-24.0/media/webrtc/trunk/tools/gyp/pylib/gyp/__init__.py", line 502, in gyp_main options.circular_check) File "/tmp/nix-build-icecat-24.0.drv-0/icecat-24.0/media/webrtc/trunk/tools/gyp/pylib/gyp/__init__.py", line 132, in Load params['parallel']) File "/tmp/nix-build-icecat-24.0.drv-0/icecat-24.0/media/webrtc/trunk/tools/gyp/pylib/gyp/input.py", line 2556, in Load variables, includes, depth, check, True) File "/tmp/nix-build-icecat-24.0.drv-0/icecat-24.0/media/webrtc/trunk/tools/gyp/pylib/gyp/input.py", line 391, in LoadTargetBuildFile build_file_data, PHASE_EARLY, variables, build_file_path) File "/tmp/nix-build-icecat-24.0.drv-0/icecat-24.0/media/webrtc/trunk/tools/gyp/pylib/gyp/input.py", line 1142, in ProcessVariablesAndConditionsInDict variables, build_file, 'variables') File "/tmp/nix-build-icecat-24.0.drv-0/icecat-24.0/media/webrtc/trunk/tools/gyp/pylib/gyp/input.py", line 1142, in ProcessVariablesAndConditionsInDict variables, build_file, 'variables') File "/tmp/nix-build-icecat-24.0.drv-0/icecat-24.0/media/webrtc/trunk/tools/gyp/pylib/gyp/input.py", line 1142, in ProcessVariablesAndConditionsInDict variables, build_file, 'variables') File "/tmp/nix-build-icecat-24.0.drv-0/icecat-24.0/media/webrtc/trunk/tools/gyp/pylib/gyp/input.py", line 1194, in ProcessVariablesAndConditionsInDict ProcessConditionsInDict(the_dict, phase, variables, build_file) File "/tmp/nix-build-icecat-24.0.drv-0/icecat-24.0/media/webrtc/trunk/tools/gyp/pylib/gyp/input.py", line 1071, in ProcessConditionsInDict variables, build_file) File "/tmp/nix-build-icecat-24.0.drv-0/icecat-24.0/media/webrtc/trunk/tools/gyp/pylib/gyp/input.py", line 1149, in ProcessVariablesAndConditionsInDict expanded = ExpandVariables(value, phase, variables, build_file) File "/tmp/nix-build-icecat-24.0.drv-0/icecat-24.0/media/webrtc/trunk/tools/gyp/pylib/gyp/input.py", line 872, in ExpandVariables cwd=build_file_dir) File "/nix/store/a1x98y7y83j4x4d4pk21w9m4f60dgs9r-python-2.7.5/lib/python2.7/subprocess.py", line 711, in __init__ errread, errwrite) File "/nix/store/a1x98y7y83j4x4d4pk21w9m4f60dgs9r-python-2.7.5/lib/python2.7/subprocess.py", line 1308, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory configure: error: failed to generate WebRTC Makefiles ------ config.log ------ configure:26044: gcc -c -std=gnu99 -fgnu89-inline -fno-strict-aliasing -ffunction-sections -fdata-sections -pthread -pipe -I/nix/store/b3c1z47c201gz8gnx5553kw2qb4qdq3b-freetype-2.4.11/include/freetype2 -I/nix/store/b3c1z47c201gz8gnx5553kw2qb4qdq3b-freetype-2.4.11/include conftest.c 1>&5 configure:26134: checking for fontconfig configure:26141: checking _FONTCONFIG_CFLAGS configure:26146: checking _FONTCONFIG_LIBS configure:26340: checking for stdint.h configure:26353: gcc -c -std=gnu99 -fgnu89-inline -fno-strict-aliasing -ffunction-sections -fdata-sections -pthread -pipe conftest.c 1>&5 configure:26340: checking for inttypes.h configure:26353: gcc -c -std=gnu99 -fgnu89-inline -fno-strict-aliasing -ffunction-sections -fdata-sections -pthread -pipe conftest.c 1>&5 configure:26340: checking for sys/int_types.h configure:26353: gcc -c -std=gnu99 -fgnu89-inline -fno-strict-aliasing -ffunction-sections -fdata-sections -pthread -pipe conftest.c 1>&5 configure:26347:27: fatal error: sys/int_types.h: No such file or directory compilation terminated. configure: failed program was: #line 26345 "configure" #include "confdefs.h" #include int main() { ; return 0; } configure:27696: checking for posix_fallocate configure:27706: gcc -o conftest -Wall -Wpointer-arith -Wdeclaration-after-statement -Werror=return-type -Wtype-limits -Wempty-body -Wsign-compare -Wno-unused -Wcast-align -std=gnu99 -fgnu89-inline -fno-strict-aliasing -ffunction-sections -fdata-sections -pthread -pipe -lpthread -Wl,-z,noexecstack -Wl,--build-id conftest.c -ldl 1>&5 configure:27757: gcc -c -Wall -Wpointer-arith -Wdeclaration-after-statement -Werror=return-type -Wtype-limits -Wempty-body -Wsign-compare -Wno-unused -Wcast-align -std=gnu99 -fgnu89-inline -fno-strict-aliasing -ffunction-sections -fdata-sections -pthread -pipe conftest.c 1>&5 configure:27777: checking for GL/glx.h configure:27790: gcc -c -Wall -Wpointer-arith -Wdeclaration-after-statement -Werror=return-type -Wtype-limits -Wempty-body -Wsign-compare -Wno-unused -Wcast-align -std=gnu99 -fgnu89-inline -fno-strict-aliasing -ffunction-sections -fdata-sections -pthread -pipe conftest.c 1>&5 phase `configure' failed after 29 seconds Andreas