Opened 7 years ago
Closed 4 years ago
#55227 closed defect (fixed)
ledger failed to install
Reported by: | arademaker (Alexandre Rademaker) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.2 |
Keywords: | Cc: | kurthindenburg (Kurt Hindenburg), ctreleaven (Craig Treleaven) | |
Port: | ledger |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
---> Building ledger Error: Failed to build ledger: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_finance_ledger/ledger/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port ledger failed urca:data arademaker$ less /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_finance_ledger/ledger/main.log
the end of the log:
:info:build [ 77%] Building CXX object src/CMakeFiles/libledger.dir/utils.cc.o :info:build make[2]: *** No rule to make target `/usr/local/lib/libboost_date_time-mt.dylib', needed by `libledger.3.dylib'. Stop. :info:build make[2]: *** Waiting for unfinished jobs.... :info:build [ 79%] Building CXX object src/CMakeFiles/libledger.dir/wcwidth.cc.o :info:build make[1]: *** [src/CMakeFiles/libledger.dir/all] Error 2 :info:build make: *** [all] Error 2 :info:build acprep: ERROR: Execution failed: make all -j4 :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_finance_ledger/ledger/work/ledger-3.1.1" && /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_finance_ledger/ledger/work/ledger-3.1.1/acprep opt make -j4 all :info:build Exit code: 1 :error:build Failed to build ledger: command execution failed :debug:build Error code: CHILDSTATUS 35853 1 :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "system {*}$notty {*}$nice $fullcmdstring" :debug:build invoked from within :debug:build "command_exec build" :debug:build (procedure "portbuild::build_main" line 8) :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_release_tarballs_ports_finance_ledger/ledger/main.log for details.
Attachments (1)
Change History (12)
comment:1 Changed 7 years ago by Schamschula (Marius Schamschula)
Priority: | High → Normal |
---|
comment:2 Changed 7 years ago by Schamschula (Marius Schamschula)
Description: | modified (diff) |
---|
comment:3 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)
Cc: | kurthindenburg added |
---|
comment:4 Changed 7 years ago by arademaker (Alexandre Rademaker)
I do have some tools installed in the /usr/local, can you be more specific about what can be causing the error?
comment:5 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)
Just by your paste this doesn't look good: /usr/local/lib/libboost_date_time-mt.dylib', needed by `libledger.3.dylib'. Stop.
Do you have boost installed outside of macports?
comment:6 Changed 7 years ago by arademaker (Alexandre Rademaker)
The locate command (after the forced sudo /usr/libexec/locate.updatedb
) gives me only:
/Applications/Kindle.app/Contents/Frameworks/libboost_atomic.dylib /Applications/Kindle.app/Contents/Frameworks/libboost_date_time.dylib /Applications/Kindle.app/Contents/Frameworks/libboost_filesystem.dylib /Applications/Kindle.app/Contents/Frameworks/libboost_iostreams.dylib /Applications/Kindle.app/Contents/Frameworks/libboost_regex.dylib /Applications/Kindle.app/Contents/Frameworks/libboost_system.dylib /Applications/Kindle.app/Contents/Frameworks/libboost_thread.dylib /Applications/Kindle.app/Contents/Frameworks/libboost_zlib.dylib /opt/cisco/anyconnect/lib/libboost_date_time.dylib /opt/cisco/anyconnect/lib/libboost_filesystem.dylib /opt/cisco/anyconnect/lib/libboost_signals.dylib /opt/cisco/anyconnect/lib/libboost_system.dylib /opt/cisco/anyconnect/lib/libboost_thread.dylib /opt/local/lib/libboost_atomic-mt.dylib /opt/local/lib/libboost_chrono-mt.a /opt/local/lib/libboost_chrono-mt.dylib /opt/local/lib/libboost_container-mt.dylib /opt/local/lib/libboost_context-mt.dylib /opt/local/lib/libboost_coroutine-mt.dylib /opt/local/lib/libboost_date_time-mt.dylib /opt/local/lib/libboost_exception-mt.a /opt/local/lib/libboost_filesystem-mt.dylib /opt/local/lib/libboost_graph-mt.dylib /opt/local/lib/libboost_iostreams-mt.dylib /opt/local/lib/libboost_locale-mt.dylib /opt/local/lib/libboost_log-mt.dylib /opt/local/lib/libboost_log_setup-mt.dylib /opt/local/lib/libboost_math_c99-mt.dylib /opt/local/lib/libboost_math_c99f-mt.dylib /opt/local/lib/libboost_math_c99l-mt.dylib /opt/local/lib/libboost_math_tr1-mt.dylib /opt/local/lib/libboost_math_tr1f-mt.dylib /opt/local/lib/libboost_math_tr1l-mt.dylib /opt/local/lib/libboost_prg_exec_monitor-mt.dylib /opt/local/lib/libboost_program_options-mt.dylib /opt/local/lib/libboost_python-mt.dylib /opt/local/lib/libboost_random-mt.dylib /opt/local/lib/libboost_regex-mt.dylib /opt/local/lib/libboost_serialization-mt.dylib /opt/local/lib/libboost_signals-mt.dylib /opt/local/lib/libboost_system-mt.a /opt/local/lib/libboost_system-mt.dylib /opt/local/lib/libboost_test_exec_monitor-mt.a /opt/local/lib/libboost_thread-mt.dylib /opt/local/lib/libboost_timer-mt.a /opt/local/lib/libboost_timer-mt.dylib /opt/local/lib/libboost_unit_test_framework-mt.dylib /opt/local/lib/libboost_wave-mt.dylib /opt/local/lib/libboost_wserialization-mt.dylib
comment:7 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
We can't necessarily trust that error message No rule to make target `/usr/local/lib/libboost_date_time-mt.dylib', needed by `libledger.3.dylib'
because it resulted from an unclean build attempt. The attached log contains an earlier clean build attempt which ends with these errors:
:info:build Undefined symbols for architecture x86_64: :info:build "boost::filesystem::path::m_normalize()", referenced from: :info:build ledger::resolve_path(boost::filesystem::path const&) in utils.cc.o :info:build "boost::re_detail::get_mem_block()", referenced from: [snip]
comment:8 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
comment:9 Changed 6 years ago by ctreleaven (Craig Treleaven)
@ryandesign, I noticed you also enabled tests. On my system, 4 of 352 tests fail:
99% tests passed, 4 tests failed out of 352 Total Test time (real) = 43.68 sec The following tests FAILED: 47 - BaselineTest_dir-import_py (Failed) 49 - BaselineTest_dir-python_py (Failed) 59 - BaselineTest_feat-import_py (Failed) 104 - BaselineTest_opt-datetime-format (Failed) Errors while running CTest make: *** [test] Error 8 Command failed: cd "/opt/local/var/macports/build/_Users_craigtreleaven_mp_macports-ports_finance_ledger/ledger/work/build" && /usr/bin/make test Exit code: 2 Error: Failed to test ledger: command execution failed
This is on OS X 10.10. Not sure if the failures are significant or not.
comment:10 Changed 6 years ago by ctreleaven (Craig Treleaven)
Cc: | ctreleaven added |
---|
comment:11 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
We have successful builds of ledger 3.1.3 on Mac OS X 10.7 and later so I'm going to call this fixed.
Regarding test failures, please discuss them with the developers of ledger.
Do you have anything installed into /usr/local/? That typically won't work w/ macports
Also attach the complete main.log - it builds here on High Sierra