ports/176733: nvidia-driver does not honor SRC_BASE from /etc/make.conf

Hiren Panchasara hiren.panchasara at gmail.com
Thu Mar 7 16:50:01 UTC 2013


>Number:         176733
>Category:       ports
>Synopsis:       nvidia-driver does not honor SRC_BASE from /etc/make.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 07 16:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Hiren Panchasara
>Release:        current
>Organization:
>Environment:
FreeBSD myhost 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r247409M: Mon Mar  4 14:36:48 PST 2013     root at myhost:/usr/home/hirenp/head/sys/amd64/compile/GENERIC  amd64

>Description:
I have my source tree checked out at different location than /usr/src. In this case, nvidia.ko generated from x11/nvidia-driver cannot be loaded. 

On kldload nvidia, I get:

KLD nvidia.ko: depends on kernel - not available or version mismatch
linker_load_file: Unsupported file type

Looking at logs of port-building, it seemed that it was linking against /usr/src.
I updated /etc/make.conf with "SRC_BASE=/new/base/location" but it did not help and it was still linking with the old base i.e. /usr/src

Explicitly symlinking /usr/src to new base location fixed the issue.


>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list