From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aCwQLpJR/GAICgEAgWs5BA (envelope-from ) for ; Sat, 24 Jul 2021 19:44:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id OEkZKZJR/GDABgAAB5/wlQ (envelope-from ) for ; Sat, 24 Jul 2021 17:44:50 +0000 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 0EE831BB9B for ; Sat, 24 Jul 2021 19:44:50 +0200 (CEST) Received: from localhost ([::1]:54774 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m7Lhh-0004vu-0a for larch@yhetil.org; Sat, 24 Jul 2021 13:44:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7LhW-0004t9-Jb for help-guix@gnu.org; Sat, 24 Jul 2021 13:44:38 -0400 Received: from freeshell.de ([2a01:4f8:231:482b::2]:46322) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7LhU-0000Ag-B6 for help-guix@gnu.org; Sat, 24 Jul 2021 13:44:38 -0400 Received: from localhost (cst-prg-19-171.cust.vodafone.cz [46.135.19.171]) (Authenticated sender: wz) by freeshell.de (Postfix) with ESMTPSA id 1A1C4B2C24C2 for ; Sat, 24 Jul 2021 19:44:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freeshell.de; s=mail; t=1627148671; bh=Ng6yqhhIfuvdBmJie9oFWTR1kCs2yKhcrSpuo1h/z6c=; h=Date:From:To:Subject:References:In-Reply-To:From; b=kBMzW3dKku39Mp+eOKaQ0AQt0/XdPvjvOxQ2+TgO7WRxhaDAbaH8+DEFmCVsq02BV nkp9vXl+FOvs9oO+DQSYWtw5Wq/u4Kr3N+Qb12xyNWIC9k5LlcsGam4UyYRCcXq4lX JzzuNjvTNY0nZoIVwg0tgW+20/HQ7pctla92bPiU= Date: Sat, 24 Jul 2021 19:44:30 +0200 From: Wiktor =?utf-8?Q?=C5=BBelazny?= To: help-guix@gnu.org Subject: Re: Packaging hwinfo Message-ID: <20210724174430.pqcwdndxqljm34bl@wzguix> Mail-Followup-To: help-guix@gnu.org X-PGP-Key: https://freeshell.de/~wz/pubkey.asc X-PGP-Fingerprint: BDC9 74CD D9C9 BA7D 761A 573D C735 A8C6 AB60 79D5 References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="yrnvur5s2yu6usac" Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=2a01:4f8:231:482b::2; envelope-from=wz@freeshell.de; helo=freeshell.de 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_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1627148690; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=Ng6yqhhIfuvdBmJie9oFWTR1kCs2yKhcrSpuo1h/z6c=; b=CebyZ5ygc/bKF6wYThPqbOhwQbOVCodG7H2fggukQFqGjz7nhhkl2N1SO/xRE9NbuiY5m9 JO8Ciuv/9ym1H1vuttP3DV9Eu8hrG2uq2/oBIJ7mQuhL92aXR+k5wIS2UPhAP8N1GV35KL M6P8vJUx80hPRRvwGO5uD6hFgyvahnpJDwTMQ1FwZYrNpPegATm+EkIH6kkPzR82b4BWya U+H+X7+KgmAnsmsoxF+qemFrRX2sNJW8//8fewP/qDbFgKzRSVQassoAzonTXu+hun/isu 8ZSW9nX3K8u813f1TzVL78yQZT9Y0HyESva24UcmHpwGgXbseWO7SFIEH+kaAg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1627148690; a=rsa-sha256; cv=none; b=g9Ee5i3zlxjX6Fvq51m35qkNc/2PGNwnMzRQpM92LXKMXwPBUJIJ2MPoIUViRTKLeFEkdj XqxUz1JUzWBVBJ/71fAKXZWYaz1qdjkIkp7dqJA2IXf3MrNEPvTLsuHWCmghg7X92JeuYB ATnWMIVluKoFxD5ZBIfvOMHwMW6WGfu5dBWezugIxVh8KMS1BD3g1ttKbLGTs0zHu/Klda zeOwQjB1ZKqHdhHuHncJqLRaPrBGh9wkUKpg11JLx09zCMMx4zU1DoEGQWJy26VSuO4hPq 7V0COHJ637/uLLQYQORwgczMPfIICXHa5KT9m34ubbd6Nrumy2gLHSuaG9RlRg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=freeshell.de header.s=mail header.b=kBMzW3dK; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -4.72 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=freeshell.de header.s=mail header.b=kBMzW3dK; dmarc=pass (policy=none) header.from=freeshell.de; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 0EE831BB9B X-Spam-Score: -4.72 X-Migadu-Scanner: scn1.migadu.com X-TUID: m2riQr+FBn+z --yrnvur5s2yu6usac Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 24, 2021 at 03:56:33PM +0000, phodina wrote: > The issue I'm currently facing is that the libhd which is inside the > repo is not detected by Makefile: > > starting phase `build' > gcc -c -O2 -Wall -Wno-pointer-sign -pipe -g -I/tmp/guix-build-hwinfo-21= =2E75.drv-0/source/src/hd -Lsrc hwinfo.c > make: *** No rule to make target '/tmp/guix-build-hwinfo-21.75.drv-0/sour= ce/src/libhd.a', needed by 'hwinfo'. Stop. Hi phodina, Do you come across this issue also while compiling by hand, rather than via the Guix daemon? Here [1], you can see the same problem tackled by Gentoo community. It was 2005 and related to another package, rather than directly hwinfo, but maybe it would be worth taking a look at the current hwinfo Gentoo recipe [2]. At some point, it says # Workaround from Arch, if using source tarballs from github Here=E2=80=99s [3] how Arch folks do it. There=E2=80=99s this line CFLAGS+=3D"-fPIC -I$srcdir/$pkgname/src/hd -w" \ Could it be related to libhd? Good luck, W=C5=BB [1]: https://bugs.gentoo.org/show_bug.cgi?id=3D60848#c3 [2]: https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-apps/hwinfo/hwinfo-= 21.74.ebuild [3]: https://github.com/archlinux/svntogit-community/blob/packages/hwinfo/t= runk/PKGBUILD --yrnvur5s2yu6usac Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEvcl0zdnJun12Glc9xzWoxqtgedUFAmD8UX5fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEJE Qzk3NENERDlDOUJBN0Q3NjFBNTczREM3MzVBOEM2QUI2MDc5RDUACgkQxzWoxqtg edUeoxAAlNeFxW2tO+NPqzttuti2sS5CqWtlzRgbQIEX3/7s0yJMieTCO9g2+AyU ylF8R/BD9a+KiVnuZziti5VMiQwYzbAB9xtAO4pY4UWOxcjnjdhJASFzpKC+7j6Z RcaNaXuFpIJeJFMpP8TUZVnv2T9ymLrXXvlnGYUsdtXYCnIc2gkSP8yM6bDUV7N/ Ux5gavnY/HGTp0TyjmG4xRYvL7QNTD2gV6AHbwORbs0qFr1ZMZquxUnSH/Qp34pO zmb2D0+CXwXkJk6gcocmfw58yYYNEVmshcsWk0ja1VOFrBwDim2FlVvD1TNY9Xr5 /55IjoPBJ8o9fQDPRTy+fwO4ORdSGS7h091tqHRSK5BEXwPh0sBmz51MSaMskeZw 9U2j1Q4+Ol+OxIz30/5b6Uxnm1mRes1aXlxg9WbZjJRhbb6WU+MIUAVWFjq/GgwH GDuZ4QBuYAyOXmrNuPbV/mza4tGryZVwxAnPtZLGpyFC5LBR/OfOUr7ZAmw30HRN 0iHpj7IqwvwGyDzYh5ciM43g36/im8wSlIuZ+jDgKOSJtccs7ixo9qRZGnRZ5pMR ejPzrstKRjYgXz//wL4/qrrT52t9V+/d+GThijISJfHNFzD/2QgMgA7JabIBRz/p 9yWLjLKn4FEXwLAeKBp58eVgrOD6lhuXNXP+w6h9W3iq1oXe3eo= =J05d -----END PGP SIGNATURE----- --yrnvur5s2yu6usac--