Bug 210452 - editors/codelite: fails to compile with x11/nvidia-driver installed: ibnvidia-glcore.so.1: undefined reference
Summary: editors/codelite: fails to compile with x11/nvidia-driver installed: ibnvidia...
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on: 201340 212287
Blocks:
  Show dependency treegraph
 
Reported: 2016-06-22 05:49 UTC by O. Hartmann
Modified: 2016-08-31 15:32 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2016-06-22 05:49:30 UTC
When port is about to be compiled on a platform with most recent (proposed as of this moment) nVidia driver 367.27 (please see PR 201340 and there the latest patch as of today, 22nd Juno of 2016), the port fails to compile compalining about the error/missing shown below:

[...]
[  2%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/Thumbnail.cpp.o
//usr/local/lib/libnvidia-glcore.so.1: undefined reference to `nv_vasprintf_alloc'
//usr/local/lib/libnvidia-glcore.so.1: undefined reference to `nv_vasprintf_vsnprintf'
//usr/local/lib/libnvidia-glcore.so.1: undefined reference to `nv_vasprintf_free'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
Comment 1 jeremy.m.cox 2016-06-22 15:30:45 UTC
We can add emulators/virtualbox-ose and www/chromium to the list of ports that won't build because of the undefined reference issue with driver 367.27.
Comment 2 O. Hartmann 2016-06-26 14:24:19 UTC
we can also add graphics/libdrm (see PR 201588) to the list of ports that won't build because of the undefined reference issue with driver 367.27.
Comment 3 Walter Schwarzenfeld freebsd_triage 2016-06-27 02:14:37 UTC
We can add graphics/cairo (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210597).
Comment 4 Mahdi Mokhtari freebsd_committer freebsd_triage 2016-07-11 10:52:05 UTC
(In reply to w.schwarzenfeld from comment #3)
So is it problem with nvidia-driver, more than to be problem of codelite, right ?

As an (maybe related) experience, I remember mysql57 changed the name of one of its libs, and we used a simple symlink as a workaround in it, for the sake of other ports based on it to build.
it simply solved the problem.
Comment 5 O. Hartmann 2016-07-11 11:43:16 UTC
The problem is indeed the x11/nvidia-driver if BLOB revision is set to 367.27. It workd well with 364.19. As far as I could follow the mainatainer's comments, the problem is a bug in one of the the driver's libraries and not related to editors/codelite anyway.

I'm closing this PR.
Comment 6 Mahdi Mokhtari freebsd_committer freebsd_triage 2016-07-11 12:01:06 UTC
(In reply to ohartman from comment #5)
Okay Thanks ;)