GNU bug report logs - #76036
[PATCH] gnu: flatpak: Update to 1.16.0.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: aurtzy <aurtzy@HIDDEN>; Keywords: patch; dated Mon, 3 Feb 2025 23:20:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 76036 <at> debbugs.gnu.org:


Received: (at 76036) by debbugs.gnu.org; 12 Feb 2025 22:11:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 12 17:11:14 2025
Received: from localhost ([127.0.0.1]:38768 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tiKwr-0003wY-Ao
	for submit <at> debbugs.gnu.org; Wed, 12 Feb 2025 17:11:13 -0500
Received: from mail.goritskov.com ([65.108.121.176]:39192)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rodion@HIDDEN>)
 id 1tiKwL-0003ux-UM; Wed, 12 Feb 2025 17:10:43 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=goritskov.com;
 s=04012025; t=1739398059;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=vTbr32shUxp4Yqfx4e0n1f0BXHKSdH3si9J1IGfsU+8=;
 b=jOJ4IGWezvXoVQCouFjL7Sx8nZl1SUMXcRVi9RA9pO/cr1QV38Qa5czoEqs+2Z86YTOiMy
 ElBNK7V+ooVTtYjAH/U+xwspBmU2ewi/lxZNHF4DL/+8mxGbylIsZ7ZRvsIY1Bl51IYPCN
 s0DamsYletJzScTffjqrw9CmDVWVdLo=
