Opened 11 years ago

Closed 3 years ago

#21853 closed defect (fixed)

mzscheme doesn't build under Snow Leopard or later

Reported by: jabial@… Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: dylan@…, josephholsten@…, MartinBuchmann (Martin Buchmann), jeff.pitman@…, iamwil@…, mekazu@…, kato23@…, waltaskew@…, cooljeanius (Eric Gallager), informatimago (Pascal J. Bourguignon), c-kloukinas
Port: mzscheme

Description

It won't build. The mzscheme mailing list says the source version available from their svn now does build for SL by forcing 32-bit in the autoconf script, but I didn't test it.

--->  Verifying checksum(s) for mzscheme
--->  Extracting mzscheme
--->  Applying patches to mzscheme
--->  Configuring mzscheme
--->  Building mzscheme
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_mzscheme/work/mz-4.1.5/src" && /usr/bin/make -j2 all " returned error 2
Command output: /usr/bin/make 3m
cd mzscheme; /usr/bin/make 3m
/usr/bin/make cgc
/usr/bin/make common
/usr/bin/make g-c
cd gc; /usr/bin/make ../libmzgc.a 
/usr/bin/gcc-4.2  -iquote ./include -DNO_SIGNALS -O2 -arch x86_64  -I/opt/local/include -DOS_X -D_DARWIN_UNLIMITED_SELECT   -fno-common  -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./alloc.c
/usr/bin/gcc-4.2  -iquote ./include -DNO_SIGNALS -O2 -arch x86_64  -I/opt/local/include -DOS_X -D_DARWIN_UNLIMITED_SELECT   -fno-common  -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./reclaim.c
In file included from ./include/private/gc_priv.h:66,
                 from ./alloc.c:19:
./include/private/gcconfig.h:476: error: expected identifier or '(' before '--' token
In file included from ./include/private/gc_priv.h:66,
                 from ./reclaim.c:18:
./include/private/gcconfig.h:476: error: expected identifier or '(' before '--' token
make[6]: *** [reclaim.o] Error 1
make[6]: *** Waiting for unfinished jobs....
make[6]: *** [alloc.o] Error 1
make[5]: *** [g-c] Error 2
make[4]: *** [common] Error 2
make[3]: *** [cgc] Error 2
make[2]: *** [3m] Error 2
make[1]: *** [3m] Error 2
make: *** [all] Error 2

Error: Status 1 encountered during processing.

Attachments (2)

build.log (92.2 KB) - added by dylan@… 11 years ago.
Output of port -d install mzscheme after clean
build.2.log (22.5 KB) - added by iamwil@… 11 years ago.
build log on snow leopard

Download all attachments as: .zip

Change History (19)

comment:1 Changed 11 years ago by dylan@…

Cc: dylan@… added

Cc Me!

comment:2 Changed 11 years ago by dylan@…

Tried to install this on an older MBP with 32-bit CPU; still didn't build.

Changed 11 years ago by dylan@…

Attachment: build.log added

Output of port -d install mzscheme after clean

Changed 11 years ago by iamwil@…

Attachment: build.2.log added

build log on snow leopard

comment:3 Changed 11 years ago by iamwil@…

+1 on not working on snow leopard. Attached is my build log as well.

comment:4 Changed 11 years ago by jeff.pitman@…

I just checked out 4.2.4 from Subversion and compiled *without* Mac 64-bit enabled. It works, but takes forever to load up. Even MrEd works. Again, takes >30 seconds to load.

To fix this port, it just needs to be upgraded and then "configure" tweaked to fit the macports environment.

comment:5 Changed 11 years ago by josephholsten@…

Cc: josephholsten@… added

Cc Me!

