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

Bug 846467

Summary: net-libs/gtk-vnc-1.3.0 sandbox build failure with >=dev-util/meson-0.63.0_rc3
Product: Gentoo Linux Reporter: Aaron Nixon <aarondoom>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: admnd, alexandref75, eschwartz, gentoo, sam, virtualization
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=854498
https://gitlab.gnome.org/GNOME/gtk-vnc/-/merge_requests/19
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 857525    
Bug Blocks:    
Attachments: emerge --info '=net-libs/gtk-vnc-1.3.0::gentoo'
emerge -pqv '=net-libs/gtk-vnc-1.3.0::gentoo' && build.log
/var/tmp/portage/net-libs/gtk-vnc-1.3.0/temp/environment
Patch to compile with meson-9.63

Description Aaron Nixon 2022-05-19 15:50:46 UTC
Created attachment 779564 [details]
emerge --info '=net-libs/gtk-vnc-1.3.0::gentoo'

net-libs/gtk-vnc-1.3.0

Fails at a sandbox error.

meson.build:138:0: ERROR: Sandbox violation: Tried to grab file keymap-gen from a nested subproject.

All infos is attached.
Comment 1 Aaron Nixon 2022-05-19 15:51:40 UTC
Created attachment 779567 [details]
emerge -pqv '=net-libs/gtk-vnc-1.3.0::gentoo' && build.log
Comment 2 Aaron Nixon 2022-05-19 15:52:05 UTC
Created attachment 779570 [details]
/var/tmp/portage/net-libs/gtk-vnc-1.3.0/temp/environment
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-27 05:53:26 UTC
"Caused" by meson-9999. Please point out relevant details if you can in future, but appreciate the report.
Comment 4 Adrien Dessemond 2022-07-06 12:58:30 UTC
Also fails in the same way with dev-util/meson-0.63.0
Comment 5 Adrien Dessemond 2022-07-06 13:02:44 UTC
FYI a patch as been issued by upstream, see => https://gitlab.gnome.org/GNOME/gtk-vnc/-/merge_requests/19/diffs?commit_id=8da5e173ebdccbca60387ef2347c629be3c78dff
Comment 6 Eli Schwartz gentoo-dev 2022-07-06 13:11:51 UTC
The status change immediately above your comment is an update adding that upstream merge request as a "see also" url link.
Comment 7 Alexandre Ferreira 2022-07-10 15:27:55 UTC
Created attachment 790856 [details, diff]
Patch to compile with meson-9.63

Allow gtk-vnc-1.3.0 to compile with meson-0.63. It applies the fix fon gtk-vnc website and upgrades the subproject keymap-gen to a later version (otherwise it does not compile).
Comment 8 Adrien Dessemond 2022-07-10 15:48:57 UTC
(In reply to Alexandre Ferreira from comment #7)
> Created attachment 790856 [details, diff] [details, diff]
> Patch to compile with meson-9.63
> 
> Allow gtk-vnc-1.3.0 to compile with meson-0.63. It applies the fix fon
> gtk-vnc website and upgrades the subproject keymap-gen to a later version
> (otherwise it does not compile).

Your patch fixes the issue here.  Good job.
Comment 9 Larry the Git Cow gentoo-dev 2022-07-10 19:59:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d720afe07de3ae029931c2a7c4bc1b4588e8d48

commit 7d720afe07de3ae029931c2a7c4bc1b4588e8d48
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-07-10 19:58:36 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-10 19:59:04 +0000

    net-libs/gtk-vnc: fix build w/ meson 0.63
    
    Closes: https://bugs.gentoo.org/846467
    Thanks-to: Alexandre Ferreira <alexandref75@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 net-libs/gtk-vnc/Manifest                |  1 +
 net-libs/gtk-vnc/gtk-vnc-1.3.0-r1.ebuild | 64 ++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)