Opened 15 years ago

Closed 15 years ago

#21779 closed defect (fixed)

mit-scheme upgrade fails on Snow Leopard

Reported by: abubious@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: snowleopard Cc: drkp (Dan Ports)
Port: mit-scheme

Description

Hi, I'm running Snow Leopard with appropriate MacPorts build (1.8.1 for Snow Leopard) and latest xCode (3.2). When trying to sudo port -v upgrade mit-scheme, I'm getting an error when it tries to run ./configure in compiler. Here's the log:

abubumac:~ barton$ sudo port -v upgrade mit-scheme
Warning: Skipping upgrade since ncursesw 5.7_0 >= ncursesw 5.7_0, even though installed variants "" do not match "+darwin_10". Use 'upgrade --enforce-variants' to switch to the requested variants.
Warning: Skipping upgrade since ncurses 5.7_0 >= ncurses 5.7_0, even though installed variants "" do not match "+darwin_10". Use 'upgrade --enforce-variants' to switch to the requested variants.
--->  Computing dependencies for mit-scheme.
--->  Building mit-scheme
run_cmd: ./configure --prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_mit-scheme/work/mit-scheme-c-20080130/src/boot-root --enable-native-code=c
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
Makefiles already created.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating 6001/Makefile
config.status: creating compiler/Makefile
config.status: creating cref/Makefile
config.status: creating edwin/Makefile
config.status: creating imail/Makefile
config.status: creating runtime/Makefile
config.status: creating sf/Makefile
config.status: creating sos/Makefile
config.status: creating ssp/Makefile
config.status: creating star-parser/Makefile
config.status: creating win32/Makefile
config.status: creating xdoc/Makefile
config.status: creating xml/Makefile
configure: configuring in microcode
configure: running /bin/sh './configure' --prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_mit-scheme/work/mit-scheme-c-20080130/src/boot-root  '--prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_mit-scheme/work/mit-scheme-c-20080130/src/boot-root' '--enable-native-code=c' --cache-file=/dev/null --srcdir=.
checking whether make sets $(MAKE)... yes
checking build system type... i386-apple-darwin10.0.0
checking host system type... i386-apple-darwin10.0.0
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether backslash-a works in strings... yes
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for C/C++ restrict keyword... __restrict
checking for working volatile... yes
checking for inline... inline
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for preprocessor stringizing operator... yes
checking for function prototypes... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for GCC>=4... yes
checking for exp in -lm... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking bsdtty.h usability... no
checking bsdtty.h presence... no
checking for bsdtty.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking sgtty.h usability... yes
checking sgtty.h presence... yes
checking for sgtty.h... yes
checking stropts.h usability... no
checking stropts.h presence... no
checking for stropts.h... no
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/ptyio.h usability... no
checking sys/ptyio.h presence... no
checking for sys/ptyio.h... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/vfs.h usability... no
checking sys/vfs.h presence... no
checking for sys/vfs.h... no
checking termio.h usability... no
checking termio.h presence... no
checking for termio.h... no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking float.h usability... no
checking float.h presence... yes
configure: WARNING: float.h: present but cannot be compiled
configure: WARNING: float.h:     check for missing prerequisite headers?
configure: WARNING: float.h: see the Autoconf documentation
configure: WARNING: float.h:     section "Present But Cannot Be Compiled"
configure: WARNING: float.h: proceeding with the preprocessor's result
configure: WARNING: float.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------- ##
configure: WARNING:     ## Report this to bug-mit-scheme@gnu.org ##
configure: WARNING:     ## ------------------------------------- ##
checking for float.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking for stdint.h... (cached) yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for intptr_t... yes
checking for uintptr_t... yes
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for unsigned char... yes
checking size of unsigned char... 1
checking for unsigned short... yes
checking size of unsigned short... 2
checking for unsigned int... yes
checking size of unsigned int... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking for void *... yes
checking size of void *... 4
checking for intptr_t... (cached) yes
checking size of intptr_t... 4
checking for uintptr_t... (cached) yes
checking size of uintptr_t... 4
checking for nlink_t... yes
checking for clock_t... yes
checking for time_t... yes
checking for socklen_t... yes
checking for cc_t... yes
checking for speed_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct tm.tm_gmtoff... yes
checking for struct ltchars... no
checking for struct hostent.h_addr_list... yes
checking for struct sigcontext... yes
checking whether byte ordering is bigendian... (cached) no
checking whether char is unsigned... no
checking for an ANSI C-conforming const... (cached) yes
checking whether getpgrp requires zero arguments... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether setpgrp takes no argument... no
checking whether setvbuf arguments are reversed... no
checking whether utime accepts a null argument... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for vprintf... yes
checking for _doprnt... no
checking for wait3 that fills in rusage... yes
checking for ctermid... yes
checking for dup2... yes
checking for fcntl... yes
checking for floor... yes
checking for fpathconf... yes
checking for frexp... yes
checking for ftruncate... yes
checking for getcwd... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for getlogin... yes
checking for getpagesize... (cached) yes
checking for getpgrp... yes
checking for getpt... no
checking for gettimeofday... yes
checking for getwd... yes
checking for grantpt... yes
checking for kill... yes
checking for lockf... yes
checking for memcpy... yes
checking for mkdir... yes
checking for mktime... yes
checking for modf... yes
checking for nice... yes
checking for poll... yes
checking for prealloc... no
checking for rename... yes
checking for rmdir... yes
checking for select... yes
checking for setitimer... yes
checking for setpgrp... yes
checking for setpgrp2... no
checking for shmat... yes
checking for sigaction... yes
checking for sighold... yes
checking for socket... yes
checking for statfs... yes
checking for strchr... yes
checking for strerror... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for symlink... yes
checking for sysconf... yes
checking for times... yes
checking for truncate... yes
checking for uname... yes
checking for utime... yes
checking for waitpid... yes
checking for X... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
checking for long file names... yes
checking for unistd.h... (cached) yes
checking for restartable system calls... yes
checking for tparm in -lncurses... yes
checking curses.h usability... no
checking curses.h presence... yes
configure: WARNING: curses.h: present but cannot be compiled
configure: WARNING: curses.h:     check for missing prerequisite headers?
configure: WARNING: curses.h: see the Autoconf documentation
configure: WARNING: curses.h:     section "Present But Cannot Be Compiled"
configure: WARNING: curses.h: proceeding with the preprocessor's result
configure: WARNING: curses.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------- ##
configure: WARNING:     ## Report this to bug-mit-scheme@gnu.org ##
configure: WARNING:     ## ------------------------------------- ##
checking for curses.h... yes
checking term.h usability... yes
checking term.h presence... yes
checking for term.h... yes
checking for tparam in -lncurses... no
checking openssl/blowfish.h usability... yes
checking openssl/blowfish.h presence... yes
checking for openssl/blowfish.h... yes
checking openssl/md5.h usability... yes
checking openssl/md5.h presence... yes
checking for openssl/md5.h... yes
checking for BF_set_key in -lcrypto... yes
checking mhash.h usability... no
checking mhash.h presence... no
checking for mhash.h... no
checking mcrypt.h usability... no
checking mcrypt.h presence... no
checking for mcrypt.h... no
checking gdbm.h usability... no
checking gdbm.h presence... no
checking for gdbm.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db_create in -ldb-4... no
checking for pg_config... no
checking libpq-fe.h usability... no
checking libpq-fe.h presence... no
checking for libpq-fe.h... no
checking for dlopen... yes
checking for native-code support... yes, using portable C code
configure: creating ./config.status
config.status: creating liarc-cc
config.status: creating liarc-ld
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: linking ./cmpauxmd/c.c to cmpauxmd.c
config.status: linking ./cmpintmd/c.h to cmpintmd.h
config.status: linking ./cmpintmd/c.c to cmpintmd.c
config.status: linking ./cmpintmd/c-config.h to cmpintmd-config.h
configure: configuring in compiler
configure: running /bin/sh './configure' --prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_mit-scheme/work/mit-scheme-c-20080130/src/boot-root  '--prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_mit-scheme/work/mit-scheme-c-20080130/src/boot-root' '--enable-native-code=c' --cache-file=/dev/null --srcdir=.
rm -f machine
ln -s machines/C machine
ln -s machine/make.com .
ln: ./make.com: File exists
configure: error: /bin/sh './configure' failed for compiler
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_mit-scheme/work/mit-scheme-c-20080130/src" && etc/make-liarc.sh --prefix=/opt/local " returned error 1
Command output: checking gdbm.h usability... no
checking gdbm.h presence... no
checking for gdbm.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db_create in -ldb-4... no
checking for pg_config... no
checking libpq-fe.h usability... no
checking libpq-fe.h presence... no
checking for libpq-fe.h... no
checking for dlopen... yes
checking for native-code support... yes, using portable C code
configure: creating ./config.status
config.status: creating liarc-cc
config.status: creating liarc-ld
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: linking ./cmpauxmd/c.c to cmpauxmd.c
config.status: linking ./cmpintmd/c.h to cmpintmd.h
config.status: linking ./cmpintmd/c.c to cmpintmd.c
config.status: linking ./cmpintmd/c-config.h to cmpintmd-config.h
configure: configuring in compiler
configure: running /bin/sh './configure' --prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_mit-scheme/work/mit-scheme-c-20080130/src/boot-root  '--prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_mit-scheme/work/mit-scheme-c-20080130/src/boot-root' '--enable-native-code=c' --cache-file=/dev/null --srcdir=.
rm -f machine
ln -s machines/C machine
ln -s machine/make.com .
ln: ./make.com: File exists
configure: error: /bin/sh './configure' failed for compiler

