Opened 13 years ago

Closed 13 years ago

#33841 closed defect (duplicate)

mzscheme @4.1.5 build error

Reported by: waltaskew@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: mzscheme

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Build error when doing port install mzscheme on Lion, Xcode version 4.3.2

$ sudo port install mzscheme
--->  Computing dependencies for mzscheme
--->  Building mzscheme
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for mzscheme is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_mzscheme/mzscheme/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
$ cat /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_mzscheme/mzscheme/main.log
version:1
:debug:main epoch: in tree: 0 installed: 0
:debug:main jpeg 8d_0 exists in the ports tree
:debug:main jpeg 8d_0  is the latest installed
:debug:main jpeg 8d_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/graphics/jpeg
:debug:main OS darwin/11.3.0 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main No need to upgrade! jpeg 8d_0 >= jpeg 8d_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main libpng 1.4.10_0 exists in the ports tree
:debug:main libpng 1.4.10_0  is the latest installed
:debug:main libpng 1.4.10_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/graphics/libpng
:debug:main OS darwin/11.3.0 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/archcheck-1.0.tcl
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main No need to upgrade! libpng 1.4.10_0 >= libpng 1.4.10_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main zlib 1.2.6_0 exists in the ports tree
:debug:main zlib 1.2.6_0  is the latest installed
:debug:main zlib 1.2.6_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/zlib
:debug:main OS darwin/11.3.0 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/xcodeversion-1.0.tcl
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main No need to upgrade! zlib 1.2.6_0 >= zlib 1.2.6_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main libiconv 1.14_0 exists in the ports tree
:debug:main libiconv 1.14_0  is the latest installed
:debug:main libiconv 1.14_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/libiconv
:debug:main OS darwin/11.3.0 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main No need to upgrade! libiconv 1.14_0 >= libiconv 1.14_0
:msg:main --->  Computing dependencies for mzscheme:info:main .:debug:main Searching for dependency: jpeg
:debug:main Found Dependency: receipt exists for jpeg
:debug:main Searching for dependency: libpng
:debug:main Found Dependency: receipt exists for libpng
:debug:main Searching for dependency: libiconv
:debug:main Found Dependency: receipt exists for libiconv
:msg:main 
:debug:main Executing org.macports.main (mzscheme)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Skipping completed org.macports.archivefetch (mzscheme)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (mzscheme)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (mzscheme)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (mzscheme)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (mzscheme)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (mzscheme)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Sat Mar 31 09:33:31 CDT 2012
:notice:build --->  Building mzscheme
:debug:build Executing org.macports.build (mzscheme)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_mzscheme/mzscheme/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' GI_SCANNER_DISABLE_CACHE='1'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_mzscheme/mzscheme/work/mz-4.1.5/src" && /usr/bin/make -j4 -w all'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_mzscheme/mzscheme/work/mz-4.1.5/src" && /usr/bin/make -j4 -w all 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_mzscheme/mzscheme/work/mz-4.1.5/src'
:info:build /usr/bin/make 3m
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_mzscheme/mzscheme/work/mz-4.1.5/src'
:info:build cd mzscheme; /usr/bin/make 3m
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_mzscheme/mzscheme/work/mz-4.1.5/src/mzscheme'
:info:build /usr/bin/make cgc
:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_mzscheme/mzscheme/work/mz-4.1.5/src/mzscheme'
:info:build /usr/bin/make common
:info:build make[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_mzscheme/mzscheme/work/mz-4.1.5/src/mzscheme'
:info:build /usr/bin/make g-c
:info:build make[5]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_mzscheme/mzscheme/work/mz-4.1.5/src/mzscheme'
:info:build cd gc; /usr/bin/make ../libmzgc.a 
:info:build make[6]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_mzscheme/mzscheme/work/mz-4.1.5/src/mzscheme/gc'
:info:build /usr/bin/clang  -iquote ./include -DNO_SIGNALS -pipe -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
:info:build /usr/bin/clang  -iquote ./include -DNO_SIGNALS -pipe -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
:info:build /usr/bin/clang  -iquote ./include -DNO_SIGNALS -pipe -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 ./allchblk.c
:info:build /usr/bin/clang  -iquote ./include -DNO_SIGNALS -pipe -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 ./misc.c
:info:build In file included from ./alloc.c:19:
:info:build In file included from In file included from ./allchblk.c:19:
:info:build In file included from ./include/private/gc_priv.h:66:
:info:build ./include/private/gcconfig.h:476:2: error: expected identifier or '('
:info:build In file included from ./reclaim.c:18:
:info:build In file included from ./include/private/gc_priv.h:66:
:info:build ./include/private/gcconfig.h:476:2: error: expected identifier or '('
:info:build ./include/private/gc_priv.h:66:
:info:build ./include/private/gcconfig.h:476:2: error: expected identifier or '('
:info:build In file included from ./misc.c:25:
:info:build In file included from ./include/private/gc_pmark.h:35:
:info:build In file included from ./include/private/gc_priv.h:66:
:info:build ./include/private/gcconfig.h:476:2: error: expected identifier or '('
:info:build         --> unknown machine type
:info:build         --> unknown machine type        --> unknown machine type
:info:build 
:info:build         ^        ^
:info:build 
:info:build         ^
:info:build         --> unknown machine type
:info:build         ^
:info:build ./alloc.c:965:32: warning: '&&' within '||' [-Wlogical-op-parentheses]
:info:build     if (GC_last_heap_addr == 0 && !((word)space & SIGNB)
:info:build         ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
:info:build ./alloc.c:965:32: note: place parentheses around the '&&' expression to silence this warning
:info:build     if (GC_last_heap_addr == 0 && !((word)space & SIGNB)
:info:build         ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
:info:build 1 warning and 1 error generated.
:info:build 1 error generated.
:info:build 1 error generated.
:info:build make[6]: *** [allchblk.o] Error 1
:info:build make[6]: *** Waiting for unfinished jobs....
:info:build make[6]: *** [reclaim.o] Error 1
:info:build make[6]: *** [alloc.o] Error 1
:info:build ./misc.c:651:9: error: use of undeclared identifier 'ALIGNMENT'
:info:build     if (ALIGNMENT > GC_DS_TAGS && EXTRA_BYTES != 0) {
:info:build         ^
:info:build ./misc.c:652:53: error: use of undeclared identifier 'ALIGNMENT'
:info:build       GC_obj_kinds[NORMAL].ok_descriptor = ((word)(-ALIGNMENT) | GC_DS_LENGTH);
:info:build                                                     ^
:info:build ./misc.c:698:5: warning: expression result unused [-Wunused-value]
:info:build     GC_STATIC_ASSERT(sizeof (ptr_t) == sizeof(word));
:info:build     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build ./include/private/gc_priv.h:1897:33: note: expanded from macro 'GC_STATIC_ASSERT'
:info:build # define GC_STATIC_ASSERT(expr) sizeof(char[(expr)? 1 : -1])
:info:build                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build ./misc.c:699:5: warning: expression result unused [-Wunused-value]
:info:build     GC_STATIC_ASSERT(sizeof (signed_word) == sizeof(word));
:info:build     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build ./include/private/gc_priv.h:1897:33: note: expanded from macro 'GC_STATIC_ASSERT'
:info:build # define GC_STATIC_ASSERT(expr) sizeof(char[(expr)? 1 : -1])
:info:build                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build ./misc.c:700:5: warning: expression result unused [-Wunused-value]
:info:build     GC_STATIC_ASSERT(sizeof (struct hblk) == HBLKSIZE);
:info:build     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build ./include/private/gc_priv.h:1897:33: note: expanded from macro 'GC_STATIC_ASSERT'
:info:build # define GC_STATIC_ASSERT(expr) sizeof(char[(expr)? 1 : -1])
:info:build                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build 3 warnings and 3 errors generated.
:info:build make[6]: *** [misc.o] Error 1
:info:build make[6]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_mzscheme/mzscheme/work/mz-4.1.5/src/mzscheme/gc'
:info:build make[5]: *** [g-c] Error 2
:info:build make[5]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_mzscheme/mzscheme/work/mz-4.1.5/src/mzscheme'
:info:build make[4]: *** [common] Error 2
:info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_mzscheme/mzscheme/work/mz-4.1.5/src/mzscheme'
:info:build make[3]: *** [cgc] Error 2
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_mzscheme/mzscheme/work/mz-4.1.5/src/mzscheme'
:info:build make[2]: *** [3m] Error 2
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_mzscheme/mzscheme/work/mz-4.1.5/src/mzscheme'
:info:build make[1]: *** [3m] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_mzscheme/mzscheme/work/mz-4.1.5/src'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_mzscheme/mzscheme/work/mz-4.1.5/src'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_mzscheme/mzscheme/work/mz-4.1.5/src" && /usr/bin/make -j4 -w all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for mzscheme): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for mzscheme is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_mzscheme/mzscheme/main.log

Change History (2)

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

Description: modified (diff)

This was not a clean build attempt. Please "sudo port clean mzscheme" and try again and then attach (not paste) the new main.log.

P.S: Please use WikiFormatting when writing in Trac.

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

Resolution: duplicate
Status: newclosed

Duplicate of #21853.

Note: See TracTickets for help on using tickets.