gajim-1.4.7: build fails during check phase

  • Done
  • quality assurance status badge
Details
6 participants
  • Andreas Enge
  • Christopher Howard
  • John Kehayias
  • Lars-Dominik Braun
  • Lilah Tascheter
  • zimoun
Owner
unassigned
Submitted by
Christopher Howard
Severity
normal
Merged with
C
C
Christopher Howard wrote on 19 Apr 2023 23:22
(name . Bug Guix)(address . bug-guix@gnu.org)
ZEBbpDFv5vG4xO9P@theoden
Please see attached log file for build failure.

```
christopher@theoden
-------------------
OS: Guix System x86_64
Host: OptiPlex 9020 00
Kernel: 5.15.105-gnu
Uptime: 16 days, 3 hours, 49 mins
Packages: 94 (guix-system), 185 (guix-user)
Shell: bash 5.1.8
Resolution: 1920x1080
DE: GNOME
Theme: Adwaita [GTK2/3]
Icons: Adwaita [GTK2/3]
Terminal: shepherd
CPU: Intel i5-4570 (4) @ 3.600GHz
GPU: Intel HD Graphics
GPU: AMD ATI Radeon HD 8490 / R5 235X OEM
Memory: 2644MiB / 7867MiB
```

```
Generation 48 Apr 19 2023 10:45:51 (current)
guix b82a18c
branch: master
commit: b82a18c8a33482249c634de1e91be18ac10a3c76
```

--
? Christopher Howard
? gemini://gem.librehacker.com

?????? ??? ????? ?? ????? ??? ????
C
C
Christopher Howard wrote on 22 Apr 2023 18:17
(address . 62956@debbugs.gnu.org)
ZEQImS3HHr8Ql3Qe@theoden
IRC user jlicht gave me a patch, which I used to successful build gajim after patching a guix checkout yesterday. I am attaching unaltered the patch file I received.

Christopher Howard
From 5af74fc3b14aaa26099514d11dda06a24007e4b6 Mon Sep 17 00:00:00 2001
Message-Id: <5af74fc3b14aaa26099514d11dda06a24007e4b6.1682115095.git.jlicht@fsfe.org>
From: Jelle Licht <jlicht@fsfe.org>
Date: Sat, 22 Apr 2023 00:08:20 +0200
Subject: [PATCH] gnu: gajim: Add missing inputs.

* gnu/packages/messaging.scm (gajim)[native-inputs]: Add python-wheel.
[inputs]: Add python-idna.
---

gnu/packages/messaging.scm | 2 ++
1 file changed, 2 insertions(+)

