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

llvmlite v0.41.0 #74

Conversation

regro-cf-autotick-bot
Copy link
Contributor

It is very likely that the current package version for this feedstock is out of date.

Checklist before merging this PR:

  • Dependencies have been updated if changed: see upstream
  • Tests have passed
  • Updated license if changed and license_file is packaged

Information about this PR:

  1. Feel free to push to the bot's branch to update this PR if needed.
  2. The bot will almost always only open one PR per version.
  3. The bot will stop issuing PRs if more than 3 version bump PRs generated by the bot are open. If you don't want to package a particular version please close the PR.
  4. If you want these PRs to be merged automatically, make an issue with @conda-forge-admin,please add bot automerge in the title and merge the resulting PR. This command will add our bot automerge feature to your feedstock.
  5. If this PR was opened in error or needs to be updated please add the bot-rerun label to this PR. The bot will close this PR and schedule another one. If you do not have permissions to add this label, you can use the phrase @conda-forge-admin, please rerun bot in a PR comment to have the conda-forge-admin add it for you.

Dependency Analysis

Please note that this analysis is highly experimental. The aim here is to make maintenance easier by inspecting the package's dependencies. Importantly this analysis does not support optional dependencies, please double check those before making changes. If you do not want hinting of this kind ever please add bot: inspection: false to your conda-forge.yml. If you encounter issues with this feature please ping the bot team conda-forge/bot.

Analysis by source code inspection shows no discrepancy with the stated requirements in the meta.yaml.

This PR was created by the regro-cf-autotick-bot. The regro-cf-autotick-bot is a service to automatically track the dependency graph, migrate packages, and propose package version updates for conda-forge. Feel free to drop us a line if there are any issues! This PR was generated by https://github.com/regro/cf-scripts/actions/runs/6263879185, please use this URL for debugging.

@conda-forge-webservices
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@esc
Copy link
Member

esc commented Oct 10, 2023

Anyone have any hunches?

@esc
Copy link
Member

esc commented Oct 10, 2023

I am unable to reproduce this failure locally, can't really make sense of the error, it seems mamba related.

