From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id oNCbB5aAT2XoIwAAG6o9tA:P1 (envelope-from ) for ; Sat, 11 Nov 2023 14:24:38 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id oNCbB5aAT2XoIwAAG6o9tA (envelope-from ) for ; Sat, 11 Nov 2023 14:24:38 +0100 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 EEE7733F14 for ; Sat, 11 Nov 2023 14:24:37 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elenq.tech header.s=protonmail2 header.b=NT1CkahC; dmarc=fail reason="SPF not aligned (relaxed)" header.from=elenq.tech (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1699709078; 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: 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=PB4rSJXF5TJs2ocn87XZ+pyyPufzz85OwZdii6Lhouw=; b=aCdTolxRwnNEAWnMsniWHEDykDFoMYdMiz7SzuE1uTt46D9UXDvUUthfyHp5OU3z2WSe5U oorNk+nUqUCgBw4U2NZMihhfCzZclssMlSNicS6SPub/vFJzgGEwCHTs3mL31oiGwF2NVL Ze8yG/jM0f8ZAVkyBKuSZ9uQT5Gd0dnSutJvFiRxOJhmaJqLifi5ukfpLLyWWpm9W/Pddt DpC0fIOdqiTEGeq6QXTg2eOaH9xcZUuJuPaN8Pp0ztAfeCiMBrdQhVbegwfj0HsPicu9qq Botq4wjinW39o700x14xUJZIEsXjRGozoaJ7QwrbhgNFh9YNAqxNiAZerQqj+A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elenq.tech header.s=protonmail2 header.b=NT1CkahC; dmarc=fail reason="SPF not aligned (relaxed)" header.from=elenq.tech (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1699709078; a=rsa-sha256; cv=none; b=JaxXnmn+lkGJGKmCodf0WYLN2RLeZqu5S1Qw/KmlLuajRCiJSLgemqi4IprzP7XMPzTce6 YN4sCnign514rbcrq2BMEB1bejd9Zp2BPUQVKPUtJQbQa5kYhcBRoGxlTWqg39kMnWj8ZB itlw93onHAGefGqUvoycG3UPH/yOqc2xu/UXNd71vCpu5PHPXAB32Uzrwf/S+FZ0Mdu/rC +zKcLV8FO3eeww2n96Kqiy091P+mL3uMpOrQn8vfeq42T6ikTIOqmlnBQvorIZuqsZR0fh 7R4v6CgLZfhE8WNd54424tRMjsrohtyefQKiMuQ5mV5S8/e7AD3DAlgQnepi9g== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r1nyK-0004iP-6v; Sat, 11 Nov 2023 08:24:24 -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 1r1nyI-0004iD-Po for bug-guix@gnu.org; Sat, 11 Nov 2023 08:24:22 -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 1r1nyI-000616-Hw for bug-guix@gnu.org; Sat, 11 Nov 2023 08:24:22 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r1nyw-0006Dd-G5 for bug-guix@gnu.org; Sat, 11 Nov 2023 08:25:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#66699: zig: fail to link SDL2 Resent-From: Ekaitz Zarraga Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 11 Nov 2023 13:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66699 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: =?UTF-8?Q?Nguy=E1=BB=85n?= Gia Phong Cc: 66699@debbugs.gnu.org Received: via spool by 66699-submit@debbugs.gnu.org id=B66699.169970908223865 (code B ref 66699); Sat, 11 Nov 2023 13:25:02 +0000 Received: (at 66699) by debbugs.gnu.org; 11 Nov 2023 13:24:42 +0000 Received: from localhost ([127.0.0.1]:52318 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1nyb-0006Cr-NU for submit@debbugs.gnu.org; Sat, 11 Nov 2023 08:24:42 -0500 Received: from mail-4317.proton.ch ([185.70.43.17]:20505) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1nyY-0006Cd-Np for 66699@debbugs.gnu.org; Sat, 11 Nov 2023 08:24:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail2; t=1699709031; x=1699968231; bh=PB4rSJXF5TJs2ocn87XZ+pyyPufzz85OwZdii6Lhouw=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=NT1CkahCnX38AJ/KPA0AYGOmkANNWZWTxr5kOg/Zaio9W8wEhrihHc7NwtmxkD+6A DSFPadDtW90xCpvDP81y/R4Pj9EVCl8FrIJrKbDyCYGrGRVkY5TktvdOQotSL8uwHI GGKuTJMDMpBNbkfLI9FaCS6OqOuMsobpFMpR9lRcWp1T6588k1OM2zXYe0Not+iuul L/xqUkxoWifi2HLT1AzrHqiH9B8FIRgIPGdux7zY2G4dMFnixvUOADGHXRykLHQpHp agTDsChO9fL4IGFOq/TwJMGH/R6GkLmbUJ+BsYwKXXzAO+JNaDJsM8RJ6XtysXhQ9X ch4+NUCFYM3Uw== Date: Sat, 11 Nov 2023 13:23:33 +0000 From: Ekaitz Zarraga Message-ID: In-Reply-To: References: Feedback-ID: 3263582:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 2.93 X-Spam-Score: 2.93 X-Migadu-Queue-Id: EEE7733F14 X-Migadu-Scanner: mx10.migadu.com X-TUID: rpFvQfVOt5lp Hi, I tracked this pretty far: This is a related issue that mentions the `mepo` package: https://github.com/ziglang/zig/issues/12170 And I realized the problem comes from `pkg-config`. It's telling zig to use= the static library first. Removing `pkg-config` from the `native-inputs` in your proposed package mak= e it build but the `runpath` validation phase fails. I'm not sure about what to do now. In the issue the people working on freebsd-ports mention they did this: https://github.com/freebsd/freebsd-ports/blob/16ada4d8d14a222bd92c4bf332d28= b7c604af457/astro/mepo/Makefile#L31 But I don't know if we can replicate that. I'll keep researching on this a little bit further. Best, Ekaitz