Bug#701690: nvidia: disagrees about version of symbol efi_enabled

Ben Hutchings ben at decadent.org.uk
Tue Feb 26 23:19:39 UTC 2013


On Wed, Feb 27, 2013 at 12:05:06AM +0100, Andreas Beckmann wrote:
> On 2013-02-26 23:42, Ben Hutchings wrote:
> >>>> I'll see what I can do to fix this.  (And unfortunately if the change is
> >>>> reverted then you'll need to rebuild the module again.)
> >>
> >> Ben, Should I upload nvidia-graphics-modules rebuilt against 3.2.39-1?
> >  
> > No, I believe I can fix this.
> > 
> > Also, if you rebuild without changing the nvidia source you'll
> > introduce a bug, because the test of efi_enabled will always return
> > true now that it's the name of a function...
> 
> nvidia-kernel-{source,dkms} don't use upstream's conftest.sh to test for
> availability of features, instead we ship (probably for historic reasons
> where conftest.sh was not working properly) a manually generated
> conftest.h that says
[...]
 
That's not the point.  The *run-time* test in os_get_efi_enabled()
(typing from memory here, the name might be slightly different)
checks whether efi_enabled is true.  And if efi_enabled names a
function rather than a variable, it is always true!

Ben.

-- 
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
                                                              - Albert Camus



More information about the pkg-nvidia-devel mailing list