help-guix
[Top][All Lists]
Advanced

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

Re: Packaging hwinfo


From: phodina
Subject: Re: Packaging hwinfo
Date: Sat, 24 Jul 2021 18:20:18 +0000

> 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,
>
>
>
> [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

Hello Wiktor,

Yes, this is due to the libhd. I probably didn't hightlight it in the 
description.

As you suggested I already had look at Arch (previous user).

I built it successfully on Arch using the PKGBUILD.
They pass the include flag with the dir -I . Without it points to 
$(TOPDIR)/src/libhd hence the substitution of as otherwise it expands into 
-I../../src/hd

I applied this flag but the build is still failing. Besides I also opened an 
issue on [1] though nobody probably even noticed :-(

 [1]: https://github.com/openSUSE/hwinfo/issues/103



reply via email to

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