Package: src:google-glog
Version: 0.3.3-2
Severity: important

Hello,

google-glog failed to build on sparc[1], with two failed tests. I
tried to build locally and reproduced one failure: symbolize_unittest.
(buildlog attached)

$ cat symbolize_unittest.log
Test case TestWithReturnAddress passed.
I0523 22:45:10.245594 15104 symbolize_unittest.cc:238] Stack consumption of 
empty signal handler: 560
I0523 22:45:10.246290 15104 symbolize_unittest.cc:240] Stack consumption of 
symbolize signal handler: 2584
I0523 22:45:10.246383 15104 symbolize_unittest.cc:242] Stack consumption of 
Symbolize: 2024
I0523 22:45:10.247725 15104 symbolize_unittest.cc:238] Stack consumption of 
empty signal handler: 560
I0523 22:45:10.247813 15104 symbolize_unittest.cc:240] Stack consumption of 
symbolize signal handler: 2584
I0523 22:45:10.247897 15104 symbolize_unittest.cc:242] Stack consumption of 
Symbolize: 2024
I0523 22:45:10.249588 15104 symbolize_unittest.cc:238] Stack consumption of 
empty signal handler: 560
I0523 22:45:10.249691 15104 symbolize_unittest.cc:240] Stack consumption of 
symbolize signal handler: 2796
I0523 22:45:10.249775 15104 symbolize_unittest.cc:242] Stack consumption of 
Symbolize: 2236
Check failed: stack_consumed < kStackConsumptionUpperLimit

However, when I built from the upstream tarball, all the tests
passed, eg.

$ ./symbolize_unittest
Test case TestWithReturnAddress passed.
I0524 17:27:35.096582  7815 symbolize_unittest.cc:238] Stack consumption of 
empty signal handler: 560
I0524 17:27:35.097251  7815 symbolize_unittest.cc:240] Stack consumption of 
symbolize signal handler: 2160
I0524 17:27:35.097370  7815 symbolize_unittest.cc:242] Stack consumption of 
Symbolize: 1600
I0524 17:27:35.098011  7815 symbolize_unittest.cc:238] Stack consumption of 
empty signal handler: 560
I0524 17:27:35.098129  7815 symbolize_unittest.cc:240] Stack consumption of 
symbolize signal handler: 2160
I0524 17:27:35.098237  7815 symbolize_unittest.cc:242] Stack consumption of 
Symbolize: 1600
I0524 17:27:35.099196  7815 symbolize_unittest.cc:238] Stack consumption of 
empty signal handler: 560
I0524 17:27:35.099334  7815 symbolize_unittest.cc:240] Stack consumption of 
symbolize signal handler: 2160
I0524 17:27:35.099447  7815 symbolize_unittest.cc:242] Stack consumption of 
Symbolize: 1600
Passed 4 tests

PASS

[1] 
https://buildd.debian.org/status/fetch.php?pkg=google-glog&arch=sparc&ver=0.3.3-2&stamp=1391910255

Regards,

Yixuan

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: sparc (sparc64)

