FTBFS: with vte-0.25.9, ‘struct _VteTerminal’ has no member named ‘adjustment’

Bug #642121 reported by Niall Creech
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
synaptic (Debian)
Fix Released
Unknown
synaptic (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: synaptic

Synaptic in maverick FTBFS due to _VTE_SEAL use being enabled automatically by pkg-config.
$ pkg-config --cflags vte
-DVTE_SEAL_ENABLE -pthread -I/usr/include/vte-0.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gtk-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12

This causes errors since synaptic isnt ready for _VTE_SEAL,
...
error: ‘struct _VteTerminal’ has no member named ‘adjustment’
...

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: synaptic 0.63.1ubuntu13
ProcVersionSignature: Ubuntu 2.6.35-22.32-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
Architecture: i386
Date: Sat Sep 18 16:03:31 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
ProcEnviron:
 LANG=en_GB.utf8
 SHELL=/bin/bash
SourcePackage: synaptic

Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :
Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :

Attached patch should fix

Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :

I might mention it upstream to see how it looks before subscribing but heres a debdiff

Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :

Changes seem to work fine

Test-Build: https://edge.launchpad.net/~sevenmachines/+archive/release+1

synaptic (0.63.1ubuntu14) maverick; urgency=low

  * 15_vte-terminal-seals-enabled-fix.dpatch:
    - Replace direct access to adjustment variable in VteTerminal's to allow
    for newer vte versions with VTE_SEAL_ENABLE defined and fix FTBFS in
    this case (LP: #642121)

tags: added: patch
tags: added: patch-forwarded-debian
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Fixed in maverick
synaptic (0.63.1ubuntu14)
gtk/rgdebinstallprogress.cc, gtk/rgterminstallprogress.cc:
fix FTBFS on latest vte (closes: #597384)

Changed in synaptic (Ubuntu):
status: New → Fix Released
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report and the patch :)

Changed in synaptic (Debian):
status: Unknown → New
Changed in synaptic (Debian):
status: New → 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.