[QOF-devel] Bug#565090: qof: ftbfs with gcc-4.5

Matthias Klose doko at debian.org
Wed Jan 13 01:05:42 UTC 2010


Package: qof
Version: 0.8.1-1
Severity: normal
Tags: sid
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.5

The package fails to build in a test rebuild on at least amd64 with
gcc-4.5/g++-4.5, but succeeds to build with gcc-4.4/g++-4.4.
For the compiler version used, see:
http://lists.debian.org/debian-devel/2010/01/msg00230.html

The full build log can be found at:
http://people.debian.org/~lucas/logs/2010/01/08b/qof_0.8.1-1_lsid64b.buildlog
The last lines of the build log are cwat the end of this report.

The reason of the build failure is likely in the package (compiler or
linker message found in the build log), if this turns out as a gcc bug,
please reassign to the gcc-4.5 package. If the build ends with a
message "confused by earlier errors, bailing out", please
ignore it for now; these compiler errors are filed separately.


[...]
/bin/bash ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../lib/libsql -DPREFIX=\""/usr"\" -DDATADIR=\""/usr/share"\"   -g -DQOF_LIB_DIR=\"/usr/lib/qof2\" -Werror -Wdeclaration-after-statement  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -g -O2 -g -Wall -O2 -g2 -Wall -c -o qofreference.lo qofreference.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../lib/libsql -DPREFIX=\"/usr\" -DDATADIR=\"/usr/share\" -g -DQOF_LIB_DIR=\"/usr/lib/qof2\" -Werror -Wdeclaration-after-statement -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -g2 -Wall -c qofreference.c  -fPIC -DPIC -o .libs/qofreference.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../lib/libsql -DPREFIX=\"/usr\" -DDATADIR=\"/usr/share\" -g -DQOF_LIB_DIR=\"/usr/lib/qof2\" -Werror -Wdeclaration-after-statement -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -g2 -Wall -c qofreference.c -o qofreference.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../lib/libsql -DPREFIX=\""/usr"\" -DDATADIR=\""/usr/share"\"   -g -DQOF_LIB_DIR=\"/usr/lib/qof2\" -Werror -Wdeclaration-after-statement  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -g -O2 -g -Wall -O2 -g2 -Wall -c -o qofsession.lo qofsession.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../lib/libsql -DPREFIX=\"/usr\" -DDATADIR=\"/usr/share\" -g -DQOF_LIB_DIR=\"/usr/lib/qof2\" -Werror -Wdeclaration-after-statement -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -g2 -Wall -c qofsession.c  -fPIC -DPIC -o .libs/qofsession.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../lib/libsql -DPREFIX=\"/usr\" -DDATADIR=\"/usr/share\" -g -DQOF_LIB_DIR=\"/usr/lib/qof2\" -Werror -Wdeclaration-after-statement -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -g2 -Wall -c qofsession.c -o qofsession.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../lib/libsql -DPREFIX=\""/usr"\" -DDATADIR=\""/usr/share"\"   -g -DQOF_LIB_DIR=\"/usr/lib/qof2\" -Werror -Wdeclaration-after-statement  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -g -O2 -g -Wall -O2 -g2 -Wall -c -o qofsql.lo qofsql.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../lib/libsql -DPREFIX=\"/usr\" -DDATADIR=\"/usr/share\" -g -DQOF_LIB_DIR=\"/usr/lib/qof2\" -Werror -Wdeclaration-after-statement -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -g2 -Wall -c qofsql.c  -fPIC -DPIC -o .libs/qofsql.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../lib/libsql -DPREFIX=\"/usr\" -DDATADIR=\"/usr/share\" -g -DQOF_LIB_DIR=\"/usr/lib/qof2\" -Werror -Wdeclaration-after-statement -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -g2 -Wall -c qofsql.c -o qofsql.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../lib/libsql -DPREFIX=\""/usr"\" -DDATADIR=\""/usr/share"\"   -g -DQOF_LIB_DIR=\"/usr/lib/qof2\" -Werror -Wdeclaration-after-statement  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -g -O2 -g -Wall -O2 -g2 -Wall -c -o qofutil.lo qofutil.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../lib/libsql -DPREFIX=\"/usr\" -DDATADIR=\"/usr/share\" -g -DQOF_LIB_DIR=\"/usr/lib/qof2\" -Werror -Wdeclaration-after-statement -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -g2 -Wall -c qofutil.c  -fPIC -DPIC -o .libs/qofutil.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../lib/libsql -DPREFIX=\"/usr\" -DDATADIR=\"/usr/share\" -g -DQOF_LIB_DIR=\"/usr/lib/qof2\" -Werror -Wdeclaration-after-statement -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -g2 -Wall -c qofutil.c -o qofutil.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../lib/libsql -DPREFIX=\""/usr"\" -DDATADIR=\""/usr/share"\"   -g -DQOF_LIB_DIR=\"/usr/lib/qof2\" -Werror -Wdeclaration-after-statement  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -g -O2 -g -Wall -O2 -g2 -Wall -c -o qofbookmerge.lo qofbookmerge.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../lib/libsql -DPREFIX=\"/usr\" -DDATADIR=\"/usr/share\" -g -DQOF_LIB_DIR=\"/usr/lib/qof2\" -Werror -Wdeclaration-after-statement -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -g2 -Wall -c qofbookmerge.c  -fPIC -DPIC -o .libs/qofbookmerge.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../lib/libsql -DPREFIX=\"/usr\" -DDATADIR=\"/usr/share\" -g -DQOF_LIB_DIR=\"/usr/lib/qof2\" -Werror -Wdeclaration-after-statement -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -g2 -Wall -c qofbookmerge.c -o qofbookmerge.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../lib/libsql -DPREFIX=\""/usr"\" -DDATADIR=\""/usr/share"\"   -g -DQOF_LIB_DIR=\"/usr/lib/qof2\" -Werror -Wdeclaration-after-statement  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -g -O2 -g -Wall -O2 -g2 -Wall -c -o qofdate.lo qofdate.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../lib/libsql -DPREFIX=\"/usr\" -DDATADIR=\"/usr/share\" -g -DQOF_LIB_DIR=\"/usr/lib/qof2\" -Werror -Wdeclaration-after-statement -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -g2 -Wall -c qofdate.c  -fPIC -DPIC -o .libs/qofdate.o
cc1: warnings being treated as errors
qofdate.c: In function 'date_normalise':
qofdate.c:497:18: error: operation on 'date->qd_year' may be undefined
make[4]: *** [qofdate.lo] Error 1
make[4]: Leaving directory `/build/user-qof_0.8.1-1-amd64-I8pJez/qof-0.8.1/qof'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/build/user-qof_0.8.1-1-amd64-I8pJez/qof-0.8.1/qof'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/user-qof_0.8.1-1-amd64-I8pJez/qof-0.8.1'
make[1]: *** [all] Error 2
make: *** [debian/stamp-makefile-build] Error 2
make[1]: Leaving directory `/build/user-qof_0.8.1-1-amd64-I8pJez/qof-0.8.1'
dpkg-buildpackage: error: debian/rules build gave error exit status 2






More information about the QOF-devel mailing list