Kernel: Linux 3.2.0-4-sparc64-smp (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

 dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: source package google-glog
dpkg-buildpackage: source version 0.3.3-2
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Daigo Moriwaki <[email protected]>
 dpkg-source --before-build google-glog
dpkg-buildpackage: host architecture sparc
dpkg-source: info: applying 20120617_fix_for_hurd.diff
dpkg-source: info: applying 20120621_errnos.diff
dpkg-source: info: applying 20130313_fix_test_on_ports.diff
 fakeroot debian/rules clean
dh clean --with autoreconf
   dh_testdir
   dh_auto_clean
   dh_autoreconf_clean
   dh_clean
 dpkg-source -b google-glog
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building google-glog using existing 
./google-glog_0.3.3.orig.tar.gz
dpkg-source: info: building google-glog in google-glog_0.3.3-2.debian.tar.xz
dpkg-source: info: building google-glog in google-glog_0.3.3-2.dsc
 debian/rules build
dh build --with autoreconf
   dh_testdir
   dh_autoreconf
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
Makefile.am:182: warning: source file 'src/logging.cc' is in a subdirectory,
Makefile.am:182: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding 
output
automake: object file(s) will be placed in the top-level directory.  However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same 
subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
Makefile.am:182: warning: source file 'src/raw_logging.cc' is in a subdirectory,
Makefile.am:182: but option 'subdir-objects' is disabled
Makefile.am:182: warning: source file 'src/vlog_is_on.cc' is in a subdirectory,
Makefile.am:182: but option 'subdir-objects' is disabled
Makefile.am:182: warning: source file 'src/utilities.cc' is in a subdirectory,
Makefile.am:182: but option 'subdir-objects' is disabled
Makefile.am:182: warning: source file 'src/demangle.cc' is in a subdirectory,
Makefile.am:182: but option 'subdir-objects' is disabled
Makefile.am:182: warning: source file 'src/symbolize.cc' is in a subdirectory,
Makefile.am:182: but option 'subdir-objects' is disabled
Makefile.am:182: warning: source file 'src/signalhandler.cc' is in a 
subdirectory,
Makefile.am:182: but option 'subdir-objects' is disabled
Makefile.am:122: warning: source file 'src/demangle_unittest.cc' is in a 
subdirectory,
Makefile.am:122: but option 'subdir-objects' is disabled
Makefile.am:98: warning: source file 'src/logging_striptest_main.cc' is in a 
subdirectory,
Makefile.am:98: but option 'subdir-objects' is disabled
Makefile.am:114: warning: source file 'src/logging_striptest10.cc' is in a 
subdirectory,
Makefile.am:114: but option 'subdir-objects' is disabled
Makefile.am:106: warning: source file 'src/logging_striptest2.cc' is in a 
subdirectory,
Makefile.am:106: but option 'subdir-objects' is disabled
Makefile.am:71: warning: source file 'src/logging_unittest.cc' is in a 
subdirectory,
Makefile.am:71: but option 'subdir-objects' is disabled
Makefile.am:171: warning: source file 'src/mock-log_test.cc' is in a 
subdirectory,
Makefile.am:171: but option 'subdir-objects' is disabled
Makefile.am:154: warning: source file 'src/signalhandler_unittest.cc' is in a 
subdirectory,
Makefile.am:154: but option 'subdir-objects' is disabled
Makefile.am:130: warning: source file 'src/stacktrace_unittest.cc' is in a 
subdirectory,
Makefile.am:130: but option 'subdir-objects' is disabled
Makefile.am:146: warning: source file 'src/stl_logging_unittest.cc' is in a 
subdirectory,
Makefile.am:146: but option 'subdir-objects' is disabled
Makefile.am:138: warning: source file 'src/symbolize_unittest.cc' is in a 
subdirectory,
Makefile.am:138: but option 'subdir-objects' is disabled
Makefile.am:162: warning: source file 'src/utilities_unittest.cc' is in a 
subdirectory,
Makefile.am:162: but option 'subdir-objects' is disabled
parallel-tests: installing './test-driver'
   dh_auto_configure
configure: WARNING: unrecognized options: --disable-maintainer-mode
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking build system type... sparc-unknown-linux-gnu
checking host system type... sparc-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert sparc-unknown-linux-gnu file names to 
sparc-unknown-linux-gnu format... func_convert_file_noop
checking how to convert sparc-unknown-linux-gnu file names to toolchain 
format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for ANSI C header files... (cached) no
checking for stdint.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for unistd.h... (cached) yes
checking syscall.h usability... yes
checking syscall.h presence... yes
checking for syscall.h... yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking libunwind.h usability... no
checking libunwind.h presence... no
checking for libunwind.h... no
checking ucontext.h usability... yes
checking ucontext.h presence... yes
checking for ucontext.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking unwind.h usability... yes
checking unwind.h presence... yes
checking for unwind.h... yes
checking size of void *... 4
checking for uint16_t... yes
checking for u_int16_t... yes
checking for __uint16... no
checking for sigaltstack... yes
checking for dladdr... no
checking for fcntl... yes
checking for __attribute__... yes
checking for __builtin_expect... yes
checking for __sync_val_compare_and_swap... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking whether to check for GCC pthread/shared inconsistencies... yes
checking whether -pthread is sufficient with -shared... yes
checking for pthread_self in -lpthread... yes
checking for main in -lgflags... yes
checking for gtest-config... no
checking support for pthread_rwlock_* functions... yes
checking whether the compiler implements namespaces... yes
checking what namespace STL code is in... std
checking whether compiler supports using ::operator<<... 1
checking for ucontext.h... (cached) yes
checking sys/ucontext.h usability... yes
checking sys/ucontext.h presence... yes
checking for sys/ucontext.h... yes
checking how to access the program counter from a struct ucontext... 
uc_mcontext.gregs[REG_PC]
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/glog/logging.h
config.status: creating src/glog/raw_logging.h
config.status: creating src/glog/vlog_is_on.h
config.status: creating src/glog/stl_logging.h
config.status: creating libglog.pc
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-maintainer-mode
   dh_auto_build
make[1]: Entering directory '/mnt/sdb2/pkg2/kc/google-glog'
/bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I./src 
 -I./src    -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare    
-DNDEBUG -g -O0 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -c -o libglog_la-logging.lo `test -f 'src/logging.cc' 
|| echo './'`src/logging.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall 
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -DNDEBUG -g -O0 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c 
src/logging.cc  -fPIC -DPIC -o .libs/libglog_la-logging.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall 
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -DNDEBUG -g -O0 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c 
src/logging.cc -o libglog_la-logging.o >/dev/null 2>&1
/bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I./src 
 -I./src    -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare    
-DNDEBUG -g -O0 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -c -o libglog_la-raw_logging.lo `test -f 
'src/raw_logging.cc' || echo './'`src/raw_logging.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall 
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -DNDEBUG -g -O0 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c 
src/raw_logging.cc  -fPIC -DPIC -o .libs/libglog_la-raw_logging.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall 
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -DNDEBUG -g -O0 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c 
src/raw_logging.cc -o libglog_la-raw_logging.o >/dev/null 2>&1
/bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I./src 
 -I./src    -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare    
-DNDEBUG -g -O0 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -c -o libglog_la-vlog_is_on.lo `test -f 
'src/vlog_is_on.cc' || echo './'`src/vlog_is_on.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall 
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -DNDEBUG -g -O0 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c 
src/vlog_is_on.cc  -fPIC -DPIC -o .libs/libglog_la-vlog_is_on.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall 
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -DNDEBUG -g -O0 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c 
src/vlog_is_on.cc -o libglog_la-vlog_is_on.o >/dev/null 2>&1
/bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I./src 
 -I./src    -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare    
-DNDEBUG -g -O0 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -c -o libglog_la-utilities.lo `test -f 
'src/utilities.cc' || echo './'`src/utilities.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall 
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -DNDEBUG -g -O0 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c 
src/utilities.cc  -fPIC -DPIC -o .libs/libglog_la-utilities.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall 
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -DNDEBUG -g -O0 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c 
src/utilities.cc -o libglog_la-utilities.o >/dev/null 2>&1
/bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I./src 
 -I./src    -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare    
-DNDEBUG -g -O0 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -c -o libglog_la-demangle.lo `test -f 'src/demangle.cc' 
|| echo './'`src/demangle.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall 
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -DNDEBUG -g -O0 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c 
src/demangle.cc  -fPIC -DPIC -o .libs/libglog_la-demangle.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall 
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -DNDEBUG -g -O0 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c 
src/demangle.cc -o libglog_la-demangle.o >/dev/null 2>&1
/bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I./src 
 -I./src    -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare    
-DNDEBUG -g -O0 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -c -o libglog_la-symbolize.lo `test -f 
'src/symbolize.cc' || echo './'`src/symbolize.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall 
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -DNDEBUG -g -O0 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c 
src/symbolize.cc  -fPIC -DPIC -o .libs/libglog_la-symbolize.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall 
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -DNDEBUG -g -O0 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c 
src/symbolize.cc -o libglog_la-symbolize.o >/dev/null 2>&1
/bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I./src 
 -I./src    -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare    
-DNDEBUG -g -O0 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -c -o libglog_la-signalhandler.lo `test -f 
'src/signalhandler.cc' || echo './'`src/signalhandler.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall 
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -DNDEBUG -g -O0 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c 
src/signalhandler.cc  -fPIC -DPIC -o .libs/libglog_la-signalhandler.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall 
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -DNDEBUG -g -O0 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c 
src/signalhandler.cc -o libglog_la-signalhandler.o >/dev/null 2>&1
/bin/bash ./libtool  --tag=CXX   --mode=link g++   -Wall -Wwrite-strings 
-Woverloaded-virtual -Wno-sign-compare    -DNDEBUG -g -O0 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security   -Wl,-z,relro -o 
libglog.la -rpath /usr/lib/sparc-linux-gnu  libglog_la-logging.lo 
libglog_la-raw_logging.lo libglog_la-vlog_is_on.lo libglog_la-utilities.lo 
libglog_la-demangle.lo libglog_la-symbolize.lo libglog_la-signalhandler.lo   
-lgflags  -lpthread 
libtool: link: g++  -fPIC -DPIC -shared -nostdlib 
/usr/lib/gcc/sparc-linux-gnu/4.6/../../../sparc-linux-gnu/crti.o 
/usr/lib/gcc/sparc-linux-gnu/4.6/crtbeginS.o  .libs/libglog_la-logging.o 
.libs/libglog_la-raw_logging.o .libs/libglog_la-vlog_is_on.o 
.libs/libglog_la-utilities.o .libs/libglog_la-demangle.o 
.libs/libglog_la-symbolize.o .libs/libglog_la-signalhandler.o   -lgflags 
-lpthread -L/usr/lib/gcc/sparc-linux-gnu/4.6 
-L/usr/lib/gcc/sparc-linux-gnu/4.6/../../../sparc-linux-gnu 
-L/usr/lib/gcc/sparc-linux-gnu/4.6/../../../../lib -L/lib/sparc-linux-gnu 
-L/lib/../lib -L/usr/lib/sparc-linux-gnu -L/usr/lib/../lib 
-L/usr/lib/gcc/sparc-linux-gnu/4.6/../../.. -lstdc++ -lm -lc -lgcc_s 
/usr/lib/gcc/sparc-linux-gnu/4.6/crtendS.o 
/usr/lib/gcc/sparc-linux-gnu/4.6/../../../sparc-linux-gnu/crtn.o  -O0 -Wl,-z 
-Wl,relro   -Wl,-soname -Wl,libglog.so.0 -o .libs/libglog.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libglog.so.0" && ln -s "libglog.so.0.0.0" 
"libglog.so.0")
libtool: link: (cd ".libs" && rm -f "libglog.so" && ln -s "libglog.so.0.0.0" 
"libglog.so")
libtool: link: ar cru .libs/libglog.a  libglog_la-logging.o 
libglog_la-raw_logging.o libglog_la-vlog_is_on.o libglog_la-utilities.o 
libglog_la-demangle.o libglog_la-symbolize.o libglog_la-signalhandler.o
libtool: link: ranlib .libs/libglog.a
libtool: link: ( cd ".libs" && rm -f "libglog.la" && ln -s "../libglog.la" 
"libglog.la" )
g++ -DHAVE_CONFIG_H -I. -I./src  -I./src  -pthread    -Wall -Wwrite-strings 
-Woverloaded-virtual -Wno-sign-compare    -g -O0 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o 
logging_unittest-logging_unittest.o `test -f 'src/logging_unittest.cc' || echo 
'./'`src/logging_unittest.cc
/bin/bash ./libtool  --tag=CXX   --mode=link g++ -pthread    -Wall 
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare    -g -O0 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-pthread -Wl,-z,relro -o logging_unittest  logging_unittest-logging_unittest.o  
libglog.la  -lgflags    -lgflags -lpthread 
libtool: link: g++ -pthread -Wall -Wwrite-strings -Woverloaded-virtual 
-Wno-sign-compare -g -O0 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -pthread -Wl,-z -Wl,relro -o .libs/logging_unittest 
logging_unittest-logging_unittest.o  ./.libs/libglog.so -lgflags -lpthread 
-pthread
g++ -DHAVE_CONFIG_H -I. -I./src  -I./src  -pthread    -Wall -Wwrite-strings 
-Woverloaded-virtual -Wno-sign-compare    -g -O0 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o 
demangle_unittest-demangle_unittest.o `test -f 'src/demangle_unittest.cc' || 
echo './'`src/demangle_unittest.cc
/bin/bash ./libtool  --tag=CXX   --mode=link g++ -pthread    -Wall 
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare    -g -O0 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-pthread -Wl,-z,relro -o demangle_unittest  
demangle_unittest-demangle_unittest.o  libglog.la  -lgflags    -lgflags 
-lpthread 
libtool: link: g++ -pthread -Wall -Wwrite-strings -Woverloaded-virtual 
-Wno-sign-compare -g -O0 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -pthread -Wl,-z -Wl,relro -o .libs/demangle_unittest 
demangle_unittest-demangle_unittest.o  ./.libs/libglog.so -lgflags -lpthread 
-pthread
g++ -DHAVE_CONFIG_H -I. -I./src  -I./src  -pthread    -Wall -Wwrite-strings 
-Woverloaded-virtual -Wno-sign-compare    -g -O0 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o 
stacktrace_unittest-stacktrace_unittest.o `test -f 'src/stacktrace_unittest.cc' 
|| echo './'`src/stacktrace_unittest.cc
/bin/bash ./libtool  --tag=CXX   --mode=link g++ -pthread    -Wall 
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare    -g -O0 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-pthread -Wl,-z,relro -o stacktrace_unittest  
stacktrace_unittest-stacktrace_unittest.o  libglog.la  -lgflags  -lpthread 
libtool: link: g++ -pthread -Wall -Wwrite-strings -Woverloaded-virtual 
-Wno-sign-compare -g -O0 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -pthread -Wl,-z -Wl,relro -o .libs/stacktrace_unittest 
stacktrace_unittest-stacktrace_unittest.o  ./.libs/libglog.so -lgflags 
-lpthread -pthread
g++ -DHAVE_CONFIG_H -I. -I./src  -I./src  -pthread    -Wall -Wwrite-strings 
-Woverloaded-virtual -Wno-sign-compare    -g -O0 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o 
symbolize_unittest-symbolize_unittest.o `test -f 'src/symbolize_unittest.cc' || 
echo './'`src/symbolize_unittest.cc
/bin/bash ./libtool  --tag=CXX   --mode=link g++ -pthread    -Wall 
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare    -g -O0 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-pthread -Wl,-z,relro -o symbolize_unittest  
symbolize_unittest-symbolize_unittest.o  libglog.la  -lgflags    -lgflags 
-lpthread 
libtool: link: g++ -pthread -Wall -Wwrite-strings -Woverloaded-virtual 
-Wno-sign-compare -g -O0 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -pthread -Wl,-z -Wl,relro -o .libs/symbolize_unittest 
symbolize_unittest-symbolize_unittest.o  ./.libs/libglog.so -lgflags -lpthread 
-pthread
g++ -DHAVE_CONFIG_H -I. -I./src  -I./src  -pthread    -Wall -Wwrite-strings 
-Woverloaded-virtual -Wno-sign-compare    -g -O0 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o 
stl_logging_unittest-stl_logging_unittest.o `test -f 
'src/stl_logging_unittest.cc' || echo './'`src/stl_logging_unittest.cc
In file included from /usr/include/c++/4.6/ext/hash_set:61:0,
                 from src/glog/stl_logging.h:54,
                 from src/stl_logging_unittest.cc:34:
/usr/include/c++/4.6/backward/backward_warning.h:33:2: warning: #warning This 
file includes at least one deprecated or antiquated header which may be removed 
without further notice at a future date. Please use a non-deprecated interface 
with equivalent functionality instead. For a listing of replacement headers and 
interfaces, consult the file backward_warning.h. To disable this warning use 
-Wno-deprecated. [-Wcpp]
In file included from src/utilities.h:75:0,
                 from src/googletest.h:38,
                 from src/stl_logging_unittest.cc:48:
src/base/mutex.h:137:0: warning: "_XOPEN_SOURCE" redefined [enabled by default]
/usr/include/features.h:167:0: note: this is the location of the previous 
definition
/bin/bash ./libtool  --tag=CXX   --mode=link g++ -pthread    -Wall 
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare    -g -O0 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-pthread -Wl,-z,relro -o stl_logging_unittest  
stl_logging_unittest-stl_logging_unittest.o  libglog.la  -lgflags    -lgflags 
-lpthread 
libtool: link: g++ -pthread -Wall -Wwrite-strings -Woverloaded-virtual 
-Wno-sign-compare -g -O0 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -pthread -Wl,-z -Wl,relro -o .libs/stl_logging_unittest 
stl_logging_unittest-stl_logging_unittest.o  ./.libs/libglog.so -lgflags 
-lpthread -pthread
g++ -DHAVE_CONFIG_H -I. -I./src  -I./src  -pthread    -Wall -Wwrite-strings 
-Woverloaded-virtual -Wno-sign-compare    -g -O0 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o 
utilities_unittest-utilities_unittest.o `test -f 'src/utilities_unittest.cc' || 
echo './'`src/utilities_unittest.cc
/bin/bash ./libtool  --tag=CXX   --mode=link g++ -pthread    -Wall 
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare    -g -O0 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-pthread -Wl,-z,relro -o utilities_unittest  
utilities_unittest-utilities_unittest.o  libglog.la  -lgflags    -lgflags 
-lpthread 
libtool: link: g++ -pthread -Wall -Wwrite-strings -Woverloaded-virtual 
-Wno-sign-compare -g -O0 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -pthread -Wl,-z -Wl,relro -o .libs/utilities_unittest 
utilities_unittest-utilities_unittest.o  ./.libs/libglog.so -lgflags -lpthread 
-pthread
g++ -DHAVE_CONFIG_H -I. -I./src  -I./src  -pthread    -Wall -Wwrite-strings 
-Woverloaded-virtual -Wno-sign-compare    -g -O0 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o 
logging_striptest0-logging_striptest_main.o `test -f 
'src/logging_striptest_main.cc' || echo './'`src/logging_striptest_main.cc
/bin/bash ./libtool  --tag=CXX   --mode=link g++ -pthread    -Wall 
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare    -g -O0 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-pthread -Wl,-z,relro -o logging_striptest0  
logging_striptest0-logging_striptest_main.o  libglog.la  -lgflags  -lpthread 
libtool: link: g++ -pthread -Wall -Wwrite-strings -Woverloaded-virtual 
-Wno-sign-compare -g -O0 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -pthread -Wl,-z -Wl,relro -o .libs/logging_striptest0 
logging_striptest0-logging_striptest_main.o  ./.libs/libglog.so -lgflags 
-lpthread -pthread
g++ -DHAVE_CONFIG_H -I. -I./src  -I./src  -pthread    -Wall -Wwrite-strings 
-Woverloaded-virtual -Wno-sign-compare    -g -O0 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o 
logging_striptest2-logging_striptest2.o `test -f 'src/logging_striptest2.cc' || 
echo './'`src/logging_striptest2.cc
/bin/bash ./libtool  --tag=CXX   --mode=link g++ -pthread    -Wall 
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare    -g -O0 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-pthread -Wl,-z,relro -o logging_striptest2  
logging_striptest2-logging_striptest2.o  libglog.la  -lgflags  -lpthread 
libtool: link: g++ -pthread -Wall -Wwrite-strings -Woverloaded-virtual 
-Wno-sign-compare -g -O0 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -pthread -Wl,-z -Wl,relro -o .libs/logging_striptest2 
logging_striptest2-logging_striptest2.o  ./.libs/libglog.so -lgflags -lpthread 
-pthread
g++ -DHAVE_CONFIG_H -I. -I./src  -I./src  -pthread    -Wall -Wwrite-strings 
-Woverloaded-virtual -Wno-sign-compare    -g -O0 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o 
logging_striptest10-logging_striptest10.o `test -f 'src/logging_striptest10.cc' 
|| echo './'`src/logging_striptest10.cc
/bin/bash ./libtool  --tag=CXX   --mode=link g++ -pthread    -Wall 
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare    -g -O0 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-pthread -Wl,-z,relro -o logging_striptest10  
logging_striptest10-logging_striptest10.o  libglog.la  -lgflags  -lpthread 
libtool: link: g++ -pthread -Wall -Wwrite-strings -Woverloaded-virtual 
-Wno-sign-compare -g -O0 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -pthread -Wl,-z -Wl,relro -o .libs/logging_striptest10 
logging_striptest10-logging_striptest10.o  ./.libs/libglog.so -lgflags 
-lpthread -pthread
g++ -DHAVE_CONFIG_H -I. -I./src  -I./src  -pthread    -Wall -Wwrite-strings 
-Woverloaded-virtual -Wno-sign-compare    -g -O0 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o 
signalhandler_unittest-signalhandler_unittest.o `test -f 
'src/signalhandler_unittest.cc' || echo './'`src/signalhandler_unittest.cc
/bin/bash ./libtool  --tag=CXX   --mode=link g++ -pthread    -Wall 
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare    -g -O0 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-pthread -Wl,-z,relro -o signalhandler_unittest  
signalhandler_unittest-signalhandler_unittest.o  libglog.la  -lgflags    
-lgflags -lpthread 
libtool: link: g++ -pthread -Wall -Wwrite-strings -Woverloaded-virtual 
-Wno-sign-compare -g -O0 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -pthread -Wl,-z -Wl,relro -o 
.libs/signalhandler_unittest signalhandler_unittest-signalhandler_unittest.o  
./.libs/libglog.so -lgflags -lpthread -pthread
make[1]: Leaving directory '/mnt/sdb2/pkg2/kc/google-glog'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/mnt/sdb2/pkg2/kc/google-glog'
if [ -f /proc/version ]; then /usr/bin/make check; fi
make[2]: Entering directory '/mnt/sdb2/pkg2/kc/google-glog'
/usr/bin/make  logging_striplog_test_sh demangle_unittest_sh 
signalhandler_unittest_sh
make[3]: Entering directory '/mnt/sdb2/pkg2/kc/google-glog'
./src/logging_striplog_test.sh
In DBG mode; not checking strings
PASS
./demangle_unittest  # force to create lt-demangle_unittest
Passed 3 tests

