Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Kernel (http://www.linux-archive.org/debian-kernel/)
-   -   Need multiarch aware linux-libc-dev when using 'make deb-pkg' (http://www.linux-archive.org/debian-kernel/579762-need-multiarch-aware-linux-libc-dev-when-using-make-deb-pkg.html)

David Witbrodt 09-25-2011 01:20 AM

Need multiarch aware linux-libc-dev when using 'make deb-pkg'
 
I just upgraded to gcc-multilib 4.6.1-3 and found that APT
blew away /usr/include/asm without warning. This directory
belongs to my locally-built 'linux-libc-dev' which is produced
using upstream kernel sources and 'make deb-pkg'.

I do local builds for testing upstream kernel commits relevant
to my Radeon GPU, and I typically run custom 'linux-image-*'
and 'linux-libc-dev' packages on an otherwise totally-Debian
system. I also keep at least one Debian kernel installed in
case of extreme breakage/personal-stupidity. As a workaround,
I have been able to install the multiarch-aware 3.0.0-4 version
of 'linux-libc-dev'; now I can successfully build xorg-server
locally without '/usr/include/asm/socket.h' missing.

Is this a bug in the upstream sources? Does the Debian Kernel
Team maintain the "deb-pkg" target upstream? If so, has the
Kernel Team provided a patch for multiarch-aware 'linux-libc-dev',
or does it have plans to do so?

If such a patch exists, could you direct me toward it so I can
give it a try?


Thanks,
Dave Witbrodt


--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1316913630.76710.YahooMailRC@web82104.mail.mud.yah oo.com">http://lists.debian.org/1316913630.76710.YahooMailRC@web82104.mail.mud.yah oo.com

Ben Hutchings 09-25-2011 03:04 AM

Need multiarch aware linux-libc-dev when using 'make deb-pkg'
 
On Sat, 2011-09-24 at 18:20 -0700, David Witbrodt wrote:
> I just upgraded to gcc-multilib 4.6.1-3 and found that APT
> blew away /usr/include/asm without warning. This directory
> belongs to my locally-built 'linux-libc-dev' which is produced
> using upstream kernel sources and 'make deb-pkg'.
>
> I do local builds for testing upstream kernel commits relevant
> to my Radeon GPU, and I typically run custom 'linux-image-*'
> and 'linux-libc-dev' packages on an otherwise totally-Debian
> system. I also keep at least one Debian kernel installed in
> case of extreme breakage/personal-stupidity. As a workaround,
> I have been able to install the multiarch-aware 3.0.0-4 version
> of 'linux-libc-dev'; now I can successfully build xorg-server
> locally without '/usr/include/asm/socket.h' missing.
>
> Is this a bug in the upstream sources? Does the Debian Kernel
> Team maintain the "deb-pkg" target upstream?

Not officially, but Max has done quite a bit of work on it.

> If so, has the
> Kernel Team provided a patch for multiarch-aware 'linux-libc-dev',
> or does it have plans to do so?
>
> If such a patch exists, could you direct me toward it so I can
> give it a try?

I'm not sure how we should do this, because 'make deb-pkg' should
produce packages that are compatible with older versions of Debian.

Ben.

--
Ben Hutchings
If you seem to know what you are doing, you'll be given more to do.

Dave Witbrodt 01-16-2012 01:14 AM

Need multiarch aware linux-libc-dev when using 'make deb-pkg'
 
>On Sat, 2011-09-24 at 18:20 -0700, David Witbrodt wrote:
>> I just upgraded to gcc-multilib 4.6.1-3 and found that APT
>> blew away /usr/include/asm without warning. This directory
>> belongs to my locally-built 'linux-libc-dev' which is produced
>> using upstream kernel sources and 'make deb-pkg'.
>>
>> I do local builds for testing upstream kernel commits relevant
>> to my Radeon GPU, and I typically run custom 'linux-image-*'
>> and 'linux-libc-dev' packages on an otherwise totally-Debian
>> system. I also keep at least one Debian kernel installed in
>> case of extreme breakage/personal-stupidity. As a workaround,
>> I have been able to install the multiarch-aware 3.0.0-4 version
>> of 'linux-libc-dev'; now I can successfully build xorg-server
>> locally without '/usr/include/asm/socket.h' missing.
>>
>> Is this a bug in the upstream sources? Does the Debian Kernel
>> Team maintain the "deb-pkg" target upstream?
>
>Not officially, but Max has done quite a bit of work on it.
>
>> If so, has the
>> Kernel Team provided a patch for multiarch-aware 'linux-libc-dev',
>> or does it have plans to do so?
>>
>> If such a patch exists, could you direct me toward it so I can
>> give it a try?
>
>I'm not sure how we should do this, because 'make deb-pkg' should
>produce packages that are compatible with older versions of Debian.

Over the break I took a look at this situation again. I have created a
patch that meets my own needs (produces a multiarch-aware linux-libc-dev
package using upstream kernel source), but in its current form it would
not be appropriate. With a little work, I think I could create a patch
that is of general use, though.


First, would one (or more) of the Debian Kernel Team be willing to help
with this, or should I take this to LKML instead. I've come here first
out of favoritism to Debian -- the only GNU/Linux I use on my machines
-- but the problem I am trying to solve is not truly a Debian problem.


If so, should I open a bug report to facilitate tracking this? (Against
what package?) Or should I just communicate via debian-kernel@l.d.o?


If not, can you recommend someone upstream who is responsible for the
"deb-pkg" infrastructure?



Thanks,
Dave W.


--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4F138823.8080501@sbcglobal.net">http://lists.debian.org/4F138823.8080501@sbcglobal.net

Jonathan Nieder 01-16-2012 03:38 PM

Need multiarch aware linux-libc-dev when using 'make deb-pkg'
 
Dave Witbrodt wrote:

> First, would one (or more) of the Debian Kernel Team be willing to
> help with this, or should I take this to LKML instead.

The MAINTAINERS file tells me you might want to send your RFC/patch to
linux-kbuild@vger.kernel.org (no subscription needed, as usual). Feel
free to cc me and Max so we can look at it.

Thanks,
Jonathan


--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120116163812.GA4066@burratino">http://lists.debian.org/20120116163812.GA4066@burratino


All times are GMT. The time now is 04:04 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.