[MacPorts] #51039: vte fails to build if an older version is active (builds against installed content instead of local content)

MacPorts noreply at macports.org
Sun Apr 3 10:53:08 PDT 2016


#51039: vte fails to build if an older version is active (builds against installed
content instead of local content)
------------------------+----------------------
 Reporter:  jeremyhu@…  |      Owner:  devans@…
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.3.4
 Keywords:              |       Port:  vte
------------------------+----------------------
 {{{
 $ sudo port -v -s upgrade vte
 --->  Computing dependencies for vte.
 --->  Building vte
 Executing:  cd
 "/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_gnome_vte/vte/work/vte-0.44.0"
 && /usr/bin/make -j8 -w all CC="/usr/bin/clang -arch x86_64"
 make: Entering directory
 `/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_gnome_vte/vte/work/vte-0.44.0'
 /Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
 make[1]: Entering directory
 `/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_gnome_vte/vte/work/vte-0.44.0'
 Making all in src
 make[2]: Entering directory
 `/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_gnome_vte/vte/work/vte-0.44.0/src'
 /Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
 make[3]: Entering directory
 `/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_gnome_vte/vte/work/vte-0.44.0/src'
 rm -f vte_2_91_vala.stamp && echo stamp > vte_2_91_vala.stamp-t
 CDPATH="${ZSH_VERSION+.}:" && cd . && /opt/local/bin/valac --target-
 glib=2.38 --vapidir=. --girdir=. --pkg=posix --pkg=gio-2.0 --pkg=gtk+-3.0
 --gresources app.gresource.xml  -D GTK_3_16  -C app.vala config.vapi
 vte-2.91.vapi
 app.vala:370.5-370.40: error: Vte.Terminal.set_color_cursor_foreground is
 not available in vte-2.91 0.43.2. Use vte-2.91 >= 0.44
 terminal.set_color_cursor_foreground(App.Options.get_color_cursor_foreground());
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 Compilation failed: 1 error(s), 0 warning(s)
 make[3]: *** [vte_2_91_vala.stamp] Error 1
 make[3]: Leaving directory
 `/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_gnome_vte/vte/work/vte-0.44.0/src'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_gnome_vte/vte/work/vte-0.44.0/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_gnome_vte/vte/work/vte-0.44.0'
 make: *** [all] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_gnome_vte/vte/work/vte-0.44.0'
 Command failed:  cd
 "/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_gnome_vte/vte/work/vte-0.44.0"
 && /usr/bin/make -j8 -w all CC="/usr/bin/clang -arch x86_64"
 Exit code: 2
 Error: Failed to build vte: command execution failed
 Error: See
 /opt/local/var/macports/logs/_Users_jeremy_src_macports_trunk_dports_gnome_vte/vte/main.log
 for details.
 Error: Follow http://guide.macports.org/#project.tickets to report a bug.

 $ port installed vte
 The following ports are currently installed:
   vte @0.43.2_0 (active)

 $ port info vte
 vte @0.44.0 (gnome)
 Variants:             glade, universal

 Description:          VTE is a library (libvte) implementing a terminal
 emulator widget for GTK+, and a minimal sample
                       application (vte) using that. Vte is mainly used in
 gnome-terminal, but can also be used to embed a
                       console/terminal in games, editors, IDEs, etc.
 Homepage:             https://wiki.gnome.org/Apps/Terminal/VTE

 Extract Dependencies: xz
 Build Dependencies:   pkgconfig, intltool, gtk-doc, autoconf, automake,
 libtool
 Library Dependencies: gtk3, gnutls, zlib, vala, gobject-introspection
 Runtime Dependencies: gnome-themes-standard
 Platforms:            darwin
 License:              LGPL
 Maintainers:          devans at macports.org, openmaintainer
 }}}

 The build succeeded after deactivating the active vte port.

-- 
Ticket URL: <https://trac.macports.org/ticket/51039>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list