ApplicationBuilder.jl icon indicating copy to clipboard operation
ApplicationBuilder.jl copied to clipboard

objdump says "not recognized as a valid object file"

Open github-julia opened this issue 7 years ago • 0 comments

All,

Please see the following output from my most recent build run. main is generated, and I can execute it. Albeit with a crash that I think is unrelated, but I'm new to all of this. :-P

$ rm -rf builddir/ && julia build.jl
  Using calculated bundle_identifier: 'com.jason.gitviz'
~~~~~~ Creating mac app in "/Users/jason/src/all/gitviz.git/builddir/gitviz.app" ~~~~~~~
~~~~~~ Compiling a binary from 'src/main.jl'... ~~~~~~~
Julia program file:
  "/Users/jason/src/all/gitviz.git/builddir/gitviz.app/Contents/MacOS/applicationbuilderutils.jl"
C program file:
  "/Users/jason/.julia/packages/ApplicationBuilder/gJLwU/src/program.c"
Build directory:
  "/Users/jason/src/all/gitviz.git/builddir/gitviz.app/Contents/MacOS"
All done
/opt/local/libexec/llvm-3.9/bin/llvm-objdump: '/Users/jason/src/all/gitviz.git/builddir/gitviz.app/Contents/MacOS/applicationbuilderutils.jl': The file was not recognized as a valid object file
fatal error: otool: internal objdump command failed
~~~~~~ Generating 'Info.plist' for 'com.jason.gitviz'... ~~~~~~~
~~~~~~ Cleaning up temporary files... ~~~~~~~
~~~~~~ Done building '/Users/jason/src/all/gitviz.git/builddir/gitviz.app'! ~~~~~~~

applicationbuilderutils.jl does not exist under builddir/, perhaps the objdump should occur before cleaning up the temp files?

github-julia avatar Oct 01 '18 15:10 github-julia