Opened 7 years ago

Closed 5 years ago

Last modified 4 years ago

#9626 closed defect (worksforme)

Host build of nfs-kernel-server fails, missing blkid.h

Reported by: arokh <trondah@…> Owned by: developers
Priority: high Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:


My last successful build with CONFIG_PACKAGE_nfs-kernel-server=y was r27258, after that I get this:

Making all in mountd
make[2]: Entering directory `/home/trondah/kamikaze/build_dir/host/nfs-utils-1.1.6/utils/mountd'
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../support/include   -O2 -I/home/trondah/kamikaze/staging_dir/host/include -Dlinux -D_GNU_SOURCE -I../../support/include -I../../support/export -O2 -I/home/trondah/kamikaze/staging_dir/host/include -Dlinux -D_GNU_SOURCE -Wall -Wstrict-prototypes  -pipe -O2 -I/home/trondah/kamikaze/staging_dir/host/include -Dlinux -MT mountd-cache.o -MD -MP -MF .deps/mountd-cache.Tpo -c -o mountd-cache.o `test -f 'cache.c' || echo './'`cache.c
cache.c:37:25: error: blkid/blkid.h: No such file or directory
make[2]: *** [mountd-cache.o] Error 1
make[2]: Leaving directory `/home/trondah/kamikaze/build_dir/host/nfs-utils-1.1.6/utils/mountd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/trondah/kamikaze/build_dir/host/nfs-utils-1.1.6/utils'
make: *** [all-recursive] Error 1
make: Leaving directory `/home/trondah/kamikaze/build_dir/host/nfs-utils-1.1.6'

What's going on here? I can find blkid.h in staging_dir/target-mips_r2_uClibc-0.9.32/usr/include/blkid/blkid.h, but for some reason the path is not included.

Attachments (0)

Change History (5)

comment:1 Changed 7 years ago by jow

Thats the host build bombing out here, I do not know why. The host blkid.h should be provided by one of the packages in tools/

comment:2 Changed 7 years ago by arokh <trondah@…>

trondah@ff0:~/kamikaze$ find . -name "blkid.h"

The blkid.h in staging_dir is from e2fsprogs. Adding staging_dir/target-mips_r2_uClibc-0.9.32/usr/include fails because some other headers present there aren't the correct versions. Adding build_dir/host/e2fsprogs-1.41.13/lib/blkid to the include path results in success as it only has blkid headers there.

comment:3 Changed 7 years ago by arokh <trondah@…>

Solved the build issues by just removing the host build specific parts of the Makefile. Looks like the only reason for the hostbuild is to get rpcgen, which is outdated anyways and not needed.

comment:4 Changed 5 years ago by florian

  • Resolution set to worksforme
  • Status changed from new to closed

comment:5 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.