From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 6DQSDaAlgWe8XwAAe85BDQ:P1 (envelope-from ) for ; Fri, 10 Jan 2025 13:50:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 6DQSDaAlgWe8XwAAe85BDQ (envelope-from ) for ; Fri, 10 Jan 2025 14:50:24 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=XEf8cOcG; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=aEp0kxwU; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736517023; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=SM8g482KFgLhNqqUgXoQqmtWc55vg+GHaPMb867TSxc=; b=eJp6BcICGpN3OUkNG5vvo2o3UV4AkjhaTAOc3J+RNRxEkgQJz56SWoVwmUr9iA7yhGv1Yq 7yVb3UVZtrhfUEo1akjilulrympvixlP1qgJnvlffHmg6lxU64BLa9c62tv3gwNUmcOEVL WX8STLX/auIJt2X81ixcRw0hnUYJR88phbSuxaXrUYp6H7CkB8ZJvihgiYXbVMiUsiG48M 0XUhwFnGVO5ZcjiQosRY2EoB4/ZklMQhPDUPKJd0SURjiTIQ4tJwSNcTY63w2ke2LlGhFA VkrA6h4OIAoVEbKfRhddBlWx2gZj0ft/jJCmaUCB4WG2tfdrokno8YuAo+0Brg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=XEf8cOcG; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=aEp0kxwU; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736517023; a=rsa-sha256; cv=none; b=Xw7Fw6q4tTfKqvEEaVCPX4k/jP7TFsBzLM0HnGDZMORBEb/OqBQZGEUPPZkBWakzCEztQF B5RwG6wylT29DfA4Ai0rV17gfP2ZoNOEdbMwUprSKyZsKUGm/de5Ix12fkIQjKUg6KN8ey c3OOtlspmfmScjgReRju+VK5xYAzg3mH15Llra9EG3tOd2rSuVouv59e7VSi+ka7iWxix1 Nr+HYNk1WAp5LbxqzHW3low+vtTSKj3ztgBGNzyOBt5fGu8jxIKESFjSiIq5rqfKkdAWy9 o72VjJ/MTWDAkHYy9EZkEMeRGGSXzG3B7d7sU2tsBr3f2TLYoXdsXR5Jth+4jQ== 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 D977281CA7 for ; Fri, 10 Jan 2025 14:50:23 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tWFOy-0006sa-UL; Fri, 10 Jan 2025 08:50:17 -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 ) id 1tWFOk-0006pB-Rc for bug-guix@gnu.org; Fri, 10 Jan 2025 08:50:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tWFOk-0001Sl-ES for bug-guix@gnu.org; Fri, 10 Jan 2025 08:50:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:References:From:Date:Mime-Version:To:Subject; bh=SM8g482KFgLhNqqUgXoQqmtWc55vg+GHaPMb867TSxc=; b=XEf8cOcGglBlqeMgALFpmhdEwynC2Y4pe2P25aL5dg05gw6X/QCcF/nrrYVoRbaqwgTjcRNbM78znlq3YcggTuMzHSQdqtC24eRDwWDpNlmTKcaS657AAyzToDOIFtFXY6kHHBAdWokRAF3z6HMb3X/U6+9u+DBQIzHb3/ur6uf2c15cKP/NK3YCGHrlxALVKNpk1HxikNiuyrsAvFnUhWgWi9/XwaeMHD0Zb7hvoYWzbZPF9OkI7AAverRW8S/laKeM6sZ+Zwbkk8INNWVvRxw7dcHChbcB4n9yWSqPtCtTh9rPUt117OQSoJz+6aJeBiLak1zmItoFcL3ez6Q0Pg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tWFOk-0002eN-8Z for bug-guix@gnu.org; Fri, 10 Jan 2025 08:50:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#75237: Packaging ghostty terminal Resent-From: "Murilo" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 10 Jan 2025 13:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75237 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "Frank J. Cameron" , <75237@debbugs.gnu.org> Received: via spool by 75237-submit@debbugs.gnu.org id=B75237.173651699510137 (code B ref 75237); Fri, 10 Jan 2025 13:50:02 +0000 Received: (at 75237) by debbugs.gnu.org; 10 Jan 2025 13:49:55 +0000 Received: from localhost ([127.0.0.1]:56769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tWFOc-0002dQ-JW for submit@debbugs.gnu.org; Fri, 10 Jan 2025 08:49:54 -0500 Received: from layka.disroot.org ([178.21.23.139]:34290) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tWFOa-0002dH-VQ for 75237@debbugs.gnu.org; Fri, 10 Jan 2025 08:49:53 -0500 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 3CD0D25C7F; Fri, 10 Jan 2025 14:49:50 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id kbvebCGPmfkl; Fri, 10 Jan 2025 14:49:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1736516980; bh=VBFMyFzQDsLHB5X6GP5CB914XOFd9AdJN/aEOpvXG0U=; h=Date:Subject:From:To:References:In-Reply-To; b=aEp0kxwUsh5fDekGi1Xx5sCS+0Ke+BtFtkz2O7WBAqkDZamvPGor8qP+l+YfncU64 WHzfx/ic+1Qpoxe3k9sJdJoGED06E33J/veCHaFcbEQqbeFeKgkCfCjIF2OXfmLkDG awhxgB9tijFay+bmSDRTnOUtJPIORPbZhOkK/oPI75YMvpJTVDzpVEg+tvD5iSt7rO 8Z4PPRJdDhCZOlLwD294h6aElfIY4Ght8snNe6C/1Zc7vOYQC11e/ovqbNJ2arZRAY z+6zG6KFMzOSLRiRjRmFWeZS0BAB9uHAUV3XSaRPyPAaDBkMNyYjMRMJLQUbfYXL6f N6a5TZs3YGc9Q== Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 10 Jan 2025 10:49:32 -0300 Message-Id: References: <8734i3nsea.fsf@venatores.group> <472b98bc-76c7-41b6-809b-7bc18b460886@app.fastmail.com> In-Reply-To: <472b98bc-76c7-41b6-809b-7bc18b460886@app.fastmail.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: "Murilo" From: "Murilo" via Bug reports for GNU Guix Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -5.77 X-Spam-Score: -5.77 X-Migadu-Queue-Id: D977281CA7 X-Migadu-Scanner: mx10.migadu.com X-TUID: OA4mhGGTpHDH Hi Frank, > error: sub-compilation of libcxx failed > /gnu/store/...-zig-pkgdir-xcode_frameworks-.../include/i386/_types.h:= 48:33: note: typedef redefinition with different types ('long long' vs 'lon= g') > [...] > /gnu/store/...-glibc-2.39/include/bits/types.h:44:25: note: previous = definition is here > [...] > Build Summary: 78/81 steps succeeded; 1 failed (disable with --summary no= ne) I took a glance at the package definition in the link you sent, it seems to= me that this error is caused because ghostty vendors [1] various zig custom bu= ilds [2] from the C sources within its own source repository. What I suspect is happening (again, I didn't try building your package definition to check, I could be wrong!) with this error is the 'unpack-dependencies phase from zig-build-system runs 'zig fetch' in all th= e dependencies and thus replaces all the zig sources in the main 'build.zig.z= on', including the local vendored ones [2], thus you won't get the custom vendor= ed builds from the local source repository [1]. This is why I replaced [3] the 'unpack-dependencies in the %standard-phases= . This doesn't mean we absolutely cannot use 'unpack-dependencies, infact I a= m trying to package it with the 'unpack-dependencies phase, but its proving t= o be a bit hard to accomodate it. The easier option would be to reimplement it and only run 'zig fetch' on th= e packages that we want it to replace, but it would be best if we could use t= he 'unpack-dependency phase from zig-build-system for upstreaming purposes. [1] https://github.com/ghostty-org/ghostty/tree/6ef757a8f85db7a124d37037885= 0339a899c9e65/pkg [2] https://github.com/ghostty-org/ghostty/blob/6ef757a8f85db7a124d37037885= 0339a899c9e65/build.zig.zon#L46-L59 [3] https://codeberg.org/look/saayix/src/commit/b319144fbcd37ce786134cca109= 2946afad8393b/saayix/packages/terminals.scm#L64