Opened 10 years ago

Closed 4 years ago

#41670 closed defect (fixed)

swi-prolog @6.6.0 build error: command execution failed

Reported by: svankasteel+macports@… Owned by: pmoura (Paulo Moura)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: J.Wielemaker@…
Port: swi-prolog

Description

OS/XCode version

Mac OS X 10.6.8 (32 bit)

XCode 4.2, Build version 4C199

Relevant information from log

(line 756-780):

:info:build cc -g -O2 -o mkvmi ./mkvmi.c
:info:build ./mkvmi.c:390: internal compiler error: Bus error
:info:build Please submit a full bug report,
:info:build with preprocessed source if appropriate.
:info:build See <URL:http://developer.apple.com/bugreporter> for instructions.
:info:build make[1]: *** [mkvmi] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_swi-prolog/swi-prolog/work/pl-6.6.0/src'
:info:build make: *** [lite] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_swi-prolog/swi-prolog/work/pl-6.6.0'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_swi-prolog/swi-prolog/work/pl-6.6.0" && /usr/bin/make -w all 
:info:build Exit code: 2
:error:build org.macports.build for port swi-prolog returned: command execution failed
:debug:build Error code: CHILDSTATUS 94883 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for swi-prolog: org.macports.activate org.macports.build org.macports.destroot org.macports.install

Attachments (1)

main.log (84.5 KB) - added by svankasteel+macports@… 10 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 10 years ago by larryv (Lawrence Velázquez)

Cc: J.Wielemaker@… added
Owner: changed from macports-tickets@… to pmoura@…

Your log is incomplete. Please clean, try again, and attach the new main.log.

Last edited 10 years ago by larryv (Lawrence Velázquez) (previous) (diff)

Changed 10 years ago by svankasteel+macports@…

Attachment: main.log added

comment:2 Changed 10 years ago by svankasteel+macports@…

Relevant section from new log

(line 1195-1219):

:info:build cc -g -O2 -o mkvmi ./mkvmi.c
:info:build ./mkvmi.c:390: internal compiler error: Bus error
:info:build Please submit a full bug report,
:info:build with preprocessed source if appropriate.
:info:build See <URL:http://developer.apple.com/bugreporter> for instructions.
:info:build make[1]: *** [mkvmi] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_swi-prolog/swi-prolog/work/pl-6.6.0/src'
:info:build make: *** [lite] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_swi-prolog/swi-prolog/work/pl-6.6.0'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_swi-prolog/swi-prolog/work/pl-6.6.0" && /usr/bin/make -w all 
:info:build Exit code: 2
:error:build org.macports.build for port swi-prolog returned: command execution failed
:debug:build Error code: CHILDSTATUS 98971 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for swi-prolog: org.macports.activate org.macports.build org.macports.destroot org.macports.install

comment:3 Changed 10 years ago by svankasteel+macports@…

Cc: svankasteel+macports@… added

Cc Me!

comment:4 Changed 10 years ago by larryv (Lawrence Velázquez)

Cc: svankasteel+macports@… removed

You don’t have to Cc yourself.

comment:5 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

It looks like this port needs to be told how to use the right compiler, and to blacklist this old compiler because it apparently crashes on this code.

comment:6 in reply to:  5 Changed 10 years ago by svankasteel+macports@…

Replying to ryandesign@…:

It looks like this port needs to be told how to use the right compiler, and to blacklist this old compiler because it apparently crashes on this code.

This is interesting. I followed the steps in "How to test" exclusively: I checked out the repository and edited macports.conf. Then I retried and it worked! Swi-Prolog is now up and running.

Perhaps there was a problem with binpath.

comment:7 Changed 4 years ago by reneeotten (Renee Otten)

Resolution: fixed
Status: newclosed

if I read this ticket the issue seems resolved. Besides that the swi-prolog port is currently at version 8.2.0 so many things can have changed since then. Closing this ticket, please reopen or submit a new one if you think this is still relevant.

Note: See TracTickets for help on using tickets.