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

Bug#521515: linux-headers-2.6.29-1-amd64: please restore symlinks into -common



ucko@debian.org (Aaron M. Ucko) writes:

> OpenAFS could probably adapt by changing h, netinet, and sys under
> MODLOAD-* from symlinks to .../include/linux to directories containing
> forwarding headers; I'm not sure which specific headers would need such
> treatment, but I suspect there are quite a few.

I think that would be these headers:

cd src/afs
egrep -r '#include +["<](sys|netinet|h)/' *.[ch] LINUX/ | awk '{ print $2 }' | sed -e 's,\.\./,,' -e 's/["<>]//g' | sort -u

and as near as I can tell, on Linux, all those headers have the same name
but just have no directory prefix.  So netinet/in.h becomes just in.h,
sys/types.h becomes just types.h, etc.  Does that look right to you?

If so, could you try deleting the h, netinet, and sys symlinks, replace
them with directories, and run:

for f in `cat files`; do
    echo '#include <'$(basename $f)'>' > $f
done

and then see if that makes the build work?  You'll have to do this after
make_kbuild_makefile.pl runs.  (If that's more complexity to testing than
you can easily do, I'll be able to look at it eventually, but I don't have
the new kbuild infrastructure installed anywhere yet.)

rx may require similar treatment.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: