From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6O8BHOPaDWMuyQAAbAwnHQ (envelope-from ) for ; Tue, 30 Aug 2022 11:39:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MAW+G+PaDWPQOwAAauVa8A (envelope-from ) for ; Tue, 30 Aug 2022 11:39:47 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EF0C51AD42 for ; Tue, 30 Aug 2022 11:39:46 +0200 (CEST) Received: from localhost ([::1]:56694 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSxij-0003li-MH for larch@yhetil.org; Tue, 30 Aug 2022 05:39:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44048) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSxiY-0003lX-5l for guix-devel@gnu.org; Tue, 30 Aug 2022 05:39:34 -0400 Received: from nomad-cl1.staging.muradm.net ([139.162.159.157]:49588 helo=nomad-cl1.muradm.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSxiW-0005lW-Cw for guix-devel@gnu.org; Tue, 30 Aug 2022 05:39:33 -0400 Received: from localhost ([127.0.0.1]:43364) by nomad-cl1.muradm.net with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1oSxiT-00017d-1n; Tue, 30 Aug 2022 09:39:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=muradm.net; s=mail; h=Content-Type:MIME-Version:Message-ID:In-reply-to:Date:Subject:Cc:To :From:References:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=YEjnq7J9GS5uEdqGn+lCEcyy796/16zwVO6DnMQG3Jg=; b=vmbpoQr29shT8e24jD0Kf4Xdx2 18SVo8z26DsiFqkQqsg0AwxpTFGshACMXJ28Z8Tyg9r6vf1W3Zr9IgUHl+KHJji9/MTT5omYcPVtb q6HGusbaF0O1zO4d/hqhBAt2awdTwUPHCjICiEpCIX8eIEH5eisxQCUwZJnVsXEkH7Rt8uYIQ2TPi LX3a9PrPc0KlZ8XuY9OB0Wbg3Q0B7UElOtkAiqHMmwhJsURG4NnsnVJiRhs8qOsyDyS0hLVevcxNA bPvWNDtgFgFBS56gAxtYJIb3k0uFvXwBBDlSoeha4iHxvxPC1nZ2J4I3jJAO7outykkOlU6lEtw+H 46xzjErgGzzrAh1A/iW3NvOm0uylBOdZCM9imB6Dao6wXhSR+V9W7GEYRY3fJnPxEqDjc5upe0K4x HsdXusdeaXz5QyWcbLMgtS1YTf7w3hmRFTU/P+zUsjtQR0zPnlmD7QgPBe0kCkOQhSnJcpGEuaw9l MdkYQlfYkNd63AwvycOURLms; Received: from muradm by localhost with local (Exim 4.96) (envelope-from ) id 1oSxiU-0000p6-0d; Tue, 30 Aug 2022 12:39:30 +0300 References: <8735dem965.fsf@muradm.net> User-agent: mu4e 1.8.9; emacs 29.0.50 From: muradm To: Maxime Devos Cc: guix-devel Subject: Re: usage of basu as requirement for sd-bus Date: Tue, 30 Aug 2022 12:27:03 +0300 In-reply-to: Message-ID: <87tu5ukr3i.fsf@muradm.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=139.162.159.157; envelope-from=mail@muradm.net; helo=nomad-cl1.muradm.net 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661852387; h=from:from:sender:sender: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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=YEjnq7J9GS5uEdqGn+lCEcyy796/16zwVO6DnMQG3Jg=; b=MHqAp7gMlUZYLg2t3Mg5hNJwB80YeMh7KL+2ebhK2q6xqVQi+1g31AbwELT0juIX5raOaU zNZEy/6GnLoQSuBt06V24t+pffzHrdPGwFRY1IcS97yfhWEBZoiP3IHPfGqLXGG7Q/SPs6 nEY0rRxNtxZ7aaFkjhuWQx5zMthVk3hRHt2g9vxyR1UzKhSPO02MFWkjOYCHMofuk1wwIb U4Kg1S389qBZKoi2qPo284bE8cICP33i8yeSV9kCbcPCFbfgc9EEmSm9pNifpHyS+3+y83 EWr33r/25qeSjAFPcCV5FQik2HLyAjJv657Ldv8cUY5M8G/9Y/qbQ7nto5hKww== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661852387; a=rsa-sha256; cv=none; b=Stw5Nsu4o6JOs9Imse4najU6HswH9kYGKDpR+ZYZ5/sgZSu+sgB7fP++p2yEP7LWuNIVbb WmvBZnVO+g3ss8ZvLLJgM72h0+gCwTjKqY+YjdWwQBdurb4PTX+ibwcUUquBHfd0JjXpnU qkkRi196jS+Ehk/PUfFfWEWztlohv9w3ErRks9HVZlJkIe5XmmxaWK6SP4ixRdnHN74GE1 kPj3w0VWYblMbZJ9dvzVCt4CzqoQ7TlDKDGjHIFUMwIUsnJkKGIK5Tna4zTfo4o6SFVyDz W2gHkrZQ2Qne1DA1RZjXCLACrCaaKkxER2tHgGVSGxTAk987h1Yup2EMX/IzxQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=muradm.net header.s=mail header.b=vmbpoQr2; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.99 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=muradm.net header.s=mail header.b=vmbpoQr2; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: EF0C51AD42 X-Spam-Score: -0.99 X-Migadu-Scanner: scn0.migadu.com X-TUID: mAjgf55d+Jbl --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Maxime Devos writes: > [[PGP Signed Part:Undecided]] > > On 30-08-2022 09:59, muradm wrote: >> >> Hello, >> >> basu is sd-bus library extracted from systemd. >> >> Currently, there are two packages depending on it, >> which are mako and grimshot. >> >> In https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D56859, >> I suggest switching xdg-desktop-portal-wlr to basu. >> >> In very same issue, Maxime asks to discuss switching >> _all_ dependents of elogind to basu. >> >> [1] Some elogind dependents, like wireplumber, as per >> code depends on sd-login.h also in module-logind.c. >> While I have wireplumber-without-elogind locally, >> I don't propose switching it basu, because someone >> may want module-logind.c to work. >> >> [2] Currently there are 1461 packages depend on elogind. >> First, all of them should be analyzed if they do use >> sd-bus only, those can be switched to basu. Then >> those using more than sd-bus should be analyzed if >> elogind is missing would their functionality be hurt. > If these problems are like [1], then IIUC these problems would > manifest as build errors. Checking for build errors is=20 > relatively > simple by pushing to a separate branch first, evaluating it on > ci.guix.gnu.org and checking for new build failures. Not necessarily, simple ifdef or alike will silently drop anticipiated functionality. Software will build without errors but functionality expected by users might be missing. >> Because of [1] and [2], I find it not feasible/not >> possible to blindly switch _all_ dependents from >> elogind to basu. >> >> Do I miss anything else here? > > IIUC, everything using basu also works fine with elogind (*), so=20 > the > 'status quo' of still using elogind (for old and new) seems=20 > harmless > to me (except for size -- basu is smaller). I don't find the "everything using basu also works fine with=20 elogind" statement/assumption/guess correct, as per contents of elogind and basu. See above comment for ifdef thingy. > > As far as I know, the benefit of 'basu' is using less storage=20 > (**).=C2=A0 > If most dependents are switched from elogind to basu, then this > benefit can be fulfilled. But if we just do a mix of elogind and=20 > basu, > then we have both elogind and basu in the store, _increasing_=20 > the > storage footprint instead of lowering, which is the opposite of=20 > the > goal of lowering storage usage. > > As such, assuming that lowering the storage footprint was your=20 > reason > for switching to basu, I think we should either try switching=20 > _all_ > packages to basu or keep using elogind and add elogind instead=20 > of basu > to new dependents. > My intention is not to have something that is not used. Roughly,=20 if elogind is not used, why should I have it on my system. Basically, elogind provides: elogind, loginctl, busctl, libelogind (sd-bus,=20 sd-login ...) ... basu provides: busctl, libbasu If basu is enought for package it should dependen on basu IMHO. So my reason is not directly-storage-only, but dependency which impacts storage in some or another way. Btw, how much storage are we talking about when having some packages depend on elogind and some on basu? Is it user storage or build server/substitute storage concern? > Greetings, > Maxime > > (*) This is an unverified guess. If disproved, my reasoning=20 > becomes a > lot weaker. > (**) This is just a guess about what your goal was, maybe you=20 > had a > different reason in mind. E.g., basu seems to be more active=20 > than > elogind. > > [2. OpenPGP public key --- application/pgp-keys;=20 > OpenPGP_0x49E3EE22191725EE.asc]... > > [[End of PGP Signed Part]] Thanks in advance, muradm --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEESPY5lma9A9l5HGLP6M7O0mLOBeIFAmMN2tEACgkQ6M7O0mLO BeKDpg/8C/NeZhq29R59cOe0sRxXJpn11fveFSxG+p1bJrRwInQOF7gfWbx3QXTr yJpp/9GSJby+tWGFOR6e2rCDvcal13avwzB1Y2pCSd0OddIzpTtNWA4H7gngJ77Z jMvrmWHlmNqae8RtvniObJES2uxRXUFTX0E0EivmCgMdPWRTjggB0cnakyt5jOwc EO4Nz5e7xbWc/+Di6seQRTUhoGVaYldll6gLt6bfju6iBmlIJfqu4x2W06avmhgo rKbISoGV+3shTWo+SWdbhhQR2iVRaA4IumHOFG3RYf5EDxvD+MoMPda/+Dg/CiTM iHqhRCyf6mevTHCCKxNRnaPC2w4/ImZn2gwQkiljg0VLOmoc/bifN4X/etW/E3ei DmmZIqn/Uods4Wcc9tCM/UYzy8Md1JerYKM1/vbLflWID/F2y06U7Mf/EU5Po9q1 UTvJ6qrR3VCSYMfiVgSC61CUXMCaVD8dAsjCi4kV62QuWlZfihguRg5GzOisB1fs BSjNb6MVw+WdJqG1ZgvNPBcjetIUJDlOXz/1TM3WZ6gCTuXtuJNqaxJPMAkvAQTy icWPueGjUQ3eYPD8ET/T8GCnUfQBdYmCwfus+yYQoMi8n0TlTKh34JNOlmk9RkL4 tXd3nJKslHdelrXzH6SmvGqbR8gyCnn696o0E54MRD0culZTVOw= =Gc6+ -----END PGP SIGNATURE----- --=-=-=--