unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Enge <andreas@enge.fr>
To: Cyril Roelandt <tipecaml@gmail.com>
Subject: Re: [PATCH] gnu: Add IceCat.
Date: Tue, 12 Nov 2013 22:13:01 +0100	[thread overview]
Message-ID: <20131112211301.GB24048@debian> (raw)
In-Reply-To: <52813F28.8040007@gmail.com>

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	other threads:[~2013-11-12 21:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-11 19:47 [PATCH] gnu: Add IceCat Andreas Enge
2013-11-11 20:33 ` Cyril Roelandt
2013-11-12 21:13   ` Andreas Enge [this message]
2013-11-11 21:34 ` Ludovic Courtès
2013-11-12 21:06   ` Andreas Enge
2013-11-13 12:54     ` Ludovic Courtès
2013-11-13 19:42       ` Jason Self
2013-11-13 21:57         ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131112211301.GB24048@debian \
    --to=andreas@enge.fr \
    --cc=tipecaml@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).