Opened 12 years ago
Last modified 12 years ago
#34628 closed defect
boehmgc-devel: error: array size is negative — at Version 1
Reported by: | pierre@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.1 |
Keywords: | Cc: | ||
Port: | boehmgc-devel |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
When i run port upgrade outdated i get the foolowing error:
---> Building boehmgc-devel Error: org.macports.build for port boehmgc-devel returned: command execution failed Please see the log file for port boehmgc-devel for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boehmgc-devel/boehmgc-devel/main.log Error: Unable to upgrade port: 1 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets
LOG:
version:1 :debug:main Checking for conflicts against boehmgc-devel :debug:main Searching for dependency: boehmgc :debug:main Didn't find receipt, going to depspec regex for: boehmgc :debug:main Executing org.macports.main (boehmgc-devel) :debug:main changing euid/egid - current euid: 0 - current egid: 0 :debug:main egid changed to: 501 :debug:main euid changed to: 501 :debug:main Skipping completed org.macports.archivefetch (boehmgc-devel) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.fetch (boehmgc-devel) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.checksum (boehmgc-devel) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.extract (boehmgc-devel) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.patch (boehmgc-devel) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.configure (boehmgc-devel) :debug:main Privilege de-escalation not attempted as not running as root. :debug:build build phase started at Sat May 26 05:37:22 CEST 2012 :notice:build ---> Building boehmgc-devel :debug:build Executing org.macports.build (boehmgc-devel) :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_devel_boehmgc-devel/boehmgc-devel/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boehmgc-devel/boehmgc-devel/work/gc-7.2alpha6" && /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_devel_boehmgc-devel/boehmgc-devel/work/gc-7.2alpha6" && /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_devel_boehmgc-devel/boehmgc-devel/work/gc-7.2alpha6' :info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boehmgc-devel/boehmgc-devel/work/gc-7.2alpha6' :info:build /bin/sh ./libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -I/opt/local/include -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE -fexceptions -pipe -O2 -arch x86_64 -MT misc.lo -MD -MP -MF .deps/misc.Tpo -c -o misc.lo misc.c :info:build /bin/sh ./libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -I/opt/local/include -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE -fexceptions -pipe -O2 -arch x86_64 -MT backgraph.lo -MD -MP -MF .deps/backgraph.Tpo -c -o backgraph.lo backgraph.c :info:build /bin/sh ./libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -I/opt/local/include -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE -fexceptions -pipe -O2 -arch x86_64 -MT thread_local_alloc.lo -MD -MP -MF .deps/thread_local_alloc.Tpo -c -o thread_local_alloc.lo thread_local_alloc.c :info:build /bin/sh ./libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -I/opt/local/include -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE -fexceptions -pipe -O2 -arch x86_64 -MT pthread_start.lo -MD -MP -MF .deps/pthread_start.Tpo -c -o pthread_start.lo pthread_start.c :info:build libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -I/opt/local/include -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE -fexceptions -pipe -O2 -arch x86_64 -MT misc.lo -MD -MP -MF .deps/misc.Tpo -c misc.c -fno-common -DPIC -o .libs/misc.o :info:build libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -I/opt/local/include -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE -fexceptions -pipe -O2 -arch x86_64 -MT backgraph.lo -MD -MP -MF .deps/backgraph.Tpo -c backgraph.c -fno-common -DPIC -o .libs/backgraph.o :info:build libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -I/opt/local/include -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE -fexceptions -pipe -O2 -arch x86_64 -MT pthread_start.lo -MD -MP -MF .deps/pthread_start.Tpo -c pthread_start.c -fno-common -DPIC -o .libs/pthread_start.o :info:build libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -I/opt/local/include -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE -fexceptions -pipe -O2 -arch x86_64 -MT thread_local_alloc.lo -MD -MP -MF .deps/thread_local_alloc.Tpo -c thread_local_alloc.c -fno-common -DPIC -o .libs/thread_local_alloc.o :info:build libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -I/opt/local/include -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE -fexceptions -pipe -O2 -arch x86_64 -MT backgraph.lo -MD -MP -MF .deps/backgraph.Tpo -c backgraph.c -o backgraph.o >/dev/null 2>&1 :info:build misc.c:943:7: error: array size is negative :info:build GC_STATIC_ASSERT((ptr_t)(word)(-1) > (ptr_t)0); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build ./include/private/gc_priv.h:2143:51: note: expanded from macro 'GC_STATIC_ASSERT' :info:build # define GC_STATIC_ASSERT(expr) (void)sizeof(char[(expr)? 1 : -1]) :info:build ^~~~~~~~~~~~~~ :info:build 1 error generated. :info:build make[1]: *** [misc.lo] Error 1 :info:build make[1]: *** Waiting for unfinished jobs.... :info:build mv -f .deps/backgraph.Tpo .deps/backgraph.Plo :info:build libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -I/opt/local/include -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE -fexceptions -pipe -O2 -arch x86_64 -MT thread_local_alloc.lo -MD -MP -MF .deps/thread_local_alloc.Tpo -c thread_local_alloc.c -o thread_local_alloc.o >/dev/null 2>&1 :info:build mv -f .deps/thread_local_alloc.Tpo .deps/thread_local_alloc.Plo :info:build libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -I/opt/local/include -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE -fexceptions -pipe -O2 -arch x86_64 -MT pthread_start.lo -MD -MP -MF .deps/pthread_start.Tpo -c pthread_start.c -o pthread_start.o >/dev/null 2>&1 :info:build mv -f .deps/pthread_start.Tpo .deps/pthread_start.Plo :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boehmgc-devel/boehmgc-devel/work/gc-7.2alpha6' :info:build make: *** [all-recursive] Error 1 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boehmgc-devel/boehmgc-devel/work/gc-7.2alpha6' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boehmgc-devel/boehmgc-devel/work/gc-7.2alpha6" && /usr/bin/make -j4 -w all :info:build Exit code: 2 :error:build org.macports.build for port boehmgc-devel returned: command execution failed :debug:build Error code: CHILDSTATUS 2462 2 :debug:build Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: targets not executed for boehmgc-devel: org.macports.install org.macports.build org.macports.destroot :notice:build Please see the log file for port boehmgc-devel for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boehmgc-devel/boehmgc-devel/main.log
Change History (2)
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Port: | boehmgc-devel added |
Summary: | Error: org.macports.build for port boehmgc-devel returned: command execution failed → boehmgc-devel: error: array size is negative |
Changed 12 years ago by pierre@…
Note: See
TracTickets for help on using
tickets.
Please "sudo port clean boehmgc-devel", then try again, then attach (not paste) the new log; the one you pasted here was not from a clean attempt.
Remember to use WikiFormatting when writing in Trac.