Skip to content

RStudio fails to build #27600

@changlinli

Description

@changlinli

Issue description

Building RStudio fails with the following error message (seems to be something to do with the fact that QMake got upgraded):

  ...
  inflating: dependencies/common/libclang/builtin-headers/builtin-headers/libc++/3.5/tgmath.h  
  inflating: dependencies/common/libclang/builtin-headers/builtin-headers/libc++/3.5/thread  
  inflating: dependencies/common/libclang/builtin-headers/builtin-headers/libc++/3.5/tuple  
  inflating: dependencies/common/libclang/builtin-headers/builtin-headers/libc++/3.5/type_traits  
  inflating: dependencies/common/libclang/builtin-headers/builtin-headers/libc++/3.5/typeindex  
  inflating: dependencies/common/libclang/builtin-headers/builtin-headers/libc++/3.5/typeinfo  
  inflating: dependencies/common/libclang/builtin-headers/builtin-headers/libc++/3.5/unordered_map  
  inflating: dependencies/common/libclang/builtin-headers/builtin-headers/libc++/3.5/unordered_set  
  inflating: dependencies/common/libclang/builtin-headers/builtin-headers/libc++/3.5/utility  
  inflating: dependencies/common/libclang/builtin-headers/builtin-headers/libc++/3.5/valarray  
  inflating: dependencies/common/libclang/builtin-headers/builtin-headers/libc++/3.5/vector  
qmake: File exists
Usage: qmake [mode] [options] [files]

QMake has two modes, one mode for generating project files based on
some heuristics, and the other for generating makefiles. Normally you
shouldn't need to specify a mode, as makefile generation is the default
mode for qmake, but you may use this to test qmake on an existing project

Mode:
  -project       Put qmake into project file generation mode
                 In this mode qmake interprets files as files to
                 be built,
                 defaults to *; *; *; *.ts; *.xlf; *.qrc
                 Note: The created .pro file probably will 
                 need to be edited. For example add the QT variable to 
                 specify what modules are required.
  -makefile      Put qmake into makefile generation mode (default)
                 In this mode qmake interprets files as project files to
                 be processed, if skipped qmake will try to find a project
                 file in your current working directory

Warnings Options:
  -Wnone         Turn off all warnings; specific ones may be re-enabled by
                 later -W options
  -Wall          Turn on all warnings
  -Wparser       Turn on parser warnings
  -Wlogic        Turn on logic warnings (on by default)
  -Wdeprecated   Turn on deprecation warnings (on by default)

Options:
   * You can place any variable assignment in options and it will be *
   * processed as if it was in [files]. These assignments will be    *
   * processed before [files] by default.                            *
  -o file        Write output to file
  -d             Increase debug level
  -t templ       Overrides TEMPLATE as templ
  -tp prefix     Overrides TEMPLATE so that prefix is prefixed into the value
  -help          This help
  -v             Version information
  -early         All subsequent variable assignments will be
                 parsed right before default_pre.prf
  -before        All subsequent variable assignments will be
                 parsed right before [files] (the default)
  -after         All subsequent variable assignments will be
                 parsed after [files]
  -late          All subsequent variable assignments will be
                 parsed right after default_post.prf
  -norecursive   Don't do a recursive search
  -recursive     Do a recursive search
  -set <prop> <value> Set persistent property
  -unset <prop>  Unset persistent property
  -query <prop>  Query persistent property. Show all if <prop> is empty.
  -qtconf file   Use file instead of looking for qt.conf
  -cache file    Use file as cache           [makefile mode only]
  -spec spec     Use spec as QMAKESPEC       [makefile mode only]
  -nocache       Don't use a cache file      [makefile mode only]
  -nodepend      Don't generate dependencies [makefile mode only]
  -nomoc         Don't generate moc targets  [makefile mode only]
  -nopwd         Don't look for files in pwd [project mode only]
builder for ‘/nix/store/dvjjdkliyl78237s3ikcw40c7vdjw85h-RStudio-1.1.216.drv’ failed with exit code 1
error: build of ‘/nix/store/dvjjdkliyl78237s3ikcw40c7vdjw85h-RStudio-1.1.216.drv’ failed

Steps to reproduce

Run nix-build '<nixpkgs>' -A rstudio.

Technical details

  • System: (NixOS: nixos-version, Ubuntu/Fedora: lsb_release -a, ...) 17.09.git.1e1472e (Hummingbird).
  • Nix version: (run nix-env --version) nix-env (Nix) 1.11.11
  • Nixpkgs version: (run nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion) "17.09.git.1e1472ed93"
  • Sandboxing enabled: (run grep build-use-sandbox /etc/nix/nix.conf) true

Metadata

Metadata

Assignees

No one assigned

    Labels

    6.topic: qt/kdeObject-oriented framework for GUI creation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions