[Bug 1266390] [NEW] /usr/include ambiguity issue on ptrace.h

2014-01-06 Thread Anasuya M Shankar
Public bug reported:

Description of the Bug:

=


/usr/include ambiguity issue on ptrace.h
The following message is observed when compiling ptrace test cases.

The definition of peeksiginfo_args has been defined twice.

/usr/include/linux/ptrace.h:58:8: error: redefinition of ‘struct 
ptrace_peeksiginfo_args’
 struct ptrace_peeksiginfo_args {
^
In file included from ptrace.h:9:0,
 from ptrace01.c:95:
/usr/include/powerpc64le-linux-gnu/sys/ptrace.h:161:8: note: originally defined 
here
 struct ptrace_peeksiginfo_args
^
make[4]: *** [ptrace01] Error 1
make[4]: Leaving directory 
`/home/ubuntu/anasuya/ltp-full-20130904/testcases/kernel/syscalls/ptrace'
make[3]: *** [all] Error 2
make[3]: Leaving directory 
`/home/ubuntu/anasuya/ltp-full-20130904/testcases/kernel/syscalls'
make[2]: *** [all] Error 2
make[2]: Leaving directory 
`/home/ubuntu/anasuya/ltp-full-20130904/testcases/kernel'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ubuntu/anasuya/ltp-full-20130904/testcases'
make: *** [testcases-all] Error 2


Hardware Info:

Host Machine: Power 8 
Guest Machine: Ubuntu_alpha1.

The following command line was used to launch the ubuntu guest:
qemu-system-ppc64 -enable-kvm -M pseries -cpu POWER8 -smp 1 -m 10G -nographic 
-nodefaults -monitor stdio -serial pty -append root=/dev/sda -kernel 
trusty-server-cloudimg-ppc64el-vmlinuz-generic -device spapr-vscsi -device 
spapr-vlan,netdev=net0,mac=6c:ae:8b:69:16:11 -netdev bridge,br=virbr0,id=net0 
-drive file=trusty-server-cloudimg-ppc64el.img.qcow2

** Affects: openldap (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap in Ubuntu.
https://bugs.launchpad.net/bugs/1266390

Title:
  /usr/include ambiguity issue on ptrace.h

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1266390/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1266390] [NEW] /usr/include ambiguity issue on ptrace.h

2014-01-06 Thread Anasuya M Shankar
Public bug reported:

Description of the Bug:

=


/usr/include ambiguity issue on ptrace.h
The following message is observed when compiling ptrace test cases.

The definition of peeksiginfo_args has been defined twice.

/usr/include/linux/ptrace.h:58:8: error: redefinition of ‘struct 
ptrace_peeksiginfo_args’
 struct ptrace_peeksiginfo_args {
^
In file included from ptrace.h:9:0,
 from ptrace01.c:95:
/usr/include/powerpc64le-linux-gnu/sys/ptrace.h:161:8: note: originally defined 
here
 struct ptrace_peeksiginfo_args
^
make[4]: *** [ptrace01] Error 1
make[4]: Leaving directory 
`/home/ubuntu/anasuya/ltp-full-20130904/testcases/kernel/syscalls/ptrace'
make[3]: *** [all] Error 2
make[3]: Leaving directory 
`/home/ubuntu/anasuya/ltp-full-20130904/testcases/kernel/syscalls'
make[2]: *** [all] Error 2
make[2]: Leaving directory 
`/home/ubuntu/anasuya/ltp-full-20130904/testcases/kernel'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ubuntu/anasuya/ltp-full-20130904/testcases'
make: *** [testcases-all] Error 2


Hardware Info:

Host Machine: Power 8 
Guest Machine: Ubuntu_alpha1.

The following command line was used to launch the ubuntu guest:
qemu-system-ppc64 -enable-kvm -M pseries -cpu POWER8 -smp 1 -m 10G -nographic 
-nodefaults -monitor stdio -serial pty -append root=/dev/sda -kernel 
trusty-server-cloudimg-ppc64el-vmlinuz-generic -device spapr-vscsi -device 
spapr-vlan,netdev=net0,mac=6c:ae:8b:69:16:11 -netdev bridge,br=virbr0,id=net0 
-drive file=trusty-server-cloudimg-ppc64el.img.qcow2

** Affects: openldap (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1266390

Title:
  /usr/include ambiguity issue on ptrace.h

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1266390/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs