[X2Go-Dev] [PATCH 4/8] disable parallel builds

Reinhard Tartler siretart at gmail.com
Wed Dec 12 15:39:37 CET 2012


On Wed, Dec 12, 2012 at 2:39 PM, Mike Gabriel
<mike.gabriel at das-netzwerkteam.de> wrote:
> +1 from me.
>
> Can you put a README.parallel into the root folder of the project
> (preferrably with same mech as /debian/Makefile.nx-libs, i.e. copied from
> /debian.

Sure, what should README.parallel contain?

>
> With 4 cores and -j4 everything works ok. So people should be warned but
> still be able to build parallely.
>
> @Jan: maybe you can take a look at that? The --parallel build patch was from
> you, wasn't it?
>
> Mike
>
>
> On Mi 12 Dez 2012 13:13:14 CET Reinhard Tartler wrote:
>
>> 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 at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/x2go-dev
>>
>
>
>
> --
>
> DAS-NETZWERKTEAM
> mike gabriel, rothenstein 5, 24214 neudorf-bornstein
> fon: +49 (1520) 1976 148
>
> GnuPG Key ID 0x25771B31
> mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de
>
> freeBusy:
> https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
>
> _______________________________________________
> X2Go-Dev mailing list
> X2Go-Dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/x2go-dev



-- 
regards,
    Reinhard



More information about the x2go-dev mailing list