Your message dated Sun, 5 Jul 2015 15:45:27 +0200
with message-id
<cakjshr0rvb5dz-ye0ykhbbxavg_zvetescvctfhst7zfvxz...@mail.gmail.com>
and subject line Re: Bug#778168: Unable to reproduce GCC-5 build issue
has caused the Debian Bug report #778168,
regarding whitedb: ftbfs with GCC-5
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
778168: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778168
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:whitedb
Version: 0.7.2-1
Severity: normal
Tags: sid stretch
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-5
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
severity of this report may be raised before the stretch release.
The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/whitedb_0.7.2-1_unstable_gcc5.log
The last lines of the build log are at the end of this report.
To build with GCC 5, either set CC=gcc-5 CXX=g++-5 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t experimental install g++
Common build failures are C11 as the default C mode, new warnings
resulting in build failures with -Werror turned on, or new/dropped
symbols in Debian symbols files. For other C/C++ related build failures
see the porting guide at http://gcc.gnu.org/gcc-5/porting_to.html
[...]
gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -Wall -m64 -pthread -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -c -o
stresstest-stresstest.o `test -f 'stresstest.c' || echo './'`stresstest.c
gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -Wall -m64 -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -c -o indextool.o
indextool.c
In file included from stresstest.c:59:0:
../Db/dblock.h:83:13: warning: inline function 'wg_compare_and_swap' declared
but never defined
inline gint wg_compare_and_swap(volatile gint *ptr, gint oldv, gint newv);
^
In file included from wgdb.c:63:0:
../Db/dblock.h:83:13: warning: inline function 'wg_compare_and_swap' declared
but never defined
inline gint wg_compare_and_swap(volatile gint *ptr, gint oldv, gint newv);
^
libtool: link: gcc -shared -fPIC -DPIC -Wl,--whole-archive
../Db/.libs/libDb.a ../json/.libs/libjson.a -Wl,--no-whole-archive -lm -m64
-O2 -Wl,-z -Wl,relro -Wl,-soname -Wl,libwgdb.so.0 -o .libs/libwgdb.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libwgdb.so.0" && ln -s "libwgdb.so.0.0.0"
"libwgdb.so.0")
libtool: link: (cd ".libs" && rm -f "libwgdb.so" && ln -s "libwgdb.so.0.0.0"
"libwgdb.so")
libtool: link: (cd .libs/libwgdb.lax/libDb.a && ar x
"/«PKGBUILDDIR»/Main/../Db/.libs/libDb.a")
libtool: link: (cd .libs/libwgdb.lax/libjson.a && ar x
"/«PKGBUILDDIR»/Main/../json/.libs/libjson.a")
libtool: link: ar cru .libs/libwgdb.a .libs/libwgdb.lax/libDb.a/dballoc.o
.libs/libwgdb.lax/libDb.a/dbcompare.o .libs/libwgdb.lax/libDb.a/dbdata.o
.libs/libwgdb.lax/libDb.a/dbdump.o .libs/libwgdb.lax/libDb.a/dbhash.o
.libs/libwgdb.lax/libDb.a/dbindex.o .libs/libwgdb.lax/libDb.a/dbjson.o
.libs/libwgdb.lax/libDb.a/dblock.o .libs/libwgdb.lax/libDb.a/dblog.o
.libs/libwgdb.lax/libDb.a/dbmem.o .libs/libwgdb.lax/libDb.a/dbmpool.o
.libs/libwgdb.lax/libDb.a/dbquery.o .libs/libwgdb.lax/libDb.a/dbschema.o
.libs/libwgdb.lax/libDb.a/dbtest.o .libs/libwgdb.lax/libDb.a/dbutil.o
.libs/libwgdb.lax/libjson.a/yajl_all.o
libtool: link: ranlib .libs/libwgdb.a
libtool: link: rm -fr .libs/libwgdb.lax
libtool: link: ( cd ".libs" && rm -f "libwgdb.la" && ln -s "../libwgdb.la"
"libwgdb.la" )
/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -m64 -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o wgdb
wgdb.o libwgdb.la -lm
/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -m64 -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o
indextool indextool.o libwgdb.la -lm
/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -m64 -pthread -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -static -pthread
-Wl,-z,relro -o stresstest stresstest-stresstest.o libwgdb.la -lm
libtool: link: gcc -Wall -m64 -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -Wl,-z -Wl,relro -o .libs/wgdb wgdb.o
./.libs/libwgdb.so -lm
libtool: link: gcc -Wall -m64 -pthread -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -pthread -Wl,-z -Wl,relro -o stresstest
stresstest-stresstest.o ./.libs/libwgdb.a -lm -pthread
./.libs/libwgdb.so: undefined reference to `wg_compare_and_swap'
collect2: error: ld returned 1 exit status
make[3]: *** [wgdb] Error 1
make[3]: *** Waiting for unfinished jobs....
Makefile:523: recipe for target 'wgdb' failed
./.libs/libwgdb.a(dbdata.o): In function `wg_update_atomic_field':
/«PKGBUILDDIR»/Db/dbdata.c:977: undefined reference to `wg_compare_and_swap'
collect2: error: ld returned 1 exit status
libtool: link: gcc -Wall -m64 -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -Wl,-z -Wl,relro -o .libs/indextool indextool.o
./.libs/libwgdb.so -lm
make[3]: *** [stresstest] Error 1
Makefile:519: recipe for target 'stresstest' failed
./.libs/libwgdb.so: undefined reference to `wg_compare_and_swap'
collect2: error: ld returned 1 exit status
make[3]: *** [indextool] Error 1
Makefile:515: recipe for target 'indextool' failed
make[3]: Leaving directory '/«PKGBUILDDIR»/Main'
make[2]: *** [all-recursive] Error 1
Makefile:437: recipe for target 'all-recursive' failed
make[2]: Leaving directory '/«PKGBUILDDIR»'
make[1]: *** [all] Error 2
Makefile:368: recipe for target 'all' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
dh_auto_build: make -j10 returned exit code 2
make: *** [build-arch] Error 2
debian/rules:16: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
--- End Message ---
--- Begin Message ---
Hi Betty,
On Wed, Jul 1, 2015 at 9:45 PM, Dall, Elizabeth J <betty.d...@hp.com> wrote:
> The new version of whitedb 0.7.3-2 uploaded to sid on May 21, 2015 no
> longer has the 'inline gint wg_compare_and_swap()' function in
> Db/dblock.h that was causing the GCC-5 build failure. Now it is declared
> as 'gint wg_compare_and_swap()'. I was able to build the package with
> GCC-5 successfully. I suggest you close this bug.
Indeed, WhiteDB version 0.7.3+ build fine with GCC 5.1 and thus I'm
closing this bugreport.
Thanks,
Laszlo/GCS
--- End Message ---