[MacPorts] #42945: irssi @0.8.15_3 +perl fails to build correctly
#42945: irssi @0.8.15_3 +perl fails to build correctly ---------------------+-------------------------------- Reporter: ender@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: irssi ---------------------+-------------------------------- Trying to build irssi +perl on 10.9.2 with Xcode 5.1, Build version 5B130a throws the following error: Error: org.macports.build for port irssi returned: command execution failed Please see the log file for port irssi for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_irc_irssi/irssi/main.log Error: Unable to upgrade port: 1 Error rebuilding irssi while executing "error "Error rebuilding $portname"" (procedure "revupgrade_scanandrebuild" line 382) invoked from within "revupgrade_scanandrebuild broken_port_counts $opts" (procedure "macports::revupgrade" line 5) invoked from within "macports::revupgrade $opts" (procedure "action_revupgrade" line 2) invoked from within "action_revupgrade $action $portlist $opts" (procedure "action_target" line 96) invoked from within "$action_proc $action $portlist [array get global_options]" (procedure "process_cmd" line 93) invoked from within "process_cmd $remaining_args" invoked from within "if { [llength $remaining_args] > 0 } { # If there are remaining arguments, process those as a command set exit_status [process_cmd $remaining..." (file "/opt/local/bin/port" line 4857) -- Ticket URL: <https://trac.macports.org/ticket/42945> MacPorts <http://www.macports.org/> Ports system for OS X
#42945: irssi @0.8.15_3 +perl fails to build correctly ----------------------+-------------------------------- Reporter: ender@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: irssi | ----------------------+-------------------------------- Old description:
Trying to build irssi +perl on 10.9.2 with Xcode 5.1, Build version 5B130a throws the following error:
Error: org.macports.build for port irssi returned: command execution failed Please see the log file for port irssi for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_irc_irssi/irssi/main.log Error: Unable to upgrade port: 1 Error rebuilding irssi while executing "error "Error rebuilding $portname"" (procedure "revupgrade_scanandrebuild" line 382) invoked from within "revupgrade_scanandrebuild broken_port_counts $opts" (procedure "macports::revupgrade" line 5) invoked from within "macports::revupgrade $opts" (procedure "action_revupgrade" line 2) invoked from within "action_revupgrade $action $portlist $opts" (procedure "action_target" line 96) invoked from within "$action_proc $action $portlist [array get global_options]" (procedure "process_cmd" line 93) invoked from within "process_cmd $remaining_args" invoked from within "if { [llength $remaining_args] > 0 } {
# If there are remaining arguments, process those as a command set exit_status [process_cmd $remaining..." (file "/opt/local/bin/port" line 4857)
New description: Trying to build irssi +perl on 10.9.2 with Xcode 5.1, Build version 5B130a throws the following error: {{{ Error: org.macports.build for port irssi returned: command execution failed Please see the log file for port irssi for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_irc_irssi/irssi/main.log Error: Unable to upgrade port: 1 Error rebuilding irssi while executing "error "Error rebuilding $portname"" (procedure "revupgrade_scanandrebuild" line 382) invoked from within "revupgrade_scanandrebuild broken_port_counts $opts" (procedure "macports::revupgrade" line 5) invoked from within "macports::revupgrade $opts" (procedure "action_revupgrade" line 2) invoked from within "action_revupgrade $action $portlist $opts" (procedure "action_target" line 96) invoked from within "$action_proc $action $portlist [array get global_options]" (procedure "process_cmd" line 93) invoked from within "process_cmd $remaining_args" invoked from within "if { [llength $remaining_args] > 0 } { # If there are remaining arguments, process those as a command set exit_status [process_cmd $remaining..." (file "/opt/local/bin/port" line 4857) }}} -- Comment (by ryandesign@…): The relevant part of the log is actually: {{{ :info:build Undefined symbols for architecture x86_64: :info:build "_tgetent", referenced from: :info:build _terminfo_core_init in terminfo-core.o :info:build "_tgetflag", referenced from: :info:build _terminfo_core_init in terminfo-core.o :info:build "_tgetnum", referenced from: :info:build _terminfo_core_init in terminfo-core.o :info:build "_tgetstr", referenced from: :info:build _terminfo_core_init in terminfo-core.o :info:build "_tputs", referenced from: :info:build __set_fg in terminfo-core.o :info:build __set_bg in terminfo-core.o :info:build _terminfo_cont in terminfo-core.o :info:build _terminfo_stop in terminfo-core.o :info:build __move_cup in terminfo-core.o :info:build __move_pa in terminfo-core.o :info:build __move_relative in terminfo-core.o :info:build ... :info:build ld: symbol(s) not found for architecture x86_64 }}} FWIW, it builds fine for me, on the same OS X and Xcode version. -- Ticket URL: <https://trac.macports.org/ticket/42945#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42945: irssi @0.8.15_3 +perl fails to build correctly ----------------------+-------------------------------- Reporter: ender@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: irssi | ----------------------+-------------------------------- Comment (by ryandesign@…): I notice your log says: {{{ configure: checking "location of ncurses.h file"... }}} And mine says: {{{ configure: checking "location of ncurses.h file"... Found ncurses on /usr/include/ncurses.h }}} This tells me irssi is looking in the wrong place for ncurses.h and we should fix that. It also suggests that you don't have the command line tools installed, which would provide the contents of /usr/include. The command line tools are required for using MacPorts and you should install them, by running `xcode-select --install`. If you then "sudo port clean irssi" it should build. -- Ticket URL: <https://trac.macports.org/ticket/42945#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#42945: irssi @0.8.15_3 +perl fails to build correctly ----------------------+-------------------------------- Reporter: ender@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: irssi | ----------------------+-------------------------------- Comment (by cal@…): I think I recall we encountered a similar issue on IRC the other day and the problem was that the command line tools were missing. Arguably, irssi should depend on ncurses, though. -- Ticket URL: <https://trac.macports.org/ticket/42945#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#42945: irssi @0.8.15_3 +perl fails to build correctly ----------------------+-------------------------------- Reporter: ender@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: irssi | ----------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * cc: ryandesign@…, cal@… (added) * resolution: => fixed Comment: Replying to [comment:3 cal@…]:
Arguably, irssi should depend on ncurses, though.
irssi does depend on ncurses, and even links with MacPorts ncurses, but for some reason uses /usr/include/ncurses.h. Fixed in r118035. -- Ticket URL: <https://trac.macports.org/ticket/42945#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts