[MacPorts] #59239: mpich-default uses clang-8.0 at runtime but doesn't declare a dependency on it

MacPorts noreply at macports.org
Thu Oct 10 10:12:04 UTC 2019


#59239: mpich-default uses clang-8.0 at runtime but doesn't declare a dependency on
it
------------------------+--------------------
 Reporter:  ryandesign  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.1
 Keywords:              |       Port:  mpich
------------------------+--------------------
 [https://build.macports.org/builders/ports-10.6_i386-builder/builds/1615/steps
 /install-port/logs/stdio sundials does not build] on 10.6:

 {{{
 CMake Error at
 /opt/local/share/cmake-3.15/Modules/CMakeTestCCompiler.cmake:60 (message):
   The C compiler

     "/opt/local/bin/mpicc-mpich-mp"

   is not able to compile a simple test program.

   It fails with the following output:

     Change Dir:
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_sundials/sundials/work/build/CMakeFiles/CMakeTmp

     Run Build Command(s):/usr/bin/make cmTC_b5eaa/fast && /usr/bin/make -f
 CMakeFiles/cmTC_b5eaa.dir/build.make CMakeFiles/cmTC_b5eaa.dir/build
     Building C object CMakeFiles/cmTC_b5eaa.dir/testCCompiler.c.o
     /opt/local/bin/mpicc-mpich-mp   -pipe -Os -DNDEBUG
 -I/opt/local/include  -arch i386   -o
 CMakeFiles/cmTC_b5eaa.dir/testCCompiler.c.o   -c
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_sundials/sundials/work/build/CMakeFiles/CMakeTmp/testCCompiler.c
     /opt/local/bin/mpicc-mpich-mp: line 301: /opt/local/bin/clang-mp-8.0:
 No such file or directory
     make[1]: *** [CMakeFiles/cmTC_b5eaa.dir/testCCompiler.c.o] Error 127
     make: *** [cmTC_b5eaa/fast] Error 2





   CMake will not be able to correctly generate this project.
 Call Stack (most recent call first):
   CMakeLists.txt:40 (PROJECT)


 -- Configuring incomplete, errors occurred!
 }}}

 sundials depends on mpich-default, but mpich-default is trying to use
 clang-8.0, which is not present, presumably because mpich-default doesn't
 declare a dependency on it.

-- 
Ticket URL: <https://trac.macports.org/ticket/59239>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list