[torquedev] Current build error in trunk

Chris Samuel csamuel at vpac.org
Wed Feb 13 05:33:18 MST 2008

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",


>>>>>>> .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.

Christopher Samuel - (03) 9925 4751 - Systems Manager
 The Victorian Partnership for Advanced Computing
 P.O. Box 201, Carlton South, VIC 3053, Australia
VPAC is a not-for-profit Registered Research Agency

More information about the torquedev mailing list