[MacPorts] #46059: tclreadline @2.1.0_1 build failure on Yosemite
#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
#46059: tclreadline @2.1.0_1 build failure on Yosemite --------------------------+---------------------- Reporter: rpokala@… | Owner: darius@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: tclreadline | --------------------------+---------------------- Changes (by mf2k@…): * owner: macports-tickets@… => darius@… * cc: darius@… (removed) -- Ticket URL: <https://trac.macports.org/ticket/46059#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#46059: tclreadline @2.1.0_1 build failure with readline 6.3 --------------------------+---------------------- Reporter: rpokala@… | Owner: darius@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: tclreadline | --------------------------+---------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: This is not Yosemite-specific; it's because in readline 6.3 certain symbols were renamed. For example, `CPPFunction` was renamed to `rl_completion_func_t`. -- Ticket URL: <https://trac.macports.org/ticket/46059#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#46059: tclreadline @2.1.0_1 build failure with readline 6.3 --------------------------+---------------------- Reporter: rpokala@… | Owner: darius@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: tclreadline | --------------------------+---------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: r134941 (maintainer timeout) -- Ticket URL: <https://trac.macports.org/ticket/46059#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#46059: tclreadline @2.1.0_1 build failure with readline 6.3 --------------------------+---------------------- Reporter: rpokala@… | Owner: darius@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: tclreadline | --------------------------+---------------------- Comment (by rpokala@…): Thanks ryandesign! But, the change in question just handled the symbol renaming; what about the completion_matches() issue? -- Ticket URL: <https://trac.macports.org/ticket/46059#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#46059: tclreadline @2.1.0_1 build failure with readline 6.3 --------------------------+---------------------- Reporter: rpokala@… | Owner: darius@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: tclreadline | --------------------------+---------------------- Comment (by ryandesign@…): That's just a warning, not an error. Does it cause a problem for you? -- Ticket URL: <https://trac.macports.org/ticket/46059#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#46059: tclreadline @2.1.0_1 build failure with readline 6.3 --------------------------+---------------------- Reporter: rpokala@… | Owner: darius@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: tclreadline | --------------------------+---------------------- Comment (by rpokala@…): Replying to [comment:5 ryandesign@…]:
That's just a warning, not an error. Does it cause a problem for you?
Ah, right you are. No, no problem. Thanks again! -- Ticket URL: <https://trac.macports.org/ticket/46059#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts