Skip to content

No rule to make target '/tmp/guix-build-hwinfo-21.75.drv-0/source/src/libhd.a' #103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
phodina opened this issue Jul 19, 2021 · 0 comments

Comments

@phodina
Copy link

phodina commented Jul 19, 2021

Hi,

I'm attempting to build the hwinfo on Guix and I run into problem of not having the correct path to libhd.a.

...
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.
make: *** Waiting for unfinished jobs....
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/tmp/guix-build-hwinfo-21.75.drv-0/source/src'
make[2]: Entering directory '/tmp/guix-build-hwinfo-21.75.drv-0/source/src/hd'
gcc -c -O2 -Wall -Wno-pointer-sign -pipe -g   -I/tmp/guix-build-hwinfo-21.75.drv-0/source/src/hd -O2 -Wall -Wno-pointer-sign -pipe -g -fPIC  -I../src/hd -O2 -Wall -Wno-pointer-sign -pipe -g -fPIC  -I../../src/hd  -Lsrc bios.c
...
make[2]: Leaving directory '/tmp/guix-build-hwinfo-21.75.drv-0/source/src/ids'
gcc -shared -O2 -Wall -Wno-pointer-sign -pipe -g   -I/tmp/guix-build-hwinfo-21.75.drv-0/source/src/hd -O2 -Wall -Wno-pointer-sign -pipe -g -fPIC  -I../src/hd  -Lsrc -Wl,--whole-archive ../src/libhd.a -Wl,--no-whole-archive \
	-Wl,-soname=libhd.so.21 \
	-o ../src/libhd.so.21.75 -luuid -lx86emu 
ln -snf libhd.so.21.75 libhd.so.21
ln -snf libhd.so.21 libhd.so
make[1]: Leaving directory '/tmp/guix-build-hwinfo-21.75.drv-0/source/src'
command "make" "-j" "16" "DESTDIR=/gnu/store/68lynd13flfqzk2jxyybnpvvb10lpspz-hwinfo-21.75" "CC=gcc" "HWINFO_VERSION=21.75" failed with status 2

Yet when I check the directory the files are there.

$ ls /tmp/guix-build-hwinfo-21.75.drv-5/source/src/
hd/  ids/  isdn/  libhd.a  libhd.so  libhd.so.21  libhd.so.21.75  Makefile  smp/

Could you help me? I'm not that familiar with multiple levels of Makefiles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant