GNU bug report logs -
#72042
[core-updates] Python-gst fails its test suite
Previous Next
Reported by: Leo Famulari <leo <at> famulari.name>
Date: Wed, 10 Jul 2024 19:38:01 UTC
Severity: normal
Done: Andrew Tropin <andrew <at> trop.in>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Thu, 05 Sep 2024 19:14:23 +0400
with message-id <871q1ygmk0.fsf <at> trop.in>
and subject line Re: bug#72042: [PATCH 1/1] gnu: python-gst: Fix build.
has caused the debbugs.gnu.org bug report #72042,
regarding [core-updates] Python-gst fails its test suite
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
72042: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72042
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
On core-updates commit 378e1d9b69b030a, python-gst fails its test suite
like this:
------
======================================================================
FAIL: testPropertyMarshalling (test_types.TestFraction)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/guix-build-python-gst-1.22.3.drv-0/gst-python-1.22.3/testsuite/common.py", line 98, in tearDown
self.gcverify()
File "/tmp/guix-build-python-gst-1.22.3.drv-0/gst-python-1.22.3/testsuite/common.py", line 81, in gcverify
self.assertFalse(leaked, leaked)
AssertionError: [<__gi__.GstRawVideoParse object at 0x7ffff66a55c0 (GstRawVideoParse at 0x787820)>] is not false : [<__gi__.GstRawVideoParse object at 0x7ffff66a55c0 (GstRawVideoParse at 0x787820)>]
======================================================================
FAIL: testPropertyMarshalling (test_types.TestValueArray)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/guix-build-python-gst-1.22.3.drv-0/gst-python-1.22.3/testsuite/common.py", line 98, in tearDown
self.gcverify()
File "/tmp/guix-build-python-gst-1.22.3.drv-0/gst-python-1.22.3/testsuite/common.py", line 81, in gcverify
self.assertFalse(leaked, leaked)
AssertionError: [<__gi__.GstRawVideoParse object at 0x7ffff66a55c0 (GstRawVideoParse at 0x78b6c0)>] is not false : [<__gi__.GstRawVideoParse object at 0x7ffff66a55c0 (GstRawVideoParse at 0x78b6c0)>]
----------------------------------------------------------------------
Ran 32 tests in 1.179s
FAILED (failures=2, errors=32)
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
3/3 Test plugins OK 0.32s
Summary of Failures:
2/3 Test fundamentals FAIL 1.45s exit status 1
Ok: 2
Expected Fail: 0
Fail: 1
Unexpected Pass: 0
Skipped: 0
Timeout: 0
Full log written to /tmp/guix-build-python-gst-1.22.3.drv-0/build/meson-logs/testlog.txt
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "meson" arguments: ("test" "--print-errorlogs" "-t" "0") exit-status: 1 term-signal: #f stop-signal: #f>
phase `check' failed after 2.9 seconds
command "meson" "test" "--print-errorlogs" "-t" "0" failed with status 1
build process 6 exited with status 256
builder for `/gnu/store/qdqxmq3y1w03d5v3736r5f0cw4wz9alz-python-gst-1.22.3.drv' failed with exit code 1
build of /gnu/store/qdqxmq3y1w03d5v3736r5f0cw4wz9alz-python-gst-1.22.3.drv failed
View build log at '/var/log/guix/drvs/qd/qxmq3y1w03d5v3736r5f0cw4wz9alz-python-gst-1.22.3.drv.gz'.
------
I've attached the testlog.txt. Any ideas?
[testlog.txt (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]
[Message part 6 (message/rfc822, inline)]
[Message part 7 (text/plain, inline)]
On 2024-09-02 21:38, Remco van 't Veer wrote:
> * gnu/packages/glib.scm: Add package python-pygobject-3.48.
> * gnu/packages/gstreamer.scm (python-gst) [inputs]:
> Use python-pygobject-3.48 to fix tests.
>
> Change-Id: I3038b85db67ff354a6d77708fa4fd7c63aa6732c
> ---
> gnu/packages/glib.scm | 15 +++++++++++++++
> gnu/packages/gstreamer.scm | 3 ++-
> 2 files changed, 17 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
> index 9827856f32..d6275ea63e 100644
> --- a/gnu/packages/glib.scm
> +++ b/gnu/packages/glib.scm
> @@ -20,6 +20,7 @@
> ;;; Copyright © 2022 Petr Hodina <phodina <at> protonmail.com>
> ;;; Copyright © 2023 Saku Laesvuori <saku <at> laesvuori.fi>
> ;;; Copyright © 2024 Zheng Junjie <873216071 <at> qq.com>
> +;;; Copyright © 2024 Remco van 't Veer <remco <at> remworks.net>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -1077,6 +1078,20 @@ (define-public python-pygobject
> '((upstream-name . "pygobject")))
> (license license:lgpl2.1+)))
>
> +(define-public python-pygobject-3.48
> + (package
> + (inherit python-pygobject)
> + (version "3.48.2")
> + (source
> + (origin
> + (inherit (package-source python-pygobject))
> + (uri (string-append "mirror://gnome/sources/pygobject/"
> + (version-major+minor version)
> + "/pygobject-" version ".tar.xz"))
> + (sha256
> + (base32
> + "19yii8lydnjw225k4gclhn8hya7caiginqi0mj9a0cdym6sax507"))))))
> +
> (define-public perl-glib
> (package
> (name "perl-glib")
> diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
> index ad08285181..66978fc2bc 100644
> --- a/gnu/packages/gstreamer.scm
> +++ b/gnu/packages/gstreamer.scm
> @@ -11,6 +11,7 @@
> ;;; Copyright © 2020 Liliana Marie Prikler <liliana.prikler <at> gmail.com>
> ;;; Copyright © 2020 Michael Rohleder <mike <at> rohleder.de>
> ;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
> +;;; Copyright © 2024 Remco van 't Veer <remco <at> remworks.net>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -1126,7 +1127,7 @@ (define-public python-gst
> (native-inputs
> (list pkg-config python))
> (propagated-inputs
> - (list gst-plugins-base python-pygobject))
> + (list gst-plugins-base python-pygobject-3.48))
> (home-page "https://gstreamer.freedesktop.org/")
> (synopsis "GStreamer GObject Introspection overrides for Python")
> (description
Thank you! Applied the fix, pushed as
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=7d2ced8d6d
--
Best regards,
Andrew Tropin
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 290 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.