comment:6 Changed 11 years ago by ryandesign (Ryan Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

I am putting together an update to 4.2.5.

comment:7 Changed 10 years ago by mekazu@…

Any progress on this? I get the same error when trying to install the latest port (4.1.5).

comment:8 Changed 10 years ago by MartinBuchmann (Martin Buchmann)

Cc: Martin.Buchmann@… added

Cc Me!

comment:9 Changed 9 years ago by kato23@…

PLT Scheme is now Racket.

racket 5.2.1 is available as:

- Mac OS X (Intel 32-bit)
- Mac OS X (Intel 64-bit)
- Mac OS X (PPC)
- Mac OS X source
- Unix source
- ...

racket 5.2.1 can be built on Mac OS X 10.6.8 from Mac OS X source as follows:

# compile & install racket 5.2.1 on Mac OS X 10.6.8 in /usr/local/racket

# first download & extract "Mac OS X source" from: 
# http://download.racket-lang.org/racket-5-2-1-src-mac-dmg.html

sudo -H -i

export PATH='/usr/bin:/bin:/usr/sbin:/sbin'

cd 'Racket v5.2.1 Source/src'
#less -p 'Compiling for Mac OS X' README

./configure --enable-macprefix --prefix=/usr/local/racket

make

(
mkdir -p /usr/local/racket/lib
cd /usr/local/racket/lib || exit 1
curl -L -O http://download.racket-lang.org/libs/4/x86_64-macosx/PSMTabBarControl.tgz
tar -xf PSMTabBarControl.tgz
curl -L -O http://download.racket-lang.org/libs/4/x86_64-macosx/libcairo.2.dylib
curl -L -O http://download.racket-lang.org/libs/4/x86_64-macosx/libgio-2.0.0.dylib
curl -L -O http://download.racket-lang.org/libs/4/x86_64-macosx/libglib-2.0.0.dylib
curl -L -O http://download.racket-lang.org/libs/4/x86_64-macosx/libgmodule-2.0.0.dylib
curl -L -O http://download.racket-lang.org/libs/4/x86_64-macosx/libgobject-2.0.0.dylib
curl -L -O http://download.racket-lang.org/libs/4/x86_64-macosx/libgthread-2.0.0.dylib
curl -L -O http://download.racket-lang.org/libs/4/x86_64-macosx/libintl.8.dylib
curl -L -O http://download.racket-lang.org/libs/4/x86_64-macosx/libjpeg.62.dylib
curl -L -O http://download.racket-lang.org/libs/4/x86_64-macosx/libpango-1.0.0.dylib
curl -L -O http://download.racket-lang.org/libs/4/x86_64-macosx/libpangocairo-1.0.0.dylib
curl -L -O http://download.racket-lang.org/libs/4/x86_64-macosx/libpixman-1.0.dylib
curl -L -O http://download.racket-lang.org/libs/4/x86_64-macosx/libpng14.14.dylib
)

make install

open -a Finder /usr/local/racket

/usr/local/racket/bin/racket

# Welcome to Racket v5.2.1.
# > (printf "Hello, world!\n")
# Hello, world!
# > (exit)

comment:10 in reply to:  9 Changed 9 years ago by ryandesign (Ryan Schmidt)

Cc: jeff.pitman@… iamwil@… mekazu@… kato23@… waltaskew@… added

Replying to kato23@…:

PLT Scheme is now Racket.

racket 5.2.1 can be built on Mac OS X 10.6.8 from Mac OS X source as follows:

Thanks! That's very informative and helpful. I'll see if I can make any progress on updating the port -- or rather, making a new racket port.

Has duplicate #33841.

comment:11 Changed 7 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:12 Changed 6 years ago by ryandesign (Ryan Schmidt)

Cc: pjb@… added
Summary: mzscheme doesn't build under Snow Leopardmzscheme doesn't build under Snow Leopard or later

Has duplicate #45662.

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

Cc: c-kloukinas added

Has duplicate #54879.

comment:14 Changed 3 years ago by c-kloukinas

Maybe remove the port entirely or rename it to mzscheme-broken or something?

comment:15 Changed 3 years ago by raimue (Rainer Müller)

I agree, keeping this port around any longer does not make sense as upstream is dead.

Maybe you could look into writing an updated Portfile for racket? https://guide.macports.org/#development

comment:16 Changed 3 years ago by raimue (Rainer Müller)

Pull request for removal of mzscheme: https://github.com/macports/macports-ports/pull/811

comment:17 Changed 3 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: assignedclosed

In 89e963508c3a414b6e194308977cf17dc929a4f1/macports-ports:

mzscheme: Remove outdated and abandoned port

MzScheme is known not to build on recent macOS versions and has been
broken for 8 years without progress. Upstream development continued
under the new name Racket.

Closes: #21853
Closes: #22945
See: #28291

Note: See TracTickets for help on using tickets.