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