[MacPorts] #46059: tclreadline @2.1.0_1 build failure on Yosemite
MacPorts
noreply at macports.org
Fri Nov 28 20:18:13 PST 2014
#46059: tclreadline @2.1.0_1 build failure on Yosemite
-----------------------+--------------------------------
Reporter: rpokala@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Keywords: | Port: tclreadline
-----------------------+--------------------------------
{{{
[host:~] root# port -d install tclreadline
...
---> Building tclreadline
DEBUG: Executing org.macports.build (tclreadline)
DEBUG: Environment:
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_tclreadline/tclreadline/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
DEBUG: Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_tclreadline/tclreadline/work/tclreadline-2.1.0"
&& /usr/bin/make -j8 -w all'
DEBUG: Executing command line: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_tclreadline/tclreadline/work/tclreadline-2.1.0"
&& /usr/bin/make -j8 -w all
make: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_tclreadline/tclreadline/work/tclreadline-2.1.0'
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
make[1]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_tclreadline/tclreadline/work/tclreadline-2.1.0'
/bin/sh ./libtool --tag=CC --mode=compile /usr/bin/clang
-DHAVE_CONFIG_H -I. -I/opt/local/include -I/usr/include/readline
-I/opt/local/include -pipe -Os -arch x86_64 -MT tclreadline.lo -MD -MP
-MF .deps/tclreadline.Tpo -c -o tclreadline.lo tclreadline.c
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I/opt/local/include
-I/usr/include/readline -I/opt/local/include -pipe -Os -arch x86_64 -MT
tclreadline.lo -MD -MP -MF .deps/tclreadline.Tpo -c tclreadline.c -fno-
common -DPIC -o .libs/tclreadline.o
tclreadline.c:422:6: warning: implicit declaration of function 'ding' is
invalid in C99 [-Wimplicit-function-declaration]
ding();
^
tclreadline.c:638:41: error: use of undeclared identifier 'CPPFunction'
rl_attempted_completion_function = (CPPFunction *)
TclReadlineCompletion;
^
tclreadline.c:638:54: error: expected expression
rl_attempted_completion_function = (CPPFunction *)
TclReadlineCompletion;
^
tclreadline.c:748:12: warning: implicit declaration of function
'completion_matches' is invalid in C99 [-Wimplicit-function-declaration]
matches = completion_matches(text, TclReadline0generator);
^
tclreadline.c:748:10: warning: incompatible integer to pointer conversion
assigning to 'char **' from 'int' [-Wint-conversion]
matches = completion_matches(text, TclReadline0generator);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tclreadline.c:884:13: warning: expression which evaluates to zero treated
as a null pointer constant of type 'char *' [-Wnon-literal-null-
conversion]
*args = '\0';
^~~~
4 warnings and 2 errors generated.
make[1]: *** [tclreadline.lo] Error 1
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_tclreadline/tclreadline/work/tclreadline-2.1.0'
make: *** [all] Error 2
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_tclreadline/tclreadline/work/tclreadline-2.1.0'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_tclreadline/tclreadline/work/tclreadline-2.1.0"
&& /usr/bin/make -j8 -w all
Exit code: 2
Error: org.macports.build for port tclreadline returned: command execution
failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/46059>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list