Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 991889 - dyninst: FTBFS in rawhide
Summary: dyninst: FTBFS in rawhide
Alias: None
Product: Fedora
Classification: Fedora
Component: dyninst
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: William Cohen
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: F20FTBFS
TreeView+ depends on / blocked
Reported: 2013-08-05 02:53 UTC by Dennis Gilmore
Modified: 2013-08-05 17:53 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-08-05 17:53:00 UTC

Attachments (Terms of Use)
Avoid including <linux/ptrace.h> (deleted)
2013-08-05 16:54 UTC, William Cohen
no flags Details | Diff

Description Dennis Gilmore 2013-08-05 02:53:57 UTC
Your package dyninst failed to build from source in current rawhide.

Build logs:
NOTE: build logs are cleaned up after 1 week

For details on mass rebuild see

Comment 1 Frank Ch. Eigler 2013-08-05 12:41:57 UTC
Salient bits of build log:

symLite build voucher being constructed for libsymLite: BUILD#0
../../scripts/buildstamp: line 108: hostname: command not found
     $symLite: v8.1.2-1 libsymLite #0 2013/07/30 11:57 mockbuild@ $
Compiling V_libsymLite.o

g++ -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -std=c++11  -I../h -I. -I. -I./dynutil/h -I./external -Darch_x86_64 -Darch_64bit -Dos_linux  -Dcap_ptrace -Dcap_stripped_binaries -Dcap_async_events -Dcap_relocation -Dcap_dwarf -Dcap_32_64 -Dcap_fixpoint_gen -Dcap_noaddr_gen -Dcap_mutatee_traps -Dcap_binary_rewriter -Dcap_registers -Dcap_instruction_api -Dcap_serialization -Dcap_instruction_replacement -Dcap_tramp_liveness -Dcap_thread_db -Dcap_gnu_demangler -Ddwarf_has_setframe -Dbug_syscall_changepc_rewind -Dbug_force_terminate_failure -Dx86_64_unknown_linux2_4 -DPACKAGE_NAME=\"Dyninst\" -DPACKAGE_TARNAME=\"dyninst\" -DPACKAGE_VERSION=\"8.1.1\" -DPACKAGE_STRING=\"Dyninst\ 8.1.1\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_BOOST=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBELF=1 -DHAVE_LIBTHREAD_DB=1 -O2  -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -std=c++11 -fimplicit-templates -D_REENTRANT=1 -Dcap_mmtimer -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -std=c++11  -I../h -I. -I../.. -I../../dynutil/h -I../../external -I../src -I../h -Darch_x86_64 -Darch_64bit -Dos_linux  -Dcap_ptrace -Dcap_stripped_binaries -Dcap_async_events -Dcap_relocation -Dcap_dwarf -Dcap_32_64 -Dcap_fixpoint_gen -Dcap_noaddr_gen -Dcap_mutatee_traps -Dcap_binary_rewriter -Dcap_registers -Dcap_instruction_api -Dcap_serialization -Dcap_instruction_replacement -Dcap_tramp_liveness -Dcap_thread_db -Dcap_gnu_demangler -Ddwarf_has_setframe -Dbug_syscall_changepc_rewind -Dbug_force_terminate_failure -Dx86_64_unknown_linux2_4 -DPACKAGE_NAME=\"Dyninst\" -DPACKAGE_TARNAME=\"dyninst\" -DPACKAGE_VERSION=\"8.1.1\" -DPACKAGE_STRING=\"Dyninst\ 8.1.1\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_BOOST=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBELF=1 -DHAVE_LIBTHREAD_DB=1 -O2  -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -std=c++11 -fimplicit-templates -D_REENTRANT=1 -Dcap_mmtimer -fPIC -I/usr/include/libdwarf -DLIBELF_PLATFORM -DCOMPONENT_NAME=ProcControlAPI -W -Wall -Wpointer-arith -Wcast-qual -Woverloaded-virtual -Wcast-align -Wno-non-template-friend    ../src/linux.C -o linux.o
In file included from ../../proccontrol/src/linux.h:50:0,
                 from ../src/linux.C:58:
/usr/include/linux/ptrace.h:58:8: error: redefinition of 'struct ptrace_peeksiginfo_args'
 struct ptrace_peeksiginfo_args {
In file included from ../../common/h/linuxHeaders.h:53:0,
                 from ../../common/h/headers.h:56,
                 from ../../common/h/pathName.h:37,
                 from ../src/linux.C:47:
/usr/include/sys/ptrace.h:191:8: error: previous definition of 'struct ptrace_peeksiginfo_args'
 struct ptrace_peeksiginfo_args

Comment 2 William Cohen 2013-08-05 16:54:07 UTC
Created attachment 782935 [details]
Avoid including <linux/ptrace.h>

It looks like the code was using some old defines from <linux/ptrace.h>. Updated those to the current definitions and eliminate the need for including <linux/ptrace.h>

Comment 3 William Cohen 2013-08-05 17:53:00 UTC
dyninst-8.1.2-4 successfully built:

Note You need to log in before you can comment on or make changes to this bug.