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

llvmPackages.lldb is broken in master #6636

Closed
copumpkin opened this issue Mar 3, 2015 · 8 comments
Closed

llvmPackages.lldb is broken in master #6636

copumpkin opened this issue Mar 3, 2015 · 8 comments
Labels
6.topic: llvm/clang Issues related to llvmPackages, clangStdenv and related

Comments

@copumpkin
Copy link
Member

Looks like the hash for 3.5 is just a copy of the the hash for 3.4, which means it's a mismatch. Fixing that leads to a big string of variations on

CMake Error at /nix/store/0w3jjmx6zll8kx1fmvwryz2iib9xp0h0-llvm-3.5.0/share/llvm/cmake/AddLLVM.cmake:282 (set_output_directory):
  set_output_directory Function invoked with incorrect arguments for function
  named: set_output_directory
Call Stack (most recent call first):
  CMakeLists.txt:230 (llvm_add_library)
  source/Plugins/Instruction/ARM64/CMakeLists.txt:3 (add_lldb_library)

which I'm not sure how to fix, so I'm leaving this here.

Calling @shlevy 😄

@shlevy
Copy link
Member

shlevy commented Mar 3, 2015

Crossing my fingers that 3.6 Just Fixes It, @Ralith might be giving the upgrade a shot soon 😄 But I'll take a look at this too.

@copumpkin
Copy link
Member Author

Even if 3.6 does fix it, we probably want to retain support for 3.5 for a while still, right? At some point we should probably kill some of the older LLVM bundles though!

@vcunat
Copy link
Member

vcunat commented Mar 3, 2015

3.5.1 update doesn't fix it by itself.

@shlevy
Copy link
Member

shlevy commented Mar 5, 2015

Dug through the cmake code and I have no idea here, sorry.

@Ralith
Copy link
Contributor

Ralith commented Mar 5, 2015

lldb 3.6 appears to build fine in #6668, though we won't know for sure until the tests pass.

@shlevy
Copy link
Member

shlevy commented Mar 5, 2015

@copumpkin Do we need lldb specifically on 3.5? If it's working on 3.6 I'm not sure we need to ensure it is on all versions, you know?

@copumpkin
Copy link
Member Author

Nope, not needed, just a nice-to-have :)

On Mar 5, 2015, at 06:34, Shea Levy notifications@github.com wrote:

@copumpkin Do we need lldb specifically on 3.5? If it's working on 3.6 I'm not sure we need to ensure it is on all versions, you know?


Reply to this email directly or view it on GitHub.

@vcunat
Copy link
Member

vcunat commented Mar 6, 2015

We should at least mark the broken packages as broken. Currently we fail on download, which is misleading.

@shlevy shlevy closed this as completed in 3ed077a Mar 6, 2015
Ericson2314 added a commit to Ericson2314/nixpkgs that referenced this issue Mar 11, 2015
Just like with NixOS#6636, the hash is wrong (it's the 3.4) but fixing
that unveils other errors. Seeing that 3.6 is about to merged,
easier to just mark this broken for the time being.
@rrbutani rrbutani added the 6.topic: llvm/clang Issues related to llvmPackages, clangStdenv and related label May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: llvm/clang Issues related to llvmPackages, clangStdenv and related
Projects
None yet
Development

No branches or pull requests

5 participants