`emerge openafs` -> (while 'configure'ing) > checking your OS... tail: `-1' option is obsolete; use `-n 1' > Try `tail --help' for more information. > configure: error: Linux headers lack version definition > > !!! ERROR: net-fs/openafs-1.2.10-r1 failed. This is with sys-apps/coreutils-5.0.91. Reproducible: Always Steps to Reproduce: 1.`emerge openafs` with the correct version of coreutils. 2. 3. Actual Results: Listed in details.
Here is the difference ( `diff configure.new configure` ): 2071c2071 < linux_kvers=`fgrep UTS_RELEASE $LINUX_KERNEL_PATH/include/linux/version.h |awk 'BEGIN { FS="\"" } { print $2 }'|tail -n 1` --- > linux_kvers=`fgrep UTS_RELEASE $LINUX_KERNEL_PATH/include/linux/version.h |awk 'BEGIN { FS="\"" } { print $2 }'|tail -1`
Coreutils 5.0.91 is not stable. Use a stable version. If this really needs fixed, could you create a patch George?
I've added fixheadtails from bug #23116 to this ebuild.