Debian Bug report logs - #603676
libcairo2: Packaging lacks LTO support

version graph

Package: libcairo2; Maintainer for libcairo2 is Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>; Source for libcairo2 is src:cairo (PTS, buildd, popcon).

Reported by: Peter Pearse <peter.pearse@linaro.org>

Date: Tue, 16 Nov 2010 10:30:01 UTC

Severity: important

Tags: patch

Found in version 1.10.0-1ubuntu2

Fixed in version 1.10.2-6

Done: Emilio Pozuelo Monfort <pochu@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Dave Beckett <dajobe@debian.org>:
Bug#603676; Package libcairo2. (Tue, 16 Nov 2010 10:30:04 GMT) (full text, mbox, link).


Acknowledgement sent to Peter Pearse <peter.pearse@linaro.org>:
New Bug report received and forwarded. Copy sent to Dave Beckett <dajobe@debian.org>. (Tue, 16 Nov 2010 10:30:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Peter Pearse <peter.pearse@linaro.org>
To: submit@bugs.debian.org
Subject: libcairo2: Packaging lacks LTO support
Date: Tue, 16 Nov 2010 10:26:40 +0000
Subject: libcairo2: Packaging lacks LTO support
Package: libcairo2
Version: 1.10.0-1ubuntu2
Severity: normal

When built with a compiler providing LTO support e.g. gcc-4.5, extra symbols
are emitted.
Thus the debian .symbols files do not match & packaging fails.



-- System Information:
Debian Release: squeeze/sid
  APT prefers maverick-updates
  APT policy: (500, 'maverick-updates'), (500, 'maverick-security'),
(500, 'maverick-proposed'), (500, 'maverick-backports'), (500,
'maverick')
Architecture: i386 (i686)

Kernel: Linux 2.6.35-22-generic-pae (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libcairo2 depends on:
ii  libc6            2.12.1-0ubuntu8         Embedded GNU C Library: Shared lib
ii  libfontconfig1   2.8.0-2ubuntu1          generic font configuration library
ii  libfreetype6     2.4.2-2ubuntu0.1        FreeType 2 font engine, shared lib
ii  libpixman-1-0    0.18.4-1                pixel-manipulation library for X a
ii  libpng12-0       1.2.44-1                PNG library - runtime
ii  libx11-6         2:1.3.3-3ubuntu1        X11 client-side library
ii  libxcb-render0   1.6-1                   X C Binding, render extension
ii  libxcb-shm0      1.6-1                   X C Binding, shm extension
ii  libxcb1          1.6-1                   X C Binding
ii  libxrender1      1:0.9.6-1               X Rendering Extension client libra
ii  zlib1g           1:1.2.3.4.dfsg-3ubuntu1 compression library - runtime

libcairo2 recommends no packages.

libcairo2 suggests no packages.

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Dave Beckett <dajobe@debian.org>:
Bug#603676; Package libcairo2. (Wed, 24 Nov 2010 11:03:10 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <doko@ubuntu.com>:
Extra info received and forwarded to list. Copy sent to Dave Beckett <dajobe@debian.org>. (Wed, 24 Nov 2010 11:03:10 GMT) (full text, mbox, link).


Message #10 received at 603676@bugs.debian.org (full text, mbox, reply):

From: Matthias Klose <doko@ubuntu.com>
To: 603676@bugs.debian.org
Cc: Debian Bug Tracking System <control@bugs.debian.org>
Subject: add symbols, which are available when built with -flto
Date: Wed, 24 Nov 2010 11:59:21 +0100
tag 603676 + patch
severity 603676 important
user ubuntu-devel@lists.ubuntu.com
usertags 603676 + origin-ubuntu natty ubuntu-patch
thanks

patch at
http://launchpadlibrarian.net/59268259/cairo_1.10.0-1ubuntu3_1.10.0-1ubuntu4.diff.gz




Added tag(s) patch. Request was from Matthias Klose <doko@ubuntu.com> to control@bugs.debian.org. (Wed, 24 Nov 2010 11:03:12 GMT) (full text, mbox, link).


Severity set to 'important' from 'normal' Request was from Matthias Klose <doko@ubuntu.com> to control@bugs.debian.org. (Wed, 24 Nov 2010 11:03:12 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Dave Beckett <dajobe@debian.org>:
Bug#603676; Package libcairo2. (Wed, 08 Dec 2010 14:27:08 GMT) (full text, mbox, link).


Acknowledgement sent to Mike Hommey <mh@glandium.org>:
Extra info received and forwarded to list. Copy sent to Dave Beckett <dajobe@debian.org>. (Wed, 08 Dec 2010 14:27:08 GMT) (full text, mbox, link).


Message #19 received at 603676@bugs.debian.org (full text, mbox, reply):

From: Mike Hommey <mh@glandium.org>
To: Matthias Klose <doko@ubuntu.com>, 603676@bugs.debian.org
Subject: Re: Bug#603676: add symbols, which are available when built with -flto
Date: Wed, 8 Dec 2010 15:25:50 +0100
On Wed, Nov 24, 2010 at 11:59:21AM +0100, Matthias Klose wrote:
> tag 603676 + patch
> severity 603676 important
> user ubuntu-devel@lists.ubuntu.com
> usertags 603676 + origin-ubuntu natty ubuntu-patch
> thanks
> 
> patch at
> http://launchpadlibrarian.net/59268259/cairo_1.10.0-1ubuntu3_1.10.0-1ubuntu4.diff.gz

Frankly, why the fsck does gcc need to export a symbol ? It shouldn't be
exported in the first place.

Mike




Reply sent to Emilio Pozuelo Monfort <pochu@debian.org>:
You have taken responsibility. (Sun, 27 Oct 2013 15:48:05 GMT) (full text, mbox, link).


Notification sent to Peter Pearse <peter.pearse@linaro.org>:
Bug acknowledged by developer. (Sun, 27 Oct 2013 15:48:05 GMT) (full text, mbox, link).


Message #24 received at 603676-done@bugs.debian.org (full text, mbox, reply):

From: Emilio Pozuelo Monfort <pochu@debian.org>
To: 603676-done@bugs.debian.org
Subject: Re: libcairo2: Packaging lacks LTO support
Date: Sun, 27 Oct 2013 16:44:56 +0100
Version: 1.10.2-6

cairo (1.10.2-6) unstable; urgency=low

  * debian/patches/03_export-symbols.patch:
    + Only export ^cairo_* symbols for libcairo-gobject and
      libcairo-script-interpreter (in addition to libcairo).
      Fixes a FTBFS in the architectures that are still using
      gcc-4.4, as one symbol isn't being exported there (since
      that gcc doesn't support -flto).
  * debian/libcairo-gobject2.symbols
    debian/libcairo-script-interpreter2.symbols
    + Remove the __gnu_lto_v1 symbol accordingly.

 -- Emilio Pozuelo Monfort <pochu@debian.org>  Sat, 26 Mar 2011 10:11:21 +0000

Emilio



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 25 Nov 2013 07:41:05 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Jan 8 00:07:05 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.