[ovs-dev] Bug#659685: Bug#659685: Bug#659685: fails to build the kernel module

Simon Horman horms at verge.net.au
Tue Feb 14 03:16:25 UTC 2012


On Mon, Feb 13, 2012 at 05:35:15PM -0800, Ben Pfaff wrote:
> On Tue, Feb 14, 2012 at 09:31:18AM +0900, Simon Horman wrote:
> > On Mon, Feb 13, 2012 at 10:10:18AM -0800, Ben Pfaff wrote:
> > > On Tue, Feb 14, 2012 at 01:54:28AM +0800, Thomas Goirand wrote:
> > > > On 02/14/2012 01:22 AM, Ben Pfaff wrote:
> > > > > Would it be possible for you to provide your make.log?
> > > > 
> > > > I've attached it to this mail.
> > > 
> > > Here's the root of the problem:
> > >    checking for Linux build directory... /usr/src/linux-headers-3.1.0-1-686-pae
> > >    checking for Linux source directory... configure: error: cannot find source directory (please use --with-linux-source)
> > > 
> > > I see that this was already fixed on master with the following commit:
> > > 
> > > Subject: [PATCH] debian: Look in /lib/modules instead of /usr/src for DKMS kernel sources.
> > > 
> > > DKMS packages usually look in /lib/modules for kernel sources, since that
> > > is the "standard" location, but our packages was looking directly in
> > > /usr/src.  This fixes the problem.
> > > 
> > > Reported-by: Alban Browaeys <prahal at yahoo.com>
> > > Tested-by: Alban Browaeys <prahal at yahoo.com>
> > > Signed-off-by: Ben Pfaff <blp at nicira.com>
> > > ---
> > > Somehow this bug fix did not make it to branches for 1.3 or 1.4.  I've
> > > now cherry-picked it to both branches, so the next Debian upload
> > > should incorporate the fix.
> > > 
> > > I see that we should really be using "&&' instead of ";" in the make
> > > rule.  I sent out a patch.
> > 
> > Thanks Ben, I plan to make make a fresh upload for this.
> 
> Thanks.
> 
> It might be wise to hold off for:
>         http://openvswitch.org/pipermail/dev/2012-February/014947.html
> or to plan to make another new upload after it hits.

I am planing to include that patch in my upload.
I was not planing to wait for it to hit the git repo
but I can if you prefer.

I have confirmed that with the patch at the link above and other
patches it depends on applied the resulting package installs on my system -
though it should be said that the package that is currently present in
the archive is also installable on my system.





More information about the dev mailing list