whatever I try, I end up getting this error trying to compile Elixir master on top of locally built Erlang on Fedora 29.
/screenshot removed - click on post history to view/
in Elixir I am at commit 05363f77f8eba58f540ff86d57e8b2aa048ba60a <- current master
in Erlang I am at master though I also tried the last RC tag build (OTP-21.2)
the Erlang ./configure goes fine with the following result so does the install
/screenshot removed - click on post history to view/
Any idea why those Mix.CLI tests are not passing? The error trace gives me no clue. Anyone experienced similar problem?
Which command did you use to build elixir and which do you use to run the tests?
Also please use copy and paste instead of screenshots, some of us (including me) are mainly browsing via mobiles and tablets or on a low-band-with connection.
source ~/.bashrc won’t delete otherwise exported environment variables, so if you have manually done export MIX_ENV=… in a session, but do not have a line export MIX_ENV=…, then the variable won’t be changed nor deleted by re-sourcing the ~/.bashrc.
To delete you need to either start a new session or use unset MIX_ENV.
source ~/.bashrc won’t delete otherwise exported environment variables, so if you have manually done export MIX_ENV=… in a session, but do not have a line export MIX_ENV=… , then the variable won’t be changed nor deleted by re-sourcing the ~/.bashrc .
To delete you need to either start a new session or use unset MIX_ENV .
so much I gathered, just escaped my attention, thanks!
MIX_ENV is owned by mix, and it does not restrict its values.
Each project can define the values they like.
I have opened a ticket about the failing tests though, proposing to write them in an environment agnostic way or to fail early with a clear error message: