Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 992847

Summary: valgrind: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Dennis Gilmore <dennis>
Component: valgrindAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dodji, jakub, mjw, mjw, ppisar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-08 21:41:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 991858    

Description Dennis Gilmore 2013-08-05 06:40:59 UTC
Your package valgrind failed to build from source in current rawhide.

http://koji.fedoraproject.org/koji/taskinfo?taskID=5753415

Build logs:
root.log: http://kojipkgs.fedoraproject.org/work/tasks/3415/5753415/root.log
build.log: http://kojipkgs.fedoraproject.org/work/tasks/3415/5753415/build.log
state.log: http://kojipkgs.fedoraproject.org/work/tasks/3415/5753415/state.log
NOTE: build logs are cleaned up after 1 week

For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

Comment 1 Petr Pisar 2013-08-06 13:20:17 UTC
cc -DHAVE_CONFIG_H -I. -I..  -I.. -I../include -I../VEX/pub -DVGA_arm=1 -DVGO_linux=1 -DVGP_arm_linux=1 -DVGPV_arm_linux_vanilla=1 -I../coregrind -DVG_LIBDIR="\"/usr/lib/valgrind"\" -DVG_PLATFORM="\"arm-linux\""  -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wno-format-zero-length -fno-strict-aliasing -fno-builtin -marm -mcpu=cortex-a8  -Wno-long-long -g -pipe -Wall -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -march=armv7-a -mfpu=vfpv3-d16  -mfloat-abi=hard -Wno-pointer-sign -fno-stack-protector -c -o vgdb-vgdb.o `test -f 'vgdb.c' || echo './'`vgdb.c
In file included from vgdb.c:105:0:
/usr/include/linux/ptrace.h:58:8: error: redefinition of 'struct ptrace_peeksiginfo_args'
 struct ptrace_peeksiginfo_args {
        ^
In file included from vgdb.c:54:0:
/usr/include/sys/ptrace.h:191:8: note: originally defined here
 struct ptrace_peeksiginfo_args
        ^
vgdb.c: In function 'invoke_gdbserver':
vgdb.c:861:9: warning: variable 'sp' set but not used [-Wunused-but-set-variable]
    Addr sp;
         ^
make[3]: *** [vgdb-vgdb.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/builddir/build/BUILD/valgrind-3.8.1/coregrind'

Not compatible with kernel headers.

Comment 2 Mark Wielaard 2013-08-08 12:56:57 UTC
Should be fixed by backporting upstream commits r13471 and r13482 in valgrind-3.8.1-20.fc20:

* Thu Aug 08 2013 Mark Wielaard <mjw> - 3.8.1-20
- Add valgrind-3.8.1-ptrace-include-configure.patch (#992847)

Comment 3 Mark Wielaard 2013-08-08 21:41:55 UTC
3.8.1-21 was successfully build:
http://koji.fedoraproject.org/koji/taskinfo?taskID=5795249