[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Packaging hwinfo

From: Wiktor Żelazny
Subject: Re: Packaging hwinfo
Date: Sat, 24 Jul 2021 19:44:30 +0200

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,



Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]