logo       

valgrind failed on i586 dockyard-devel (build-p4.arklinux.org): msg#00162

Subject: valgrind failed on i586 dockyard-devel (build-p4.arklinux.org)
valgrind failed to build on i586 for dockyard-devel.
Last 2500 lines of build log:

Installing valgrind-2.1.0-1ark.src.rpm
Building target platforms: i586
Building for target i586
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.12295
+ umask 022
+ cd /build-valgrind-i586/BUILD
+ cd /build-valgrind-i586/BUILD
+ rm -rf valgrind-2.1.0
+ /usr/bin/bzip2 -dc /usr/src/ark/SOURCES/valgrind-2.1.0.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd valgrind-2.1.0
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ echo 'Patch #0 (valgrind-1.9.6-static_vars.patch):'
Patch #0 (valgrind-1.9.6-static_vars.patch):
+ patch -p1 -b --suffix .static -s
++ rpm --eval '%{__find_requires}'
+ export FINDREQUIRES=/usr/lib/rpm/find-requires
+ FINDREQUIRES=/usr/lib/rpm/find-requires
+ echo '/usr/lib/rpm/find-requires | grep -v GLIBC_PRIVATE'
+ chmod +x findreq
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.56395
+ umask 022
+ cd /build-valgrind-i586/BUILD
+ cd valgrind-2.1.0
+ CFLAGS='-O2 -march=i586 -mtune=i686 -fomit-frame-pointer -fweb 
-frename-registers'
+ export CFLAGS
+ CXXFLAGS='-O2 -march=i586 -mtune=i686 -fomit-frame-pointer -fweb 
-frename-registers -fvisibility-inlines-hidden'
+ export CXXFLAGS
+ FFLAGS='-O2 -march=i586 -mtune=i686 -fomit-frame-pointer -fweb 
-frename-registers'
+ export FFLAGS
+ '[' 0 = 1 ']'
+ '[' 0 = 1 ']'
+ CROSSCOMPILE='--target=i586-ark-linux --host=i686-pc-linux-gnu 
--build=i686-pc-linux-gnu'
+ '[' %cross '!=' %cross -a -n %cross ']'
+ export CROSSCOMPILE
+ ./configure --target=i586-ark-linux --host=i686-pc-linux-gnu 
--build=i686-pc-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr 
--program-prefix= --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc 
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib 
--libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com 
--mandir=/usr/share/man --infodir=/usr/share/info
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether ln -s works... yes
checking for i686-pc-linux-gnu-gcc... no
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for i686-pc-linux-gnu-g++... no
checking for i686-pc-linux-gnu-c++... no
checking for i686-pc-linux-gnu-gpp... no
checking for i686-pc-linux-gnu-aCC... no
checking for i686-pc-linux-gnu-CC... no
checking for i686-pc-linux-gnu-cxx... no
checking for i686-pc-linux-gnu-cc++... no
checking for i686-pc-linux-gnu-cl... no
checking for i686-pc-linux-gnu-FCC... no
checking for i686-pc-linux-gnu-KCC... no
checking for i686-pc-linux-gnu-RCC... no
checking for i686-pc-linux-gnu-xlC_r... no
checking for i686-pc-linux-gnu-xlC... no
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++... gcc3
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for perl... /usr/bin/perl
checking for gdb... /usr/bin/gdb
checking for a supported version of gcc... ok (gcc (GCC) 3.4.4 20041210 
(prerelease))
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a supported CPU... ok (i686)
checking for a supported OS... ok (linux-gnu)
checking for the kernel version... 2.6 family (2.6.9-0.rc3.1ark)
checking for egrep... grep -E
checking the glibc version... 2.3 family
checking whether sched_param has a sched_priority member... yes
checking whether nfds_t is defined... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking XFree version... not a XFree86 server
unknown XFree86 server ()
checking if gas accepts .cfi... yes
checking if gcc accepts -mpreferred-stack-boundary... yes
checking for ANSI C header files... yes
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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking for uid_t in sys/types.h... yes
checking for off_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking return type of signal handlers... void
checking for floor... no
checking for memchr... yes
checking for memset... yes
checking for mkdir... yes
checking for strchr... yes
checking for strdup... yes
checking for strpbrk... yes
checking for strrchr... yes
checking for strstr... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating valgrind.spec
config.status: creating valgrind.pc
config.status: creating docs/Makefile
config.status: creating tests/Makefile
config.status: creating tests/vg_regtest
config.status: creating tests/unused/Makefile
config.status: creating include/Makefile
config.status: creating auxprogs/Makefile
config.status: creating coregrind/Makefile
config.status: creating coregrind/demangle/Makefile
config.status: creating coregrind/docs/Makefile
config.status: creating coregrind/valgrind
config.status: creating addrcheck/Makefile
config.status: creating addrcheck/tests/Makefile
config.status: creating addrcheck/docs/Makefile
config.status: creating memcheck/Makefile
config.status: creating memcheck/tests/Makefile
config.status: creating memcheck/docs/Makefile
config.status: creating cachegrind/Makefile
config.status: creating cachegrind/tests/Makefile
config.status: creating cachegrind/docs/Makefile
config.status: creating cachegrind/cg_annotate
config.status: creating corecheck/Makefile
config.status: creating corecheck/tests/Makefile
config.status: creating corecheck/docs/Makefile
config.status: creating helgrind/Makefile
config.status: creating helgrind/tests/Makefile
config.status: creating helgrind/docs/Makefile
config.status: creating lackey/Makefile
config.status: creating lackey/tests/Makefile
config.status: creating lackey/docs/Makefile
config.status: creating none/Makefile
config.status: creating none/tests/Makefile
config.status: creating none/docs/Makefile
config.status: creating config.h
config.status: executing depfiles commands

