mtbl: ftbfs with eglibc-2.17

Bug #1171585 reported by Logan Rosen on 2013-04-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mtbl (Debian)
Fix Released
Unknown
mtbl (Ubuntu)
High
Unassigned

Bug Description

Imported from Debian bug http://bugs.debian.org/701405:

Package: src:mtbl
Version: 0.2-1
Severity: important
Tags: sid jessie
User: <email address hidden>
Usertags: ftbfs-glibc-2.17

The package fails to build in a test rebuild on at least amd64 with
eglibc-2.17, but succeeds to build with eglibc-2.13. The
severity of this report may be raised before the jessie release.

The test rebuild was done together with GCC-4.8, so some issues
might be caused by the updated GCC as well.

  src/mtbl_merge.c:67:1: error: conflicting types for 'timespec_get'

The full build log can be found at:
http://people.debian.org/~doko/logs-20130217/gcc48/mtbl_0.2-1_unstable_gcc48.log
The last lines of the build log are at the end of this report.

To install eglibc from experimental,

  apt-get -t experimental install libc6-dev

To build with GCC 4.8, either set CC=gcc-4.8 CXX=g++-4.8 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ g++-4.7 g++-4.8 libc6-dev

[...]
        compiler: gcc -std=gnu99
        cflags: -g -O2
        ldflags:
        libs: -ldl -lz -lsnappy

        prefix: /usr
        sysconfdir: /etc
        libdir: ${exec_prefix}/lib
        includedir: ${prefix}/include

   dh_auto_build -a
make[1]: Entering directory `/«PKGBUILDDIR»'
make all-am
make[2]: Entering directory `/«PKGBUILDDIR»'
  CC librsf/crc32c.lo
  CC librsf/heap.lo
  CC librsf/rsf_fileset.lo
  CC mtbl/block.lo
  CC mtbl/block_builder.lo
  CC mtbl/crc32c_wrap.lo
  CC mtbl/fileset.lo
  CC mtbl/fixed.lo
  CC mtbl/iter.lo
  CC mtbl/merger.lo
  CC mtbl/reader.lo
  CC mtbl/sorter.lo
  CC mtbl/source.lo
  CC mtbl/trailer.lo
  CC mtbl/varint.lo
  CC mtbl/writer.lo
  CCLD mtbl/libmtbl.la
  CC src/mtbl_dump.o
  CCLD src/mtbl_dump
  CC src/mtbl_info.o
  CCLD src/mtbl_info
  CC src/mtbl_merge.o
src/mtbl_merge.c:67:1: error: conflicting types for 'timespec_get'
 timespec_get(struct timespec *now) {
 ^
In file included from src/mtbl_merge.c:24:0:
/usr/include/time.h:386:12: note: previous declaration of 'timespec_get' was here
 extern int timespec_get (struct timespec *__ts, int __base)
            ^
make[2]: *** [src/mtbl_merge.o] Error 1
make[2]: Leaving directory `/«PKGBUILDDIR»'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/«PKGBUILDDIR»'
dh_auto_build: make -j1 returned exit code 2
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2

Logan Rosen (logan) on 2013-04-22
Changed in mtbl (Ubuntu):
status: New → Triaged
importance: Undecided → High
tags: added: ftbfs
Changed in mtbl (Debian):
importance: Undecided → Unknown
Daniel T Chen (crimsun) on 2013-04-24
Changed in mtbl (Ubuntu):
status: Triaged → Fix Committed
Changed in mtbl (Debian):
status: New → Fix Committed
Changed in mtbl (Debian):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.