Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 789333

Summary: net-libs/gtk-vnc-1.2.0 fails to emerge when vala use flag is disabled
Product: Gentoo Linux Reporter: Dan Moulding <dmoulding>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dan Moulding 2021-05-10 16:05:25 UTC
I did a @world update, which attempted to update gtk-vnc to version 1.2.0. It failed in the configuration step like so:

Program g_ir_compiler found: YES (/usr/bin/g-ir-compiler)

src/meson.build:169:5: ERROR: Unknown variable "with_vala".

A full log can be found at /var/tmp/portage/net-libs/gtk-vnc-1.2.0/work/gtk-vnc-1.2.0-build/meson-logs/meson-log.txt
 * ERROR: net-libs/gtk-vnc-1.2.0::gentoo failed (configure phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_configure
 *   environment, line 2427:  Called meson_src_configure
 *   environment, line 1731:  Called die
 * The specific snippet of code:
 *       "${mesonargs[@]}" ) || die
 * 
 * If you need support, post the output of `emerge --info '=net-libs/gtk-vnc-1.2.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/gtk-vnc-1.2.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-libs/gtk-vnc-1.2.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/gtk-vnc-1.2.0/temp/environment'.
 * Working directory: '/var/tmp/portage/net-libs/gtk-vnc-1.2.0/work/gtk-vnc-1.2.0'
 * S: '/var/tmp/portage/net-libs/gtk-vnc-1.2.0/work/gtk-vnc-1.2.0'

>>> Failed to emerge net-libs/gtk-vnc-1.2.0, Log file:

>>>  '/var/tmp/portage/net-libs/gtk-vnc-1.2.0/temp/build.log'

 * Messages for package net-libs/gtk-vnc-1.2.0:

 * ERROR: net-libs/gtk-vnc-1.2.0::gentoo failed (configure phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_configure
 *   environment, line 2427:  Called meson_src_configure
 *   environment, line 1731:  Called die
 * The specific snippet of code:
 *       "${mesonargs[@]}" ) || die
 * 
 * If you need support, post the output of `emerge --info '=net-libs/gtk-vnc-1.2.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/gtk-vnc-1.2.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-libs/gtk-vnc-1.2.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/gtk-vnc-1.2.0/temp/environment'.
 * Working directory: '/var/tmp/portage/net-libs/gtk-vnc-1.2.0/work/gtk-vnc-1.2.0'
 * S: '/var/tmp/portage/net-libs/gtk-vnc-1.2.0/work/gtk-vnc-1.2.0'


I have disabled the vala use flag in make.conf.

I found this upstream bugfix commit which indicates this is a bug in the upstream build script (the with_vala variable in meson.build doesn't get initialized when the vala option is disabled):

https://gitlab.gnome.org/GNOME/gtk-vnc/-/commit/bdab05584bab5c2ecdd508df49b03e80aedd19fc
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-10 16:06:47 UTC
Please include emerge --info, build.log, and the referenced meson-log.txt.

... that said, I think this was fixed 2 days ago, and you need to emerge --sync: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d14d9c87b3884c9b0ae0c901cc2f44733a91a3c.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-10 16:07:27 UTC
(Note that the upstream patch is from Matt, one of the Gentoo GNOME maintainers ;))

*** This bug has been marked as a duplicate of bug 787581 ***