Opened 12 years ago

Closed 12 years ago

#35516 closed defect (fixed)

LaTeXiT @2.4.1_0 build failure

Reported by: dstrubbe (David Strubbe) 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 (1)

main.log (481.2 KB) - added by dstrubbe (David Strubbe) 12 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to singingwolfboy@…
Port: LaTeXiT added

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 12 years ago by dstrubbe (David Strubbe)

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 12 years ago by mf2k (Frank Schima)

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 12 years ago by dstrubbe (David Strubbe)

Attachment: main.log added

comment:4 Changed 12 years ago by dstrubbe (David Strubbe)

After a clean, the build failed in the same way. I have attached the main.log file.

comment:5 Changed 12 years ago by Andrey.E.Antipov@…

Cc: Andrey.E.Antipov@… added

Cc Me!

comment:6 Changed 12 years 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 12 years ago by jmroot (Joshua Root)

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 12 years ago by singingwolfboy@…

Resolution: fixed
Status: newclosed

Fixed in r98427

Note: See TracTickets for help on using tickets.