Inkscape (0.48.4) fails to build with gtkmm 2.24.3

Bug #1171147 reported by Boltzmann
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
High
Unassigned
gtkmm
Fix Released
Medium

Bug Description

On a mac osx 10.6.8 system the nstallation of inkscape @0.48.4 (or upgrade from previuos version) fails in a MacPorts base version 2.1.3 (recently upgraded)

The error message is
Error: org.macports.build for port inkscape returned: command execution failed
Please see the log file for port inkscape for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_inkscape/inkscape/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets

I had a quick view on the MacPorts bug-tracking system and decided to post the bug here, because they usually want it to be posted to the developers. Inkscape was working well (thanks!) until I upgraded my MacPorts system.

The output of /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_inkscape/inkscape/main.log is attached.

Tags: build
Revision history for this message
Boltzmann (stefan-bollmann) wrote :
su_v (suv-lp)
tags: added: osx
removed: install macports upgrade
Revision history for this message
su_v (suv-lp) wrote :

> fails in a MacPorts base version 2.1.3 (recently upgraded)

Probably due to MacPorts' upgrading to gtkmm 2.24.3:
<https://lists.macosforge.org/pipermail/macports-changes/2013-April/089672.html>

AFAICT this is a known upstream regression in gtkmm 2.24.3:
- 697835 – gtkmm-2.24.3 breaks multiple reverse dependencies
  <https://bugzilla.gnome.org/show_bug.cgi?id=697835>

IMHO it would be better to report this for MacPorts instead of Inkscape.

tags: added: build
removed: osx
Revision history for this message
su_v (suv-lp) wrote :

Related thread on the gtkmm mailing list:
<http://thread.gmane.org/gmane.comp.gnome.gtkmm/26896/focus=26897>

Revision history for this message
su_v (suv-lp) wrote :

MacPorts ticket:
[MacPorts] 38886: gtkmm 2.24.3 breaks multiple dependents
<https://trac.macports.org/ticket/38886>

summary: - Macport upgrade & new installation fails on Macports
+ inkscape (0.48.4) fails to build with gtkmm 2.24.3
summary: - inkscape (0.48.4) fails to build with gtkmm 2.24.3
+ Inkscape (0.48.4) fails to build with gtkmm 2.24.3
Revision history for this message
Boltzmann (stefan-bollmann) wrote :

It seems, the gtkmm people did their job!

Changed in inkscape:
status: New → Fix Released
Revision history for this message
su_v (suv-lp) wrote :

Reopening - the report will be closed as 'Invalid' for project Inkscape once a newer gtkmm version has been released.

Changed in inkscape:
status: Fix Released → Triaged
Revision history for this message
Alex Valavanis (valavanisalex) wrote :

We can work around this by disabling the G_DISABLE_DEPRECATED flag if gtkmm-2.24.3 is detected.

Changed in gtkmm:
importance: Unknown → Medium
status: Unknown → New
Revision history for this message
Samuel Chase (samebchase) wrote :

So, in the meantime trunk will build on Arch by disabling that flag?

Which lines in configure.ac should be (temporarily) modified?

Revision history for this message
Alex Valavanis (valavanisalex) wrote :

Hi Samuel,

Before modifying configure.ac, try

configure --enable-strict-build=no

If that fixes the problem, then I'll go ahead with a patch to automatically disable strict building if the broken version of gtkmm is found.

AV

Revision history for this message
Alex Valavanis (valavanisalex) wrote :

Here's a possible patch to allow deprecated glib symbols if the broken gtkmm version is detected. Because I can't reproduce the bug myself, I'll need someone else to test this!

Changed in inkscape:
status: Triaged → In Progress
importance: Undecided → High
assignee: nobody → Alex Valavanis (valavanisalex)
Revision history for this message
Samuel Chase (samebchase) wrote :

Sorry! Just saw this. I'll test and report what happens.

Revision history for this message
Samuel Chase (samebchase) wrote :

Doing a --enable-strict-build=no results in the same error. WIll try the patch now.

Revision history for this message
Samuel Chase (samebchase) wrote :

Looks like the same errors after the patch.

Revision history for this message
Samuel Chase (samebchase) wrote :

Any other things I can try doing?

What if I install an older version of gtkmm until an upstream fix for this is released?

Revision history for this message
Xavier Fung (xavier114fch) wrote :

Same errors from bug#1181928 after updating trunk to the latest revision.

Changed in gtkmm:
status: New → Fix Released
Revision history for this message
Samuel Chase (samebchase) wrote : Re: [Bug 1171147] Re: Inkscape (0.48.4) fails to build with gtkmm 2.24.3

Nice. Can't wait to test this fix.

On 6/29/13, Bug Watch Updater <email address hidden> wrote:
> ** Changed in: gtkmm
> Status: New => Fix Released
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1171147
>
> Title:
> Inkscape (0.48.4) fails to build with gtkmm 2.24.3
>
> Status in gtkmm:
> Fix Released
> Status in Inkscape: A Vector Drawing Tool:
> In Progress
>
> Bug description:
> On a mac osx 10.6.8 system the nstallation of inkscape @0.48.4 (or
> upgrade from previuos version) fails in a MacPorts base version 2.1.3
> (recently upgraded)
>
> The error message is
> Error: org.macports.build for port inkscape returned: command execution
> failed
> Please see the log file for port inkscape for details:
>
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_inkscape/inkscape/main.log
> To report a bug, follow the instructions in the guide:
> http://guide.macports.org/#project.tickets
>
>
> I had a quick view on the MacPorts bug-tracking system and decided to post
> the bug here, because they usually want it to be posted to the developers.
> Inkscape was working well (thanks!) until I upgraded my MacPorts system.
>
> The output of
>
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_inkscape/inkscape/main.log
> is attached.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/gtkmm/+bug/1171147/+subscriptions
>

--
Sent from my mobile device

Revision history for this message
su_v (suv-lp) wrote :

New upstream gtkmm package released (gtkmm 2.24.4):
<https://mail.gnome.org/archives/ftp-release-list/2013-June/msg00112.html>

Inkscape stable (<lp:inkscape/0.48.x> r9949) and trunk (<lp:inkscape> r12399) compile ok on OS X 10.7.5 using Glib 2.36.3, glibmm 2.36.2, GTK+ 2.24.19 and gtkmm 2.24.4 (strict build enabled for trunk, both available backends (X11, Quartz) tested)

@Alex - can we close this as 'Invalid' for inkscape (-> upstream problem with packaging of gtkmm 2.24.3), and hope that distros which already upgraded to gtkmm 2.24.3 will quickly replace the "flawed" gtkmm package with the latest release 2.24.4?

Revision history for this message
Alex Valavanis (valavanisalex) wrote :

> @Alex - can we close this as 'Invalid' for inkscape (-> upstream problem with packaging of gtkmm 2.24.3),
> and hope that distros which already upgraded to gtkmm 2.24.3 will quickly replace the "flawed" gtkmm
> package with the latest release 2.24.4?

Yes, that sounds reasonable to me. Done! :)

Changed in inkscape:
assignee: Alex Valavanis (valavanisalex) → nobody
status: In Progress → Invalid
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.