[Bug 1679848] [NEW] strace FTBFS during a zesty test rebuild

Brian Murray brian at ubuntu.com
Tue Apr 4 21:29:17 UTC 2017


Public bug reported:

strace version 4.12-3ubuntu1 failed to build from source on all arches
during an archive test rebuild of zesty.  The build log can be found
here:

https://launchpadlibrarian.net/312229405/buildlog_ubuntu-zesty-
amd64.strace_4.12-3ubuntu1_BUILDING.txt.gz

The failure seems to be:

gcc -DHAVE_CONFIG_H   -I./linux/x86_64 -I../linux/x86_64 -I./linux -I../linux -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wwrite-strings -Wsign-compare  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -MT strace-capability.o -MD -MP -MF .deps/strace-capability.Tpo -c -o strace-capability.o `test -f 'capability.c' || echo '../'`capability.c
../btrfs.c:68:8: error: redefinition of ‘struct btrfs_ioctl_defrag_range_args’
 struct btrfs_ioctl_defrag_range_args {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../btrfs.c:36:0:
/usr/include/linux/btrfs.h:506:8: note: originally defined here
 struct btrfs_ioctl_defrag_range_args {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mv -f .deps/strace-cacheflush.Tpo .deps/strace-cacheflush.Po
Makefile:2619: recipe for target 'strace-btrfs.o' failed
make[3]: *** [strace-btrfs.o] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/strace-bpf.Tpo .deps/strace-bpf.Po
mv -f .deps/strace-capability.Tpo .deps/strace-capability.Po
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
Makefile:4474: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'
Makefile:1384: recipe for target 'all' failed
make[1]: *** [all] Error 2
rm ioctlsort0 ioctlsort0.o ioctls_all0.h ioctlsort1.o ioctlsort1 ioctlsort2.o ioctls_all1.h ioctls_all2.h ioctlsort2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/build'
debian/rules:48: recipe for target 'build-stamp' failed
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

** Affects: strace (Ubuntu)
     Importance: Undecided
     Assignee: Dimitri John Ledkov (xnox)
         Status: New


** Tags: ftbfs zesty

** Changed in: strace (Ubuntu)
     Assignee: (unassigned) => Dimitri John Ledkov (xnox)

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

Title:
  strace FTBFS during a zesty test rebuild

Status in strace package in Ubuntu:
  New

Bug description:
  strace version 4.12-3ubuntu1 failed to build from source on all arches
  during an archive test rebuild of zesty.  The build log can be found
  here:

  https://launchpadlibrarian.net/312229405/buildlog_ubuntu-zesty-
  amd64.strace_4.12-3ubuntu1_BUILDING.txt.gz

  The failure seems to be:

  gcc -DHAVE_CONFIG_H   -I./linux/x86_64 -I../linux/x86_64 -I./linux -I../linux -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wwrite-strings -Wsign-compare  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -MT strace-capability.o -MD -MP -MF .deps/strace-capability.Tpo -c -o strace-capability.o `test -f 'capability.c' || echo '../'`capability.c
  ../btrfs.c:68:8: error: redefinition of ‘struct btrfs_ioctl_defrag_range_args’
   struct btrfs_ioctl_defrag_range_args {
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  In file included from ../btrfs.c:36:0:
  /usr/include/linux/btrfs.h:506:8: note: originally defined here
   struct btrfs_ioctl_defrag_range_args {
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  mv -f .deps/strace-cacheflush.Tpo .deps/strace-cacheflush.Po
  Makefile:2619: recipe for target 'strace-btrfs.o' failed
  make[3]: *** [strace-btrfs.o] Error 1
  make[3]: *** Waiting for unfinished jobs....
  mv -f .deps/strace-bpf.Tpo .deps/strace-bpf.Po
  mv -f .deps/strace-capability.Tpo .deps/strace-capability.Po
  make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
  Makefile:4474: recipe for target 'all-recursive' failed
  make[2]: *** [all-recursive] Error 1
  make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'
  Makefile:1384: recipe for target 'all' failed
  make[1]: *** [all] Error 2
  rm ioctlsort0 ioctlsort0.o ioctls_all0.h ioctlsort1.o ioctlsort1 ioctlsort2.o ioctls_all1.h ioctls_all2.h ioctlsort2
  make[1]: Leaving directory '/<<PKGBUILDDIR>>/build'
  debian/rules:48: recipe for target 'build-stamp' failed
  make: *** [build-stamp] Error 2
  dpkg-buildpackage: error: debian/rules build gave error exit status 2

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



More information about the foundations-bugs mailing list