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

Re: make-kpkg problem



> 
> I extracted kernel-source-2.0.30_2.0.30-7.deb so that I can home-brew a
> kernel.  There is a problem in that when I do a "make-kpkg clean" it
> actually does a "make mrproper" and amongst other things I lose my
> include/asm link.  A "make clean" works as expected.

What include/asm link?

If you are talking about a link from /usr/include/asm to 
/usr/src/linux/include/asm-i386 and from /usr/include/linux to 
/usr/src/linux/include/linux, etc, then the solution is simple:  Those 
links should never have been made in the first place.  The README that 
comes with the kernel sources is in error.

The issue is discussed in the libc5-dev or libc6-dev packages' 
FAQ.Debian file in the /usr/doc hierarchy.  If you have the libc5 or 
libc6 development packages installed, check the FAQ.  Even Linus 
himself now says that while those links were a good idea at one point, 
they no longer are, and with libc6, they are -decidedly- the wrong 
thing to do.

For libc6, the API to the library and the API to the kernel were 
intentionally divided, so that the library could provide support for 
services the kernel doesn't yet have -- but will -- without breaking 
programs that need to use those services (example:  libc6 has support 
for more than 32 signals.  The kernel interface allows only 32 signals. 
 When the kernel allows more than 32 signals, all you have to do is 
update your libc6, not recompile every program in existence because a 
very common, fundamental, data structure changed).  Making those links 
could cause programs compiled under libc6 fail, because they are using 
the wrong interfaces.

If that wasn't the include/asm link you were referring to, I apologize 
for subjecting you to this rant.


If you made those links, you might want to re-install the libc 
development package so the proper
> 
> Is this intended?  I have looked at the code but cannot spot the reason
> for this behaviour.  Using kernel-package_3.35.
> 
> The docs say nothing about "make-kpkg dep".  What is the correct
> procedure here?
> 
> Lindsay
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Lindsay Allen   <allen@cleo.murdoch.edu.au>  Perth, Western Australia
> voice +61 8 9316 2486    modem +61 8 9364-9832      32S, 116E
> http:  http://rolf.ece.curtin.edu.au/~lindsay       debian linux
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 
> 
> --
> TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
> debian-user-request@lists.debian.org . 
> Trouble?  e-mail to templin@bucknell.edu .
> 

-- 
     Buddha Buck                      bmbuck@acsu.buffalo.edu
"Just as the strength of the Internet is chaos, so the strength of our
liberty depends upon the chaos and cacaphony of the unfettered speech
the First Amendment protects."  -- A.L.A. v. U.S. Dept. of Justice


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: