[Bug 707205] Re: Inkscape fails to build with gcc 4.6

Alex Valavanis 707205 at bugs.launchpad.net
Sun May 1 18:19:18 UTC 2011


@upstream - I'm not sure why the patch in trunk doesn't include a
#include <cstddef> in 2geom/utils.h.  Am I missing something here?  I
could not get the Ubuntu package to build without adding this to your
patch.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.
https://bugs.launchpad.net/bugs/707205

Title:
  Inkscape fails to build with gcc 4.6

Status in Inkscape: A Vector Drawing Tool:
  Fix Committed
Status in “inkscape” package in Ubuntu:
  Triaged
Status in “inkscape” package in Debian:
  Unknown

Bug description:
  Inkscape failed to build on i386 and amd64 in a recent rebuild test of
  Ubuntu packages with gcc 4.6.  The package version in question was
  inkscape_0.48.0-1ubuntu2.  The buildlogs can be found at:

  i386: http://launchpadlibrarian.net/62122074/buildlog_ubuntu-natty-i386.inkscape_0.48.0-1ubuntu2_FAILEDTOBUILD.txt.gz
  amd64: http://launchpadlibrarian.net/62133948/buildlog_ubuntu-natty-amd64.inkscape_0.48.0-1ubuntu2_FAILEDTOBUILD.txt.gz

  The error message is:

  /usr/include/sigc++-2.0/sigc++/signal.h:38:11: error: 'ptrdiff_t' does
  not name a type

  I believe this can be fixed by including a #include <cstddef> in
  connector-context.h (and wherever necessary).  Please see the
  following page for more details: https://wiki.ubuntu.com/GCC4.6



More information about the Ubuntu-sponsors mailing list