Re: Packaging hwinfo

2021-07-25 Thread phodina
> Petr, > > > Besides I also opened an issue > > Thanks! A good reflex, whether or not upstream cares or notices. > Well my point here is that the issue concerning the project itself should be reported e.g. what are the instructions to build it by hand. However, when comes to the packaging then i

Re: Packaging hwinfo

2021-07-24 Thread Tobias Geerinckx-Rice
Petr, Besides I also opened an issue Thanks! A good reflex, whether or not upstream cares or notices. Please share packages in a form that can easily be built by others. I added missing module imports and changed a forgotten /usr/lib to /lib. Please also place {native-,}inputs after argu

Re: Packaging hwinfo

2021-07-24 Thread Wiktor Żelazny
On Sat, Jul 24, 2021 at 06:20:18PM +, phodina wrote: > > CFLAGS+="-fPIC -I$srcdir/$pkgname/src/hd -w" \ > > > > Could it be related to libhd? > > Yes, this is due to the libhd. I probably didn't hightlight it in the > description. You described the problem very clearly, IMO. As “it”, I meant

Re: Packaging hwinfo

2021-07-24 Thread phodina
> 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 tak

Re: Packaging hwinfo

2021-07-24 Thread Wiktor Żelazny
On Sat, Jul 24, 2021 at 03:56:33PM +, 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 -Lsr