#53164 closed defect (fixed)
tk port does not install
Reported by: | spidey3 | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | jeremyhu (Jeremy Huddleston Sequoia) | |
Port: | tk |
Description
I just tried installing tk on an older Mac (MacPro1,1 OS X 10.9.5), and see the following errors:
arcturus[~] $ sudo port -vs install tk +quartz Password: ---> Computing dependencies for tk. ---> Building tk make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/tk/work/tk8.6.6/unix' rm -f libtk8.6.dylib /usr/bin/clang -dynamiclib -Os -pipe -Os -arch x86_64 -pipe -arch x86_64 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/tk/work/tcl8.6.6/generic -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/tk/work/tk8.6.6/unix -L/opt/local/lib -arch x86_64 -headerpad_max_install_names -Wl,-search_paths_first -Wl,-single_module -o libtk8.6.dylib tk3d.o tkArgv.o tkAtom.o tkBind.o tkBitmap.o tkBusy.o tkClipboard.o tkCmds.o tkColor.o tkConfig.o tkConsole.o tkCursor.o tkError.o tkEvent.o tkFocus.o tkFont.o tkGet.o tkGC.o tkGeometry.o tkGrab.o tkGrid.o tkMain.o tkObj.o tkOldConfig.o tkOption.o tkPack.o tkPlace.o tkSelect.o tkStyle.o tkUndo.o tkUtil.o tkVisual.o tkWindow.o tkButton.o tkEntry.o tkFrame.o tkListbox.o tkMenu.o tkMenubutton.o tkMenuDraw.o tkMessage.o tkPanedWindow.o tkScale.o tkScrollbar.o tkCanvas.o tkCanvArc.o tkCanvBmap.o tkCanvImg.o tkCanvLine.o tkCanvPoly.o tkCanvPs.o tkCanvText.o tkCanvUtil.o tkCanvWind.o tkRectOval.o tkTrig.o tkImage.o tkImgBmap.o tkImgGIF.o tkImgPNG.o tkImgPPM.o tkImgPhoto.o tkImgPhInstance.o tkText.o tkTextBTree.o tkTextDisp.o tkTextImage.o tkTextIndex.o tkTextMark.o tkTextTag.o tkTextWind.o tkStubInit.o ttkBlink.o ttkButton.o ttkCache.o ttkClamTheme.o ttkClassicTheme.o ttkDefaultTheme.o ttkElements.o ttkEntry.o ttkFrame.o ttkImage.o ttkInit.o ttkLabel.o ttkLayout.o ttkManager.o ttkNotebook.o ttkPanedwindow.o ttkProgress.o ttkScale.o ttkScrollbar.o ttkScroll.o ttkSeparator.o ttkSquare.o ttkState.o ttkTagSet.o ttkTheme.o ttkTrace.o ttkTrack.o ttkTreeview.o ttkWidget.o ttkStubInit.o tkMacOSXBitmap.o tkMacOSXButton.o tkMacOSXClipboard.o tkMacOSXColor.o tkMacOSXConfig.o tkMacOSXCursor.o tkMacOSXDebug.o tkMacOSXDialog.o tkMacOSXDraw.o tkMacOSXEmbed.o tkMacOSXEntry.o tkMacOSXEvent.o tkMacOSXFont.o tkMacOSXHLEvents.o tkMacOSXInit.o tkMacOSXKeyboard.o tkMacOSXKeyEvent.o tkMacOSXMenu.o tkMacOSXMenubutton.o tkMacOSXMenus.o tkMacOSXMouseEvent.o tkMacOSXNotify.o tkMacOSXRegion.o tkMacOSXScrlbr.o tkMacOSXSend.o tkMacOSXSubwindows.o tkMacOSXWindowEvent.o tkMacOSXWm.o tkMacOSXXStubs.o tkFileFilter.o tkMacWinMenu.o tkPointer.o tkUnix3d.o tkUnixScale.o xcolors.o xdraw.o xgc.o ximage.o xutil.o ttkMacOSXTheme.o -lpthread -framework CoreFoundation -framework Cocoa -framework Carbon -framework IOKit -lz -lpthread -framework CoreFoundation -L/opt/local/lib -ltclstub8.6 -compatibility_version 8.6 -current_version 8.6.6 -install_name "/opt/local/lib/libtk8.6.dylib" -unexported_symbols_list $(f=libtk8.6.dylib.E && nm -gp tkMacOSX*.o 2>/dev/null | awk "/^[0-9a-f]+ . \.objc/ {print \$3}" > $f && nm -gjp "/opt/local/lib"/libtclstub8.6.a | grep ^_[^_] >> $f && echo $f) -sectcreate __TEXT __info_plist Tk-Info.plist llvm-nm: Unknown command line argument '-gjp'. Try: '/opt/local/libexec/llvm-3.7/bin/llvm-nm -help' llvm-nm: Did you mean '-g'? clang: error: no such file or directory: '__TEXT' clang: error: no such file or directory: '__info_plist' make: *** [libtk8.6.dylib] Error 1 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/tk/work/tk8.6.6/unix' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/tk/work/tk8.6.6/unix" && /usr/bin/make -j4 -w all Exit code: 2 Error: org.macports.build for port tk returned: command execution failed Warning: targets not executed for tk: org.macports.activate org.macports.build org.macports.destroot org.macports.install Please see the log file for port tk for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/tk/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port tk failed arcturus[~] $
Attachments (1)
Change History (7)
comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
comment:3 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Your issue looks the same as #51893, but that was resolved 5 months ago. Are your ports up to date? sudo port selfupdate && sudo port upgrade outdated
?
comment:4 Changed 8 years ago by spidey3
Ports are definitely up-to-date:
$ sudo port selfupdate && sudo port upgrade outdated Password: ---> Updating MacPorts base sources using rsync MacPorts base version 2.3.5 installed, MacPorts base version 2.3.5 downloaded. ---> Updating the ports tree ---> MacPorts base is already the latest version The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated Nothing to upgrade. arcturus[~] $
comment:5 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jeremyhu added |
---|
Then maybe a change in the llvm ports has re-introduced the problem.
Jeremy, the error is:
:info:build llvm-nm: Unknown command line argument '-gjp'. Try: '/opt/local/libexec/llvm-3.7/bin/llvm-nm -help' :info:build llvm-nm: Did you mean '-g'?
Ayn ideas?
comment:6 Changed 8 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Owner: | set to jeremyhu |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
This was not a clean build attempt. Please
sudo port clean tk
, then try again. If it fails again, please attach the main.log file.