AnacondaRecipes / intel_repack-feedstock

Repackaging of Intel's MKL packages for usage in Anaconda
7 stars 5 forks source link

fix win and linux mkl-devel packages #23

Closed cbouss closed 1 year ago

cbouss commented 1 year ago

Changes:

This was noticed when building scipy with meson. I will only upload mkl and mkl-devel.

anaconda-pkg-build commented 1 year ago
Linter check found the following problems: The following problems have been found: INFO: clone/recipe/meta.yaml:0: output_missing_script: output "blas": Output is missing script. WARNING: clone/recipe/meta.yaml:486: missing_license_file: The recipe is missing the `about/license_file` or `about/license_url` key. WARNING: clone/recipe/meta.yaml:486: missing_description: The recipe is missing a description ERROR: clone/recipe/meta.yaml:486: missing_dev_url: The recipe is missing a dev_url ERROR: clone/recipe/meta.yaml:486: missing_documentation: The recipe is missing a doc_url or doc_source_url Errors were found
anaconda-pkg-build commented 1 year ago
Linter check found the following problems: The following problems have been found: INFO: clone/recipe/meta.yaml:0: output_missing_script: output "blas": Output is missing script. WARNING: clone/recipe/meta.yaml:486: missing_description: The recipe is missing a description WARNING: clone/recipe/meta.yaml:486: missing_license_file: The recipe is missing the `about/license_file` or `about/license_url` key. ERROR: clone/recipe/meta.yaml:486: missing_dev_url: The recipe is missing a dev_url ERROR: clone/recipe/meta.yaml:486: missing_documentation: The recipe is missing a doc_url or doc_source_url Errors were found
anaconda-pkg-build commented 1 year ago
Linter check found the following problems: The following problems have been found: INFO: clone/recipe/meta.yaml:0: output_missing_script: output "blas": Output is missing script. WARNING: clone/recipe/meta.yaml:486: missing_license_file: The recipe is missing the `about/license_file` or `about/license_url` key. ERROR: clone/recipe/meta.yaml:486: missing_dev_url: The recipe is missing a dev_url ERROR: clone/recipe/meta.yaml:486: missing_documentation: The recipe is missing a doc_url or doc_source_url WARNING: clone/recipe/meta.yaml:486: missing_description: The recipe is missing a description Errors were found
anaconda-pkg-build commented 1 year ago
Linter check found the following problems: The following problems have been found: INFO: clone/recipe/meta.yaml:0: output_missing_script: output "blas": Output is missing script. ERROR: clone/recipe/meta.yaml:484: missing_documentation: The recipe is missing a doc_url or doc_source_url WARNING: clone/recipe/meta.yaml:484: missing_description: The recipe is missing a description WARNING: clone/recipe/meta.yaml:484: missing_license_file: The recipe is missing the `about/license_file` or `about/license_url` key. ERROR: clone/recipe/meta.yaml:484: missing_dev_url: The recipe is missing a dev_url Errors were found
anaconda-pkg-build commented 1 year ago
Linter check found the following problems: Traceback (most recent call last): File "/opt/conda/envs/linter/lib/python3.11/site-packages/percy/render/_renderer.py", line 232, in render return ruamel.load(yaml_text.replace("\t", " ").replace("%", " ")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/linter/lib/python3.11/site-packages/ruamel/yaml/main.py", line 434, in load return constructor.get_single_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/linter/lib/python3.11/site-packages/ruamel/yaml/constructor.py", line 119, in get_single_data node = self.composer.get_single_node() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/linter/lib/python3.11/site-packages/ruamel/yaml/composer.py", line 76, in get_single_node document = self.compose_document() ^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/linter/lib/python3.11/site-packages/ruamel/yaml/composer.py", line 99, in compose_document node = self.compose_node(None, None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/linter/lib/python3.11/site-packages/ruamel/yaml/composer.py", line 143, in compose_node node = self.compose_mapping_node(anchor) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/linter/lib/python3.11/site-packages/ruamel/yaml/composer.py", line 223, in compose_mapping_node item_value = self.compose_node(node, item_key) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/linter/lib/python3.11/site-packages/ruamel/yaml/composer.py", line 141, in compose_node node = self.compose_sequence_node(anchor) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/linter/lib/python3.11/site-packages/ruamel/yaml/composer.py", line 185, in compose_sequence_node node.value.append(self.compose_node(node, index)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/linter/lib/python3.11/site-packages/ruamel/yaml/composer.py", line 143, in compose_node node = self.compose_mapping_node(anchor) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/linter/lib/python3.11/site-packages/ruamel/yaml/composer.py", line 223, in compose_mapping_node item_value = self.compose_node(node, item_key) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/linter/lib/python3.11/site-packages/ruamel/yaml/composer.py", line 143, in compose_node node = self.compose_mapping_node(anchor) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/linter/lib/python3.11/site-packages/ruamel/yaml/composer.py", line 216, in compose_mapping_node while not self.parser.check_event(MappingEndEvent): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/linter/lib/python3.11/site-packages/ruamel/yaml/parser.py", line 146, in check_event self.current_event = self.state() ^^^^^^^^^^^^ File "/opt/conda/envs/linter/lib/python3.11/site-packages/ruamel/yaml/parser.py", line 612, in parse_block_mapping_key raise ParserError( ruamel.yaml.parser.ParserError: while parsing a block mapping in "", line 220, column 7: commands: ^ (line: 220) expected , but found '' in "", line 224, column 8: - for /f "usebackq tokens=*" a ... ^ (line: 224) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/lint/__init__.py", line 722, in lint_file recipe = _recipe.Recipe.from_file( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/linter/lib/python3.11/site-packages/percy/render/recipe.py", line 231, in from_file raise exc File "/opt/conda/envs/linter/lib/python3.11/site-packages/percy/render/recipe.py", line 222, in from_file recipe._load_from_string(text.read()) File "/opt/conda/envs/linter/lib/python3.11/site-packages/percy/render/recipe.py", line 154, in _load_from_string self.render() File "/opt/conda/envs/linter/lib/python3.11/site-packages/percy/render/recipe.py", line 271, in render self.meta = renderer.render( ^^^^^^^^^^^^^^^^ File "/opt/conda/envs/linter/lib/python3.11/site-packages/percy/render/_renderer.py", line 255, in render raise YAMLRenderFailure(recipe_dir, line=exc.problem_mark.line) percy.render.exceptions.YAMLRenderFailure: /tmp/abs_156kl59hak/clone/recipe During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/conda/envs/linter/bin/conda-lint", line 11, in sys.exit(main()) ^^^^^^ File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/run.py", line 114, in main result = linter.lint( ^^^^^^^^^^^^ File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/lint/__init__.py", line 626, in lint msgs = self.lint_file( ^^^^^^^^^^^^^^^ File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/lint/__init__.py", line 739, in lint_file recipe = _recipe.Recipe(recipe_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/linter/lib/python3.11/site-packages/percy/render/recipe.py", line 93, in __init__ self.recipe_dir = recipe_file.parent ^^^^^^^^^^^^^^^^^^ AttributeError: 'str' object has no attribute 'parent' ERROR conda.cli.main_run:execute(49): `conda run conda-lint /tmp/abs_156kl59hak/clone` failed. (See above for error)
anaconda-pkg-build commented 1 year ago
Linter check found the following problems: The following problems have been found: INFO: clone/recipe/meta.yaml:0: output_missing_script: output "blas": Output is missing script. ERROR: clone/recipe/meta.yaml:485: missing_dev_url: The recipe is missing a dev_url WARNING: clone/recipe/meta.yaml:485: missing_license_file: The recipe is missing the `about/license_file` or `about/license_url` key. WARNING: clone/recipe/meta.yaml:485: missing_description: The recipe is missing a description ERROR: clone/recipe/meta.yaml:485: missing_documentation: The recipe is missing a doc_url or doc_source_url Errors were found
cbouss commented 1 year ago

LGTM but could you check that .pc files in the correct folder by adding tests?

I tested building scipy with this version of mkl-devel.

JeanChristopheMorinPerso commented 1 year ago

Maybe add a little pkg-config mkl-devel --exists as a test?

anaconda-pkg-build commented 1 year ago
Linter check found the following problems: The following problems have been found: INFO: clone/recipe/meta.yaml:0: output_missing_script: output "blas": Output is missing script. ERROR: clone/recipe/meta.yaml:487: missing_documentation: The recipe is missing a doc_url or doc_source_url WARNING: clone/recipe/meta.yaml:487: missing_license_file: The recipe is missing the `about/license_file` or `about/license_url` key. ERROR: clone/recipe/meta.yaml:487: missing_dev_url: The recipe is missing a dev_url WARNING: clone/recipe/meta.yaml:487: missing_description: The recipe is missing a description Errors were found
JeanChristopheMorinPerso commented 1 year ago

@cbouss It looks like the osx-64 build failed.

anaconda-pkg-build commented 1 year ago
Linter check found the following problems: The following problems have been found: INFO: clone/recipe/meta.yaml:0: output_missing_script: output "blas": Output is missing script. ERROR: clone/recipe/meta.yaml:487: missing_documentation: The recipe is missing a doc_url or doc_source_url WARNING: clone/recipe/meta.yaml:487: missing_license_file: The recipe is missing the `about/license_file` or `about/license_url` key. WARNING: clone/recipe/meta.yaml:487: missing_description: The recipe is missing a description ERROR: clone/recipe/meta.yaml:487: missing_dev_url: The recipe is missing a dev_url Errors were found
anaconda-pkg-build commented 1 year ago
Linter check found the following problems: The following problems have been found: INFO: clone/recipe/meta.yaml:0: output_missing_script: output "blas": Output is missing script. ERROR: clone/recipe/meta.yaml:487: missing_dev_url: The recipe is missing a dev_url WARNING: clone/recipe/meta.yaml:487: missing_license_file: The recipe is missing the `about/license_file` or `about/license_url` key. WARNING: clone/recipe/meta.yaml:487: missing_description: The recipe is missing a description ERROR: clone/recipe/meta.yaml:487: missing_documentation: The recipe is missing a doc_url or doc_source_url Errors were found
anaconda-pkg-build commented 1 year ago
Linter check found the following problems: The following problems have been found: INFO: clone/recipe/meta.yaml:0: output_missing_script: output "blas": Output is missing script. WARNING: clone/recipe/meta.yaml:487: missing_description: The recipe is missing a description ERROR: clone/recipe/meta.yaml:487: missing_dev_url: The recipe is missing a dev_url WARNING: clone/recipe/meta.yaml:487: missing_license_file: The recipe is missing the `about/license_file` or `about/license_url` key. ERROR: clone/recipe/meta.yaml:487: missing_documentation: The recipe is missing a doc_url or doc_source_url Errors were found
anaconda-pkg-build commented 1 year ago
Linter check found the following problems: The following problems have been found: INFO: clone/recipe/meta.yaml:0: output_missing_script: output "blas": Output is missing script. WARNING: clone/recipe/meta.yaml:487: missing_license_file: The recipe is missing the `about/license_file` or `about/license_url` key. ERROR: clone/recipe/meta.yaml:487: missing_documentation: The recipe is missing a doc_url or doc_source_url ERROR: clone/recipe/meta.yaml:487: missing_dev_url: The recipe is missing a dev_url WARNING: clone/recipe/meta.yaml:487: missing_description: The recipe is missing a description Errors were found