opencomputeproject / HWMgmt-DeviceMgr-DeviceManager

Device Manager collects device data and notifications from each device, and make the data available on a predetermined output bus for consumers.
Apache License 2.0
23 stars 12 forks source link

Error msg from 'make go-install' #57

Open jcleung5549 opened 1 year ago

jcleung5549 commented 1 year ago

Got the following error

mkdir -p ~/app/bin
!!Please use this command to take effect environment variable!!
source /root/.bashrc
/root/.bashrc: line 6: PS1: unbound variable
make: *** [Makefile:95: go-install] Error 1

The .bashrc file

root# head /root/.bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples

# If not running interactively, don't do anything
[ -z "$PS1" ] && return

# don't put duplicate lines in the history. See bash(1) for more options
jcleung5549 commented 1 year ago

Also

root# echo $PS1
\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$
ehaligow commented 11 months ago

@jcleung5549 I believe this PR resolves this issue. Could you reproduce the steps, that produced the error, and let me know if the issue is resolved?