New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #30423 (closed defect: fixed)

Opened 22 months ago

Last modified 13 months ago

swi-prolog: build fails on OS X Lion

Reported by: weiju.wu@… Owned by: J.Wielemaker@…
Priority: Normal Milestone:
Component: ports Version: 2.0.0
Keywords: lion Cc: pmoura@…
Port: swi-prolog

Description (last modified by jmr@…) (diff)

Hi, trying to install swi-prolog on OS X Lion fails for me:

--->  Computing dependencies for swi-prolog
--->  Fetching archive for swi-prolog
--->  Fetching swi-prolog
--->  Verifying checksum(s) for swi-prolog
--->  Extracting swi-prolog
--->  Configuring swi-prolog
--->  Building swi-prolog
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for swi-prolog is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_swi-prolog/swi-prolog/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Attachments

main.log (267.0 KB) - added by weiju.wu@… 22 months ago.
log file of the failed installation process

Change History

Changed 22 months ago by weiju.wu@…

log file of the failed installation process

comment:1 follow-up: ↓ 2 Changed 22 months ago by jmr@…

  • Owner changed from macports-tickets@… to J.Wielemaker@…
  • Cc pmoura@… added
  • Description modified (diff)

Please remember to preview and use WikiFormatting, and to cc the maintainers.

comment:2 in reply to: ↑ 1 Changed 22 months ago by weiju.wu@…

Replying to jmr@…:

Please remember to preview and use WikiFormatting, and to cc the maintainers.

will remember this in the future, thanks

comment:3 Changed 22 months ago by pmoura@…

It seems to be an issue with the new default compiler on Lion. Adding configure.compiler gcc-4.2 to the portfile allows the compilation to succeed. Btw, the same issue seems to be causing the compilation of GNU Prolog and YAP to fail. Apparently some incompatible change to mmap.

comment:4 Changed 21 months ago by weiju.wu@…

This works for me now

comment:5 Changed 13 months ago by jmr@…

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

Closing as per comment:4.

Note: See TracTickets for help on using tickets.