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

_______________________________________________
X2Go-Dev mailing list
X2Go-Dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/x2go-dev

Reply via email to