Opened 13 years ago

Closed 11 years ago

#14319 closed defect (fixed)

Can't build iTerm on macbook running Leopard 10.5.2

Reported by: franticht Owned by: waqar@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: build Cc: j.bugzilla2@…, nox@…, jmroot (Joshua Root), raimue (Rainer Müller)
Port: iTerm

Description

~ 502 $ sudo port install iTerm
Password:
--->  Fetching iTerm
--->  Verifying checksum(s) for iTerm
--->  Extracting iTerm
--->  Configuring iTerm
--->  Building iTerm with target -target iTerm
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm" && /usr/bin/xcodebuild -target iTerm build -project iTerm.xcodeproj " returned error 1
Command output: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/PSMTabBarControl/source/PSMTabBarControl.h:62: warning: no definition of protocol 'PTYTabViewDelegateProtocol' is found

CompileC "build/iTerm.build/Default/iTerm Framework.build/Objects-normal/ppc/iTermGrowlDelegate.o" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/iTermGrowlDelegate.m normal ppc objective-c com.apple.compilers.gcc.4_0
    cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm
    /Developer/usr/bin/gcc-4.0 -x objective-c -arch ppc -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O3 -fmessage-length=0 -mtune=G4 -mmacosx-version-min=10.4 -gdwarf-2 "-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/build/iTerm.build/Default/iTerm Framework.build/iTerm.hmap" -Wmost -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/build/Default -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/build/Development -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/build/Default/include "-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/build/iTerm.build/Default/iTerm Framework.build/DerivedSources" -isysroot /Developer/SDKs/MacOSX10.4u.sdk -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/iTermGrowlDelegate.m -o "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/build/iTerm.build/Default/iTerm Framework.build/Objects-normal/ppc/iTermGrowlDelegate.o"

CompileC "build/iTerm.build/Default/iTerm Framework.build/Objects-normal/ppc/iTermBookmarkController.o" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/iTermBookmarkController.m normal ppc objective-c com.apple.compilers.gcc.4_0
    cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm
    /Developer/usr/bin/gcc-4.0 -x objective-c -arch ppc -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O3 -fmessage-length=0 -mtune=G4 -mmacosx-version-min=10.4 -gdwarf-2 "-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/build/iTerm.build/Default/iTerm Framework.build/iTerm.hmap" -Wmost -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/build/Default -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/build/Development -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/build/Default/include "-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/build/iTerm.build/Default/iTerm Framework.build/DerivedSources" -isysroot /Developer/SDKs/MacOSX10.4u.sdk -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/iTermBookmarkController.m -o "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/build/iTerm.build/Default/iTerm Framework.build/Objects-normal/ppc/iTermBookmarkController.o"

CompileC "build/iTerm.build/Default/iTerm Framework.build/Objects-normal/ppc/iTermOutlineView.o" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/iTermOutlineView.m normal ppc objective-c com.apple.compilers.gcc.4_0
    cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm
    /Developer/usr/bin/gcc-4.0 -x objective-c -arch ppc -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O3 -fmessage-length=0 -mtune=G4 -mmacosx-version-min=10.4 -gdwarf-2 "-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/build/iTerm.build/Default/iTerm Framework.build/iTerm.hmap" -Wmost -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/build/Default -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/build/Development -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/build/Default/include "-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/build/iTerm.build/Default/iTerm Framework.build/DerivedSources" -isysroot /Developer/SDKs/MacOSX10.4u.sdk -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/iTermOutlineView.m -o "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/build/iTerm.build/Default/iTerm Framework.build/Objects-normal/ppc/iTermOutlineView.o"

CompileC "build/iTerm.build/Default/iTerm Framework.build/Objects-normal/i386/PseudoTerminal.o" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/PseudoTerminal.m normal i386 objective-c com.apple.compilers.gcc.4_0
    cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm
    /Developer/usr/bin/gcc-4.0 -x objective-c -arch i386 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O3 -fmessage-length=0 -mmacosx-version-min=10.4 -gdwarf-2 "-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/build/iTerm.build/Default/iTerm Framework.build/iTerm.hmap" -Wmost -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/build/Default -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/build/Development -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/build/Default/include "-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/build/iTerm.build/Default/iTerm Framework.build/DerivedSources" -isysroot /Developer/SDKs/MacOSX10.4u.sdk -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/PseudoTerminal.m -o "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/build/iTerm.build/Default/iTerm Framework.build/Objects-normal/i386/PseudoTerminal.o"
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/PseudoTerminal.m: In function '-[PseudoTerminal setWindowSize]':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/PseudoTerminal.m:983: warning: 'winSize.height' may be used uninitialized in this function
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/PseudoTerminal.m:983: warning: 'vsize.width' may be used uninitialized in this function

