mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 00:05:54 +03:00
Just to be correct, it works either way so another revbump is not necessary. Closes: https://bugs.gentoo.org/939142 Thanks-to: konsolebox Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
18 lines
696 B
Diff
18 lines
696 B
Diff
https://bugs.gentoo.org/939142
|
|
|
|
Exact cause unknown, but running qbs in portage's sandbox hangs
|
|
for a few people while running ldconfig, and using "env" seemingly
|
|
helps. Better (potentially upstreamable) patch welcome if someone
|
|
can figure out the right fix.
|
|
--- a/share/qbs/modules/cpp/LinuxGCC.qbs
|
|
+++ b/share/qbs/modules/cpp/LinuxGCC.qbs
|
|
@@ -48,7 +48,7 @@ UnixGCC {
|
|
var paths = [];
|
|
var ldconfig = new Process();
|
|
try {
|
|
- var success = ldconfig.exec("ldconfig", ["-vNX"]);
|
|
+ var success = ldconfig.exec("env", ["ldconfig", "-vNX"]);
|
|
if (success === -1)
|
|
return;
|
|
var line;
|