Received: from bumblebee-old (port-83-236-30-173.dynamic.as20676.net
 [83.236.30.173])
 by mail.goritskov.com (OpenSMTPD) with ESMTPSA id d897a352
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Wed, 12 Feb 2025 22:07:39 +0000 (UTC)
From: Rodion Goritskov <rodion@HIDDEN>
To: aurtzy <aurtzy@HIDDEN>
Subject: Re: [bug#76036] [PATCH] gnu: flatpak: Update to 1.16.0.
In-Reply-To: <5bfa8c33-8277-49c6-991e-3dee3a5f4986@HIDDEN>
 (aurtzy@HIDDEN's message of "Tue, 11 Feb 2025 23:44:22 -0500")
References: <f3ececec04cc6e6f0213e85dbd0cc3fd3813be18.1738624064.git.aurtzy@HIDDEN>
 <87ikpho08e.fsf@HIDDEN>
 <5bfa8c33-8277-49c6-991e-3dee3a5f4986@HIDDEN>
Date: Wed, 12 Feb 2025 23:10:37 +0100
Message-ID: <87jz9un7aa.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76036
Cc: 76036 <at> debbugs.gnu.org, control <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


user guix
usertag 76036 + reviewed-looks-good
thanks

Guix QA review form submission:
Builds with tests, runs, starts a bunch of programs

Items marked as checked: Lint warnings, Package builds, Commit messages.

Hi!

Today I updated the flatpak'ed Bottles to the latest version - and it
works fine with the updated version of Flatpak in this patch. Don't know
the actual reason for previous problems, but my version of Bottles was quiet old.

All programs I use in Flatpak (Firefox, Bottles, Flatseal and
Calibre) now work fine.

So everything look good to me.

Thank you for the patch!




Information forwarded to guix-patches@HIDDEN:
bug#76036; Package guix-patches. Full text available.

Message received at 76036 <at> debbugs.gnu.org:


Received: (at 76036) by debbugs.gnu.org; 12 Feb 2025 04:44:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 11 23:44:34 2025
Received: from localhost ([127.0.0.1]:60252 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ti4by-00064Y-Dr
	for submit <at> debbugs.gnu.org; Tue, 11 Feb 2025 23:44:34 -0500
Received: from mail-qk1-x72d.google.com ([2607:f8b0:4864:20::72d]:61743)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <aurtzy@HIDDEN>) id 1ti4bw-00064E-C3
 for 76036 <at> debbugs.gnu.org; Tue, 11 Feb 2025 23:44:32 -0500
Received: by mail-qk1-x72d.google.com with SMTP id
 af79cd13be357-7c05dc87ad9so324919985a.3
 for <76036 <at> debbugs.gnu.org>; Tue, 11 Feb 2025 20:44:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1739335466; x=1739940266; darn=debbugs.gnu.org;
 h=content-transfer-encoding:in-reply-to:from:content-language
 :references:cc:to:subject:user-agent:mime-version:date:message-id
 :from:to:cc:subject:date:message-id:reply-to;
 bh=A/DWVqnT4vpoVyLQ1Dzr91JpItb38Tat0jk0D0ObT2c=;
 b=efoHo6//6AiEyqmuO/TsD1zDAp8OkTbqlCMSp0lvScc3oC/ZH9nYENf/BkIlBDkEtk
 Xs2oEqXcs9/k+1KvtWMTlVZ3cFlKL0Kx6DJ1ufRS1pCNdlbhhPj6Esf35lh4czZV4BWR
 afHgCGNpsx/0bzLKNQLgImMRbsJxO9RUroACRIe1WlmrorRhcBFPft9WbXLcc+kpEAXW
 Pvq5MT48MsCqjbeBJnPHQuYEzvUsovOuOU4YEmnHQxHO0A+GLh9wfJBSsHVe7Dy59BcX
 tdnL4WSebq+E1d5qIJfFxxm049WbsCH6jGmbKIsKUAIG4LrOlDWia7YMbhspTNQWmkXp
 h+XQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1739335466; x=1739940266;
 h=content-transfer-encoding:in-reply-to:from:content-language
 :references:cc:to:subject:user-agent:mime-version:date:message-id
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=A/DWVqnT4vpoVyLQ1Dzr91JpItb38Tat0jk0D0ObT2c=;
 b=Kb2G3CzpNp5ozhrOAzzmkreBjmgq0FX6a9haGsERFdu6x2l/6f5iYQ7gwv3YzJ0OUq
 xNPAu58MOoX5Y1r0XCdWxXDUBZj/I6HJBZoaWjaRGkpNdxc4PdKOLdhO2P5mOwuQY/yA
 it4j9S0DWbL/WNu7xxpR8hsROBFC/B2g5Fqvmr4wMr0ofy69BJz0NRSZQCdtc+DDGOae
 awiiQEw4oAJhSlj3SEw/RpNm0njwyGEkS/0e06NXjdjCfAssT6NKCeR9W/u959GfIpt5
 F6XYZnkRErGt7rBFGOROossupL2U1Y50i3BwF7z3Cu812rAxRG+PuoG5N+1CBhZ3hbKK
 Y4aw==
X-Gm-Message-State: AOJu0YzMWS7ke9sOCuxjdnmLjWWtdWW1ltpQnSFhAR+t6td/76Pa9F1X
 eQo5oxPMmbO2oWSKyd95jYSkLpiuzqxFtRgaKlfMj2M1LPiiDYid
X-Gm-Gg: ASbGncsIb+A/a8tvnhh4zjQ5Qilk3VISKmR9wiYZFFBRVXEPuFb4UjNAPbD3upjUYFx
 7rnPG/ow3cbQU3j/ySYq2qY7Mbbd8E9t1lA/IAWCZM5hagRbzBogovcv7FZS00X3ITOtEC1ytd/
 12yssg68cQpK9e+AeKZAEonJC/TQNqHfDiFME616EkxhQap1cb1IU2bl//o7UgQWCKVr/JYwDT5
 /WdBjZ2dsNtVvQE0bMjL5nHvN65zsYLaxs206zGO53TZCDS2ZCHdwPAhb9iuSlE7djTyMWAes7p
 SYuSpJPngEVg3D+jpwlYWJI7
X-Google-Smtp-Source: AGHT+IE78qwmZGv+46lq2FsRMtVjOQ4ys1AxP9b5Dybz11jMkysqj0MscReEmWi8Yy/Mxm2mpyd/Iw==
X-Received: by 2002:a05:620a:4089:b0:7b6:eef3:aeaf with SMTP id
 af79cd13be357-7c06fb9fd24mr276440985a.0.1739335466229; 
 Tue, 11 Feb 2025 20:44:26 -0800 (PST)
Received: from ?IPV6:2600:4808:a053:1800::4448? ([2600:4808:a053:1800::4448])
 by smtp.gmail.com with ESMTPSA id
 af79cd13be357-7c041ded11esm791691985a.19.2025.02.11.20.44.23
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Tue, 11 Feb 2025 20:44:25 -0800 (PST)
Message-ID: <5bfa8c33-8277-49c6-991e-3dee3a5f4986@HIDDEN>
Date: Tue, 11 Feb 2025 23:44:22 -0500
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: [bug#76036] [PATCH] gnu: flatpak: Update to 1.16.0.
To: Rodion Goritskov <rodion@HIDDEN>
References: <f3ececec04cc6e6f0213e85dbd0cc3fd3813be18.1738624064.git.aurtzy@HIDDEN>
 <87ikpho08e.fsf@HIDDEN>
Content-Language: en-US
From: aurtzy <aurtzy@HIDDEN>
In-Reply-To: <87ikpho08e.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76036
Cc: 76036 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hey Rodion,

Thanks for testing! This issue with Bottles doesn't seem to occur on my system; 
does it persist after rebooting?

On 2/10/25 18:20, Rodion Goritskov wrote:
> 
> Hello!
> 
> I tried running the updated version.
> Good news - it builds fine!
> 
> Also tried running flatpak version of Firefox - works fine.
> Webpages are loaded, WebRTC functionality (and screensharing) also work.
> 
> However, I have a problem with Bottles (com.usebottles.bottles).
> On startup I can see the following errors in logs.
> 
>> 00:06:15 (WARNING) Connection status: offline …
> 
> Also, all menus that require network connection are disabled (i.e. I
> cannot download any runners).
> It works fine on the current flatpak from master.
> 
> I found some old bug with the similar problem [1]. Looks like it has
> something to do with SSL cert paths (as per [2]).
> 
> Will try to investigate more if I have time later this week.
> 
> 1 - https://github.com/bottlesdevs/Bottles/issues/2057
> 2 - https://github.com/bottlesdevs/Bottles/issues/2057#issuecomment-1312596839





Information forwarded to guix-patches@HIDDEN:
bug#76036; Package guix-patches. Full text available.

Message received at 76036 <at> debbugs.gnu.org:


Received: (at 76036) by debbugs.gnu.org; 10 Feb 2025 23:21:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 10 18:21:03 2025
Received: from localhost ([127.0.0.1]:52954 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1thd5E-0001Be-3W
	for submit <at> debbugs.gnu.org; Mon, 10 Feb 2025 18:21:03 -0500
Received: from mail.goritskov.com ([65.108.121.176]:37896)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rodion@HIDDEN>)
 id 1thd5A-0001BQ-JD
 for 76036 <at> debbugs.gnu.org; Mon, 10 Feb 2025 18:20:53 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=goritskov.com;
 s=04012025; t=1739229473;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=VUiEs6gRFGG5SIVmAxWUYgavr4pnv3FH6pT8G65WCJA=;
 b=LFXJ5y8R/psr8EMTh7hsRR6TKDUJSHjaLtgA8A9VyfVnzRMQt7xArhFeUBMP5HsOGLMi2W
 e6NfZuTCMgpn6E/VDBMPi9ljdi9zNMHfc0kkX0UYU89ap7VOLtgIcUcaDS5qLYungJ15Az
 Crq4o2OjBjY4yN4fYvfdWYzz/wMnwLk=
Received: from bumblebee-old (port-62-8-189-90.dynamic.as20676.net
 [62.8.189.90])
 by mail.goritskov.com (OpenSMTPD) with ESMTPSA id d960ebe6
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Mon, 10 Feb 2025 23:17:53 +0000 (UTC)
From: Rodion Goritskov <rodion@HIDDEN>
To: aurtzy <aurtzy@HIDDEN>
Subject: Re: [bug#76036] [PATCH] gnu: flatpak: Update to 1.16.0.
In-Reply-To: <f3ececec04cc6e6f0213e85dbd0cc3fd3813be18.1738624064.git.aurtzy@HIDDEN>
 (aurtzy@HIDDEN's message of "Mon, 3 Feb 2025 18:18:06 -0500")
References: <f3ececec04cc6e6f0213e85dbd0cc3fd3813be18.1738624064.git.aurtzy@HIDDEN>
Date: Tue, 11 Feb 2025 00:20:49 +0100
Message-ID: <87ikpho08e.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76036
Cc: 76036 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Hello!

I tried running the updated version.
Good news - it builds fine!

Also tried running flatpak version of Firefox - works fine.
Webpages are loaded, WebRTC functionality (and screensharing) also work.

However, I have a problem with Bottles (com.usebottles.bottles).
On startup I can see the following errors in logs.

> 00:06:15 (WARNING) Connection status: offline =E2=80=A6

Also, all menus that require network connection are disabled (i.e. I
cannot download any runners).
It works fine on the current flatpak from master.

I found some old bug with the similar problem [1]. Looks like it has
something to do with SSL cert paths (as per [2]).

Will try to investigate more if I have time later this week.

1 - https://github.com/bottlesdevs/Bottles/issues/2057
2 - https://github.com/bottlesdevs/Bottles/issues/2057#issuecomment-1312596=
839




Information forwarded to guix-patches@HIDDEN:
bug#76036; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 3 Feb 2025 23:19:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 03 18:19:39 2025
Received: from localhost ([127.0.0.1]:41751 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tf5j4-0006T1-O2
	for submit <at> debbugs.gnu.org; Mon, 03 Feb 2025 18:19:38 -0500
Received: from lists.gnu.org ([2001:470:142::17]:59928)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <aurtzy@HIDDEN>) id 1tf5j0-0006Sg-NE
 for submit <at> debbugs.gnu.org; Mon, 03 Feb 2025 18:19:32 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <aurtzy@HIDDEN>) id 1tf5iu-0007v5-0m
 for guix-patches@HIDDEN; Mon, 03 Feb 2025 18:19:24 -0500
Received: from mail-qk1-x72d.google.com ([2607:f8b0:4864:20::72d])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <aurtzy@HIDDEN>) id 1tf5is-0003U5-38
 for guix-patches@HIDDEN; Mon, 03 Feb 2025 18:19:23 -0500
Received: by mail-qk1-x72d.google.com with SMTP id
 af79cd13be357-7b6eb531e13so280562085a.0
 for <guix-patches@HIDDEN>; Mon, 03 Feb 2025 15:19:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1738624759; x=1739229559; darn=gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=R9M24pi6ZKbOGIYEOU4iqMMXCQsZGHUFRPUqGkICJfI=;
 b=hiRP4N1TqDBe+BaGNwKqsEJ7Ql9ug3WFQI3pk/9XJJX5AxgCzHIpBMCOTc5BfE0HCP
 ONw8wRCFO+Djw9LLqtzCVq9aapjYJmaaieboGQ0QDd4+sybBFz3Op+yN6hwENxpTcAwX
 UUdc4OZ2nnSXli8JeaV2Xd1kDN4wlT403q4WA2tIqiU725J5DhcjcMO3IusUWbtE1lNr
 tsstn7fhR8n/Pvaq3bVhZppHGzTUDEuPIj2fZxU/VJHJqXbiX1R0UZldfL0Xg3FyQnrL
 QJnBfKePAawO3UvxmPDjg9QwI9lzjeBFLjKl5f2q0w+7s4cfn6lhHqjckX+CpJOVBHDy
 AvPA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1738624759; x=1739229559;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=R9M24pi6ZKbOGIYEOU4iqMMXCQsZGHUFRPUqGkICJfI=;
 b=SG9cuR1Ufahjh7LVCliio71PZYnzJkYrDhZAf9f1opiulnOVP6gJO1pQANkaqdjds/
 6vzZZa7xL0cSU3v9sfMHpvDeYmmW6ZAqLHg1YzSoxXiZKD3tvrhQnH9IaaysbkkGY3o7
 YQJ2b3N2WciymaohSc3vTI64sveu21Pei1qqPG1QVqnMsQA2f6yHtIrZV/PKfZozhfy+
 x7RCVASBVO9AZG0crmB70E9Tu6RpG05spHrk2OHh0ElLKgI7s/HmJXWPtQ4+NYTc+E6e
 j2sVAbXrCrzYv5+b18gd72Nhh6Fly4+k4KZrZcrddRMzquy7Iwox8dqIXTa4ZDyjGyfi
 NCFA==
X-Gm-Message-State: AOJu0YwQA5raUHRyqQhMMgqeKEFnv57sg3XP1KrdTEtPB7HL2QaTRsBH
 +Pr9FEbSnfFPJfXN4/nsZLbfgdRfwlQb9mA5SmjC24MXRSTfFP+jSSJCBA==
X-Gm-Gg: ASbGnctSFAbdHqRxuVugzr4l7v5RCVNWG7UnPchinRjc9eHFJfjWezyTNOMoauaRupq
 7GVaAOCVVygn7s6f3FGsRbePnRKvBLHUXau6UlhBO3eoqDCmncdQLccPTSlguRJm52Utz0T61Hn
 6rTN1BHHBe7SIB9vPymuXbc3VstUUXjWy8VfcpBSPTbbPexyolahtJDrcUCdrWotsdDk7dXlete
 hpO96FAgTHgfFmwbCVk7JFjfBojpMNJ9GDWlmXTkNUjgaBfg/JkmW46kmyVD8QUjqAD0Lzgye3z
 r4GFdyLsMA==
X-Google-Smtp-Source: AGHT+IFmH9uVY8cOo3ZW/uBm72pVJl/Vxkl7qX/CTI/Oo8wU5Izm/w9NjmA35lZ/D3jZpohZhQGDnA==
X-Received: by 2002:a05:620a:1d0e:b0:7b1:4f5c:a3a3 with SMTP id
 af79cd13be357-7bffcda0a4fmr4002396485a.56.1738624759349; 
 Mon, 03 Feb 2025 15:19:19 -0800 (PST)
Received: from localhost.localdomain ([2600:4808:a053:1800::4448])
 by smtp.gmail.com with ESMTPSA id
 af79cd13be357-7c00a9205f4sm579269385a.114.2025.02.03.15.19.17
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 03 Feb 2025 15:19:19 -0800 (PST)
From: aurtzy <aurtzy@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: flatpak: Update to 1.16.0.
Date: Mon,  3 Feb 2025 18:18:06 -0500
Message-ID: <f3ececec04cc6e6f0213e85dbd0cc3fd3813be18.1738624064.git.aurtzy@HIDDEN>
X-Mailer: git-send-email 2.48.1
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=2607:f8b0:4864:20::72d;
 envelope-from=aurtzy@HIDDEN; helo=mail-qk1-x72d.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
Cc: aurtzy <aurtzy@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

* gnu/packages/package-management.scm (flatpak): Update to 1.16.0.
[build-system]: Switch to meson-build-system, which is now the recommended
build system upstream.
[arguments]<#:configure-flags>: Use equivalent options for meson.
<#:phases>: Enable running more tests, disabling a select few in new
'disable-failing-tests phase.  Remove 'check phase override.  Add
'pre-check phase.  Add 'wrap-flatpak phase so GIO can still find TLS backend
with the build system change.
[native-inputs]: Add gtk-doc.
[inputs]: Add bash-minimal.

Change-Id: Iacf5c527e7a1cce7f418cecf73bb89018fcec71e
---

Hi!

Meson is now the recommended build system for Flatpak [1], so I have had a go at
making flatpak use meson-build-system in this patch.  Most configure flags had
one-to-one equivalents, but there were two exceptions:
1. The --with-curl option doesn't seem to have an equivalent meson option, but
   there is an http_backend option that already defaults to "curl"; perhaps this
   can be simply dropped?  This patch drops it with no noticeable issues,
   although I'm not sure what I'd test to make sure.
2. The --enable-documentation option also has no equivalent.  I wasn't sure what
   the FIXME comment was specifically referring to (git-blamed commit didn't
   have context), but adding gtk-doc appears to enable generating documentation
   just fine; would this be considered a fix?


According to the issue that led to using glib-or-gtk-build-system [2], there was
a TLS problem that was fixed by including GIO modules from glib-networking.  My
system didn't exhibit any sort of behavior related to this while updating
flatpak though (i.e. still worked without wrapper), so I'm not sure what the
correct course of action is for this or if there'd be breakage on other systems.

I opted for a wrap-program to include glib-networking in GIO_EXTRA_MODULES in
case the issue still applies.  Note that this ignores some other GIO modules and
XDG_DATA_DIRS directories that glib-or-gtk-build-system had additional wrappings
for.

[1] https://github.com/flatpak/flatpak/blob/main/CONTRIBUTING.md

[2] https://issues.guix.gnu.org/34861

Cheers,

aurtzy


 gnu/packages/package-management.scm | 52 +++++++++++++++++------------
 1 file changed, 30 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index 2beb442451..1b2a3d9309 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -25,6 +25,7 @@
 ;;; Copyright © 2023 Mădălin Ionel Patrașcu <madalinionel.patrascu@HIDDEN>
 ;;; Copyright © 2024 Arun Isaac <arunisaac@HIDDEN>
 ;;; Copyright © 2024 Zheng Junjie <873216071@HIDDEN>
+;;; Copyright © 2025 aurtzy <aurtzy@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2037,40 +2038,42 @@ (define-public libostree
 (define-public flatpak
   (package
     (name "flatpak")
-    (version "1.14.10")
+    (version "1.16.0")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "https://github.com/flatpak/flatpak/releases/download/"
                            version "/flatpak-" version ".tar.xz"))
        (sha256
-        (base32 "1k91v0csghiis8gjpcvpx534qbyaj81dfisabbc0ld97h68cggbb"))
+        (base32 "0ajbz8ms4h5nyjr59hv9z8vaimj4f3p51v8idmy14qnbmmjwa2nb"))
        (patches
         (search-patches "flatpak-fix-fonts-icons.patch"
                         "flatpak-fix-path.patch"
                         "flatpak-fix-icon-validation.patch"
                         "flatpak-unset-gdk-pixbuf-for-sandbox.patch"))))
-
-    ;; Wrap 'flatpak' so that GIO_EXTRA_MODULES is set, thereby allowing GIO to
-    ;; find the TLS backend in glib-networking.
-    (build-system glib-or-gtk-build-system)
-
+    (build-system meson-build-system)
     (arguments
      (list
       #:configure-flags
       #~(list
-         "--with-curl"
-         "--enable-documentation=no" ;; FIXME
-         "--enable-system-helper=no"
-         "--localstatedir=/var"
-         (string-append "--with-system-bubblewrap="
+         "-Dsystem_helper=disabled"
+         "-Dlocalstatedir=/var"
+         (string-append "-Dsystem_bubblewrap="
                         (assoc-ref %build-inputs "bubblewrap")
                         "/bin/bwrap")
-         (string-append "--with-system-dbus-proxy="
+         (string-append "-Dsystem_dbus_proxy="
                         (assoc-ref %build-inputs "xdg-dbus-proxy")
                         "/bin/xdg-dbus-proxy"))
       #:phases
       #~(modify-phases %standard-phases
+          (add-after 'unpack 'disable-failing-tests
+            (lambda _
+              (substitute* "tests/test-matrix/meson.build"
+                ;; The following tests fail with error message related to fusermount3
+                ;; failing an unmount operation ("No such file or directory").
+                (("^.*test-http-utils.*$") "")
+                (("^.*test-summaries@HIDDEN*$") "")
+                (("^.*test-prune.*$") ""))))
           (add-after 'unpack 'fix-tests
             (lambda* (#:key inputs #:allow-other-keys)
               (copy-recursively
@@ -2101,20 +2104,24 @@ (define-public flatpak
                      (store (dirname out)))
                 (substitute* "icon-validator/validate-icon.c"
                   (("@storeDir@") store)))))
-          ;; Many tests fail for unknown reasons, so we just run a few basic
-          ;; tests.
-          (replace 'check
-            (lambda* (#:key tests? #:allow-other-keys)
-              (when tests?
-                (setenv "HOME" "/tmp")
-                (invoke "make" "check"
-                        "TESTS=tests/test-basic.sh tests/test-config.sh
-                        testcommon")))))))
+          (add-before 'check 'pre-check
+            (lambda _
+              ;; Set $HOME to writable location for testcommon tests.
+              (setenv "HOME" "/tmp")))
+          (add-after 'install 'wrap-flatpak
+            (lambda* (#:key inputs #:allow-other-keys)
+              (let ((flatpak (string-append #$output "/bin/flatpak"))
+                    (glib-networking (assoc-ref inputs "glib-networking")))
+                (wrap-program flatpak
+                  ;; Allow GIO to find TLS backend.
+                  `("GIO_EXTRA_MODULES" prefix
+                    (,(string-append glib-networking "/lib/gio/modules"))))))))))
     (native-inputs
      (list bison
            dbus ; for dbus-daemon
            gettext-minimal
            `(,glib "bin") ; for glib-mkenums + gdbus-codegen
+           gtk-doc
            (libc-utf8-locales-for-target)
            gobject-introspection
            libcap
@@ -2126,6 +2133,7 @@ (define-public flatpak
     (inputs
      (list appstream
            appstream-glib
+           bash-minimal
            bubblewrap
            curl
            dconf

base-commit: 6964f7ad3481461cbb3256dd87e88ebcb3356f21
-- 
2.48.1





Acknowledgement sent to aurtzy <aurtzy@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#76036; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 12 Feb 2025 22:15:02 UTC

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