[torquedev] Current build error in trunk

Dave Jackson jacksond at clusterresources.com
Wed Feb 13 09:22:20 MST 2008


Chris,

  Thanks!  Fixed.

Dave

On Wed, 2008-02-13 at 23:33 +1100, Chris Samuel wrote:
> Just gave up on waiting for Ubuntu to fix their
> kernel to include cpuset support and rolled my own.
> 
> Just updated trunk to the latest version and got
> this build error:
> 
> if gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include  -I../../src/include -I../../src/resmom/linux -DPBS_MOM -DDEMUX=\"/usr/local/torque-trunk/sbin/pbs_demux\" -DRCP_PATH=\"/usr/bin/scp\" -DRCP_ARGS=\"-rpB\" -DPBS_SERVER_HOME=\"/var/spool/torque\" -DPBS_ENVIRON=\"/var/spool/torque/pbs_environment\"   -g -O2 -D_LARGEFILE64_SOURCE -W -Wall -Wno-unused-parameter -Wno-long-long -pedantic -Werror -MT mom_main.o -MD -MP -MF ".deps/mom_main.Tpo" -c -o mom_main.o mom_main.c; \
>         then mv -f ".deps/mom_main.Tpo" ".deps/mom_main.Po"; else rm -f ".deps/mom_main.Tpo"; exit 1; fi
> cc1: warnings being treated as errors
> mom_main.c: In function ‘setumask’:
> mom_main.c:2190: warning: unused variable ‘i’
> 
> Then found what looks like an unresolved conflict
> that has been committed back into trunk in
> src/resmom/start_exec.c at line 5842.
> 
> <<<<<<< .mine
>         /* FIXME: temp debugging info */
> 
>         sprintf(log_buffer,"about to move to taskset for job %s/%s.\n",
>           pjob->ji_qs.ji_jobid,nodeidbuf);
> 
>         log_err(-1,id,log_buffer);
> 
> =======
> >>>>>>> .r1852
> 
> Removing the conflict markers to leave just the code
> seems to let it compile OK.
> 
> Too late to test now, will see what I can do over
> the next few nights.
> 
> cheers!
> Chris



More information about the torquedev mailing list