Opened 9 years ago
Closed 18 months ago
#51039 closed defect (fixed)
vte fails to build if an older version is active (builds against installed content instead of local content)
Reported by: | jeremyhu (Jeremy Huddleston Sequoia) | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | ||
Port: | vte |
Description
$ 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@macports.org, openmaintainer
The build succeeded after deactivating the active vte port.
Change History (3)
comment:1 Changed 9 years ago by dbevans (David B. Evans)
Status: | new → assigned |
---|
comment:2 Changed 18 months ago by mascguy (Christopher Nielsen)
Owner: | changed from dbevans to mascguy |
---|
comment:3 Changed 18 months ago by mascguy (Christopher Nielsen)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Based on testing with the latest releases, this no longer appears to be an issue. Closing as fixed.
Note: See
TracTickets for help on using
tickets.
Yes, confirmed. Looks like an introspection issue. I won't be able to look at this until tomorrow or so, so if you have any insight into the specific cause in the meantime, please feel free to go ahead and make a fix. Thanks for spotting this.