Traceback (most recent call last):
  File "/opt/conda/lib/python3.10/site-packages/conda_build/environ.py", line 1058, in create_env
    execute_actions(actions, index)
  File "/opt/conda/lib/python3.10/site-packages/conda/common/io.py", line 84, in decorated
    return f(*args, **kwds)
  File "/opt/conda/lib/python3.10/site-packages/conda/plan.py", line 345, in execute_actions
    execute_instructions(plan, index, verbose)
  File "/opt/conda/lib/python3.10/site-packages/conda/plan.py", line 613, in execute_instructions
    cmd(state, arg)
  File "/opt/conda/lib/python3.10/site-packages/conda/instructions.py", line 73, in UNLINKLINKTRANSACTION_CMD
    unlink_link_transaction.execute()
  File "/opt/conda/lib/python3.10/site-packages/conda/core/link.py", line 343, in execute
    self.verify()
  File "/opt/conda/lib/python3.10/site-packages/conda/common/io.py", line 84, in decorated
    return f(*args, **kwds)
  File "/opt/conda/lib/python3.10/site-packages/conda/core/link.py", line 299, in verify
    exceptions = self._verify(self.prefix_setups, self.prefix_action_groups)
  File "/opt/conda/lib/python3.10/site-packages/conda/core/link.py", line 805, in _verify
    for exc in self.verify_executor.map(
  File "/opt/conda/lib/python3.10/site-packages/conda/common/io.py", line 561, in map
    yield func(thing)
  File "/opt/conda/lib/python3.10/site-packages/conda/core/link.py", line 582, in _verify_individual_level
    error_result = axn.verify()
  File "/opt/conda/lib/python3.10/site-packages/conda/core/path_actions.py", line 395, in verify
    source_size_in_bytes = getsize(self.source_full_path)
  File "/opt/conda/lib/python3.10/genericpath.py", line 50, in getsize
    return os.stat(filename).st_size
OSError: [Errno 40] Too many levels of symbolic links: '/home/conda/feedstock_root/build_artifacts/pkg_cache/ncurses-6.4-h2e1726e_0/share/terminfo/n/ncr260vt300wpp'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/conda/bin/conda-mambabuild", line 10, in <module>
    sys.exit(main())
  File "/opt/conda/lib/python3.10/site-packages/boa/cli/mambabuild.py", line 256, in main
    call_conda_build(action, config)
  File "/opt/conda/lib/python3.10/site-packages/boa/cli/mambabuild.py", line 228, in call_conda_build
    result = api.build(
  File "/opt/conda/lib/python3.10/site-packages/conda_build/api.py", line 180, in build
    return build_tree(
  File "/opt/conda/lib/python3.10/site-packages/conda_build/build.py", line 3078, in build_tree
    packages_from_this = build(metadata, stats,
  File "/opt/conda/lib/python3.10/site-packages/conda_build/build.py", line 2115, in build
    create_build_envs(top_level_pkg, notest)
  File "/opt/conda/lib/python3.10/site-packages/conda_build/build.py", line 1947, in create_build_envs
    environ.create_env(m.config.host_prefix, host_actions, env='host', config=m.config,
  File "/opt/conda/lib/python3.10/site-packages/conda_build/environ.py", line 1185, in create_env
    create_env(
  File "/opt/conda/lib/python3.10/site-packages/conda_build/environ.py", line 1052, in create_env
    display_actions(actions, index)
  File "/opt/conda/lib/python3.10/site-packages/conda/exports.py", line 225, in display_actions
    actions["LINK"] = [index[d] for d in actions["LINK"]]
  File "/opt/conda/lib/python3.10/site-packages/conda/exports.py", line 225, in <listcomp>
    actions["LINK"] = [index[d] for d in actions["LINK"]]
KeyError: PackageRecord(_hash=-4553158444022786779, name='ca-certificates', version='2023.7.22', build='hcefe29a_0', build_number=0, channel=Channel("conda-forge/linux-aarch64"), subdir='linux-aarch64', fn='ca-certificates-2023.7.22-hcefe29a_0.conda', md5='95d7f998087114466fa91e7c2887fa2f', url='https://conda.anaconda.org/conda-forge/linux-aarch64/ca-certificates-2023.7.22-hcefe29a_0.conda', sha256='40e98cf2a105a618cae899d9e4d26c46fdd733f015f7a322ff313bd71cab8be4', arch=None, platform=None, depends=(), license='ISC', timestamp=1690026879.008, size=149599)
Traceback (most recent call last):
  File "/Users/vhaenel/git/llvmlite-feedstock/build-locally.py", line 105, in <module>
    main()
  File "/Users/vhaenel/git/llvmlite-feedstock/build-locally.py", line 93, in main
    run_docker_build(ns)
  File "/Users/vhaenel/git/llvmlite-feedstock/build-locally.py", line 29, in run_docker_build
    subprocess.check_call([script])
  File "/Users/vhaenel/miniconda3-arm64/envs/numba_3.11/lib/python3.11/subprocess.py", line 413, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['.scripts/run_docker_build.sh']' returned non-zero exit status 1.

@gmarkall
Copy link
Contributor

gmarkall commented Oct 10, 2023

The source of the segfault on aarch64 may be this:

test_add_ir_module (llvmlite.tests.test_binding.TestOrcLLJIT) ...
==10660== Conditional jump or move depends on uninitialised value(s)
==10660==    at 0x9662550: llvm::AArch64TargetMachine::AArch64TargetMachine(llvm::Target const&, llvm::Triple const&, llvm::StringRef, llvm::StringRef, llvm::TargetOptions const&, llvm::Optional<llvm::Reloc::Model>, llvm::Optional<llvm::CodeModel::Model>, llvm::CodeGenOpt::Level, bool, bool) (in /home/gmarkall/mambaforge/envs/llvm041debug/lib/libLLVM-14.so)
==10660==    by 0x9662993: llvm::RegisterTargetMachine<llvm::AArch64leTargetMachine>::Allocator(llvm::Target const&, llvm::Triple const&, llvm::StringRef, llvm::StringRef, llvm::TargetOptions const&, llvm::Optional<llvm::Reloc::Model>, llvm::Optional<llvm::CodeModel::Model>, llvm::CodeGenOpt::Level, bool) (in /home/gmarkall/mambaforge/envs/llvm041debug/lib/libLLVM-14.so)
==10660==    by 0x93F166F: llvm::orc::JITTargetMachineBuilder::createTargetMachine() (in /home/gmarkall/mambaforge/envs/llvm041debug/lib/libLLVM-14.so)
==10660==    by 0x940917F: llvm::orc::LLJIT::LLJIT(llvm::orc::LLJITBuilderState&, llvm::Error&) (in /home/gmarkall/mambaforge/envs/llvm041debug/lib/libLLVM-14.so)
==10660==    by 0x66C629B: LLVMPY_CreateLLJITCompiler (in /home/gmarkall/mambaforge/envs/llvm041debug/lib/python3.10/site-packages/llvmlite/binding/libllvmlite.so)
==10660==    by 0x5ED2EBF: ffi_call_SYSV (in /home/gmarkall/mambaforge/envs/llvm041debug/lib/libffi.so.8.1.0)
==10660==    by 0x5ED2437: ffi_call_int (in /home/gmarkall/mambaforge/envs/llvm041debug/lib/libffi.so.8.1.0)
==10660==    by 0x5EAC4F7: _ctypes_callproc (in /home/gmarkall/mambaforge/envs/llvm041debug/lib/python3.10/lib-dynload/_ctypes.cpython-310-aarch64-linux-gnu.so)
==10660==    by 0x5EA55BF: PyCFuncPtr_call (in /home/gmarkall/mambaforge/envs/llvm041debug/lib/python3.10/lib-dynload/_ctypes.cpython-310-aarch64-linux-gnu.so)
==10660==    by 0x1840E7: _PyObject_Call (in /home/gmarkall/mambaforge/envs/llvm041debug/bin/python3.10)
==10660==    by 0x16EB0B: _PyEval_EvalFrameDefault (in /home/gmarkall/mambaforge/envs/llvm041debug/bin/python3.10)
==10660==    by 0x21F44F: _PyEval_Vector (in /home/gmarkall/mambaforge/envs/llvm041debug/bin/python3.10)
==10660== 
==10660== Conditional jump or move depends on uninitialised value(s)
==10660==    at 0x9662550: llvm::AArch64TargetMachine::AArch64TargetMachine(llvm::Target const&, llvm::Triple const&, llvm::StringRef, llvm::StringRef, llvm::TargetOptions const&, llvm::Optional<llvm::Reloc::Model>, llvm::Optional<llvm::CodeModel::Model>, llvm::CodeGenOpt::Level, bool, bool) (in /home/gmarkall/mambaforge/envs/llvm041debug/lib/libLLVM-14.so)
==10660==    by 0x9662993: llvm::RegisterTargetMachine<llvm::AArch64leTargetMachine>::Allocator(llvm::Target const&, llvm::Triple const&, llvm::StringRef, llvm::StringRef, llvm::TargetOptions const&, llvm::Optional<llvm::Reloc::Model>, llvm::Optional<llvm::CodeModel::Model>, llvm::CodeGenOpt::Level, bool) (in /home/gmarkall/mambaforge/envs/llvm041debug/lib/libLLVM-14.so)
==10660==    by 0x93F166F: llvm::orc::JITTargetMachineBuilder::createTargetMachine() (in /home/gmarkall/mambaforge/envs/llvm041debug/lib/libLLVM-14.so)
==10660==    by 0x940381B: llvm::orc::LLJIT::createCompileFunction(llvm::orc::LLJITBuilderState&, llvm::orc::JITTargetMachineBuilder) (in /home/gmarkall/mambaforge/envs/llvm041debug/lib/libLLVM-14.so)
==10660==    by 0x9408CF3: llvm::orc::LLJIT::LLJIT(llvm::orc::LLJITBuilderState&, llvm::Error&) (in /home/gmarkall/mambaforge/envs/llvm041debug/lib/libLLVM-14.so)
==10660==    by 0x66C629B: LLVMPY_CreateLLJITCompiler (in /home/gmarkall/mambaforge/envs/llvm041debug/lib/python3.10/site-packages/llvmlite/binding/libllvmlite.so)
==10660==    by 0x5ED2EBF: ffi_call_SYSV (in /home/gmarkall/mambaforge/envs/llvm041debug/lib/libffi.so.8.1.0)
==10660==    by 0x5ED2437: ffi_call_int (in /home/gmarkall/mambaforge/envs/llvm041debug/lib/libffi.so.8.1.0)
==10660==    by 0x5EAC4F7: _ctypes_callproc (in /home/gmarkall/mambaforge/envs/llvm041debug/lib/python3.10/lib-dynload/_ctypes.cpython-310-aarch64-linux-gnu.so)
==10660==    by 0x5EA55BF: PyCFuncPtr_call (in /home/gmarkall/mambaforge/envs/llvm041debug/lib/python3.10/lib-dynload/_ctypes.cpython-310-aarch64-linux-gnu.so)
==10660==    by 0x1840E7: _PyObject_Call (in /home/gmarkall/mambaforge/envs/llvm041debug/bin/python3.10)
==10660==    by 0x16EB0B: _PyEval_EvalFrameDefault (in /home/gmarkall/mambaforge/envs/llvm041debug/bin/python3.10)
==10660== 

@gmarkall
Copy link
Contributor

Rather than spamming everyone in this PR with updates, I've opened up a Numba issue for keeping notes and tracking progress: numba/llvmlite#1000

@regro-cf-autotick-bot
Copy link
Contributor Author

I see that this PR has conflicts, and I'm the only committer. I'm going to close this PR and will make another one as appropriate. This was generated by https://github.com/regro/cf-scripts/actions/runs/6589179982

@regro-cf-autotick-bot regro-cf-autotick-bot deleted the 0.41.0_ha1b326 branch October 20, 2023 14:47
@gmarkall gmarkall mentioned this pull request Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants