Opened 6 months ago

Last modified 4 weeks ago

#69990 new defect

Linking of cmake-bootsrap fails — at Version 1

Reported by: miles-martin-66 (Miles Martin) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: tiger Cc:
Port: cmake-bootstrap

Description (last modified by kencu (Ken))

iMac G3 400Mhz, 1 G ram, OSX 10.4.11, Macports V2.9.3 (self update to latest), Xcode 2.5

Im following these instruction to build a usable browser on this old mac. https://github.com/classilla/tenfourfox/wiki/HowToBuildFPR

I have managed to use "sudo port install" to build and install almost every package required as a pre requisite except any that have cmake-bootstrap as a dependancy. I have run 'sudo port clean' and following that attempted to install only cmake-bootsrap with no success. I have attached the main.log file which indicates that linking is failing (excerpt below) but I don't see why. I have investigated as far as my knowledge and experience can take me.

:info:build [ 94%] Building CXX object Source/CMakeFiles/ccmake.dir/CursesDialog/ccmake.cxx.o
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-bootstrap/work/cmake-3.9.6/Source && /opt/local/bin/g++-apple-4.2  -DCMAKE_BUILD_WITH_CMAKE -DCURL_STATICLIB -DLIBARCHIVE_STATIC -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-bootstrap/work/cmake-3.9.6/Utilities -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-bootstrap/work/cmake-3.9.6/Source -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-bootstrap/work/cmake-3.9.6/Source/LexerParser -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-bootstrap/work/cmake-3.9.6/Utilities/cmcompress -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-bootstrap/work/cmake-3.9.6/Source/CTest -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-bootstrap/work/cmake-3.9.6/Source/CPack -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-bootstrap/work/cmake-3.9.6/Source/CursesDialog/form  -pipe -Os -arch ppc -mmacosx-version-min=10.4   -o CMakeFiles/ccmake.dir/CursesDialog/ccmake.cxx.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-bootstrap/work/cmake-3.9.6/Source/CursesDialog/ccmake.cxx
:info:build [ 94%] Linking CXX executable ../bin/ccmake
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-bootstrap/work/cmake-3.9.6/Source && /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-bootstrap/work/cmake-3.9.6/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/ccmake.dir/link.txt --verbose=ON
:info:build /opt/local/bin/g++-apple-4.2  -pipe -Os -arch ppc -mmacosx-version-min=10.4 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/libexec/cmake-bootstrap/lib -Wl,-headerpad_max_install_names -arch ppc CMakeFiles/ccmake.dir/CursesDialog/cmCursesOptionsWidget.cxx.o CMakeFiles/ccmake.dir/CursesDialog/cmCursesBoolWidget.cxx.o CMakeFiles/ccmake.dir/CursesDialog/cmCursesCacheEntryComposite.cxx.o CMakeFiles/ccmake.dir/CursesDialog/cmCursesDummyWidget.cxx.o CMakeFiles/ccmake.dir/CursesDialog/cmCursesFilePathWidget.cxx.o CMakeFiles/ccmake.dir/CursesDialog/cmCursesForm.cxx.o CMakeFiles/ccmake.dir/CursesDialog/cmCursesLabelWidget.cxx.o CMakeFiles/ccmake.dir/CursesDialog/cmCursesLongMessageForm.cxx.o CMakeFiles/ccmake.dir/CursesDialog/cmCursesMainForm.cxx.o CMakeFiles/ccmake.dir/CursesDialog/cmCursesPathWidget.cxx.o CMakeFiles/ccmake.dir/CursesDialog/cmCursesStringWidget.cxx.o CMakeFiles/ccmake.dir/CursesDialog/cmCursesWidget.cxx.o CMakeFiles/ccmake.dir/CursesDialog/ccmake.cxx.o  -o ../bin/ccmake libCMakeLib.a CursesDialog/form/libcmForm.a kwsys/libcmsys.a ../Utilities/cmexpat/libcmexpat.a ../Utilities/cmlibarchive/libarchive/libcmlibarchive.a ../Utilities/cmliblzma/libcmliblzma.a -framework CoreServices ../Utilities/cmbzip2/libcmbzip2.a ../Utilities/cmcompress/libcmcompress.a ../Utilities/cmcurl/lib/libcmcurl.a ../Utilities/cmzlib/libcmzlib.a ../Utilities/cmjsoncpp/libcmjsoncpp.a ../Utilities/cmlibrhash/libcmlibrhash.a -framework CoreFoundation /usr/lib/libncurses.dylib 
:info:build ld: warning: directory '/opt/local/libexec/cmake-bootstrap/lib' following -L not found
:info:build ld: warning: object file compiled with -mlong-branch which is no longer needed. To remove this warning, recompile without -mlong-branch: /opt/local/lib/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.1/crt3.o
:info:build Undefined symbols:
:info:build   "_getattrs", referenced from:
:info:build       _Display_Or_Erase_Field in libcmForm.a(frm_driver.c.o)
:info:build   "_getmaxx", referenced from:
:info:build       cmCursesLongMessageForm::PrintKeys()      in cmCursesLongMessageForm.cxx.o
:info:build       cmCursesLongMessageForm::Render(int, int, int, int)in cmCursesLongMessageForm.cxx.o
:info:build       cmCursesLongMessageForm::UpdateStatusBar()       in cmCursesLongMessageForm.cxx.o
:info:build       cmCursesMainForm::PrintKeys(int)   in cmCursesMainForm.cxx.o
:info:build       cmCursesMainForm::Generate()      in cmCursesMainForm.cxx.o
:info:build       cmCursesMainForm::Generate()      in cmCursesMainForm.cxx.o
:info:build       cmCursesMainForm::Configure(int)   in cmCursesMainForm.cxx.o
:info:build       cmCursesMainForm::Configure(int)   in cmCursesMainForm.cxx.o
:info:build       cmCursesMainForm::HandleInput()       in cmCursesMainForm.cxx.o
:info:build       cmCursesMainForm::HandleInput()       in cmCursesMainForm.cxx.o
:info:build       cmCursesMainForm::HandleInput()       in cmCursesMainForm.cxx.o
:info:build       cmCursesMainForm::HandleInput()       in cmCursesMainForm.cxx.o
:info:build       cmCursesMainForm::HandleInput()       in cmCursesMainForm.cxx.o
:info:build       cmCursesMainForm::UpdateStatusBar(char const*)in cmCursesMainForm.cxx.o
:info:build       cmCursesStringWidget::PrintKeys()      in cmCursesStringWidget.cxx.o
:info:build       cmCursesStringWidget::HandleInput(int&, cmCursesMainForm*, _win_st*)   in cmCursesStringWidget.cxx.o
:info:build       _onsig in ccmake.cxx.o
:info:build       _main in ccmake.cxx.o
:info:build       _post_form in libcmForm.a(frm_post.c.o)
:info:build       _Window_To_Buffer in libcmForm.a(frm_driver.c.o)
:info:build       _Buffer_To_Window in libcmForm.a(frm_driver.c.o)
:info:build   "_getmaxy", referenced from:
:info:build       cmCursesOptionsWidget::HandleInput(int&, cmCursesMainForm*, _win_st*)   in cmCursesOptionsWidget.cxx.o
:info:build       cmCursesOptionsWidget::HandleInput(int&, cmCursesMainForm*, _win_st*)   in cmCursesOptionsWidget.cxx.o
:info:build       cmCursesBoolWidget::HandleInput(int&, cmCursesMainForm*, _win_st*)   in cmCursesBoolWidget.cxx.o
:info:build       cmCursesLongMessageForm::PrintKeys()      in cmCursesLongMessageForm.cxx.o
:info:build       cmCursesLongMessageForm::HandleInput()       in cmCursesLongMessageForm.cxx.o
:info:build       cmCursesLongMessageForm::Render(int, int, int, int)in cmCursesLongMessageForm.cxx.o
:info:build       cmCursesLongMessageForm::Render(int, int, int, int)in cmCursesLongMessageForm.cxx.o
:info:build       cmCursesLongMessageForm::UpdateStatusBar()       in cmCursesLongMessageForm.cxx.o
:info:build       cmCursesMainForm::PrintKeys(int)   in cmCursesMainForm.cxx.o
:info:build       cmCursesMainForm::UpdateProgress(char const*, float, void*)in cmCursesMainForm.cxx.o
:info:build       cmCursesMainForm::Generate()      in cmCursesMainForm.cxx.o
:info:build       cmCursesMainForm::Generate()      in cmCursesMainForm.cxx.o
:info:build       cmCursesMainForm::Generate()      in cmCursesMainForm.cxx.o
:info:build       cmCursesMainForm::Configure(int)   in cmCursesMainForm.cxx.o
:info:build       cmCursesMainForm::Configure(int)   in cmCursesMainForm.cxx.o
:info:build       cmCursesMainForm::Configure(int)   in cmCursesMainForm.cxx.o
:info:build       cmCursesMainForm::HandleInput()       in cmCursesMainForm.cxx.o
:info:build       cmCursesMainForm::HandleInput()       in cmCursesMainForm.cxx.o
:info:build       cmCursesMainForm::HandleInput()       in cmCursesMainForm.cxx.o
:info:build       cmCursesMainForm::HandleInput()       in cmCursesMainForm.cxx.o
:info:build       cmCursesMainForm::HandleInput()       in cmCursesMainForm.cxx.o
:info:build       cmCursesMainForm::HandleInput()       in cmCursesMainForm.cxx.o
:info:build       cmCursesMainForm::HandleInput()       in cmCursesMainForm.cxx.o
:info:build       cmCursesMainForm::HandleInput()       in cmCursesMainForm.cxx.o
:info:build       cmCursesMainForm::UpdateStatusBar(char const*)in cmCursesMainForm.cxx.o
:info:build       cmCursesMainForm::UpdateStatusBar(char const*)in cmCursesMainForm.cxx.o
:info:build       cmCursesMainForm::Render(int, int, int, int)in cmCursesMainForm.cxx.o
:info:build       cmCursesPathWidget::OnTab(cmCursesMainForm*, _win_st*)      in cmCursesPathWidget.cxx.o
:info:build       cmCursesStringWidget::PrintKeys()      in cmCursesStringWidget.cxx.o
:info:build       cmCursesStringWidget::HandleInput(int&, cmCursesMainForm*, _win_st*)   in cmCursesStringWidget.cxx.o
:info:build       cmCursesStringWidget::HandleInput(int&, cmCursesMainForm*, _win_st*)   in cmCursesStringWidget.cxx.o
:info:build       cmCursesStringWidget::HandleInput(int&, cmCursesMainForm*, _win_st*)   in cmCursesStringWidget.cxx.o
:info:build       _onsig in ccmake.cxx.o
:info:build       _main in ccmake.cxx.o
:info:build       _main in ccmake.cxx.o
:info:build       _main in ccmake.cxx.o
:info:build       _post_form in libcmForm.a(frm_post.c.o)
:info:build       _Window_To_Buffer in libcmForm.a(frm_driver.c.o)
:info:build       _Buffer_To_Window in libcmForm.a(frm_driver.c.o)
:info:build       _Field_Grown in libcmForm.a(frm_driver.c.o)
:info:build       __nc_Refresh_Current_Field in libcmForm.a(frm_driver.c.o)
:info:build       __nc_Refresh_Current_Field in libcmForm.a(frm_driver.c.o)
:info:build       __nc_Refresh_Current_Field in libcmForm.a(frm_driver.c.o)
:info:build       __nc_Set_Current_Field in libcmForm.a(frm_driver.c.o)
:info:build ld: symbol(s) not found
:info:build collect2: ld returned 1 exit status
:info:build make[2]: *** [bin/ccmake] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-bootstrap/work/cmake-3.9.6'
:info:build make[1]: *** [Source/CMakeFiles/ccmake.dir/all] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-bootstrap/work/cmake-3.9.6'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-bootstrap/work/cmake-3.9.6'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-bootstrap/work/cmake-3.9.6" && /usr/bin/make -w all VERBOSE=ON 
:info:build Exit code: 2
:error:build Failed to build cmake-bootstrap: command execution failed
:debug:build Error code: CHILDSTATUS 1373 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 10)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-bootstrap/main.log for details.

Change History (2)

Changed 6 months ago by miles-martin-66 (Miles Martin)

Attachment: cmake-bootstrap-main.log added

main.log

comment:1 Changed 6 months ago by kencu (Ken)

Description: modified (diff)
Note: See TracTickets for help on using tickets.