New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #35516 (closed defect: fixed)

Opened 10 months ago

Last modified 8 months ago

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

main.log (481.2 KB) - added by dstrubbe@… 10 months ago.

Change History

comment:1 Changed 10 months ago by macsforever2000@…

  • Owner changed from macports-tickets@… to singingwolfboy@…
  • Port set to LaTeXiT

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

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.

Changed 10 months ago by dstrubbe@…

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:5 Changed 9 months ago by Andrey.E.Antipov@…

  • Cc Andrey.E.Antipov@… added

Cc Me!

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.

comment:7 Changed 8 months ago by jmr@…

If amlint is really no longer included in the Command Line Tools, then it should probably be patched to run xcrun amlint.

comment:8 Changed 8 months ago by singingwolfboy@…

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r98427

Note: See TracTickets for help on using tickets.