GNU bug report logs - #62894
[PATCH core-updates 0/2] gnu: samba: Fix build on i686-linux.

Previous Next

Package: guix-patches;

Reported by: John Kehayias <john.kehayias <at> protonmail.com>

Date: Mon, 17 Apr 2023 04:25:02 UTC

Severity: normal

Tags: patch

Done: John Kehayias <john.kehayias <at> protonmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 62894 in the body.
You can then email your comments to 62894 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#62894; Package guix-patches. (Mon, 17 Apr 2023 04:25:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to John Kehayias <john.kehayias <at> protonmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 17 Apr 2023 04:25:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: John Kehayias <john.kehayias <at> protonmail.com>
To: Guix-patches <guix-patches <at> gnu.org>
Subject: [PATCH core-updates 0/2] gnu: samba: Fix build on i686-linux.
Date: Mon, 17 Apr 2023 04:23:49 +0000
Hi Guix,

Two patches here:

1. Fix samba building on i686-linux, as the selftest configure option requires python-cryptography, which relies on rust and thus won't work on i686 currently. So conditionally enable this flag and that native-input.

   The check here happens twice, better to have a let form for the whole package (or even reduce it to a "rust?" variable)? I went with the check we use for librsvg, but haven't checked on aarch64 if this does build. I did test that samba builds for x86_64 and i686-linux and this allows wine on x86_64 to build for me as well.

2. In doing this I noticed that samba is outdated and vulnerable to CVEs so I updated it in the next patch. I separately verified the download's signature, though samba's key is expired, so...

I didn't push this directly since I wasn't sure if there was a more elegant way to do this check and since I'm not certain on the rust architectures question.

A similar fix is needed on master I believe, but since the inheritance is flipped there I wasn't sure if this will just confuse the upcoming merge more. If the core-updates merge is happening soon we can wait? Or once this is good for core-updates I'll push the same fix to master.

Thanks!
John





Information forwarded to guix-patches <at> gnu.org:
bug#62894; Package guix-patches. (Mon, 17 Apr 2023 04:34:02 GMT) Full text and rfc822 format available.

Message #8 received at 62894 <at> debbugs.gnu.org (full text, mbox):

From: John Kehayias <john.kehayias <at> protonmail.com>
To: 62894 <at> debbugs.gnu.org
Subject: [PATCH core-updates 1/2] gnu: samba: Fix build on i686-linux.
Date: Mon, 17 Apr 2023 04:33:33 +0000
[Message part 1 (text/plain, inline)]
Empty Message
[0001-gnu-samba-Fix-build-on-i686-linux.patch (text/x-patch, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#62894; Package guix-patches. (Mon, 17 Apr 2023 04:36:01 GMT) Full text and rfc822 format available.

Message #11 received at 62894 <at> debbugs.gnu.org (full text, mbox):

From: John Kehayias <john.kehayias <at> protonmail.com>
To: 62894 <at> debbugs.gnu.org
Subject: [PATCH core-updates 2/2] gnu: samba: Update to 4.18.1.
Date: Mon, 17 Apr 2023 04:34:45 +0000
[Message part 1 (text/plain, inline)]
Empty Message
[0002-gnu-samba-Update-to-4.18.1.patch (text/x-patch, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#62894; Package guix-patches. (Tue, 18 Apr 2023 16:36:01 GMT) Full text and rfc822 format available.

Message #14 received at 62894 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: John Kehayias <john.kehayias <at> protonmail.com>
Cc: 62894 <at> debbugs.gnu.org
Subject: Re: bug#62894: [PATCH core-updates 0/2] gnu: samba: Fix build on
 i686-linux.
Date: Tue, 18 Apr 2023 12:35:47 -0400
Hi,

I pushed this to master, fixing the graft at the same time (it was not
applied to 'samba').

I'll look for core-updates later.

-- 
Thanks,
Maxim




Information forwarded to guix-patches <at> gnu.org:
bug#62894; Package guix-patches. (Wed, 19 Apr 2023 16:15:01 GMT) Full text and rfc822 format available.

Message #17 received at 62894 <at> debbugs.gnu.org (full text, mbox):

From: Kaelyn <kaelyn.alexi <at> protonmail.com>
To: "62894 <at> debbugs.gnu.org" <62894 <at> debbugs.gnu.org>
Subject: Re: bug#62894: [PATCH core-updates 0/2] gnu: samba: Fix build on
 i686-linux.
Date: Wed, 19 Apr 2023 16:14:13 +0000
Hi,

I've applied the two patches locally to my core-updates worktree and can confirm the patches allow me to once again build wine64 (post staging merge).

Cheers,
Kaelyn




Reply sent to John Kehayias <john.kehayias <at> protonmail.com>:
You have taken responsibility. (Fri, 12 May 2023 20:11:02 GMT) Full text and rfc822 format available.

Notification sent to John Kehayias <john.kehayias <at> protonmail.com>:
bug acknowledged by developer. (Fri, 12 May 2023 20:11:02 GMT) Full text and rfc822 format available.

Message #22 received at 62894-done <at> debbugs.gnu.org (full text, mbox):

From: John Kehayias <john.kehayias <at> protonmail.com>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 62894-done <at> debbugs.gnu.org
Subject: Re: bug#62894: [PATCH core-updates 0/2] gnu: samba: Fix build on
 i686-linux.
Date: Fri, 12 May 2023 20:09:46 +0000
On Tue, Apr 18, 2023 at 12:35 PM, Maxim Cournoyer wrote:

> Hi,
>
> I pushed this to master, fixing the graft at the same time (it was not
> applied to 'samba').
>
> I'll look for core-updates later.

Thanks. Since applied/merged so we're all set.

John





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 10 Jun 2023 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 320 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.