Opened 12 years ago

Closed 11 years ago

#20029 closed update (fixed)

chicken: update to version 4.4.0

Reported by: lkraider (Paul Eipper) Owned by: arto.bendiken@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: waqar@…, iraikov (Ivan Raikov), lkraider (Paul Eipper), roederja, ryandesign (Ryan Schmidt)
Port: chicken

Description

This patch updates the Chicken Scheme Portfile to build version 4.0.0 of the compiler.

Attachments (5)

chicken-4.0.0.patch (1.2 KB) - added by lkraider (Paul Eipper) 12 years ago.
Portfile patch for chicken version 4.0.0
chicken-4.1.0.patch (1.9 KB) - added by iraikov (Ivan Raikov) 11 years ago.
Portfile patch for Chicken 4.1.0
Portfile.patch (1.3 KB) - added by iraikov (Ivan Raikov) 11 years ago.
Portfile patch for Chicken 4.2.0
Portfile.2.patch (2.2 KB) - added by iraikov (Ivan Raikov) 11 years ago.
Patch for Chicken 4.3.0
chicken-4.3.0.patch (1.6 KB) - added by iraikov (Ivan Raikov) 11 years ago.
Chicken 4.3.0 patch

Download all attachments as: .zip

Change History (18)

Changed 12 years ago by lkraider (Paul Eipper)

Attachment: chicken-4.0.0.patch added

Portfile patch for chicken version 4.0.0

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Cc: ivan.g.raikov@… added
Owner: changed from macports-tickets@… to arto.bendiken@…

comment:2 in reply to:  description Changed 12 years ago by iraikov (Ivan Raikov)

Chicken 4.0.0 is a bit broken, I recommend waiting for the 4.1.0 release.

Replying to lkraider+ports@…:

This patch updates the Chicken Scheme Portfile to build version 4.0.0 of the compiler.

Changed 11 years ago by iraikov (Ivan Raikov)

Attachment: chicken-4.1.0.patch added

Portfile patch for Chicken 4.1.0

comment:3 Changed 11 years ago by iraikov (Ivan Raikov)

Chicken 4.1.0 has been released, attached is a Portfile patch for it.

comment:4 Changed 11 years ago by mf2k (Frank Schima)

Summary: chicken: update to version 4.0.0chicken: update to version 4.1.0

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

Version: 1.7.1

For future reference, we prefer unified diffs (diff -u).

comment:6 Changed 11 years ago by jmroot (Joshua Root)

The checksums in the patch seem to be incorrect.

Changed 11 years ago by iraikov (Ivan Raikov)

Attachment: Portfile.patch added

Portfile patch for Chicken 4.2.0

comment:7 Changed 11 years ago by iraikov (Ivan Raikov)

I have attached a unified patch for Chicken 4.2.0 with correct checksums.

comment:8 Changed 11 years ago by mf2k (Frank Schima)

This does not build for me on Snow Leopard:

--->  Fetching chicken
--->  Attempting to fetch chicken-4.2.0.tar.gz from http://distfiles.macports.org/chicken
--->  Attempting to fetch chicken-4.2.0.tar.gz from http://chicken.wiki.br/releases/4.2.0
--->  Verifying checksum(s) for chicken
--->  Extracting chicken
--->  Configuring chicken
--->  Building chicken
Error: Target org.macports.build returned: shell command "cd /opt/local/var/macports/build/_opt_mports_trunk_dports_lang_chicken/work/chicken-4.2.0 && /usr/bin/make PLATFORM=macosx PREFIX=/opt/local bootstrap" returned error 2
Command output: cat chicken-defaults.h >>chicken-config.h
/usr/bin/gcc-4.2 -no-cpp-precomp -fno-strict-aliasing -fno-common -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -I. -I./ \
	   \
	  -c -g -Wall -Wno-unused chicken.c -o chicken-static.o
/usr/bin/gcc-4.2 -no-cpp-precomp -fno-strict-aliasing -fno-common -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -I. -I./ \
	   \
	  -c -g -Wall -Wno-unused batch-driver.c -o batch-driver-static.o
/usr/bin/gcc-4.2 -no-cpp-precomp -fno-strict-aliasing -fno-common -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -I. -I./ \
	   \
	  -c -g -Wall -Wno-unused compiler.c -o compiler-static.o
/usr/bin/gcc-4.2 -no-cpp-precomp -fno-strict-aliasing -fno-common -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -I. -I./ \
	   \
	  -c -g -Wall -Wno-unused optimizer.c -o optimizer-static.o
/usr/bin/gcc-4.2 -no-cpp-precomp -fno-strict-aliasing -fno-common -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -I. -I./ \
	   \
	  -c -g -Wall -Wno-unused scrutinizer.c -o scrutinizer-static.o
/usr/bin/gcc-4.2 -no-cpp-precomp -fno-strict-aliasing -fno-common -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -I. -I./ \
	   \
	  -c -g -Wall -Wno-unused support.c -o support-static.o
/usr/bin/gcc-4.2 -no-cpp-precomp -fno-strict-aliasing -fno-common -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -I. -I./ \
	   \
	  -c -g -Wall -Wno-unused c-platform.c -o c-platform-static.o
/usr/bin/gcc-4.2 -no-cpp-precomp -fno-strict-aliasing -fno-common -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -I. -I./ \
	   \
	  -c -g -Wall -Wno-unused c-backend.c -o c-backend-static.o
/usr/bin/gcc-4.2 -no-cpp-precomp -fno-strict-aliasing -fno-common -DHAVE_CHICKEN_CONFIG_H -c apply-hack.x86.s -o apply-hack.x86.o
apply-hack.x86.s:35:suffix or operands invalid for `call'
make[2]: *** [apply-hack.x86.o] Error 1
make[1]: *** [bootstrap] Error 2
make: *** [bootstrap] Error 2

Error: Status 1 encountered during processing.

comment:9 Changed 11 years ago by mf2k (Frank Schima)

Summary: chicken: update to version 4.1.0chicken: update to version 4.2.0

comment:10 Changed 11 years ago by roederja

Cc: lkraider+ports@… jann@… added

Doesn't build for me either.

Changed 11 years ago by iraikov (Ivan Raikov)

Attachment: Portfile.2.patch added

Patch for Chicken 4.3.0

Changed 11 years ago by iraikov (Ivan Raikov)

Attachment: chicken-4.3.0.patch added

Chicken 4.3.0 patch

comment:11 in reply to:  description Changed 11 years ago by iraikov (Ivan Raikov)

I have attached a patch for Chicken 4.3.0. This patch forces 64-bit mode on Darwin version 10 (i.e. Snow Leopard). It should still build on systems where 32-bit mode is the default.

comment:12 Changed 11 years ago by roederja

You forgot, that the first intel iMacs can run OS 10.6 but don't have 64bit processors. Therefore you should use this construct:

if {${build_arch} == "x86_64"} {
# Do something
}

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

Cc: ryandesign@… added
Resolution: fixed
Status: newclosed
Summary: chicken: update to version 4.2.0chicken: update to version 4.4.0

I updated chicken to 4.4.0 and cleaned up the portfile a bit in r67187.

Note: See TracTickets for help on using tickets.