Fail to build with all compilers (clang36, clang35, gcc48, gcc5. With different error-messages in the directory GALLIUM. (FreeBSD-10.2-p3 amd64). I removed dri. Seems makes no problem. But if I ever would update x11-servers/xorg-server , it will pull in it again. I searching a way to exclude GALLIUM from compiling. WITH_GALLIUM=NO does not help. Or remove dri complete. Some detail here in the forum: https://forums.freebsd.org/threads/update-graphics-dri-failure.53253/#post-299243
Forgot it compiles with poudriere. (But I dont't like to spent two hours for compiling dri with poudriere. Normally it compiles with portmaster and in the port fewer than ten minutes).
Created attachment 161168 [details] dr-build.log
Created attachment 161178 [details] build with MAKE_JOBS_UNSAFE=yes
Graphics/libosmesa fails with the same error. Seems the error is located there.
If I run: make LLVM_CONFIG="-disable-checker" I got: gmake[5]: Entering directory '/usr/ports/graphics/dri/work/mesa-10.6.6/src/gallium/targets/opencl' CXXLD libMesaOpenCL.la /usr/bin/ld: cannot find -ldl but find in the moment no solution.
Could you try to deinstall dri and try again after a make clean?
Tried this three or four times last days. Now I do it again. Run make without LLVM_CONFIG=-disable-checker. I don't get the "original" error message: gmake[5]: Entering directory '/usr/ports/graphics/dri/work/mesa-10.6.6/src/gallium/targets/opencl' CXXLD libMesaOpenCL.la /usr/local/llvm36/lib/libclangFrontendTool.a(ExecuteCompilerInvocation.o): In function `clang::ExecuteCompilerInvocation(clang::CompilerInstance*)': ExecuteCompilerInvocation.cpp:(.text._ZN5clang25ExecuteCompilerInvocationEPNS_16CompilerInstanceE+0x3f1): undefined reference to `clang::ento::printCheckerHelp(llvm::raw_ostream&, llvm::ArrayRef<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >)' ..... Now I got as above: gmake[5]: Entering directory '/usr/ports/graphics/dri/work/mesa-10.6.6/src/gallium/targets/opencl' CXXLD libMesaOpenCL.la /usr/bin/ld: cannot find -ldl c++: error: linker command failed with exit code 1 (use -v to see invocation).
I write a patch (only for me) to comment out the line 676 in /usr/ports/graphics/dri/work/mesa-10.6.6/src/gallium/targets/opencl/Makefile as temporary solution (if I need in case of an update). In moment I use the package from poudriere.
In the meantime there is a official package of the new version.
Could it be, it has something to do, with that I have a amd processor?
Hi! Could you please try to build graphics/dri with "make V=1" using the default compiler? GALLIUM is not an option (it would be enabled by default anyway) and we will not make it optional. Managing the Mesa ports takes already enough time, sorry :(
make V=1 with clang36 same result.
Sorry, I was not clear: I'm interested in the build output. V=1 is here to make the output of an automake-based build more verbose.
Created attachment 161262 [details] build log make V=1
> Could it be, it has something to do, with that I have a amd processor? Could be, on my intel cpu it builds without problem, on amd it fails.
I can't build dri and libosmesa. And my cpu is intel. CPU: Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz (1895.65-MHz K8-class CPU)
I was facing the same issue and couldn't find a way to get graphics/dri updated. The steps that seemed to unblock me were: 1. Install devel/llvm37. 2. Deinstall devel/llvm36. This step had issues and reported some files were mismatching the checksum, therefore were not removed, so I removed /usr/local/llvm36 with a plain rm -rf command. 3. Reinstall devel/llvm36. 4. Reinstall libglapi. 5. Reinstall graphics/dri. At this point was able to update all GL related libraries. Tempted to say that step 1 is not needed, but haven't tried without it as I got dri package upgraded.
Was slightly different for me - delete llvm36 and compile llvm36 new does not help. I hat to compile clang36 new, and libglapi, but it works, thanks.
But get pkg-static: Unable to access file /usr/ports/graphics/dri/work/stage/usr/local/%%SWRAST_DRIVER%%lib/dri/swrast_dri.so: No such file or directory if I want to install. Fixed it with genplist. And then: Installing dri-10.6.6,2... pkg-static: dri-10.6.6,2 conflicts with libEGL-10.6.6 (installs files into the same place). Problematic file: /usr/local/include/EGL/egl.h
Genplist make nonsense. Fetched a new pkg-plist, now it works.
Next update is working fine, I close the PR.
MARKED AS SPAM