-
Notifications
You must be signed in to change notification settings - Fork 23
Description
We are working on building this tool into the archassault repo, to bring in the barf-project. Now per upstream Arch binutils is built statically, as /usr/include/bfd.h and /usr/include/dis-asm.h exist, however the setup.py is failing to see it.
python2 setup.py build
running build
running build_py
running build_ext
[+] Using binutils headers at:
[+] /usr/include
[+] Searching binutils libraries...
Traceback (most recent call last):
File "setup.py", line 431, in main
"Topic :: Utilities"
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/distutils/command/build.py", line 127, in run
self.run_command(cmd_name)
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/distutils/command/build_ext.py", line 337, in run
self.build_extensions()
File "setup.py", line 320, in build_extensions
raise Exception("unable to find binutils libraries.")
Exception: unable to find binutils libraries.
[-] Error : unable to find binutils libraries.
find /usr/include -type f -name bfd.h -print -or -name dis-asm.h -print
/usr/include/dis-asm.h
/usr/include/bfd.h
Name : binutils
Version : 2.25-1
Description : A set of programs to assemble and manipulate binary and object files
Architecture : x86_64
Can you be of any assistance with this?