Skip to content
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

liblagent.so is not being created on macOS #244

Closed
snowe2010 opened this issue May 6, 2018 · 2 comments
Closed

liblagent.so is not being created on macOS #244

snowe2010 opened this issue May 6, 2018 · 2 comments

Comments

@snowe2010
Copy link

~/Documents/dev/code/foss/honest-profiler master 16s
❯ mvn clean package -DskipTests
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Honest Profiler 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ honest-profiler ---
[INFO] Deleting /Users/tylerthrailkill/Documents/dev/code/foss/honest-profiler/target
[INFO]
[INFO] --- exec-maven-plugin:1.1:exec (make-clean) @ honest-profiler ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.12:add-source (default) @ honest-profiler ---
[INFO] Source directory: /Users/tylerthrailkill/Documents/dev/code/foss/honest-profiler/src/main/java added.
[INFO] Source directory: /Users/tylerthrailkill/Documents/dev/code/foss/honest-profiler/src/main/webapp added.
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ honest-profiler ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/tylerthrailkill/Documents/dev/code/foss/honest-profiler/src/main/webapp
[INFO] Copying 29 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ honest-profiler ---
[INFO] Compiling 173 source files to /Users/tylerthrailkill/Documents/dev/code/foss/honest-profiler/target/classes
[INFO]
[INFO] --- exec-maven-plugin:1.1:exec (make-compile) @ honest-profiler ---
[INFO] [  5%] Building CXX object CMakeFiles/lagent.dir/src/main/cpp/agent.cpp.o
[INFO] [ 10%] Building CXX object CMakeFiles/lagent.dir/src/main/cpp/circular_queue.cpp.o
[INFO] [ 15%] Building CXX object CMakeFiles/lagent.dir/src/main/cpp/common.cpp.o
[INFO] [ 20%] Building CXX object CMakeFiles/lagent.dir/src/main/cpp/control.cpp.o
[INFO] [ 25%] Building CXX object CMakeFiles/lagent.dir/src/main/cpp/controller.cpp.o
[INFO] [ 30%] Building CXX object CMakeFiles/lagent.dir/src/main/cpp/log_writer.cpp.o
[INFO] [ 35%] Building CXX object CMakeFiles/lagent.dir/src/main/cpp/signal_handler.cpp.o
[INFO] [ 40%] Building CXX object CMakeFiles/lagent.dir/src/main/cpp/processor.cpp.o
[INFO] [ 45%] Building CXX object CMakeFiles/lagent.dir/src/main/cpp/profiler.cpp.o
[INFO] [ 50%] Building CXX object CMakeFiles/lagent.dir/src/main/cpp/thread_map.cpp.o
[INFO] [ 55%] Building CXX object CMakeFiles/lagent.dir/src/main/cpp/concurrent_map.cpp.o
[INFO] [ 60%] Linking CXX shared library build/liblagent.dylib
[INFO] clang: warning: argument unused during compilation: '-pthread' [-Wunused-command-line-argument]
[INFO] [ 60%] Built target lagent
[INFO] [ 65%] Building CXX object CMakeFiles/unitTests.dir/src/test/cpp/test_circular_queue.cpp.o
[INFO] [ 70%] Building CXX object CMakeFiles/unitTests.dir/src/test/cpp/test.cpp.o
[INFO] [ 75%] Building CXX object CMakeFiles/unitTests.dir/src/test/cpp/test_log_writer.cpp.o
[INFO] [ 80%] Building CXX object CMakeFiles/unitTests.dir/src/test/cpp/test_agent.cpp.o
[INFO] [ 85%] Building CXX object CMakeFiles/unitTests.dir/src/test/cpp/test_profiler_config.cpp.o
[INFO] [ 90%] Building CXX object CMakeFiles/unitTests.dir/src/test/cpp/test_maps.cpp.o
[INFO] [ 95%] Building CXX object CMakeFiles/unitTests.dir/src/test/cpp/test_thread_map.cpp.o
[INFO] [100%] Linking CXX executable build/unitTests
[INFO] clang: warning: argument unused during compilation: '-pthread' [-Wunused-command-line-argument]
[INFO] [100%] Built target unitTests
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ honest-profiler ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ honest-profiler ---
[INFO] Compiling 74 source files to /Users/tylerthrailkill/Documents/dev/code/foss/honest-profiler/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ honest-profiler ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- exec-maven-plugin:1.1:exec (make-test) @ honest-profiler ---
[INFO] skipping execute as per configuraion
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ honest-profiler ---
[INFO] Building jar: /Users/tylerthrailkill/Documents/dev/code/foss/honest-profiler/target/honest-profiler-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-assembly-plugin:2.2-beta-5:single (jar-file) @ honest-profiler ---
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] org/ already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] org/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/LICENSE already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] META-INF/maven/com.fasterxml.jackson.core/ already added, skipping
[INFO] com/ already added, skipping
[INFO] com/fasterxml/ already added, skipping
[INFO] com/fasterxml/jackson/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/LICENSE already added, skipping
[INFO] META-INF/NOTICE already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] META-INF/maven/com.fasterxml.jackson.core/ already added, skipping
[INFO] META-INF/services/ already added, skipping
[INFO] com/ already added, skipping
[INFO] com/fasterxml/ already added, skipping
[INFO] com/fasterxml/jackson/ already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] org/ already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] ch/ already added, skipping
[INFO] ch/qos/ already added, skipping
[INFO] ch/qos/logback/ already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] META-INF/maven/ch.qos.logback/ already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] org/ already added, skipping
[INFO] org/slf4j/ already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] org/ already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] org/ already added, skipping
[INFO] Building jar: /Users/tylerthrailkill/Documents/dev/code/foss/honest-profiler/target/honest-profiler.jar
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] org/ already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] org/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/LICENSE already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] META-INF/maven/com.fasterxml.jackson.core/ already added, skipping
[INFO] com/ already added, skipping
[INFO] com/fasterxml/ already added, skipping
[INFO] com/fasterxml/jackson/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/LICENSE already added, skipping
[INFO] META-INF/NOTICE already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] META-INF/maven/com.fasterxml.jackson.core/ already added, skipping
[INFO] META-INF/services/ already added, skipping
[INFO] com/ already added, skipping
[INFO] com/fasterxml/ already added, skipping
[INFO] com/fasterxml/jackson/ already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] org/ already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] ch/ already added, skipping
[INFO] ch/qos/ already added, skipping
[INFO] ch/qos/logback/ already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] META-INF/maven/ch.qos.logback/ already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] org/ already added, skipping
[INFO] org/slf4j/ already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] org/ already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] org/ already added, skipping
[WARNING] Configuration options: 'appendAssemblyId' is set to false, and 'classifier' is missing.
Instead of attaching the assembly file: /Users/tylerthrailkill/Documents/dev/code/foss/honest-profiler/target/honest-profiler.jar, it will become the file for main project artifact.
NOTE: If multiple descriptors or descriptor-formats are provided for this project, the value of this file will be non-deterministic!
[WARNING] Replacing pre-existing project main-artifact file: /Users/tylerthrailkill/Documents/dev/code/foss/honest-profiler/target/honest-profiler-1.0-SNAPSHOT.jar
with assembly file: /Users/tylerthrailkill/Documents/dev/code/foss/honest-profiler/target/honest-profiler.jar
[INFO]
[INFO] --- maven-assembly-plugin:2.2-beta-5:single (zip-file) @ honest-profiler ---
[INFO] Reading assembly descriptor: src/assembly/zip.xml
[INFO] Building zip: /Users/tylerthrailkill/Documents/dev/code/foss/honest-profiler/target/honest-profiler.zip
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26.725 s
[INFO] Finished at: 2018-05-06T13:17:23-06:00
[INFO] Final Memory: 44M/578M
[INFO] ------------------------------------------------------------------------

~/Documents/dev/code/foss/honest-profiler master 28s
❯ ls build
liblagent.dylib unitTests
@twcurrie
Copy link

Ref: #248 (comment)

In case anyone else comes across this ... libagent.dylib is the macOS equivalent of the .so file. If you specify this file for -agentpath, it should work.

@snowe2010
Copy link
Author

Oh yes, I will close this issue. I'm sorry about that. Thank you for the link to the other issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants