[torqueusers] Strict torque 2.3.2 build fails on Fedora9

Torsten Rohlfing torsten at synapse.sri.com
Wed Aug 6 16:04:36 MDT 2008


Hi Garrick:

Sorry, I should've been more precise. Yes, gcc is

gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC)

and the platform is x86_64. Back to the problem: you are right, doing
"configure; make" works, but the error does show up when I do "make rpm":

if gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include  -I../../src/include
-DPBS_SERVER_HOME=\"/var/spool/torque\"
-DPBS_ENVIRON=\"/var/spool/torque/pbs_environment\" -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -D_LARGEFILE64_SOURCE -W
-Wall -Wno-unused-parameter -Wno-long-long -pedantic -Werror -MT
get_4byte.o -MD -MP -MF ".deps/get_4byte.Tpo" -c -o get_4byte.o
get_4byte.c; \
        then mv -f ".deps/get_4byte.Tpo" ".deps/get_4byte.Po"; else rm
-f ".deps/get_4byte.Tpo"; exit 1; fi
cc1: warnings being treated as errors
pbs_sched.c: In function 'main':
pbs_sched.c:988: error: ignoring return value of 'freopen', declared
with attribute warn_unused_result
pbs_sched.c:1002: error: ignoring return value of 'freopen', declared
with attribute warn_unused_result
make[4]: *** [pbs_sched.o] Error 1
make[4]: Leaving directory
`/usr/src/redhat/BUILD/torque-2.3.2/src/scheduler.cc'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/usr/src/redhat/BUILD/torque-2.3.2/src/scheduler.cc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/torque-2.3.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/torque-2.3.2'
error: Bad exit status from /var/tmp/rpm-tmp.55609 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.55609 (%build)
make: *** [rpm] Error 1

Same thing happens when I do

  rpmbuild -ta torque-2.3.1.tar.gz

on the archive directly.

Best,
  Torsten

-- 
Torsten Rohlfing, PhD          SRI International, Neuroscience Program
 Research Scientist             333 Ravenswood Ave, Menlo Park, CA 94025
  Phone: ++1 (650) 859-3379      Fax: ++1 (650) 859-2743
   torsten at synapse.sri.com        http://www.stanford.edu/~rohlfing/

     "Though this be madness, yet there is a method in't"






More information about the torqueusers mailing list