[MacPorts] #46003: c3270 compile error
#46003: c3270 compile error ---------------------------+-------------------------------- Reporter: crypticmind@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: ---------------------------+-------------------------------- (cryptic) $ sudo port install c3270 ---> Computing dependencies for c3270 ---> Building c3270 Error: org.macports.build for port c3270 returned: command execution failed Please see the log file for port c3270 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_comms_c3270/c3270/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port c3270 failed -- Ticket URL: <https://trac.macports.org/ticket/46003> MacPorts <https://www.macports.org/> Ports system for OS X
#46003: c3270 compile error ----------------------------+--------------------- Reporter: crypticmind@… | Owner: jking@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: c3270 | ----------------------------+--------------------- Changes (by larryv@…): * owner: macports-tickets@… => jking@… * port: => c3270 Comment: This log is not complete. Please clean `c3270`, try installing again, and attach the new log. -- Ticket URL: <https://trac.macports.org/ticket/46003#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#46003: c3270 compile error ----------------------------+--------------------- Reporter: crypticmind@… | Owner: jking@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: c3270 | ----------------------------+--------------------- Description changed by larryv@…: Old description:
(cryptic) $ sudo port install c3270 ---> Computing dependencies for c3270 ---> Building c3270 Error: org.macports.build for port c3270 returned: command execution failed Please see the log file for port c3270 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_comms_c3270/c3270/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port c3270 failed
New description: {{{ (cryptic) $ sudo port install c3270 ---> Computing dependencies for c3270 ---> Building c3270 Error: org.macports.build for port c3270 returned: command execution failed Please see the log file for port c3270 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_comms_c3270/c3270/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port c3270 failed }}} -- -- Ticket URL: <https://trac.macports.org/ticket/46003#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#46003: c3270 compile error ----------------------------+--------------------- Reporter: crypticmind@… | Owner: jking@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: c3270 | ----------------------------+--------------------- Comment (by crypticmind@…): Replying to [comment:1 larryv@…]:
This log is not complete. Please clean `c3270`, try installing again, and attach the new log.
Ran clean. Attempted install again. Attached updated log. -- Ticket URL: <https://trac.macports.org/ticket/46003#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#46003: c3270 @3.3.11ga6_0: build fails with "unknown type name 'CPPFunction' " ----------------------------+--------------------- Reporter: crypticmind@… | Owner: jking@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: c3270 | ----------------------------+--------------------- Comment (by larryv@…): {{{ :info:build /usr/bin/clang -pipe -Os -arch x86_64 -I. -DLIBX3270DIR=\"/opt/local/etc/x3270\" -no-cpp-precomp -I/opt/local/include -c -o c3270.o c3270.c :info:build c3270.c:102:8: error: unknown type name 'CPPFunction' :info:build static CPPFunction attempted_completion; :info:build ^ }}} -- Ticket URL: <https://trac.macports.org/ticket/46003#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#46003: c3270 @3.3.11ga6_0: build fails with "unknown type name 'CPPFunction' " ----------------------------+--------------------- Reporter: crypticmind@… | Owner: jking@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: c3270 | ----------------------------+--------------------- Comment (by skissane@…): This is caused by a change in readline library. Older versions of readline provided CPPFunction, in new version it is gone. Solution is to edit c3270.c line 120 and replace CPPFunction with rl_completion_func_t, then it will compile and install fine. -- Ticket URL: <https://trac.macports.org/ticket/46003#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts