From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C35DB158093 for ; Sun, 3 Jul 2022 13:04:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A449BE07D1; Sun, 3 Jul 2022 13:04:30 +0000 (UTC) Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 918D9E07D1 for ; Sun, 3 Jul 2022 13:04:30 +0000 (UTC) Received: by mail-pf1-x433.google.com with SMTP id f85so2853908pfa.3 for ; Sun, 03 Jul 2022 06:04:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:date:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding; bh=NijnoEjCMCVSyxzYvYHqQh88Be6kjvAvxgJnxQTFRDQ=; b=nAxRi/fL5hgp19SxUrgMyWbiwrW5B1eQsD1QqHBJMwNYMkF8Hl6DXQnTK7nUtpbYuJ iw1+7AFyaCbQF+V5k8FkmdQibPlqEyB6cXmm5GRXreT7UkLTWVhF7+aerIGz2kwHZ7+F 0DwBA48Lja8VGirzKTc8vBI+fLOJynEPSk3rszPezinpO0he6KYoIq2a5/VvySnXQyXf 94UUt6K/qB0TeHK3Kb9Vsdnj/sPdAgZYomldfrivzMCKr1gFjXWk1SKZjWcHI2a8v2R9 CfeQlqCj+69tEVtMMFD5jdjBzE2nC2yHeIe523f644wmWk5MhkeHZWDRgf0zHp76lKui 0wHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:date:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding; bh=NijnoEjCMCVSyxzYvYHqQh88Be6kjvAvxgJnxQTFRDQ=; b=ICF00oGOueWIWjD60Oxczolsmh0W9v3nEt12TUqUIA35GcbDChR2mEeV35NQNcVAI1 kAxDl9HGi3gEqPYGF0do8KZ/W0m6Oy9lyyXB6tRI9lIsocjgvEY23a2AjTINEVBchOdl rWZQd3u6ZCBEif7DYNLhR/YIqePnI7qmLlrpo5eNLAMtsDotRxwHiKaQtq5d4r6QRR0c 2mkLzvfWd03OWN3bAs7eq8nJ1iVYAaPdZ4g+XsTHWpf9c99BhCjPKiaAKEWNerga7fmv qGhS50Wt4A39+WN9uNcbGMIgd6NUMk5keQBNPEmT3zIFUdkCLhtkyPcQVttZOfn5f1zJ McEA== X-Gm-Message-State: AJIora/OzRBXfawW7+sHaP591/of2WcTG1F8igqn/Pqsp6pzLWzS+2Vg ziiRuy516lQRKRmSimxVIAPQ0V8IBmMx/g== X-Google-Smtp-Source: AGRyM1tNqpLPI1cQKs5B5wB0kuxOlmE81oK2gwIx9YiDQUY8okimR9oX1ZIcK+33hfAtSVkq1f4dvA== X-Received: by 2002:a63:6dcf:0:b0:40c:a2b5:3480 with SMTP id i198-20020a636dcf000000b0040ca2b53480mr20672930pgc.203.1656853469468; Sun, 03 Jul 2022 06:04:29 -0700 (PDT) Received: from gmail.com ([43.252.250.160]) by smtp.gmail.com with ESMTPSA id f11-20020a62380b000000b0051829b1595dsm19128256pfa.130.2022.07.03.06.04.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Jul 2022 06:04:29 -0700 (PDT) From: listout X-Google-Original-From: listout Date: Sun, 3 Jul 2022 18:34:26 +0530 To: gentoo-soc Cc: sam , dilfridge Subject: [gentoo-soc] Week 3 Report for Musl support expansion to support GNOME desktop Message-ID: <20220703130426.zlzk74l3scmaxkug@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-soc@lists.gentoo.org Reply-to: gentoo-soc@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Archives-Salt: 9f9e658e-debd-4174-b1fb-56068c2852a8 X-Archives-Hash: 93532a895a8d6f9aa794c3862aa744d3 Hi folks Week 3 of Google Summer of Code 2022 has come to an end, and with that, I’m here with my third weekly report. I’ve made quite some progress in getting GNOME desktop on musl profile. First off I now have, in fact, anyone can have the GNOME desktop with musl on Gentoo Linux. The installation of the full GNOME desktop on musl was quite uneventful. I didn’t come across anything that would require patching. However, one thing I’ve noticed is that GNOME on musl doesn’t seem to work very well with -wayland flag turned on globally. So if you do plan on running GNOME on musl, make sure to have +wayland. Other than that I don’t think there’s much to add. On the other hand one can now install MATE desktop, which comes very close to GNOME 2, on musl too. It was a part of my proposal, and with a couple of spare hours at hand, I decided to try to emerge the mate meta package. I did face two issues which are patched [1][2] and one of the patches has been submitted upstream[3]. The two packages that needed patching for getting MATE to install were mate-power-manager and mate-sensors-applet. The package mate-power-manager needed two patches, the header file execinfo.h is not available in musl and hence need to be surrounded in include guards so that it’s only included in ulibc and glibc systems, secondly there were some debug backtrace functions that too needed to be run on only ulibc and glibc system hence similar to the execinfo patch, I surrounded those instances of the function in include guards. Funnily, the mate-sensors-applet package needed some include guards to be removed. There were include guards around stdio.h and local.h, for some reason the `ifdef` condition around local.h was getting evaluated as false on musl, resulting in local.h not being included which in turn resulted in the build failing. A similar issue was reported earlier[4] but was unfortunately never patched. However, I didn’t get much time to test MATE desktop so some run time bugs can be expected. For the next week I’ll begin testing MATE and maybe setup GRS so that other people and mentors can reproduce my environment easily (thanks to blueness). Hope this is a concise report for Week 3. I’ll update the blog as soon as the blog site comes up again, it’s down for now. Till then, see ya. [1]: https://github.com/gentoo/gentoo/pull/26198 [2]: https://github.com/gentoo/gentoo/pull/26197 [3]: https://github.com/mate-desktop/mate-sensors-applet/pull/128 [4]: https://github.com/mate-desktop/mate-sensors-applet/issues/123 -- Regards, listout