Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conda build test step creates bad PATH on rhel5 -- assumption about sed? #1648

Closed
davidslac opened this issue Jan 11, 2017 · 2 comments
Closed
Labels
locked [bot] locked due to inactivity

Comments

@davidslac
Copy link

On rhel5, the test section of my recipe's meta.yaml does

ls

But that command fails.

I activated the test environment, this gave errors about using sed, then grep, below is the output of this, perhaps those warnings give some insite into the issue.

When I look at PATH in the activated environment, all it has is the bin for the test environment, nothing else.

source /reg/g/psdm/sw/conda/inst/miniconda2-dev-rhel5/bin/activate /reg/g/psdm/sw/conda/inst/miniconda2-dev-rhel5/conda-bld/openmpi-1.10x_1484094851080/_t_env
sed: invalid option -- E
Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...

  -n, --quiet, --silent
                 suppress automatic printing of pattern space
  -e script, --expression=script
                 add the script to the commands to be executed
  -f script-file, --file=script-file
                 add the contents of script-file to the commands to be executed
  -i[SUFFIX], --in-place[=SUFFIX]
                 edit files in place (makes backup if extension supplied)
  -c, --copy
                 use copy instead of rename when shuffling files in -i mode
		 (avoids change of input file ownership)
  -l N, --line-length=N
                 specify the desired line-wrap length for the `l' command
  --posix
                 disable all GNU extensions.
  -r, --regexp-extended
                 use extended regular expressions in the script.
  -s, --separate
                 consider files as separate rather than as a single continuous
                 long stream.
  -u, --unbuffered
                 load minimal amounts of data from the input files and flush
                 the output buffers more often
      --help     display this help and exit
      --version  output version information and exit

If no -e, --expression, -f, or --file option is given, then the first
non-option argument is taken as the sed script to interpret.  All
remaining arguments are names of input files; if no input files are
specified, then the standard input is read.

E-mail bug reports to: bonzini@gnu.org .
Be sure to include the word ``sed'' somewhere in the ``Subject:'' field.
-bash: sed: command not found
-bash: grep: command not found
(/reg/g/psdm/sw/conda/inst/miniconda2-dev-rhel5/conda-bld/openmpi-1.10x_1484094851080/_t_env) (psreldev) psdev106: /reg/g/psdm/sw/conda/inst/miniconda2-dev-rhel5/conda-bld $ echo $PATH
/reg/g/psdm/sw/conda/inst/miniconda2-dev-rhel5/conda-bld/openmpi-1.10x_1484094851080/_t_env/bin:
@msarahan
Copy link
Contributor

Sorry, this is a bug in conda 4.2.14. See conda/conda#4249 for the whole story. Downgrade to conda 4.2.13 or wait for 4.2.15 - it should be out very soon.

@github-actions
Copy link

Hi there, thank you for your contribution!

This issue has been automatically locked because it has not had recent activity after being closed.

Please open a new issue if needed.

Thanks!

@github-actions github-actions bot added the locked [bot] locked due to inactivity label Apr 17, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity
Projects
None yet
Development

No branches or pull requests

2 participants