#49748: boost @1.59.0_2 (devel) +mpich ld: file not found -- build failure ----------------------------+-------------------------------- Reporter: artur.palha@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: boost | ----------------------------+-------------------------------- Comment (by gideon.simpson@…): I'm having a similar problem. When I look at the log file it says: {{{ :info:build "/opt/local/bin/mpicxx-mpich-mp" -dynamiclib -Wl,-single_module -install_name "/opt/local/lib /libboost_unit_test_framework-mt.dylib" -o "stage/lib /libboost_unit_test_framework-mt.dylib" "bin.v2/libs/test/build/darwin-4.2.1/release/threading- multi/compiler_log_formatter.o" "bin.v2/libs/test/build/darwin-4.2.1/release/threading-multi/debug.o" "bin.v2/libs/test/build/darwin-4.2.1/release/threading-multi/decorator.o" "bin.v2/libs/test/build/darwin-4.2.1/release/threading- multi/execution_monitor.o" "bin.v2/libs/test/build/darwin-4.2.1/release /threading-multi/framework.o" "bin.v2/libs/test/build/darwin-4.2.1/release /threading-multi/plain_report_formatter.o" "bin.v2/libs/test/build/darwin-4.2.1/release/threading- multi/progress_monitor.o" "bin.v2/libs/test/build/darwin-4.2.1/release /threading-multi/results_collector.o" "bin.v2/libs/test/build/darwin-4.2.1/release/threading- multi/results_reporter.o" "bin.v2/libs/test/build/darwin-4.2.1/release /threading-multi/test_tools.o" "bin.v2/libs/test/build/darwin-4.2.1/release/threading-multi/test_tree.o" "bin.v2/libs/test/build/darwin-4.2.1/release/threading- multi/unit_test_log.o" "bin.v2/libs/test/build/darwin-4.2.1/release /threading-multi/unit_test_main.o" "bin.v2/libs/test/build/darwin-4.2.1/release/threading- multi/unit_test_monitor.o" "bin.v2/libs/test/build/darwin-4.2.1/release /threading-multi/unit_test_parameters.o" "bin.v2/libs/test/build/darwin-4.2.1/release/threading- multi/xml_log_formatter.o" "bin.v2/libs/test/build/darwin-4.2.1/release /threading-multi/xml_report_formatter.o" "bin.v2/libs/timer/build/darwin-4.2.1/release/threading-multi /libboost_timer-mt.dylib" "bin.v2/libs/system/build/darwin-4.2.1/release /threading-multi/libboost_system-mt.dylib" -headerpad_max_install_names -Wl,-dead_strip -no_dead_strip_inits_and_terms -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -pipe -arch x86_64 -stdlib=libc++ -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-flat_namespace -Wl,-commons,use_dylibs -undefined dynamic_lookup :info:build :info:build ld: file not found: /opt/local/lib/libboost_chrono-mt.dylib for architecture x86_64 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build ...failed darwin.link.dll stage/lib /libboost_unit_test_framework-mt.dylib... :info:build ...failed updating 2 targets... :info:build ...updated 641 targets... :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boost/boost/work/boost_1_59_0" && /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boost/boost/work/boost_1_59_0/b2 -d2 --layout=tagged --debug-configuration --user-config=user-config.jam -sBZIP2_INCLUDE=/opt/local/include -sBZIP2_LIBPATH=/opt/local/lib -sEXPAT_INCLUDE=/opt/local/include -sEXPAT_LIBPATH=/opt/local/lib -sZLIB_INCLUDE=/opt/local/include -sZLIB_LIBPATH=/opt/local/lib -sICU_PATH=/opt/local variant=release -j12 architecture=x86 address- model=64 link=shared threading=multi :info:build Exit code: 1 :error:build org.macports.build for port boost returned: command execution failed :debug:build Error code: CHILDSTATUS 19528 1 :debug:build Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "portbuild::build_main org.macports.build" ("eval" body line 1) invoked from within "eval $procedure $targetname" :info:build Warning: targets not executed for boost: org.macports.activate org.macports.build org.macports.destroot org.macports.install :error:build Failed to install boost :debug:build Registry error: mpich not registered as installed & active. while executing "registry::active $portname" :notice:build Please see the log file for port boost for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boost/boost/main.log }}} This showed up when I began rebuilding my macports installation after upgrading to el capitan. -- Ticket URL: <https://trac.macports.org/ticket/49748#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X