Using the following suppressions by default:

       glibc-2.3.supp xfree-3.supp xfree-4.supp
+ make
make  all-recursive
make[1]: Entering directory `/build-valgrind-i586/BUILD/valgrind-2.1.0'
Making all in coregrind
make[2]: Entering directory 
`/build-valgrind-i586/BUILD/valgrind-2.1.0/coregrind'
Making all in demangle
make[3]: Entering directory 
`/build-valgrind-i586/BUILD/valgrind-2.1.0/coregrind/demangle'
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../coregrind -I../../include   
-Winline -Wall -Wshadow -O -fomit-frame-pointer -g -Wno-unused -Wno-shadow  -MT 
cp-demangle.o -MD -MP -MF ".deps/cp-demangle.Tpo" \
  -c -o cp-demangle.o `test -f 'cp-demangle.c' || echo './'`cp-demangle.c; \
then mv -f ".deps/cp-demangle.Tpo" ".deps/cp-demangle.Po"; \
else rm -f ".deps/cp-demangle.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../coregrind -I../../include   
-Winline -Wall -Wshadow -O -fomit-frame-pointer -g -Wno-unused -MT cplus-dem.o 
-MD -MP -MF ".deps/cplus-dem.Tpo" \
  -c -o cplus-dem.o `test -f 'cplus-dem.c' || echo './'`cplus-dem.c; \
then mv -f ".deps/cplus-dem.Tpo" ".deps/cplus-dem.Po"; \
else rm -f ".deps/cplus-dem.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../coregrind -I../../include   
-Winline -Wall -Wshadow -O -fomit-frame-pointer -g  -MT dyn-string.o -MD -MP 
-MF ".deps/dyn-string.Tpo" \
  -c -o dyn-string.o `test -f 'dyn-string.c' || echo './'`dyn-string.c; \
then mv -f ".deps/dyn-string.Tpo" ".deps/dyn-string.Po"; \
else rm -f ".deps/dyn-string.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../coregrind -I../../include   
-Winline -Wall -Wshadow -O -fomit-frame-pointer -g  -MT safe-ctype.o -MD -MP 
-MF ".deps/safe-ctype.Tpo" \
  -c -o safe-ctype.o `test -f 'safe-ctype.c' || echo './'`safe-ctype.c; \
then mv -f ".deps/safe-ctype.Tpo" ".deps/safe-ctype.Po"; \
else rm -f ".deps/safe-ctype.Tpo"; exit 1; \
fi
rm -f libdemangle.a
ar cru libdemangle.a cp-demangle.o cplus-dem.o dyn-string.o safe-ctype.o 
ranlib libdemangle.a
make[3]: Leaving directory 
`/build-valgrind-i586/BUILD/valgrind-2.1.0/coregrind/demangle'
Making all in .
make[3]: Entering directory 
`/build-valgrind-i586/BUILD/valgrind-2.1.0/coregrind'
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I./demangle -I../include 
-DVG_LIBDIR="\"/usr/lib"\"   -Winline -Wall -Wshadow -O -fno-omit-frame-pointer 
-mpreferred-stack-boundary=2 -g -fpic -fno-omit-frame-pointer -MT 
vg_replace_malloc.o -MD -MP -MF ".deps/vg_replace_malloc.Tpo" \
  -c -o vg_replace_malloc.o `test -f 'vg_replace_malloc.c' || echo 
