[Bug 224847] graphics/mesa-libs: make configure (not config) crashes

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jan 2 21:41:55 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224847

software at bertram-scharpf.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |software at bertram-scharpf.de

--- Comment #1 from software at bertram-scharpf.de ---
    # cd /usr/ports/graphics/mesa-libs
    # make clean configure
    ...
    configure: error: Could not find llvm shared libraries:
                    Please make sure you have built llvm with the
--enable-shared option
                    and that your llvm libraries are installed in
/usr/local/llvm50/lib
                    If you have installed your llvm libraries to a different
directory you
                    can use the --with-llvm-prefix= configure flag to specify
this directory.
                    NOTE: Mesa is attempting to use llvm shared libraries by
default.
                    If you do not want to build with llvm shared libraries and
instead want to
                    use llvm static libraries then add
--disable-llvm-shared-libs to your configure
                    invocation and rebuild.

The error is raised in ./configure, line 28381, function
detect_old_buggy_llvm().

The library name is built using the LLVM version number.

    # llvm-config50 --version
    5.0.0git-f35466a8f

But:

    # ls /usr/local/llvm50/lib/libLLVM-5.0.0*.so
    /usr/local/llvm50/lib/libLLVM-5.0.0.so

As you can see, I'm using Git to update my ports tree. The short commit hash
in LLVM's version number is the Git commit when I built devel/llvm50 what
isn't even returned by "make package-name".

The real problem is that the whole Makefile system is so complicated that it
took me several
days to find out what happens just to this point. I'm discouraged and won't
search any further.

This problem affects x11/xorg and print/texlive-full as far as I know. Probably
some
more essential packages.

Ports is a pain.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-x11 mailing list