Opened 13 years ago
Closed 13 years ago
#31759 closed defect (fixed)
asymptote port fails
Reported by: | schlenkwad@… | Owned by: | loshea@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch | Cc: | raphael-st (Raphael Straub) |
Port: | asymptote |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
The port of asymptote fails. I am running under Lion.
The message is:
Error: Status 1 encountered during processing.
Log file contents:
version:1 :debug:main epoch: in tree: 0 installed: 0 :debug:main texinfo 4.13_2 exists in the ports tree :debug:main texinfo 4.13_2 is the latest installed :debug:main texinfo 4.13_2 is active :debug:main Merging existing variants '' into variants :debug:main new fully merged portvariants: :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/texinfo :debug:main OS darwin/11.2.0 (Mac OS X 10.7) arch i386 :debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided :debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided :debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided :debug:main adding the default universal variant :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf :debug:main No need to upgrade! texinfo 4.13_2 >= texinfo 4.13_2 :debug:main epoch: in tree: 0 installed: 0 :debug:main gettext 0.18.1.1_2 exists in the ports tree
Attachments (2)
Change History (12)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | port failed removed |
Owner: | changed from macports-tickets@… to loshea@… |
comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
The log file contents you're showing above are for the texinfo port, not for the asymptote port.
Changed 13 years ago by schlenkwad@…
this is the file referred to in terminal
comment:3 Changed 13 years ago by schlenkwad@…
This is what I entered in terminal:
Daves-Macbook:asymptote dschlenkwad$ sudo port install asymptotePassword:---> 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_tarballs_ports_graphics_asymptote/asymptote/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
The attached main.log is the file referred to by the above message.
comment:5 follow-up: 7 Changed 13 years ago by raphael-st (Raphael Straub)
Keywords: | haspatch added |
---|---|
Version: | 2.0.3 |
The relevant error in your log is:
:info:build ../asy -dir ../base -config "" -render=0 -f pdf -noprc Bode.asy :info:build make[1]: *** [Bode.pdf] Segmentation fault: 11
This problem is basically the same as in #31079. Asymptote must be compiled with gcc-4.2, but the Makefile is not UsingTheRightCompiler.
I can reproduce your problem here with Xcode 4.2 and Mac OS X 10.6.8. The attached patch fixes the problem for me. Maintainer, may I commit it?
comment:7 Changed 13 years ago by raphael-st (Raphael Straub)
Replying to raphael@…:
Asymptote must be compiled with gcc-4.2, but the Makefile is not UsingTheRightCompiler.
Well, the problem is actually that configure.cxx is not set. A modified patch is in the attachment.
Changed 13 years ago by raphael-st (Raphael Straub)
Attachment: | Portfile.diff added |
---|
comment:8 Changed 13 years ago by raphael-st (Raphael Straub)
As long as the patch is not committed yet, you can use the following workaround to install asymptote:
sudo port clean asymptote sudo port install asymptote configure.cxx=/opt/local/bin/g++-apple-4.2
comment:9 Changed 13 years ago by schlenkwad@…
THANK YOU THANK YOU THANK YOU!!!!!
That did the trick.
comment:10 Changed 13 years ago by raphael-st (Raphael Straub)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Maintainer timeout. Fixed in r86738.
Please attach the entire main.log file.