Graphviz's sfdp is seriuosly crippled without a triangulation library

Bug #1409280 reported by perlhead
86
This bug affects 20 people
Affects Status Importance Assigned to Milestone
graphviz (Debian)
Fix Released
Unknown
graphviz (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

The Graphviz package is built --without-gts. This is bad news for sfdp, which complains “Error: remove_overlap: Graphviz not built with triangulation library” and fails to produce the beautiful output it creates when compiled --with-gts.

I saw no real justification for this setting, other than a note from 2008 saying that the flag was added to prevent GTS from being linked in “for now”.

It's been nearly eight years... maybe time to reconsider?

Revision history for this message
John Ellson (ellson) wrote : Re: [Bug 1409280] [NEW] Graphviz's sfdp is seriuosly crippled without a triangulation library

Fede,

How old are your graphviz sources?

When I look at HEAD in git, it looks like --with-gts is the default.

Perhaps you are missing the gts-devel package (maybe libgts-dev) and
configure is trying to fall back to a non-gts build?

John

On 01/10/2015 09:30 AM, Fede Heinz wrote:
> Public bug reported:
>
> The Graphviz package is built --without-gts. This is bad news for sfdp,
> which complains “Error: remove_overlap: Graphviz not built with
> triangulation library” and fails to produce the beautiful output it
> creates when compiled --with-gts.
>
> I saw no real justification for this setting, other than a note from
> 2008 saying that the flag was added to prevent GTS from being linked in
> “for now”.
>
> It's been nearly eight years... maybe time to reconsider?
>
> ** Affects: graphviz (Ubuntu)
> Importance: Undecided
> Status: New
>

Revision history for this message
perlhead (fheinz) wrote :

I'm using the grapviz_2.38.0-5ubuntu0 sources package from Utopic. The one linked to from http://packages.ubuntu.com/utopic/graphviz. Inside graphviz_2.38.0-5ubuntu0.1.debian.tar.xz you will find a debian/rules file that configures the package --without-gts.

In http://changelogs.ubuntu.com/changelogs/pool/main/g/graphviz/graphviz_2.38.0-5ubuntu0.1/changelog, in the release notes for graphviz (2.20.2-1) you will find a note that says “Add “--without-gts” to configure arguments to make sure not to link against GTS, at least for now.” Unfortunately, no justification why that was a good idea at the time.

Which git are you looking at?

Revision history for this message
John Ellson (ellson) wrote : Re: [Bug 1409280] Re: Graphviz's sfdp is seriuosly crippled without a triangulation library

So, you need to contact the packager of those sources, sorry, thats not me.

I'm one of the upstream developers. The upstream sources for graphviz
are kept at:
     github.com/ellson/graphviz

John

On 01/17/2015 07:08 AM, Fede Heinz wrote:
> I'm using the grapviz_2.38.0-5ubuntu0 sources package from Utopic. The
> one linked to from http://packages.ubuntu.com/utopic/graphviz. Inside
> graphviz_2.38.0-5ubuntu0.1.debian.tar.xz you will find a debian/rules
> file that configures the package --without-gts.
>
> In
> http://changelogs.ubuntu.com/changelogs/pool/main/g/graphviz/graphviz_2.38.0-5ubuntu0.1/changelog,
> in the release notes for graphviz (2.20.2-1) you will find a note that
> says “Add “--without-gts” to configure arguments to make sure not to
> link against GTS, at least for now.” Unfortunately, no justification why
> that was a good idea at the time.
>
> Which git are you looking at?
>

Revision history for this message
perlhead (fheinz) wrote :

Thank you for looking into this.

BTW, I didn't contact you directly. I reported this through Ubuntu's bug
tracker. I expected them to escalate to Debian before this reached you.

Revision history for this message
John Ellson (ellson) wrote :

Fede

Yes sorry, I was premature in responding.

Unfortunately these bug tracking systems don't have automated
escalation, or upstream tracking mechanisms,
so I try to monitor the distributions for bugs that really are mine.

John

On 01/20/2015 04:14 AM, Fede Heinz wrote:
> Thank you for looking into this.
>
> BTW, I didn't contact you directly. I reported this through Ubuntu's bug
> tracker. I expected them to escalate to Debian before this reached you.
>

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in graphviz (Ubuntu):
status: New → Confirmed
Revision history for this message
Dustin Oprea (myselfasunder) wrote :

+1

Ian Turner (vectro)
no longer affects: graphiz
Changed in graphviz (Debian):
status: Unknown → New
Changed in graphviz (Debian):
status: New → Fix Released
Revision history for this message
Stephen North (north-v) wrote :

Greetings. Is there any hope of seeing graphviz with sfdp with libgts (triangulation) back ported to ubuntu 14.04 which I'm using for a project in AWS? Otherwise I can just build everything from scratch like I'm always telling other people :-)
Stephen North

Revision history for this message
John Ellson (ellson) wrote :

Can you use alien to convert a gts rpm to a deb ?

     https://www.howtoforge.com/converting_rpm_to_deb_with_alien

On 05/19/2016 12:25 PM, Stephen North wrote:
> Greetings. Is there any hope of seeing graphviz with sfdp with libgts (triangulation) back ported to ubuntu 14.04 which I'm using for a project in AWS? Otherwise I can just build everything from scratch like I'm always telling other people :-)
> Stephen North
>

Revision history for this message
Sebastian Unger (sebunger44) wrote :

This is still an issue in xenial. Any chance to get this fixed?

Revision history for this message
Michael Leuchtenburg (dyfrgi) wrote :

This still affects graphviz in Yakkety.

Revision history for this message
Jeremy Bícha (jbicha) wrote :

graphviz is in main and gts is in universe. To get gts in to universe and fix this bug, someone will have to complete the paperwork for a MIR (main inclusion request) and Canonical will have to approve the request:

https://wiki.ubuntu.com/MainInclusionProcess

Changed in graphviz (Ubuntu):
importance: Undecided → Wishlist
status: Confirmed → Triaged
Revision history for this message
Marcel Martin (marcel) wrote :

This issue no longer occurs in Cosmic. Installing graphviz now pulls in a 'libgts-0.7-5' package, so I assume that the fix that was made in the Debian package has found its way to Ubuntu.

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.