[X2Go-Dev] [PATCH 4/8] disable parallel builds
Reinhard Tartler
siretart at tauware.de
Wed Dec 12 13:13:14 CET 2012
it seems that there is a race condition in the implementation of the
nx-x11 makefiles somewhere. On machines with many cores and high levels
of parallel workers (for me, 32 cores and -j20), it seems that nxcompext
gets built before libNX_X11 is ready:
+ ln -s ../../lib/X11/libNX_X11.so .
/usr/bin/ld: cannot find -lNX_X11
collect2: error: ld returned 1 exit status
make[9]: *** [libXcompext.so.3.5.0] Fehler 1
make[9]: Leaving directory `/srv/scratch/tartler/nx-libs/nxcompext'
Until those makefiles get fixed, better disable parallel operation
---
debian/rules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 96bdbdb..cbd600a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,7 +27,7 @@ override_dh_clean:
override_dh_auto_build:
debian/pre-build-nx.sh
- LD_LIBRARY_PATH=`pwd`/debian/libnx-x11/usr/lib/nx/X11:$$LD_LIBRARY_PATH dh_auto_build --with quilt --parallel
+ LD_LIBRARY_PATH=`pwd`/debian/libnx-x11/usr/lib/nx/X11:$$LD_LIBRARY_PATH dh_auto_build --with quilt
debian/post-build-nx.sh
override_dh_auto_install:
--
1.7.10.4
More information about the x2go-dev
mailing list