Hmm, this doesn't happen when building against 2.4.31 kernel. I've never built
against 2.6 kernel before to I have to admit the problem might have appeared
even with previous openafs releases than 1.3.84.

And strangely enough, make continues to build other directories instead of 
dying.
Martin

Martin MOKREJŠ wrote:
Hi,
 I used to build 1.2.13 under portage on Gentoo linux fine.
I think also 1.3.81 but it breaks with 1.3.84. Portage compiles
sources under /var/tmp/portage/ tree and later installs the
results into live filesystem.
The directory /usr/src/linux-2.6.12-rc6-git2/arch/x86 doesn't exist.
On the other hand, doing "make dest" manually works for me, but probably
make doesn't look for this directory. Isn't that some bug?


[...]
rm -f asm-generic
ln -fs /usr/src/linux/include/asm-generic asm-generic
rm -f asm
ln -fs /usr/src/linux/include/asm-i386 asm
for m in SP ; do \
       KDIR=MODLOAD-2.6.12-rc6-git2-$m ; \
       echo Building in directory: ${KDIR} ; \
       if [ "$m" = "MP" ] ; then \
               SMP_DEF="-DAFS_SMP  " ; \
               TARG="libafs.mp" ; \
       elif [ "$m" = "EP" ] ; then \
               SMP_DEF="-DAFS_SMP  " ; \
               TARG="libafs.ep" ; \
       elif [ "$m" = "BM" ] ; then \
               SMP_DEF="-DAFS_SMP  " ; \
               TARG="libafs.bm" ; \
       else  \
               SMP_DEF=" " ; \
               TARG=libafs ; \
       fi ; \
       cd ${KDIR} ; \
make -f Makefile.afs SMP_DEF="${SMP_DEF}" linux_compdirs_${TARG} CLIENT=2.6.12-rc6-git2 KDIR=${KDIR} || exit $?; \
       cd ../ ; \
done
Building in directory: MODLOAD-2.6.12-rc6-git2-SP
make[4]: Entering directory `/var/tmp/portage/openafs-1.3.84/work/openafs-1.3.84/src/libafs/MODLOAD-2.6.12-rc6-git2-SP'
Makefile.common:51: warning: overriding commands for target `.c.o'
/var/tmp/portage/openafs-1.3.84/work/openafs-1.3.84/src/config/Makefile.config:132: warning: ignoring old commands for target `.c.o' env EXTRA_CFLAGS="" /var/tmp/portage/openafs-1.3.84/work/openafs-1.3.84/src/libafs/make_kbuild_makefile.pl MODLOAD-2.6.12-rc6-git2-SP libafs.ko /var/tmp/portage/openafs-1.3.84/work/openafs-1.3.84/src/config/Makefile.config Makefile.afs Makefile.common env EXTRA_CFLAGS="" make -C /usr/src/linux M=/var/tmp/portage/openafs-1.3.84/work/openafs-1.3.84/src/libafs/MODLOAD-2.6.12-rc6-git2-SP modules
make[5]: Entering directory `/usr/src/linux-2.6.12-rc6-git2'
Makefile:530: /usr/src/linux-2.6.12-rc6-git2/arch/x86/Makefile: No such file or directory make[5]: *** No rule to make target `/usr/src/linux-2.6.12-rc6-git2/arch/x86/Makefile'. Stop.
make[5]: Leaving directory `/usr/src/linux-2.6.12-rc6-git2'
make[4]: *** [libafs.ko] Error 2
make[4]: Leaving directory `/var/tmp/portage/openafs-1.3.84/work/openafs-1.3.84/src/libafs/MODLOAD-2.6.12-rc6-git2-SP'



--
Martin Mokrejs
Email: 'bW9rcmVqc21Acmlib3NvbWUubmF0dXIuY3VuaS5jeg==\n'.decode('base64')
GPG key is at http://www.natur.cuni.cz/~mmokrejs

_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to