Opened 13 years ago

Closed 13 years ago

#30423 closed defect (fixed)

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 (Paulo Moura)
Port: swi-prolog

Description (last modified by jmroot (Joshua Root))

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 (1)

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

Download all attachments as: .zip

Change History (6)

Changed 13 years ago by weiju.wu@…

Attachment: main.log added

log file of the failed installation process

comment:1 Changed 13 years ago by jmroot (Joshua Root)

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

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

comment:2 in reply to:  1 Changed 13 years 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 13 years ago by pmoura (Paulo Moura)

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 13 years ago by weiju.wu@…

This works for me now

comment:5 Changed 13 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Closing as per comment:4.

Note: See TracTickets for help on using tickets.