Warning: the following items did not execute (for mit-scheme): org.macports.destroot org.macports.build
Error: Unable to upgrade port: 1

Thanks.

Attachments (3)

Portfile.diff (3.5 KB) - added by jmroot (Joshua Root) 15 years ago.
WIP update to 20090107
patch-src_microcode_configure.diff (600 bytes) - added by jmroot (Joshua Root) 15 years ago.
patch required for 20090107
patch-mit-scheme.diff (9.9 KB) - added by drkp (Dan Ports) 15 years ago.
update to 20090107 and fix build on 10.6

Download all attachments as: .zip

Change History (8)

comment:1 Changed 15 years ago by blb@…

Keywords: snowleopard added; mit-scheme removed

Changed 15 years ago by jmroot (Joshua Root)

Attachment: Portfile.diff added

WIP update to 20090107

Changed 15 years ago by jmroot (Joshua Root)

patch required for 20090107

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

Attached patches update the port to 20090107 and remove the use of the 10.4 SDK. Still doesn't build unfortunately.

comment:3 Changed 15 years ago by drkp (Dan Ports)

Cc: dports@… added

Cc Me!

comment:4 Changed 15 years ago by drkp (Dan Ports)

Here's a patch that updates the port to 20090107 and fixes compilation on Snow Leopard. It's a backport of a recent fix from the git version of mit-scheme.

Since the port was abandoned, I added myself as maintainer -- if nothing else, I probably have the easiest access to shout at the maintainers. ;-) But updates from others are certainly welcome!

Changed 15 years ago by drkp (Dan Ports)

Attachment: patch-mit-scheme.diff added

update to 20090107 and fix build on 10.6

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

Resolution: fixed
Status: newclosed

Fixed by r62269 and r62313.

Note: See TracTickets for help on using tickets.