gnu: qtwebkit: Fix build.
* gnu/packages/qt.scm (qtwebkit)[arguments]: Replace the standard build phase with a custom one that increases the maximum number of open file descriptors.
This commit is contained in:
parent
4c9d8ff142
commit
f3152cf302
1 changed files with 13 additions and 1 deletions
|
|
@ -2677,7 +2677,19 @@ different kinds of sliders, and much more.")
|
||||||
;; libraries and test executables in a
|
;; libraries and test executables in a
|
||||||
;; reasonable amount of memory.
|
;; reasonable amount of memory.
|
||||||
"-DCMAKE_SHARED_LINKER_FLAGS=-Wl,--no-keep-memory"
|
"-DCMAKE_SHARED_LINKER_FLAGS=-Wl,--no-keep-memory"
|
||||||
"-DCMAKE_EXE_LINKER_FLAGS=-Wl,--no-keep-memory")))
|
"-DCMAKE_EXE_LINKER_FLAGS=-Wl,--no-keep-memory")
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(replace 'build
|
||||||
|
;; This is a workaround for the build failing with the error:
|
||||||
|
;; ld: error adding symbols: Malformed archive
|
||||||
|
;; Increasing the maximum number of open file descriptors
|
||||||
|
;; makes the build succeed.
|
||||||
|
(lambda* (#:key make-flags #:allow-other-keys)
|
||||||
|
(let ((cmd (format #f
|
||||||
|
"ulimit -n 4096; make ~{~a~^ ~}"
|
||||||
|
make-flags)))
|
||||||
|
(invoke "sh" "-c" cmd)))))))
|
||||||
(home-page "https://www.webkit.org")
|
(home-page "https://www.webkit.org")
|
||||||
(synopsis "Web browser engine and classes to render and interact with web
|
(synopsis "Web browser engine and classes to render and interact with web
|
||||||
content")
|
content")
|
||||||
|
|
|
||||||
Reference in a new issue