-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Most libcpychecker tests fail with gcc 4.6.3 with libcpychecker.compat.CouldNotFindVarDecl #5
Comments
Note that "make plugin" will simply build the plugin, skipping the unit tests. Sorry about this. Unfortunately, yes, many of the tests are very fragile right now. By comparing stdout/stderr against "gold" outputs I've overspecified the behaviors. I hope to fix this when the "firehose" branch is merged, since this gives easier access to the internal state of the checker from a place where test cases can poke at it. In the meantime, it looks like you trimmed a bit too much from what you posted; do you have logs you can post somewhere? Thanks. |
Here's the full output. https://raw.github.com/wiredfool/gcc-plugin-error-log/master/output I had originally tried to add this as a gist, but apparently pasting 2M into a text area is unsupported. |
Thanks. Looking at that log, I see 132 instances of "libcpychecker.compat.CouldNotFindVarDecl" |
What version of gcc and python are you using? |
|
Thanks I think this may be a general problem with gcc 4.6.3, alas; see https://fedorahosted.org/gcc-python-plugin/ticket/21 Working around this would require 4.6.3-specific changes, I think. |
That explains it. I'm not too attached to gcc 4.6.3, it's just what's easily available on that machine. I'm trying again on Fedora 17, and it appears that it's working better now. There's only 3 test failing there. Either the improvements are from recent updates, or I wasn't paying close enough attention before. At least one of them looks like a fragile test. I'll give it a shot there. |
FWIW, I've now "fixed" the build by disabling many of the selftests on 4.6; as of ba4fa6d the Travis-CI build on 4.6.3 succeeds |
libcpychecker.compat.CouldNotFindVarDecl
libcpychecker.compat.CouldNotFindVarDecl
As noted above, I've committed a workaround that enables the Travis-CI build on 4.6.3 to succeed. In the absence of a real fix, I'm going to close this one out for now. |
I'm trying to build the gcc-python-plugin from master on Ubuntu 12.04, and I'm getting a large number of test failures and a project that doesn't work. I suspect I'm missing something. I've also tried it on Fedora 17, but got similar results.
The errors start here, full output is 2 megs or so.
The text was updated successfully, but these errors were encountered: