gnu: tor: Fix build issue on some architectures.
* gnu/packages/tor.scm (tor)[arguments]: Add phase to remove sandbox during one of the tests.master
parent
762643e0fc
commit
68d090002a
|
@ -76,8 +76,16 @@
|
||||||
(add-before 'check 'skip-practracker
|
(add-before 'check 'skip-practracker
|
||||||
;; This is a style linter. It doesn't get to throw fatal errors.
|
;; This is a style linter. It doesn't get to throw fatal errors.
|
||||||
(lambda _
|
(lambda _
|
||||||
(setenv "TOR_DISABLE_PRACTRACKER" "set")
|
(setenv "TOR_DISABLE_PRACTRACKER" "set")))
|
||||||
#t)))))
|
(add-before 'check 'adjust-test-suite
|
||||||
|
(lambda _
|
||||||
|
;; Work around upstream issue relating to sandboxing and glibc-2.33.
|
||||||
|
;; This is similar to the issue the tor-sandbox-i686 patch fixes
|
||||||
|
;; but for other architectures.
|
||||||
|
;; https://gitlab.torproject.org/tpo/core/tor/-/issues/40381
|
||||||
|
;; https://gitlab.torproject.org/tpo/core/tor/-/merge_requests/446
|
||||||
|
(substitute* "src/test/test_include.sh"
|
||||||
|
((".*Sandbox 1.*") "")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)
|
`(("pkg-config" ,pkg-config)
|
||||||
("python" ,python))) ; for tests
|
("python" ,python))) ; for tests
|
||||||
|
|
Reference in New Issue