Mailinglist Archive: opensuse-kernel (26 mails)

< Previous Next >
Re: [opensuse-kernel] 2.6.27-rc3 update
  • From: Jeff Mahoney <jeffm@xxxxxxxx>
  • Date: Fri, 15 Aug 2008 09:33:43 -0400
  • Message-id: <48A585B7.2060803@xxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Takashi Iwai wrote:
At Thu, 14 Aug 2008 16:51:14 -0400,
Jeff Mahoney wrote:
ia64, powerpc, and s390 are failing to build the kernel-source package.
I expect this is because those architectures eliminated the use of
include/asm-$arch. The build process creates an empty directory and
links to it, but I suspect that something doesn't like an empty
directory and is leaving it out. I haven't yet tried to place a dummy
file in that directory. It's failing when it tries to link to a
nonexistent target. Can someone with a better knowledge of rpm-fu take a
look at this? The binary packages on those arches are failing with
several unpackaged files

Looking at this problem now, and found that it's likely a bug in the
upstream. The patch below should fix the creation of include2/asm
symlink, which resulted in build errors.

Perfect. That does fix the problem.

Thanks!

- -Jeff

diff --git a/Makefile b/Makefile
index 53bf6ec..bcbb764 100644
--- a/Makefile
+++ b/Makefile
@@ -934,7 +934,11 @@ ifneq ($(KBUILD_SRC),)
fi;
$(Q)if [ ! -d include2 ]; then \
mkdir -p include2; \
- ln -fsn $(srctree)/include/asm-$(SRCARCH) include2/asm; \
+ if [ -d $(srctree)/arch/$(SRCARCH)/include/asm ]; then \
+ ln -fsn $(srctree)/arch/$(SRCARCH)/include/asm include2/asm; \
+ else \
+ ln -fsn $(srctree)/include/asm-$(SRCARCH) include2/asm; \
+ fi; \
fi
endif



- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAkilhbcACgkQLPWxlyuTD7KylQCgiGTczrsrQuYMcLQgLB0jH+zh
XRcAnjDMfdV4C7KhpSUU1LRpP4S+EjZC
=XsV7
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kernel+help@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups