[MacPorts] #69238: Can't run chpl after install

MacPorts noreply at macports.org
Tue Jan 30 01:40:59 UTC 2024


#69238: Can't run chpl after install
-----------------------+--------------------
 Reporter:  zibo-wang  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.9.0
 Keywords:             |       Port:  chapel
-----------------------+--------------------
 I have installed chapel and **sourced the startup script**, however, it
 keeps complaining

 {{{
 $ chpl -h
 Error: $CHPL_HOME is not where it is expected
 /opt
 }}}

 if I do printchplenv,


 {{{
 machine info: Darwin MacBook-Pro-M3.local 23.2.0 Darwin Kernel Version
 23.2.0: Wed Nov 15 21:54:05 PST 2023;
 root:xnu-10002.61.3~2/RELEASE_ARM64_T6031 arm64
 CHPL_HOME: /opt/local/lib/chapel *
 script location: /opt/local/lib/chapel/util/chplenv
 CHPL_HOST_PLATFORM: darwin
 CHPL_HOST_COMPILER: clang
 CHPL_HOST_ARCH: arm64
 CHPL_TARGET_PLATFORM: darwin
 CHPL_TARGET_COMPILER: clang
 CHPL_TARGET_ARCH: arm64
 CHPL_TARGET_CPU: native
 CHPL_LOCALE_MODEL: flat
 CHPL_COMM: none
 CHPL_TASKS: qthreads
 CHPL_LAUNCHER: none
 CHPL_TIMERS: generic
 CHPL_UNWIND: none
 CHPL_MEM: jemalloc
 CHPL_ATOMICS: cstdlib
 CHPL_GMP: none
 CHPL_HWLOC: hwloc
 CHPL_REGEXP: none
 CHPL_LLVM: none
 CHPL_AUX_FILESYS: none
 CHPL_LIB_PIC: none
 }}}


 Eventhough if I echo, the CHPL_HOME is pointing to the right location.
 Please help. Also I think chapel has been updated to 1.33 as well.

 Cheers,
 Z

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


More information about the macports-tickets mailing list