From nobody Sun Oct 09 14:11:24 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MlkVh3wjGz4dlXk; Sun, 9 Oct 2022 14:11:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MlkVh3TYKz3QRZ; Sun, 9 Oct 2022 14:11:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665324684; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cQWxl4fEaM4VE+hUypi1D7lxynwHOcmQ96zg2zyhlpM=; b=AWZInaPDvJYCQ2NcONlTCk9nUEHvRgpSpCy8DS3MJzuIi1YDQ6g5tTuYkHNHY8FFSG2k/c Cw+Rz8Amf46nyMOyKSJFqsYxR/sicImhksJo1SA8mQqfoHwRB5/6W+2zOMWjfalp0t09Lx sHKUYxcwkTs0O9ArES77ffSP0Kgp5qZH1hBunXQxBDCVjP9MPCoIbmcG8UiKNK9/zOXQEZ y33TUdJ8FgnJVHbL32g7YrvQ3SU+ueWO0zUC9uzu34nTCbS0coPm6gqVJgTxrLhBwc12+D S35A3nmbkuLThbpDoRREhsAGDnggR607QdyNOYgqmTz/0Mvbu/zxoSqHdb+jRg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MlkVh2XfgzJTT; Sun, 9 Oct 2022 14:11:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 299EBOYb037273; Sun, 9 Oct 2022 14:11:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 299EBOt2037272; Sun, 9 Oct 2022 14:11:24 GMT (envelope-from git) Date: Sun, 9 Oct 2022 14:11:24 GMT Message-Id: <202210091411.299EBOt2037272@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 9a65dc5984e3 - main - devel/blueprint-compiler: unbreak "make test" List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9a65dc5984e327cade8669642f9fc71fae294251 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665324684; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cQWxl4fEaM4VE+hUypi1D7lxynwHOcmQ96zg2zyhlpM=; b=BaVVj0DBnzIIuis00z6KkGn7MFkvHTrmUjA9z/2msCLg9d/BirtevestzAFprJh4K+eoLt /wIt2lmwK60qRKFpvUURYNSFnCevExnp4gRzm+WYBHd5AtQr+65WYAGY3wHHebYgtP0V6L Dj4bNtZWF9thtkK34GRHjytqvUldWuO6EIUIQHz7kvh3xtiFQTvt/3UfQ7oTGKqiQQbTcp WFhfBJoG53NUDu+9qlhA3205uz6JyRIvGtHv6g2WoZlcs4hSB8n8N5sEZHQorvj68mBuSA DiiAnSzam2hSQjqP9llzxKHXjteOFPhOIe04MAXlpmwlMj+f4jJ/ApDbv3QAcA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665324684; a=rsa-sha256; cv=none; b=qo5nOsnP2cFDvdBfzninvQo4sTywiQPrR0iCGPH9krYmKExHNPVD1kSw2M6gleyKKn9BDt kY7OSPloOTPss8f5ESGADg8tZxAkbP8tkUFmRx1s+xbj3Ya3ToIBywk26vbO/LOZqjL2Iq /45jkP8+MjynJRZEKUXb2qzZoln6eT/3X4XckJK6b8WanuFI8lPGqCyWqfbT5ZZX+VLbpe IIvBxdbYhsTwQGD1lo16Ws9Ib9Kwuq02YtnoHgPfidwU0qSp0QJeFtCAVhdCn7aooOuX/m i7rYodQO+8F3SmTgEC09AglwHdp/pmxNxAZ4r+3AscHSmZfLFmRhe0BZ6oTHhg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=9a65dc5984e327cade8669642f9fc71fae294251 commit 9a65dc5984e327cade8669642f9fc71fae294251 Author: Jan Beich AuthorDate: 2022-10-09 14:10:09 +0000 Commit: Jan Beich CommitDate: 2022-10-09 14:10:21 +0000 devel/blueprint-compiler: unbreak "make test" $ make test [...] ===> Testing for blueprint-compiler-0.4.0 ===> blueprint-compiler-0.4.0 depends on file: /usr/local/bin/python3.9 - found [ 0% 1/1] /usr/local/bin/meson test --no-rebuild --print-errorlogs 1/1 tests FAIL 0.16s exit status 1 >>> MALLOC_PERTURB_=73 /usr/local/bin/python3.9 -m unittest ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― stdout: error: Could not find GTK 4 introspection files. Is gobject-introspection installed? at accessibility.blp line 1 column 11: 1 |using Gtk 4.0; | ^ hint: search path: /usr/local/lib/girepository-1.0 stderr: EEF... ====================================================================== ERROR: test_decompiler (tests.test_samples.TestSamples) ---------------------------------------------------------------------- Traceback (most recent call last): File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/tests/test_samples.py", line 120, in assert_decompile actual = decompiler.decompile(ui_path) File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/blueprintcompiler/decompiler.py", line 186, in decompile ctx = DecompileCtx() File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/blueprintcompiler/decompiler.py", line 61, in __init__ self.gir.add_namespace(get_namespace("Gtk", "4.0")) File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/blueprintcompiler/gir.py", line 52, in get_namespace raise CompileError( blueprintcompiler.errors.CompileError: Namespace Gtk-4.0 could not be found During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/tests/test_samples.py", line 212, in test_decompiler self.assert_decompile("accessibility_dec") File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/tests/test_samples.py", line 127, in assert_decompile e.pretty_print(name + ".blp", blueprint) NameError: name 'blueprint' is not defined ====================================================================== ERROR: test_sample_errors (tests.test_samples.TestSamples) ---------------------------------------------------------------------- Traceback (most recent call last): File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/tests/test_samples.py", line 164, in test_sample_errors self.assert_sample_error("a11y_in_non_widget") File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/tests/test_samples.py", line 83, in assert_sample_error self.assert_completions_dont_crash(blueprint, ast, tokens) File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/tests/test_samples.py", line 40, in assert_completions_dont_crash list(complete(ast, tokens, i)) File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/blueprintcompiler/completions.py", line 64, in complete yield from _complete(ast_node, tokens, idx, token_idx) File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/blueprintcompiler/completions.py", line 36, in _complete yield from _complete(child, tokens, idx, token_idx) File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/blueprintcompiler/completions.py", line 36, in _complete yield from _complete(child, tokens, idx, token_idx) File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/blueprintcompiler/completions.py", line 36, in _complete yield from _complete(child, tokens, idx, token_idx) File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/blueprintcompiler/completions.py", line 49, in _complete yield from completer(prev_tokens, ast_node) File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/blueprintcompiler/completions_utils.py", line 73, in inner yield from func(ast_node, match_variables) File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/blueprintcompiler/language/gtk_a11y.py", line 194, in a11y_name_completer yield Completion(name, CompletionItemKind.Property, docs=_get_docs(ast_node.root.gir, type)) File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/blueprintcompiler/language/gtk_a11y.py", line 98, in _get_docs gir.get_type("AccessibleProperty", "Gtk").members.get(name) AttributeError: 'NoneType' object has no attribute 'members' ====================================================================== FAIL: test_samples (tests.test_samples.TestSamples) ---------------------------------------------------------------------- Traceback (most recent call last): File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/tests/test_samples.py", line 54, in assert_sample if len(ast.errors): File "/usr/local/lib/python3.9/functools.py", line 993, in __get__ val = self.func(instance) File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/blueprintcompiler/ast_utils.py", line 79, in errors return list(self._get_errors()) File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/blueprintcompiler/ast_utils.py", line 84, in _get_errors validator(self) File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/blueprintcompiler/ast_utils.py", line 160, in inner func(self) File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/blueprintcompiler/language/ui.py", line 71, in gir_errors raise MultipleErrors(self._gir_errors) blueprintcompiler.errors.MultipleErrors During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/tests/test_samples.py", line 132, in test_samples self.assert_sample("accessibility") File "/wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/tests/test_samples.py", line 69, in assert_sample raise AssertionError() AssertionError ---------------------------------------------------------------------- Ran 6 tests in 0.036s FAILED (failures=1, errors=2) ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― Summary of Failures: 1/1 tests FAIL 0.16s exit status 1 Ok: 0 Expected Fail: 0 Fail: 1 Unexpected Pass: 0 Skipped: 0 Timeout: 0 Full log written to /wrkdirs/usr/ports/devel/blueprint-compiler/work/blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad/_build/meson-logs/testlog.txt FAILED: meson-internal__test /usr/local/bin/meson test --no-rebuild --print-errorlogs ninja: build stopped: subcommand failed. *** Error code 1 --- devel/blueprint-compiler/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/devel/blueprint-compiler/Makefile b/devel/blueprint-compiler/Makefile index a4448692b953..28ba2af8fecb 100644 --- a/devel/blueprint-compiler/Makefile +++ b/devel/blueprint-compiler/Makefile @@ -10,6 +10,8 @@ WWW= https://gitlab.gnome.org/jwestman/blueprint-compiler LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/COPYING +TEST_DEPENDS= gtk4>0:x11-toolkits/gtk40 + USES= gnome meson python shebangfix USE_GITLAB= yes USE_GNOME= pygobject3