Opened 13 years ago
Closed 13 years ago
#31079 closed defect (fixed)
asymptote does not seem to build
Reported by: | gleirsch@… | Owned by: | loshea@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch | Cc: | raphael-st (Raphael Straub) |
Port: | asymptote |
Description
sudo port install asymptote quits with
---> Computing dependencies for asymptote ---> Building asymptote Error: Target org.macports.build returned: shell command failed (see log for details) Log for asymptote is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_asymptote/asymptote/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
Log file:
:info:build make[1]: `faq' is up to date. :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_asymptote/asymptote/work/asymptote-2.08/doc' :info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_asymptote/asymptote/work/asymptote-2.08/doc' :info:build ../asy -dir ../base -config "" -render=0 -f pdf -noprc Bode.asy :info:build ../asy -dir ../base -config "" -render=0 -f pdf -noprc CAD1.asy :info:build ../asy -dir ../base -config "" -render=0 -f pdf -noprc CDlabel.asy :info:build make[1]: *** [Bode.pdf] Segmentation fault :info:build make[1]: *** Waiting for unfinished jobs.... :info:build make[1]: *** [CDlabel.pdf] Segmentation fault :info:build make[1]: *** [CAD1.pdf] Segmentation fault :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_asymptote/asymptote/work/asymptote-2.08/doc' :info:build make: *** [man] Error 2 :info:build make: *** Waiting for unfinished jobs.... :info:build /bin/sh: line 1: 37498 Segmentation fault ./asy -dir base -config "" -render=0 -l > asy.list :info:build make: *** [asy-keywords.el] Error 139 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_asymptote/asymptote/work/asymptote-2.08' :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_asymptote/asymptote/work/asymptote-2.08" && /usr/bin/make -j4 -w all " returned error 2 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details) while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for asymptote): org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Log for asymptote is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_asymptote/asymptote/main.log
Thanks for help in advance.
Similar (but closed) tickets: #29037
Attachments (1)
Change History (7)
comment:1 Changed 13 years ago by raphael-st (Raphael Straub)
Cc: | loshea@… removed |
---|---|
Keywords: | haspatch added |
Owner: | changed from macports-tickets@… to loshea@… |
Version: | 2.0.2 |
Changed 13 years ago by raphael-st (Raphael Straub)
Attachment: | Portfile.diff added |
---|
comment:2 follow-up: 3 Changed 13 years ago by gleirsch@…
Where can I quickly find this info? Afaik I did not alter the port settings. Anyway, thanks for recommending a patch.
comment:3 Changed 13 years ago by raphael-st (Raphael Straub)
Replying to gleirsch@…:
Where can I quickly find this info?
The default compiler depends on your Xcode and Mac OS X version. llvm-gcc-4.2 is the default compiler of Xcode 4.0 (Snow Leopard) and Xcode 4.1 (Lion).
Anyway, thanks for recommending a patch.
As long as the patch is not committed yet, you can try
sudo port install asymptote configure.compiler=gcc-4.2
to install asymptote.
comment:5 Changed 13 years ago by gleirsch@…
Thanks. After doing a
sudo port clean --dist asymptote
your hint worked fine.
comment:6 Changed 13 years ago by raphael-st (Raphael Straub)
Resolution: | → fixed |
---|---|
Status: | new → closed |
r83681 (maintainer timeout)
Note: See
TracTickets for help on using
tickets.
Replying to gleirsch@…:
You're compiling with llvm-gcc, right? I had the same problem with Xcode 4.0 on Snow Leopard. Then I tried using clang, but it could not compile asymptote.
A patch to upgrade asymptote to version 2.13 and to use gcc-4.2 (which works for me) is in the attachment. Maintainer, may I commit it?