Ticket #35516 (closed defect: fixed)
LaTeXiT @2.4.1_0 build failure
| Reported by: | dstrubbe@… | Owned by: | singingwolfboy@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.1.2 |
| Keywords: | Cc: | Andrey.E.Antipov@… | |
| Port: | LaTeXiT |
Description
I get an error when building LaTeXiT with Mountain Lion.
---> Building LaTeXiT
Error: org.macports.build for port LaTeXiT returned: command execution failed
Please see the log file for port LaTeXiT for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_tex_LaTeXiT/LaTeXiT/main.log
The latter part of that file is:
:info:build /bin/sh -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_tex_LaTeXiT/LaTeXiT/work/LaTeXiT-mainline/build/LaTeXiT.build/Development/Automator-CreateEquations.build/Script-9344BBBA0E8CF71600FE90A5.sh
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_tex_LaTeXiT/LaTeXiT/work/LaTeXiT-mainline/build/LaTeXiT.build/Development/Automator-CreateEquations.build/Script-9344BBBA0E8CF71600FE90A5.sh: line 2: /usr/bin/amlint: No such file or directory
:info:build
:info:build
:info:build ** BUILD FAILED **
:info:build
:info:build
:info:build The following build commands failed:
:info:build PhaseScriptExecution "Run Script" build/LaTeXiT.build/Development/Automator-CreateEquations.build/Script-9344BBBA0E8CF71600FE90A5.sh
:info:build (1 failure)
:info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_tex_LaTeXiT/LaTeXiT/work/LaTeXiT-mainline" && /usr/bin/xcodebuild -target "Automator-CreateEquations" -configuration Development build OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.8 ARCHS=x86_64 SDKROOT="" GCC_VERSION=com.apple.compilers.llvm.clang.1_0
:info:build Exit code: 65
:error:build org.macports.build for port LaTeXiT returned: command execution failed
:debug:build Error code: NONE
:debug:build Backtrace: command execution failed
while executing
"$procedure $targetname"
:info:build Warning: targets not executed for LaTeXiT: org.macports.activate org.macports.build org.macports.destroot org.macports.install
Attachments
Change History
comment:1 Changed 10 months ago by macsforever2000@…
- Owner changed from macports-tickets@… to singingwolfboy@…
- Port set to LaTeXiT
comment:2 Changed 10 months ago by dstrubbe@…
Ok, thanks for the advice. I don't understand the second part though. If I do "port clean latexit" then the main.log file I cited above no longer exists. Which file do you mean I should attach?
comment:3 Changed 10 months ago by macsforever2000@…
If the build fails again, then it will generate a new main.log which you should attach. If it builds then the problem is solved and we can close this ticket.
comment:4 Changed 10 months ago by dstrubbe@…
After a clean, the build failed in the same way. I have attached the main.log file.
comment:6 Changed 9 months ago by Andrey.E.Antipov@…
This solves it.
ln -s /Applications/Xcode.app/Contents/Developer/usr/bin/amlint /usr/bin/amlint
Previously it used to be in /Developer/usr/bin, now since it's downloaded by Xcode, it's located in it's directory.
Note: See
TracTickets for help on using
tickets.


In the future, please fill in the Port field and Cc the maintainer. Also attach the main.log after cleaning the port.