https://bugs.contribs.org/show_bug.cgi?id=11046
--- Comment #22 from Brian Read <[email protected]> ---
I can build bandwidthd locally sucessfully using make mockbuild, although I get
a warning:
bandwidthd.c:146:14: warning: ignoring return value of 'nice', declared with
attribute warn_unused_result [-Wunused-result]
nice(4); // reduce priority so I don't choke out other tasks
^
gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64
-mtune=generic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64
-mtune=generic -I/usr/include/mysql -DHAVE_CONFIG_H -c -o graph.o graph.c
graph.c: In function 'GraphIp':
graph.c:386:9: warning: variable 'white' set but not used
[-Wunused-but-set-variable]
int white;
^
graph.c: In function 'PrepareXAxis':
graph.c:785:26: warning: variable 'sample_end' set but not used
[-Wunused-but-set-variable]
time_t sample_begin, sample_end;
However if I try it on the buildsys, the same error occurs (and another?), and
the build is aborted:
time_t sample_begin, sample_end;
^
bandwidthd.c: In function 'WriteOutWebpages':
bandwidthd.c:146:14: warning: ignoring return value of 'nice', declared with
attribute warn_unused_result [-Wunused-result]
nice(4); // reduce priority so I don't choke out other tasks
^
conf.l:5:22: fatal error: conf.tab.h: No such file or directory
#include "conf.tab.h"
^
compilation terminated.
mv y.tab.c conf.tab.c
mv y.tab.h conf.tab.h
gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64
-mtune=generic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64
-mtune=generic -I/usr/include/mysql -DHAVE_CONFIG_H -c -o conf.tab.o
conf.tab.c
The bug is not reproducible, so it is likely a hardware or OS problem.
make: *** [conf.l.o] Error 1
make: *** Waiting for unfinished jobs....
error: Bad exit status from /var/tmp/rpm-tmp.Fw82zc (%build)
bogus date in %changelog: Sun Dec 13 2008 Jan ONDREJ (SAL)
<ondrejj(at)salstar.sk> - 2.0.1-11
Bad exit status from /var/tmp/rpm-tmp.Fw82zc (%build)
RPM build errors:
Child return code was: 1
EXCEPTION: [Error()]
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line
93, in trace
result = func(*args, **kw)
File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 789, in
do_with_status
raise exception.Error("Command failed: \n # %s\n%s" % (command, output),
child.returncode)
mockbuild.exception.Error: Command failed:
# bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps
/builddir/build/SPECS/bandwidthd.spec
^
--
You are receiving this mail because:
You are the QA Contact for the bug._______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/