Opened 9 years ago

Closed 3 months ago

#24261 closed defect (fixed)

Strategoxt 0.17pre18253 build failure on Snow Leopard

Reported by: chris@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: strategoxt

Description

Hi there, Strategoxt 0.17pre18253 (latest as of ticket) fails to build for me on Snow Leopard with an Intel Core 2 Duo processor.

Unfortunately, I can't identify what is wrong. The build ends with:

/bin/sh: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_strategoxt/work/strategoxt-0.17pre18253/xtc/src/xtc: No such file or directory
/bin/sh: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_strategoxt/work/strategoxt-0.17pre18253/xtc/src/xtc: No such file or directory
gnumake[2]: *** [all-local] Error 127
gnumake[2]: *** Waiting for unfinished jobs....
gnumake[1]: *** [all-recursive] Error 1
gnumake: *** [all-recursive] Error 1
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_strategoxt/work/strategoxt-0.17pre18253" && /usr/bin/gnumake -j2 all " returned error 2
DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_strategoxt/work/strategoxt-0.17pre18253" && /usr/bin/gnumake -j2 all " returned error 2
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"

This seems odd, because XTC is found by configure previously in the log:

checking for location of xtc program... /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_strategoxt/work/strategoxt-0.17pre18253/xtc/src/xtc

Attachments (2)

stratego_install_out.txt (420.9 KB) - added by chris@… 9 years ago.
Full output log from trying to install stratego
strategoxt-0.17.diff (1.1 KB) - added by ryandesign (Ryan Schmidt) 9 years ago.
potential patch

Download all attachments as: .zip

Change History (8)

Changed 9 years ago by chris@…

Attachment: stratego_install_out.txt added

Full output log from trying to install stratego

comment:1 Changed 9 years ago by chris@…

Stratego appears to have reached full 0.17, so perhaps this port may work if it's just updated to get the new package? The changelog notes that 0.17 adds 64-bit support.

comment:2 Changed 9 years ago by jmroot (Joshua Root)

Port: strategoxt added

Please remember to fill in the Port field.

comment:3 Changed 9 years ago by ryandesign (Ryan Schmidt)

Fixed livecheck in r67874.

Changed 9 years ago by ryandesign (Ryan Schmidt)

Attachment: strategoxt-0.17.diff added

potential patch

comment:4 Changed 9 years ago by ryandesign (Ryan Schmidt)

This turns out to be a parallel build failure, so I disabled parallel building in r67878. I'm now able to build the port on Tiger i386 and Snow Leopard i386. But not on Snow Leopard x86_64. There, we get a segmentation fault now. Updating the port to 0.17, which I did in r67880, doesn't help either.

/bin/sh: line 1:  1288 Segmentation fault      /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_strategoxt/work/strategoxt-0.17/xtc/src/xtc -r /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_strategoxt/work/strategoxt-0.17/BUILDTIME_XTC register -l "$d" -V 0.17 -t `basename $file`
/bin/sh: line 1:  1308 Segmentation fault      /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_strategoxt/work/strategoxt-0.17/xtc/src/xtc -r /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_strategoxt/work/strategoxt-0.17/BUILDTIME_XTC register -l "$d" -V 0.17 -t `basename $file`

comment:5 Changed 4 months ago by kencu (Ken)

I couldn't build this any longer because sdf2-bundle failed to build, at least on initial attempts with clang-3.9. THe strategoxt project looks dead on the website, and has been rolled into something called spoofax.

This looks dead to me. Unless anyone is still somehow needing this, we should just delete it out of the macports repo, IMHO.

There is a bug report in their bug tracker <https://yellowgrass.org/issue/StrategoXT/802> indicating an issue building x86_64. Indeed, I see it built i386 and ppc recently. Most likely it is not fully 64bit compatible, and we can restrict it to the 32bit platforms -- for whatever use it on there, being 10 years old now.

Last edited 3 months ago by kencu (Ken) (previous) (diff)

comment:6 Changed 3 months ago by ken-cunningham-webuse

Resolution: fixed
Status: newclosed

In bdf48479815efd5c0f982f7ce4117dfde256e535/macports-ports (master):

strategoxt: force 32 bit

x86_64 bit versions of this software do not build
see: https://yellowgrass.org/issue/StrategoXT/802
closes: #24261

Note: See TracTickets for help on using tickets.