[opensuse-packaging] Help packaging llvmpy
Hello, I need some help to figure out what's happening when I try to compile llvmpy (https://build.opensuse.org/package/show/home:ocefpaf/python-llvmpy) The error message I'm getting is: llvmpy/include/llvm_binding/extra.h:19:28: fatal error: llvm/IRBuilder.h: No such file or directory However, llvm-devel was added to the "BuildRequires" and the IRBuilder.h file is locate at the /usr/include/llvm. I do not have enough experience to figure out what's wrong here. Thanks for the attention, -Filipe -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Fri 26 Jul 2013 12:32:20 PM CDT, Filipe wrote:
Hello, I need some help to figure out what's happening when I try to compile llvmpy
(https://build.opensuse.org/package/show/home:ocefpaf/python-llvmpy)
The error message I'm getting is:
llvmpy/include/llvm_binding/extra.h:19:28: fatal error: llvm/IRBuilder.h: No such file or directory
However, llvm-devel was added to the "BuildRequires" and the IRBuilder.h file is locate at the /usr/include/llvm.
I do not have enough experience to figure out what's wrong here.
Thanks for the attention,
-Filipe H Looking at the build log, you call fdupes but don't have it in the BuildRequires.... add it and it should complete.
-- Cheers Malcolm °¿° (Linux Counter #276890) openSUSE 12.3 (x86_64) Kernel 3.7.10-1.16-desktop up 1 day 10:50, 3 users, load average: 0.35, 0.51, 0.43 CPU AMD E2-1800@1.70GHz | GPU Radeon HD 7340 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
* Malcolm (malcolmlewis@cableone.net) [20130726 17:57]:
On Fri 26 Jul 2013 12:32:20 PM CDT, Filipe wrote:
Looking at the build log, you call fdupes but don't have it in the BuildRequires.... add it and it should complete.
That,s much later. It does complain about a missing header earlier on and the header has indeed moved. Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Fri, Jul 26, 2013 at 10:58:54AM -0500, Malcolm wrote:
On Fri 26 Jul 2013 12:32:20 PM CDT, Filipe wrote:
Hello, I need some help to figure out what's happening when I try to compile llvmpy
(https://build.opensuse.org/package/show/home:ocefpaf/python-llvmpy)
The error message I'm getting is:
llvmpy/include/llvm_binding/extra.h:19:28: fatal error: llvm/IRBuilder.h: No such file or directory
However, llvm-devel was added to the "BuildRequires" and the IRBuilder.h file is locate at the /usr/include/llvm.
I do not have enough experience to figure out what's wrong here.
Thanks for the attention,
-Filipe H Looking at the build log, you call fdupes but don't have it in the BuildRequires.... add it and it should complete.
Hi Filipe, It is not about BR, the llvmpy is not compatible with API changes introduced in llvm 3.3 https://github.com/llvmpy/llvmpy/issues/73 I've made a fix for headers move https://gist.github.com/mvyskocil/6087564 but there are more changes I did not manage to fix yet. Regards Michal Vyskocil
-- Cheers Malcolm °¿° (Linux Counter #276890) openSUSE 12.3 (x86_64) Kernel 3.7.10-1.16-desktop up 1 day 10:50, 3 users, load average: 0.35, 0.51, 0.43 CPU AMD E2-1800@1.70GHz | GPU Radeon HD 7340
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
* Filipe (ocefpaf@gmail.com) [20130726 17:32]:
llvmpy/include/llvm_binding/extra.h:19:28: fatal error: llvm/IRBuilder.h: No such file or directory
However, llvm-devel was added to the "BuildRequires" and the IRBuilder.h file is locate at the /usr/include/llvm.
No, it's not. It's in llvm/Support, at least in the version of llvm-devel in Factory. I've only tried to compile api.cpp and had to comment out two or three headers not existing (anymore ?) and modify the include for a few. I also got errors because some struct members didn't exist. So it looks like llvmpy was written for another version of llvm and would need quite a bit of work to get to compile with the version of llvm we have. BTW, the check for the headers I did with 'rpm -ql llvm-devel | grep -F <header>'. Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (4)
-
Filipe
-
Malcolm
-
Michal Vyskocil
-
Philipp Thomas