FTBFS: gcal failed to build (new glibc)

Bug #236838 reported by Albert Damen
2
Affects Status Importance Assigned to Milestone
gcal (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: gcal

gcal failed to build from source in intrepid, on most architectures:

rc-use.c:648: error: 'RE_SYNTAX_POSIX_EXTENDED' undeclared (first use in this function)
rc-use.c:648: error: (Each undeclared identifier is reported only once
rc-use.c:648: error: for each function it appears in.)
rc-use.c:648: error: 'RE_BACKSLASH_ESCAPE_IN_LISTS' undeclared (first use in this function)
rc-use.c:649: error: 'RE_DOT_NOT_NULL' undeclared (first use in this function)
rc-use.c:650: error: 'struct re_pattern_buffer' has no member named 'fastmap'
rc-use.c:651: error: 'struct re_pattern_buffer' has no member named 'translate'

These objects are defined in /usr/include/regex.h, but in glibc 2.8 only if __USE_GNU is defined.
__USE_GNU can be set from /usr/include/features.h by defining _GNU_SOURCE.

Related branches

Albert Damen (albrt)
Changed in gcal:
assignee: nobody → albrt
status: New → In Progress
Revision history for this message
Albert Damen (albrt) wrote :

Please sponsor the attached debdiff. It adds -D_GNU_SOURCE to the CFLAGS to fix this ftbfs.
The package builds, installs and runs fine in an intrepid pbuilder.

Changed in gcal:
assignee: albrt → nobody
status: In Progress → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gcal - 3.01.1-6ubuntu1

---------------
gcal (3.01.1-6ubuntu1) intrepid; urgency=low

  * debian/rules: add -D_GNU_SOURCE to CFLAGS to fix FTBFS with
    glibc 2.8 (LP: #236838)
  * Modify Maintainer value to match the DebianMaintainerField
    specification.

 -- Albert Damen <email address hidden> Mon, 02 Jun 2008 18:00:35 +0200

Changed in gcal:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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