Opened 11 years ago

Closed 10 years ago

Last modified 10 years ago

#40920 closed defect (invalid)

irssi fails to install in mavericks

Reported by: alberto@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: mavericks Cc: ryandesign (Ryan Carsten Schmidt), no.mercy@…
Port: irssi

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Irssi fails to build in mavericks.

Xcode5 from app store, fresh install of mac ports 2.2.0 compiling manually.

Here's the error it gives trying to build.

: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

Attachments (2)

main.log (32.0 KB) - added by alberto@… 11 years ago.
main.2.log (268.0 KB) - added by no.mercy@… 10 years ago.

Download all attachments as: .zip

Change History (22)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: mavericks added

It builds fine for me on Mavericks. Please attach the main.log so we can see what went wrong for you.

Changed 11 years ago by alberto@…

Attachment: main.log added

comment:2 Changed 11 years ago by alberto@…

Attached. Just so if it helps, compiled MacPorts 2.2.0 from scratch like this (Xcode version 5.0.1):

curl -O https://distfiles.macports.org/MacPorts/MacPorts-2.2.0.tar.bz2
tar jxvf MacPorts-2.2.0.tar.bz2
cd MacPorts-2.2.0
CC=/usr/bin/cc ./configure --prefix=/opt/local --with-install-user=root --with-install-group=admin --with-directory-mode=0755 --enable-readline \
--with-tclpackage=/Library/Tcl \
--with-tcl=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Tcl.framework \
--with-tclinclude=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Tcl.framework/Headers
make
make install
Last edited 10 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 Changed 11 years ago by alberto@…

Uninstalled ports again, installed again, now works... I guess it was just a PBKC

comment:4 Changed 11 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: newclosed

comment:5 Changed 10 years ago by no.mercy@…

Resolution: worksforme
Status: closedreopened

same trouble with my system on 10.9, ports 2.2.0, xcode 5.0.1

Undefined symbols for architecture x86_64:
  "_tgetent", referenced from:
      _terminfo_core_init in terminfo-core.o
  "_tgetflag", referenced from:
      _terminfo_core_init in terminfo-core.o
  "_tgetnum", referenced from:
      _terminfo_core_init in terminfo-core.o
  "_tgetstr", referenced from:
      _terminfo_core_init in terminfo-core.o
  "_tputs", referenced from:
      __set_fg in terminfo-core.o
      __set_bg in terminfo-core.o
      _terminfo_cont in terminfo-core.o
      _terminfo_stop in terminfo-core.o
      __move_cup in terminfo-core.o
      __move_pa in terminfo-core.o
      __move_relative in terminfo-core.o
      ...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Last edited 10 years ago by no.mercy@… (previous) (diff)

Changed 10 years ago by no.mercy@…

Attachment: main.2.log added

comment:6 Changed 10 years ago by no.mercy@…

upd: reinstalling all deps gives no result

comment:7 Changed 10 years ago by no.mercy@…

Cc: no.mercy@… added

Cc Me!

comment:8 Changed 10 years ago by no.mercy@…

Cc: no.mercy@… removed
Last edited 10 years ago by no.mercy@… (previous) (diff)

comment:9 Changed 10 years ago by no.mercy@…

upd: seems my ports tree corrupted, becouse it's not updating correctly to 2.2.1 version via selfupdate Going to reinstall it completely, and check if irssi complies with clear install

comment:10 Changed 10 years ago by no.mercy@…

Same result

Undefined symbols for architecture x86_64:
  "_tgetent", referenced from:
      _terminfo_core_init in terminfo-core.o
  "_tgetflag", referenced from:
      _terminfo_core_init in terminfo-core.o
  "_tgetnum", referenced from:

etc...

comment:11 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: invalid
Status: reopenedclosed

Builds fine for me on Mavericks. I suspect you have not installed the Xcode command line tools by running xcode-select --install as our documentation says to do.

comment:12 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: no.mercy@… added

@no.mercy: sorry, did not see you had not already Cc'd yourself on this ticket. Please see my previous remark in the ticket.

comment:13 Changed 10 years ago by no.mercy@…

cli tools installed, and other ports comping perfectly

comment:14 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: closedreopened

comment:15 Changed 10 years ago by no.mercy@…

upd: it compiles with option "without-terminfo"

comment:16 Changed 10 years ago by no.mercy@…

upd: it compiles ok without that option, even when i remove workdir completely

no idea why

comment:17 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

So... it works correctly now?

comment:18 Changed 10 years ago by no.mercy@…

yep

strange bug

comment:19 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: reopenedclosed

Not really, I assume you had not installed the command line tools, then did not clean before trying again.

comment:20 Changed 10 years ago by no.mercy@…

looks like it is! thanks!

Note: See TracTickets for help on using tickets.