'./'`vg_replace_malloc.c; \
then mv -f ".deps/vg_replace_malloc.Tpo" ".deps/vg_replace_malloc.Po"; \
else rm -f ".deps/vg_replace_malloc.Tpo"; exit 1; \
fi
rm -f lib_replace_malloc.a
ar cru lib_replace_malloc.a vg_replace_malloc.o 
ranlib lib_replace_malloc.a
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I./demangle -I../include 
-DVG_LIBDIR="\"/usr/lib"\"   -Winline -Wall -Wshadow -O -fno-omit-frame-pointer 
-mpreferred-stack-boundary=2 -g -fpic  -MT vg_scheduler.o -MD -MP -MF 
".deps/vg_scheduler.Tpo" \
  -c -o vg_scheduler.o `test -f 'vg_scheduler.c' || echo './'`vg_scheduler.c; \
then mv -f ".deps/vg_scheduler.Tpo" ".deps/vg_scheduler.Po"; \
else rm -f ".deps/vg_scheduler.Tpo"; exit 1; \
fi
vg_scheduler.c: In function `release_one_thread_waiting_on_mutex':
vg_scheduler.c:1986: error: union has no member named `__m_owner'
vg_scheduler.c:1991: error: union has no member named `__m_count'
vg_scheduler.c:1992: error: union has no member named `__m_owner'
vg_scheduler.c:1998: error: union has no member named `__m_owner'
vg_scheduler.c:1998: error: `_pthread_descr' undeclared (first use in this 
function)
vg_scheduler.c:1998: error: (Each undeclared identifier is reported only once
vg_scheduler.c:1998: error: for each function it appears in.)
vg_scheduler.c:1998: error: syntax error before "i"
vg_scheduler.c: In function `do_pthread_mutex_lock':
vg_scheduler.c:2042: error: union has no member named `__m_kind'
vg_scheduler.c:2052: error: union has no member named `__m_count'
vg_scheduler.c:2061: error: union has no member named `__m_count'
vg_scheduler.c:2063: error: union has no member named `__m_owner'
vg_scheduler.c:2066: error: union has no member named `__m_owner'
vg_scheduler.c:2068: error: union has no member named `__m_kind'
vg_scheduler.c:2070: error: union has no member named `__m_count'
vg_scheduler.c:2074: error: union has no member named `__m_count'
vg_scheduler.c:2107: error: union has no member named `__m_owner'
vg_scheduler.c:2112: error: union has no member named `__m_count'
vg_scheduler.c:2113: error: union has no member named `__m_owner'
vg_scheduler.c:2113: error: `_pthread_descr' undeclared (first use in this 
function)
vg_scheduler.c:2113: error: syntax error before "tid"
vg_scheduler.c: In function `do_pthread_mutex_unlock':
vg_scheduler.c:2147: error: union has no member named `__m_kind'
vg_scheduler.c:2148: error: union has no member named `__m_kind'
vg_scheduler.c:2149: error: union has no member named `__m_owner'
vg_scheduler.c:2150: error: union has no member named `__m_owner'
vg_scheduler.c:2154: error: union has no member named `__m_kind'
vg_scheduler.c:2164: error: union has no member named `__m_count'
vg_scheduler.c:2174: error: union has no member named `__m_count'
vg_scheduler.c:2182: error: union has no member named `__m_owner'
vg_scheduler.c:2192: error: union has no member named `__m_count'
vg_scheduler.c:2193: error: union has no member named `__m_kind'
vg_scheduler.c:2194: error: union has no member named `__m_count'
vg_scheduler.c:2201: error: union has no member named `__m_count'
vg_scheduler.c:2202: error: union has no member named `__m_owner'
vg_scheduler.c: In function `do_pthread_cond_timedwait_TIMEOUT':
vg_scheduler.c:2256: error: union has no member named `__m_owner'
vg_scheduler.c:2258: error: union has no member named `__m_count'
vg_scheduler.c:2263: error: union has no member named `__m_owner'
vg_scheduler.c:2263: error: `_pthread_descr' undeclared (first use in this 
function)
vg_scheduler.c:2263: error: syntax error before "tid"
vg_scheduler.c:2264: error: union has no member named `__m_count'
vg_scheduler.c:2276: error: union has no member named `__m_count'
vg_scheduler.c: In function `release_N_threads_waiting_on_cond':
vg_scheduler.c:2326: error: union has no member named `__m_owner'
vg_scheduler.c:2328: error: union has no member named `__m_count'
vg_scheduler.c:2332: error: union has no member named `__m_owner'
vg_scheduler.c:2332: error: `_pthread_descr' undeclared (first use in this 
function)
vg_scheduler.c:2332: error: syntax error before "i"
vg_scheduler.c:2333: error: union has no member named `__m_count'
vg_scheduler.c:2346: error: union has no member named `__m_count'
vg_scheduler.c: In function `do_pthread_cond_wait':
vg_scheduler.c:2395: error: union has no member named `__m_kind'
vg_scheduler.c:2405: error: union has no member named `__m_count'
vg_scheduler.c:2415: error: union has no member named `__m_count'
vg_scheduler.c:2416: error: union has no member named `__m_owner'
vg_scheduler.c: In function `scheduler_sanity':
vg_scheduler.c:3238: error: union has no member named `__m_count'
vg_scheduler.c:3239: error: union has no member named `__m_owner'
vg_scheduler.c:3240: error: union has no member named `__m_owner'
make[3]: *** [vg_scheduler.o] Error 1
make[3]: Leaving directory `/build-valgrind-i586/BUILD/valgrind-2.1.0/coregrind'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build-valgrind-i586/BUILD/valgrind-2.1.0/coregrind'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build-valgrind-i586/BUILD/valgrind-2.1.0'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.56395 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.56395 (%build)





<Prev in Thread] Current Thread [Next in Thread>