[Bug 213797] devel/llvm38: Test suite is broken

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Oct 26 06:14:43 UTC 2016


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

            Bug ID: 213797
           Summary: devel/llvm38: Test suite is broken
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: brooks at FreeBSD.org
          Reporter: yuri at rawbw.com
          Assignee: brooks at FreeBSD.org
             Flags: maintainer-feedback?(brooks at FreeBSD.org)

Clang defines the testsuite here: tools/clang/test.

It is supposed to be run (I think) from the .build directory: ninja -v
check-clang

However, this command fails because of at least three reasons:
1. Code under utils/lit/lit fails for python2, so it should be only installed
with python3
2. utils/lit/lit/formats should be installed into
/usr/local/lib/python3.4/site-packages/lit38/
3. it still fails with "ImportError: cannot import name 'LitConfig'" error. I
didn't investigate further.

To fix 1. clang port should mark LIT option as broken when python2 is in use.

In general, could you make regression-test target work? Currently it fails:
> ninja: error: loading 'build.ninja': No such file or directory
> *** Error code 1
It should run ninja in ${WRKDIR}/.build

I tried to run this test suite hoping to find that it catches something related
to this bug: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213773 But the
test suite itself doesn't run.

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


More information about the freebsd-ports-bugs mailing list