guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] gnu: Add IceCat.


From: Andreas Enge
Subject: Re: [PATCH] gnu: Add IceCat.
Date: Tue, 12 Nov 2013 22:13:01 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

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 <module>
    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 <sys/int_types.h>
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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]