all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Wiktor Żelazny" <wz@freeshell.de>
To: help-guix@gnu.org
Subject: Re: Packaging hwinfo
Date: Sat, 24 Jul 2021 19:44:30 +0200	[thread overview]
Message-ID: <20210724174430.pqcwdndxqljm34bl@wzguix> (raw)
In-Reply-To: <xfxGnQpbAwfZ-JnYj-l_SzE9WikpjC9tymHZfysizrO1Yqca9Ot1mn8WkAsKu4RrWrKwE4VcfkavgIYmmyVDx77WaQyHDeTkTNvvhcRGVWQ=@protonmail.com>

[-- Attachment #1: Type: text/plain, Size: 1267 bytes --]

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.75.drv-0/source/src/hd  -Lsrc hwinfo.c
> make: *** No rule to make target '/tmp/guix-build-hwinfo-21.75.drv-0/source/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’s [3] how Arch folks do it. There’s this line

   CFLAGS+="-fPIC -I$srcdir/$pkgname/src/hd -w" \

Could it be related to libhd?

Good luck,

WŻ

[1]: https://bugs.gentoo.org/show_bug.cgi?id=60848#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/trunk/PKGBUILD

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 963 bytes --]

  reply	other threads:[~2021-07-24 17:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-24 15:56 Packaging hwinfo phodina
2021-07-24 17:44 ` Wiktor Żelazny [this message]
2021-07-24 18:20   ` phodina
2021-07-24 19:50     ` Wiktor Żelazny
2021-07-24 20:57 ` Tobias Geerinckx-Rice
2021-07-26  6:09   ` phodina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210724174430.pqcwdndxqljm34bl@wzguix \
    --to=wz@freeshell.de \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.