Comments (8)
Thank you for your issue report.
Looking at the report above I suggest the following steps:
- Please ensure you are using the latest CodeQL CLI binaries.
- Use an Xcode app with a shorter path. (This needs to be its
realpath
and not a symlink.
I have successfully done a CodeQL managed build using Xcode installed in /Applications/Xcode.app
using latest WebKit.git master and CodeQL CLI Binaries version 2.1.0 with the command line you provided:
codeql database create /tmp/db --language=cpp --command="./Tools/Scripts/build-webkit --jsc-only --debug"
/tmp/db ends up being about 2.8GB in size.
If you have any further questions please feel free to ask.
from codeql-cli-binaries.
Hi, thanks for checking out my issue. I'm still seeing the same errors about libptrace.dylib
not being injected into platform binaries. Using Xcode from /Applications
doesn't seem to help. What version of MacOS are you using to test this, out of curiosity?
My database after generation for latest commit of webkit is also about 2.8GB, so maybe there's nothing significant missing π
from codeql-cli-binaries.
sw_vers
reports:
ProductName: Mac OS X
ProductVersion: 10.15.4
BuildVersion: 19E287
xcodebuild -version
reports:
Xcode 11.1
Build version 11A1027
Another thing to try (along with using Xcode in /Applications) is to put the database in /tmp when creating it (the directory can be relocated afterwards).
If that still fails I would appreciate a copy of /log/build-tracer.log and /log/database-create-*.log. These are plain text files, so feel free to examine what they contain before you send them to ensure they have no secrets (via DropBox or equivalent is fine). These may help to diagnose what is happening.
from codeql-cli-binaries.
Same thing with creating the database in /tmp/
π€
Here's a copy of my logs, let me know if there's anything else I can provide to be helpful:
https://drive.google.com/open?id=1Gm-lQIV0sNOCt863esjjm6Ayv9rxx2_5
from codeql-cli-binaries.
Thank you for these. I have taken local copies - so don't feel the need to preserve them in your Google Drive.
The good news is that from the database create log I think the vast majority of the build is being processed correctly - so the database should be usable.
Unfortunately I don't have a solution to the problem you've been having yet. I need to do some further investigations locally, and this will take some time.
from codeql-cli-binaries.
Sounds good, thanks for taking a look into this
from codeql-cli-binaries.
Any update on this?
from codeql-cli-binaries.
Much code regarding build instrumentation on MacOS has changed recently as part of getting tracing on M1 to work. Is this issue still live?
from codeql-cli-binaries.
Related Issues (20)
- vs2008 cpp project errror HOT 4
- CLI can't handle '@' in query file path HOT 11
- [Java][maven] "No source code was seen and extracted" HOT 1
- ERROR: Could not detect a suitable build command for the source checkout HOT 2
- Evaluator log summary generation failed due to `NullPointerException` HOT 2
- Cannot create a database on M1 Mac HOT 4
- Missing Source Files from Database for XNU HOT 7
- Xcode iOS simulator build fails when codeql is injected HOT 14
- CodeQL Cpp Library Errors when Publishing CodeQL Pack HOT 2
- GitHub Code Scanning does not recognize CodeQL Analysis Workflow HOT 2
- A fatal error occurred: IOException while executing process with args: [/home/abs4x/CodeQL/cli/tools/linux64/scc, --by-file, --format, json] HOT 5
- Java heap problem
- Option --overwrite does not overwrite database folder created by --db-cluster HOT 3
- Linux arm64 supportοΌ HOT 2
- No supported build system detected. HOT 1
- CodeQL enable breaks mono path HOT 2
- Could not resolve library path for /Users/xxx/codeql/codeql-exm/java/ql/examples HOT 2
- Could not resolve module csharp
- typescript-parser-wrapper fails for tsconfig.json path check on Windows HOT 8
- Changelog entry for 2.13.5 is missing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codeql-cli-binaries.