gdcm 2.0.10-4 fails to build in karmic.

Bug #391324 reported by Andrea Gasparini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gdcm (Ubuntu)
Fix Released
Medium
Andrea Colangelo

Bug Description

gdcm 2.0.10-4 fails to build in karmic for gcc4.4 transition.
It can be seen in:
http://launchpadlibrarian.net/28244818/buildlog_ubuntu-karmic-i386.gdcm_2.0.10-4_FAILEDTOBUILD.txt.gz

Part of the interested log is the following:
/usr/include/stdio.h:45: error: forward declaration of 'struct _IO_FILE'
In file included from /usr/include/stdio.h:906,
                 from /build/buildd/gdcm-2.0.10/Source/Common/zipstreamimpl.h:159,
                 from /build/buildd/gdcm-2.0.10/Source/Common/gdcmDeflateStream.h:18,
                 from /build/buildd/gdcm-2.0.10/Source/Common/gdcmDeflateStream.cxx:15:
/usr/include/bits/stdio2.h: In function 'int zlib_stream::vprintf(const char*, char*)':
/usr/include/bits/stdio2.h:118: error: cannot convert 'zlib_stream::_IO_FILE*' to 'FILE*' for argument '1' to 'int zlib_stream::__vfprintf_chk(FILE*, int, const char*, char*)'
/usr/include/bits/stdio2.h: In function 'size_t zlib_stream::fread_unlocked(void*, size_t, size_t, FILE*)':
/usr/include/bits/stdio2.h:364: error: invalid use of incomplete type 'struct _IO_FILE'

Debian has added a patch in the latest revision, but it seems it doesn't help.

Related branches

Revision history for this message
Andrea Gasparini (gaspa) wrote :

Attaching a patch that fix the issue.

The successful build log could be found in:
http://launchpadlibrarian.net/28258769/buildlog_ubuntu-karmic-i386.gdcm_2.0.10-4~ppa3_FULLYBUILT.txt.gz

Changed in gdcm (Ubuntu):
assignee: nobody → Andrea Colangelo (warp10)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gdcm - 2.0.10-4ubuntu1

---------------
gdcm (2.0.10-4ubuntu1) karmic; urgency=low

  * fixed FTBFS: (LP: #391324)
    - debian/patches/ubuntu-gcc4.4-ftbfs.patch: insert a missing <ctsdio>
      include in Source/Common/gdcmString.h
    - debian/patches/series: removed gcc4.4 patch from debian as it's useless.
      ( it adds C style includes in C++ source, and do not resolve the issue )

 -- Andrea Gasparini <email address hidden> Tue, 23 Jun 2009 18:12:36 +0200

Changed in gdcm (Ubuntu):
status: In Progress → 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.