Toggle diff (22 lines)
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index ebb9bc17b3..e9d7a80a49 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -1208,6 +1208,7 @@ (define-public gajim
`(,gtk+ "bin")
python-distutils-extra
python-setuptools
+ python-wheel
xorg-server-for-tests))
(inputs
(list avahi
@@ -1233,6 +1234,7 @@ (define-public gajim
python-css-parser
python-dbus
python-gssapi
+ python-idna
python-keyring
python-nbxmpp
python-packaging
--
2.39.2
Z
Z
zimoun wrote on 24 Apr 2023 10:43
control message for bug #62956
(address . control@debbugs.gnu.org)
861qk9wtz1.fsf@gmail.com
tags 62956 + patch
quit
Z
Z
zimoun wrote on 24 Apr 2023 10:44
control message for bug #63011
(address . control@debbugs.gnu.org)
86zg6xvfdj.fsf@gmail.com
merge 63011 62956
quit
A
A
Andreas Enge wrote on 24 Apr 2023 11:52
Re: Fail to update gajim
(name . Simon Tournier)(address . zimon.toutoune@gmail.com)
ZEZRQ7M/ks+CG79p@jurong
Am Mon, Apr 24, 2023 at 10:51:31AM +0200 schrieb Simon Tournier:
Toggle quote (2 lines)
> Please note #62956 reporting the failure and proposing a patch.

Thanks for the notice! On core-updates, the current gajim requires
python-gssapi, which fails to build; so this would have to be repaired
additionally to the above patch.

Andreas
J
J
John Kehayias wrote on 26 Apr 2023 23:08
Re: Fail to update gajim: [PATCH] Updates for python-k5test and python-gssapi
(name . Andreas Enge)(address . andreas@enge.fr)
87jzxy5p38.fsf@protonmail.com
Thanks for the ping, I missed this message in time before the merge.

On Mon, Apr 24, 2023 at 11:52 AM, Andreas Enge wrote:

Toggle quote (8 lines)
> Am Mon, Apr 24, 2023 at 10:51:31AM +0200 schrieb Simon Tournier:
>> Please note #62956 reporting the failure and proposing a patch.
>
> Thanks for the notice! On core-updates, the current gajim requires
> python-gssapi, which fails to build; so this would have to be repaired
> additionally to the above patch.
>

I will send the two patches for the needed updates and then gajim
builds for me locally (I only built and checked that it ran, though it
wouldn't open a window in my pure environment at least). I'll attempt
with the new mumi updates, so it may take a bit for me to get it set
up.

Notes:

1. For python-k5tests I removed all inputs (guix refresh -u suggested
some) and everything built and seemed to work fine for
python-gssapi. I'm not familiar with these packages though.

2. gajim built for me with only the addition of python-idna, but again
did not test extensively.

If they look good feel free to push to master (after QA if it sees
these patches?) or I can later if no complaints.

John
J
J
John Kehayias wrote on 26 Apr 2023 23:18
[PATCH 1/2] gnu: python-k5test: Update to 0.10.3.
(address . 62956@debbugs.gnu.org)(name . John Kehayias)(address . john.kehayias@protonmail.com)
20230426211821.13756-1-john.kehayias@protonmail.com
* gnu/packages/python-xyz.scm (python-k5test): Update to 0.10.3.
[propagated-inputs]: Remove.
[native-inputs]: Remove.
[arguments]{phases}: Remove.
---
gnu/packages/python-xyz.scm | 19 ++-----------------
1 file changed, 2 insertions(+), 17 deletions(-)

Toggle diff (37 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0abfa226f4..849b75ead2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26096,30 +26096,15 @@ (define-public python-forbiddenfruit
(define-public python-k5test
(package
(name "python-k5test")
- (version "0.9.2")
+ (version "0.10.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "k5test" version))
(sha256
(base32
- "1lqp3jgfngyhaxjgj3n230hn90wsylwilh120yjf62h7b1s02mh8"))))
+ "07sp9hc6nkbgzywvr2ivcik03wibs6gmxm1k33l1b8v3mnyfx7cw"))))
(build-system python-build-system)
- (propagated-inputs
- (list python-six
- ;; `which`, `kadmin.local` binaries called inside library
- which mit-krb5))
- (native-inputs (list mit-krb5))
- (arguments
- '(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'apply-upstream-fixes
- (lambda* _
- (substitute* "k5test/realm.py"
- ;; Upstream commit f6b302d94dbdce37a1b81cc3faeeac4dc637b0e9.
- (("'kadmin_local'") "'kadmin.local'")
- ;; Upstream commit 3aef84515cf3d1a171c66856c898d0a5cbbd03ea.
- (("\\.stop_daemon") "._stop_daemon")))))))
(home-page "https://github.com/pythongssapi/k5test")
(synopsis "Library for setting up self-contained Kerberos 5 environments")
(description
--
2.39.2
J
J
John Kehayias wrote on 26 Apr 2023 23:18
[PATCH 2/2] gnu: python-gssapi: Update to 1.8.2.
(address . 62956@debbugs.gnu.org)(name . John Kehayias)(address . john.kehayias@protonmail.com)
20230426211821.13756-2-john.kehayias@protonmail.com
* gnu/packages/python-xyz.scm (python-gssapi): Update to 1.8.2.
[native-inputs]: Add python-cython. Order alphabetically.
---
gnu/packages/python-xyz.scm | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)

Toggle diff (34 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 849b75ead2..247a842a3e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26117,22 +26117,25 @@ (define-public python-k5test
(define-public python-gssapi
(package
(name "python-gssapi")
- (version "1.6.12")
+ (version "1.8.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "gssapi" version))
(sha256
(base32
- "1j2idrbrbczykzlb56q1bn0ivc9c0rjjljpk4yz86xn3gxfkpv8n"))))
+ "16n86nr19s95czvc1a9mdhs1kiq77qkcjp2c1rk5h4f93h10m3mp"))))
(build-system python-build-system)
(propagated-inputs
(list python-decorator python-six))
(inputs
(list mit-krb5))
- ;; for tests
(native-inputs
- (list python-parameterized python-k5test python-nose))
+ (list python-cython
+ ;; for tests
+ python-k5test
+ python-nose
+ python-parameterized))
(home-page "https://github.com/pythongssapi/python-gssapi")
(synopsis "Python GSSAPI Wrapper")
(description
--
2.39.2
J
J
John Kehayias wrote on 26 Apr 2023 23:22
Re: Fail to update gajim: [PATCH] Updates for python-k5test and python-gssapi
87ildi5og6.fsf@protonmail.com
Toggle quote (7 lines)
> I will send the two patches for the needed updates and then gajim
> builds for me locally (I only built and checked that it ran, though it
> wouldn't open a window in my pure environment at least). I'll attempt
> with the new mumi updates, so it may take a bit for me to get it set
> up.
>

Ah, when sending via mumi it was sent directly to the bug address and
didn't CC anyone else. Please see the patches starting at

Toggle quote (13 lines)
> Notes:
>
> 1. For python-k5tests I removed all inputs (guix refresh -u suggested
> some) and everything built and seemed to work fine for
> python-gssapi. I'm not familiar with these packages though.
>
> 2. gajim built for me with only the addition of python-idna, but again
> did not test extensively.
>
> If they look good feel free to push to master (after QA if it sees
> these patches?) or I can later if no complaints.
>
> John
L
L
Lilah Tascheter wrote on 19 May 2023 03:35
Re: [PATCH] Updates for python-k5test and python-gssapi
(address . 62956@debbugs.gnu.org)
20230518203522.5921eec7@lunabee.space
hey!

just bumping this thread. ik there's a lot to be done since the
core-updates merge but I wanted to make sure this wasn't forgotten
about. haven't been able to contact some friends in a few weeks.

thanks!
L
L
Lars-Dominik Braun wrote on 19 May 2023 09:37
(name . Lilah Tascheter)(address . lilah@lunabee.space)
ZGcnJ79+1JUcJflx@philomena
Hi,

Toggle quote (4 lines)
> just bumping this thread. ik there's a lot to be done since the
> core-updates merge but I wanted to make sure this wasn't forgotten
> about. haven't been able to contact some friends in a few weeks.

I already bumped k5test and gssapi independently and just added
python-idna to gajim. Looks like it builds and starts.

Cheers,
Lars
Closed
?