PASS
./src/demangle_unittest.sh
PASS
./signalhandler_unittest  # force to create lt-signalhandler_unittest
OK
./src/signalhandler_unittest.sh
PASS (We only test the signal handler on i386 or amd64.)
make[3]: Leaving directory '/mnt/sdb2/pkg2/kc/google-glog'
/usr/bin/make  check-TESTS
make[3]: Entering directory '/mnt/sdb2/pkg2/kc/google-glog'
make[4]: Entering directory '/mnt/sdb2/pkg2/kc/google-glog'
PASS: logging_unittest
PASS: demangle_unittest
PASS: stacktrace_unittest
FAIL: symbolize_unittest
PASS: stl_logging_unittest
PASS: utilities_unittest
make[5]: Entering directory '/mnt/sdb2/pkg2/kc/google-glog'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/mnt/sdb2/pkg2/kc/google-glog'
============================================================================
Testsuite summary for glog 0.3.3
============================================================================
# TOTAL: 6
# PASS:  5
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to [email protected]
============================================================================
Makefile:1485: recipe for target 'test-suite.log' failed
make[4]: *** [test-suite.log] Error 1
make[4]: Leaving directory '/mnt/sdb2/pkg2/kc/google-glog'
Makefile:1591: recipe for target 'check-TESTS' failed
make[3]: *** [check-TESTS] Error 2
make[3]: Leaving directory '/mnt/sdb2/pkg2/kc/google-glog'
Makefile:1842: recipe for target 'check-am' failed
make[2]: *** [check-am] Error 2
make[2]: Leaving directory '/mnt/sdb2/pkg2/kc/google-glog'
debian/rules:16: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 2
make[1]: Leaving directory '/mnt/sdb2/pkg2/kc/google-glog'
debian/rules:10: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Reply via email to