Ld "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/build/iTerm.build/Default/iTerm Framework.build/Objects-normal/ppc/iTerm" normal ppc
    cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm
    /Developer/usr/bin/gcc-4.0 -o "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/build/iTerm.build/Default/iTerm Framework.build/Objects-normal/ppc/iTerm" -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/build/Default -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/build/Default -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/build/Development -filelist "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_iTerm/work/iTerm/build/iTerm.build/Default/iTerm Framework.build/Objects-normal/ppc/iTerm.LinkFileList" -framework AppKit -framework Foundation -framework Growl -arch ppc -Wl,-single_module -compatibility_version 1 -current_version 1 -install_name @executable_path/../Frameworks/iTerm.framework/Versions/A/iTerm -dynamiclib -mmacosx-version-min=10.4 -seg1addr 0x14000000 -lncurses -isysroot /Developer/SDKs/MacOSX10.4u.sdk
Undefined symbols:
  ".objc_class_name_iTermSecurityMgr", referenced from:
      literal-pointer@__OBJC@__cls_refs@iTermSecurityMgr in iTermController.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
** BUILD FAILED **

Error: Status 1 encountered during processing.

Attachments (2)

iterm-0.9.6.diff (1.2 KB) - added by jmroot (Joshua Root) 12 years ago.
iterm-0.9.6.2.diff (1.4 KB) - added by raimue (Rainer Müller) 12 years ago.

Download all attachments as: .zip

Change History (15)

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

Milestone: Port Bugs
Owner: changed from macports-tickets@… to waqar@…

Assigning to maintainer.

comment:2 Changed 13 years ago by waqar@…

Status: newassigned

Couple of files are missing from the project. I need it figure out how to add those files to the project from command line. Or wait until next release.

comment:3 Changed 12 years ago by gltmailbox-macs@…

Was this ever fixed?

I have the same problem building the development version (0.9.5) that I pulled from SourceForge.

I've also reported this at the SourceForge project site.

comment:4 in reply to:  3 Changed 12 years ago by cjones@…

Replying to gltmailbox-macs@yahoo.com:

Was this ever fixed?

I have the same problem building the development version (0.9.5) that I pulled from SourceForge.

I've also reported this at the SourceForge project site.

As far as I know, iTerm project is dead. I encountered this bug trying to build it in hopes it would fix the constant crashing problem I have when using vim. I think it's time to go back to Terminal.app. Copy-on-select and url-clicking, I'll miss you. :(

comment:5 Changed 12 years ago by j.bugzilla2@…

iTerm is back from the dead! Version 0.9.6 is on sourceforge. This port fetches the new code but runs into the libcrt1.10.5.0 problem that seems to be related to its universal use of 10.4 SDK. What is the usual fix for this problem?

ild/iTerm.build/Default/iTerm.build/Objects-normal/ppc/iTerm.LinkFileList -framework Foundation -framework AppKit -framework iTerm -framework Growl -framework Sparkle -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk
ld: library not found for -lcrt1.10.5.o
collect2: ld returned 1 exit status
** BUILD FAILED **

I am on Leopard 10.5.5 and normal macports, not the development branch that seems to have a built in hack around this.

comment:6 Changed 12 years ago by j.bugzilla2@…

Cc: j.bugzilla2@… added

Cc Me!

comment:7 Changed 12 years ago by nox@…

Cc: nox@… added
Keywords: iTerm removed
Port: iTerm added

Changed 12 years ago by jmroot (Joshua Root)

Attachment: iterm-0.9.6.diff added

comment:8 Changed 12 years ago by jmroot (Joshua Root)

Cc: jmr@… added

The attached patch switches to using the xcode portgroup, updates the version to what is now being pulled from CVS, obfuscates the maintainer address, and respects the applications_dir variable. With the patch applied, iTerm builds and runs fine on Leopard.

comment:9 in reply to:  8 ; Changed 12 years ago by j.bugzilla2@…

Replying to jmr@…:

This patch applied cleanly and works beautifully for me on 10.5.6 running MacPorts 1.600.

comment:10 in reply to:  9 Changed 12 years ago by j.bugzilla2@…

Replying to j.bugzilla2@…:

Replying to jmr@…:

This patch applied cleanly and works beautifully for me on 10.5.6 running MacPorts 1.600.

By 1.600 I of course meant 1.700...

Changed 12 years ago by raimue (Rainer Müller)

Attachment: iterm-0.9.6.2.diff added

comment:11 Changed 12 years ago by raimue (Rainer Müller)

Cc: raimue@… added

Here is an updated patch, which also switches to SVN instead of CVS.

There are still problems with the port:

  • We need to disable Sparkle, updates are handled by MacPorts
  • Upstream released newer versions which are not branched or tagged, but only on trunk

comment:12 Changed 11 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:13 Changed 11 years ago by tobypeterson

Resolution: fixed
Status: assignedclosed

Went ahead and committed this when asked in IRC. Sparkle is an issue, but semi-working is better than not-working-at-all.

r50461

Note: See TracTickets for help on using tickets.