[MacPorts] #41362: calc-2.12.4.3 fails compiling
MacPorts
noreply at macports.org
Thu Nov 14 01:40:47 PST 2013
#41362: calc-2.12.4.3 fails compiling
---------------------------+--------------------------------
Reporter: hamid.ohadi@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Keywords: | Port:
---------------------------+--------------------------------
on a fresh install of MacPorts, calc-2.12.4.3 fails compiling with the
"error: unknown type name 'size_t'":
{{{
:info:build MACOSX_DEPLOYMENT_TARGET=10.9 /usr/bin/clang -DCALC_SRC
-DCUSTOM -Wall -W -Wno-comment -fPIC -O3 -g3 -I.. -c -o c_devnull.o
c_devnull.c
:info:build In file included from c_devnull.c:40:
:info:build In file included from ../value.h:37:
:info:build In file included from ../cmath.h:36:
:info:build In file included from ../qmath.h:36:
:info:build In file included from ../zmath.h:43:
:info:build ../alloc.h:57:8: error: unknown type name 'size_t'
:info:build E_FUNC size_t strlen();
:info:build ^
:info:build In file included from c_devnull.c:40:
:info:build In file included from ../value.h:44:
:info:build ../str.h:44:2: error: unknown type name 'size_t'
:info:build size_t s_len;
:info:build ^
:info:build ../str.h:54:2: error: unknown type name 'size_t'
:info:build size_t h_used; /* characters used so far */
:info:build ^
:info:build ../str.h:55:2: error: unknown type name 'size_t'
:info:build size_t h_avail; /* characters available for use */
:info:build ^
:info:build ../str.h:68:34: error: unknown type name 'size_t'
:info:build E_FUNC long addstring(char *str, size_t len);
:info:build ^
:info:build In file included from c_devnull.c:40:
:info:build ../value.h:505:8: error: unknown type name 'size_t'
:info:build E_FUNC size_t lsizeof(VALUE *vp);
:info:build ^
:info:build ../value.h:506:8: error: unknown type name 'size_t'
:info:build E_FUNC size_t memsize(VALUE *vp);
:info:build ^
:info:build ../value.h:524:47: warning: type specifier missing, defaults
to 'int' [-Wimplicit-int]
:info:build E_FUNC STRING *stringncpy(STRING *, STRING *, size_t);
:info:build ^~~~~~
:info:build 1 warning and 7 errors generated.
:info:build make[1]: *** [c_devnull.o] Error 1
:info:build make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_calc/calc/work/calc-2.12.4.3/custom'
:info:build make: *** [custom/.all] Error 2
:info:build make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_calc/calc/work/calc-2.12.4.3'
:info:build Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_calc/calc/work/calc-2.12.4.3"
&& /usr/bin/make -w all
:info:build Exit code: 2
:error:build org.macports.build for port calc returned: command execution
failed
:debug:build Error code: CHILDSTATUS 61142 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 calc: org.macports.activate
org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port calc for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_calc/calc/main.log
}}}
--
Ticket URL: <https://trac.macports.org/ticket/41362>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list