libyal / libfvde

Library and tools to access FileVault Drive Encryption (FVDE) encrypted volumes
GNU Lesser General Public License v3.0
339 stars 34 forks source link

Unable to build from source #57

Closed emonigma closed 2 years ago

emonigma commented 2 years ago

I discovered this package on StackExchange. I try to install it with pip3:

$ python3 -m pip install libfvde-python
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Collecting libfvde-python
  Using cached libfvde-python-20220125.tar.gz (3.3 MB)
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: libfvde-python
  Building wheel for libfvde-python (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [103 lines of output]
      running bdist_wheel
      running build
      running build_ext
      configure:
      Building:
         libcerror support:                         local
         libcthreads support:                       local
         libcdata support:                          local
         libclocale support:                        local
         libcnotify support:                        local
         libcsplit support:                         local
         libuna support:                            local
         libcfile support:                          local
         libcpath support:                          local
         libbfio support:                           local
         libfcache support:                         local
         libfdata support:                          local
         libfguid support:                          local
         libfplist support:                         local
         libfvalue support:                         local
         DEFLATE compression support:               local
         libhmac support:                           local
         SHA256 support:                            local
         libcaes support:                           local
         AES-ECB support:                           local
         AES-XTS support:                           local
         FUSE support:                              no

      Features:
         Multi-threading support:                   pthread
         Wide character type support:               no
         fvdetools are build as static executables: no
         Python (pyfvde) support:                   no
         Verbose output:                            no
         Debug output:                              no

      building 'pyfvde' extension
      creating build
      creating build/temp.macosx-10.14-x86_64-cpython-39
      creating build/temp.macosx-10.14-x86_64-cpython-39/libbfio
      creating build/temp.macosx-10.14-x86_64-cpython-39/libcaes
      creating build/temp.macosx-10.14-x86_64-cpython-39/libcdata
      creating build/temp.macosx-10.14-x86_64-cpython-39/libcerror
      creating build/temp.macosx-10.14-x86_64-cpython-39/libcfile
      creating build/temp.macosx-10.14-x86_64-cpython-39/libclocale
      creating build/temp.macosx-10.14-x86_64-cpython-39/libcnotify
      creating build/temp.macosx-10.14-x86_64-cpython-39/libcpath
      creating build/temp.macosx-10.14-x86_64-cpython-39/libcsplit
      creating build/temp.macosx-10.14-x86_64-cpython-39/libcthreads
      creating build/temp.macosx-10.14-x86_64-cpython-39/libfcache
      creating build/temp.macosx-10.14-x86_64-cpython-39/libfdata
      creating build/temp.macosx-10.14-x86_64-cpython-39/libfguid
      creating build/temp.macosx-10.14-x86_64-cpython-39/libfplist
      creating build/temp.macosx-10.14-x86_64-cpython-39/libfvalue
      creating build/temp.macosx-10.14-x86_64-cpython-39/libfvde
      creating build/temp.macosx-10.14-x86_64-cpython-39/libhmac
      creating build/temp.macosx-10.14-x86_64-cpython-39/libuna
      creating build/temp.macosx-10.14-x86_64-cpython-39/pyfvde
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libbfio/libbfio_error.c -o build/temp.macosx-10.14-x86_64-cpython-39/libbfio/libbfio_error.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libbfio/libbfio_file.c -o build/temp.macosx-10.14-x86_64-cpython-39/libbfio/libbfio_file.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libbfio/libbfio_file_io_handle.c -o build/temp.macosx-10.14-x86_64-cpython-39/libbfio/libbfio_file_io_handle.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libbfio/libbfio_file_pool.c -o build/temp.macosx-10.14-x86_64-cpython-39/libbfio/libbfio_file_pool.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libbfio/libbfio_file_range.c -o build/temp.macosx-10.14-x86_64-cpython-39/libbfio/libbfio_file_range.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libbfio/libbfio_file_range_io_handle.c -o build/temp.macosx-10.14-x86_64-cpython-39/libbfio/libbfio_file_range_io_handle.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libbfio/libbfio_handle.c -o build/temp.macosx-10.14-x86_64-cpython-39/libbfio/libbfio_handle.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libbfio/libbfio_memory_range.c -o build/temp.macosx-10.14-x86_64-cpython-39/libbfio/libbfio_memory_range.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libbfio/libbfio_memory_range_io_handle.c -o build/temp.macosx-10.14-x86_64-cpython-39/libbfio/libbfio_memory_range_io_handle.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libbfio/libbfio_pool.c -o build/temp.macosx-10.14-x86_64-cpython-39/libbfio/libbfio_pool.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libbfio/libbfio_support.c -o build/temp.macosx-10.14-x86_64-cpython-39/libbfio/libbfio_support.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libbfio/libbfio_system_string.c -o build/temp.macosx-10.14-x86_64-cpython-39/libbfio/libbfio_system_string.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcaes/libcaes_context.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcaes/libcaes_context.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcaes/libcaes_error.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcaes/libcaes_error.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcaes/libcaes_support.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcaes/libcaes_support.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcaes/libcaes_tweaked_context.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcaes/libcaes_tweaked_context.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcdata/libcdata_array.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcdata/libcdata_array.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcdata/libcdata_btree.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcdata/libcdata_btree.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcdata/libcdata_btree_node.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcdata/libcdata_btree_node.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcdata/libcdata_btree_values_list.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcdata/libcdata_btree_values_list.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcdata/libcdata_error.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcdata/libcdata_error.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcdata/libcdata_list.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcdata/libcdata_list.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcdata/libcdata_list_element.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcdata/libcdata_list_element.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcdata/libcdata_range_list.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcdata/libcdata_range_list.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcdata/libcdata_range_list_value.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcdata/libcdata_range_list_value.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcdata/libcdata_support.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcdata/libcdata_support.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcdata/libcdata_tree_node.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcdata/libcdata_tree_node.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcerror/libcerror_error.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcerror/libcerror_error.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcerror/libcerror_support.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcerror/libcerror_support.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcerror/libcerror_system.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcerror/libcerror_system.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcfile/libcfile_error.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcfile/libcfile_error.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcfile/libcfile_file.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcfile/libcfile_file.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcfile/libcfile_notify.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcfile/libcfile_notify.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcfile/libcfile_support.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcfile/libcfile_support.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcfile/libcfile_system_string.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcfile/libcfile_system_string.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcfile/libcfile_winapi.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcfile/libcfile_winapi.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libclocale/libclocale_codepage.c -o build/temp.macosx-10.14-x86_64-cpython-39/libclocale/libclocale_codepage.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libclocale/libclocale_locale.c -o build/temp.macosx-10.14-x86_64-cpython-39/libclocale/libclocale_locale.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libclocale/libclocale_support.c -o build/temp.macosx-10.14-x86_64-cpython-39/libclocale/libclocale_support.o
      libclocale/libclocale_support.c:26:10: fatal error: 'libintl.h' file not found
      #include <libintl.h>
               ^~~~~~~~~~~
      1 error generated.
      error: command '/usr/bin/clang' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for libfvde-python
  Running setup.py clean for libfvde-python
Failed to build libfvde-python
Installing collected packages: libfvde-python
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  Running setup.py install for libfvde-python ... error
  error: subprocess-exited-with-error

  × Running setup.py install for libfvde-python did not run successfully.
  │ exit code: 1
  ╰─> [105 lines of output]
      running install
      /usr/local/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      running build
      running build_ext
      configure:
      Building:
         libcerror support:                         local
         libcthreads support:                       local
         libcdata support:                          local
         libclocale support:                        local
         libcnotify support:                        local
         libcsplit support:                         local
         libuna support:                            local
         libcfile support:                          local
         libcpath support:                          local
         libbfio support:                           local
         libfcache support:                         local
         libfdata support:                          local
         libfguid support:                          local
         libfplist support:                         local
         libfvalue support:                         local
         DEFLATE compression support:               local
         libhmac support:                           local
         SHA256 support:                            local
         libcaes support:                           local
         AES-ECB support:                           local
         AES-XTS support:                           local
         FUSE support:                              no

      Features:
         Multi-threading support:                   pthread
         Wide character type support:               no
         fvdetools are build as static executables: no
         Python (pyfvde) support:                   no
         Verbose output:                            no
         Debug output:                              no

      building 'pyfvde' extension
      creating build
      creating build/temp.macosx-10.14-x86_64-cpython-39
      creating build/temp.macosx-10.14-x86_64-cpython-39/libbfio
      creating build/temp.macosx-10.14-x86_64-cpython-39/libcaes
      creating build/temp.macosx-10.14-x86_64-cpython-39/libcdata
      creating build/temp.macosx-10.14-x86_64-cpython-39/libcerror
      creating build/temp.macosx-10.14-x86_64-cpython-39/libcfile
      creating build/temp.macosx-10.14-x86_64-cpython-39/libclocale
      creating build/temp.macosx-10.14-x86_64-cpython-39/libcnotify
      creating build/temp.macosx-10.14-x86_64-cpython-39/libcpath
      creating build/temp.macosx-10.14-x86_64-cpython-39/libcsplit
      creating build/temp.macosx-10.14-x86_64-cpython-39/libcthreads
      creating build/temp.macosx-10.14-x86_64-cpython-39/libfcache
      creating build/temp.macosx-10.14-x86_64-cpython-39/libfdata
      creating build/temp.macosx-10.14-x86_64-cpython-39/libfguid
      creating build/temp.macosx-10.14-x86_64-cpython-39/libfplist
      creating build/temp.macosx-10.14-x86_64-cpython-39/libfvalue
      creating build/temp.macosx-10.14-x86_64-cpython-39/libfvde
      creating build/temp.macosx-10.14-x86_64-cpython-39/libhmac
      creating build/temp.macosx-10.14-x86_64-cpython-39/libuna
      creating build/temp.macosx-10.14-x86_64-cpython-39/pyfvde
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libbfio/libbfio_error.c -o build/temp.macosx-10.14-x86_64-cpython-39/libbfio/libbfio_error.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libbfio/libbfio_file.c -o build/temp.macosx-10.14-x86_64-cpython-39/libbfio/libbfio_file.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libbfio/libbfio_file_io_handle.c -o build/temp.macosx-10.14-x86_64-cpython-39/libbfio/libbfio_file_io_handle.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libbfio/libbfio_file_pool.c -o build/temp.macosx-10.14-x86_64-cpython-39/libbfio/libbfio_file_pool.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libbfio/libbfio_file_range.c -o build/temp.macosx-10.14-x86_64-cpython-39/libbfio/libbfio_file_range.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libbfio/libbfio_file_range_io_handle.c -o build/temp.macosx-10.14-x86_64-cpython-39/libbfio/libbfio_file_range_io_handle.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libbfio/libbfio_handle.c -o build/temp.macosx-10.14-x86_64-cpython-39/libbfio/libbfio_handle.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libbfio/libbfio_memory_range.c -o build/temp.macosx-10.14-x86_64-cpython-39/libbfio/libbfio_memory_range.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libbfio/libbfio_memory_range_io_handle.c -o build/temp.macosx-10.14-x86_64-cpython-39/libbfio/libbfio_memory_range_io_handle.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libbfio/libbfio_pool.c -o build/temp.macosx-10.14-x86_64-cpython-39/libbfio/libbfio_pool.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libbfio/libbfio_support.c -o build/temp.macosx-10.14-x86_64-cpython-39/libbfio/libbfio_support.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libbfio/libbfio_system_string.c -o build/temp.macosx-10.14-x86_64-cpython-39/libbfio/libbfio_system_string.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcaes/libcaes_context.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcaes/libcaes_context.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcaes/libcaes_error.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcaes/libcaes_error.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcaes/libcaes_support.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcaes/libcaes_support.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcaes/libcaes_tweaked_context.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcaes/libcaes_tweaked_context.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcdata/libcdata_array.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcdata/libcdata_array.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcdata/libcdata_btree.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcdata/libcdata_btree.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcdata/libcdata_btree_node.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcdata/libcdata_btree_node.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcdata/libcdata_btree_values_list.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcdata/libcdata_btree_values_list.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcdata/libcdata_error.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcdata/libcdata_error.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcdata/libcdata_list.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcdata/libcdata_list.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcdata/libcdata_list_element.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcdata/libcdata_list_element.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcdata/libcdata_range_list.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcdata/libcdata_range_list.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcdata/libcdata_range_list_value.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcdata/libcdata_range_list_value.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcdata/libcdata_support.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcdata/libcdata_support.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcdata/libcdata_tree_node.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcdata/libcdata_tree_node.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcerror/libcerror_error.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcerror/libcerror_error.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcerror/libcerror_support.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcerror/libcerror_support.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcerror/libcerror_system.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcerror/libcerror_system.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcfile/libcfile_error.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcfile/libcfile_error.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcfile/libcfile_file.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcfile/libcfile_file.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcfile/libcfile_notify.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcfile/libcfile_notify.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcfile/libcfile_support.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcfile/libcfile_support.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcfile/libcfile_system_string.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcfile/libcfile_system_string.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libcfile/libcfile_winapi.c -o build/temp.macosx-10.14-x86_64-cpython-39/libcfile/libcfile_winapi.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libclocale/libclocale_codepage.c -o build/temp.macosx-10.14-x86_64-cpython-39/libclocale/libclocale_codepage.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libclocale/libclocale_locale.c -o build/temp.macosx-10.14-x86_64-cpython-39/libclocale/libclocale_locale.o
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -DHAVE_CONFIG_H= -DLOCALEDIR=\"/usr/share/locale\" -Iinclude -Icommon -Ilibcerror -Ilibcthreads -Ilibcdata -Ilibclocale -Ilibcnotify -Ilibcsplit -Ilibuna -Ilibcfile -Ilibcpath -Ilibbfio -Ilibfcache -Ilibfdata -Ilibfguid -Ilibfplist -Ilibfvalue -Ilibhmac -Ilibcaes -Ilibfvde -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c libclocale/libclocale_support.c -o build/temp.macosx-10.14-x86_64-cpython-39/libclocale/libclocale_support.o
      libclocale/libclocale_support.c:26:10: fatal error: 'libintl.h' file not found
      #include <libintl.h>
               ^~~~~~~~~~~
      1 error generated.
      error: command '/usr/bin/clang' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> libfvde-python

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
WARNING: There was an error checking the latest version of pip.

I also clone the repo and try to install from source with:

$ python3 setup.py install
running install
/usr/local/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
/usr/local/lib/python3.9/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
running bdist_egg
running egg_info
writing libfvde_python.egg-info/PKG-INFO
writing dependency_links to libfvde_python.egg-info/dependency_links.txt
writing top-level names to libfvde_python.egg-info/top_level.txt
reading manifest file 'libfvde_python.egg-info/SOURCES.txt'
adding license file 'COPYING'
adding license file 'COPYING.LESSER'
adding license file 'AUTHORS'
writing manifest file 'libfvde_python.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.14-x86_64/egg
running install_lib
running build_ext
Traceback (most recent call last):
  File "/Users/mmorin/code/libfvde/setup.py", line 320, in <module>
    setup(
  File "/usr/local/lib/python3.9/site-packages/setuptools/__init__.py", line 87, in setup
    return distutils.core.setup(**attrs)
  File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 148, in setup
    return run_commands(dist)
  File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 163, in run_commands
    dist.run_commands()
  File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
    self.run_command(cmd)
  File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 1229, in run_command
    super().run_command(command)
  File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python3.9/site-packages/setuptools/command/install.py", line 74, in run
    self.do_egg_install()
  File "/usr/local/lib/python3.9/site-packages/setuptools/command/install.py", line 123, in do_egg_install
    self.run_command('bdist_egg')
  File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 1229, in run_command
    super().run_command(command)
  File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python3.9/site-packages/setuptools/command/bdist_egg.py", line 165, in run
    cmd = self.call_command('install_lib', warn_dir=0)
  File "/usr/local/lib/python3.9/site-packages/setuptools/command/bdist_egg.py", line 151, in call_command
    self.run_command(cmdname)
  File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 1229, in run_command
    super().run_command(command)
  File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python3.9/site-packages/setuptools/command/install_lib.py", line 11, in run
    self.build()
  File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/command/install_lib.py", line 107, in build
    self.run_command('build_ext')
  File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 1229, in run_command
    super().run_command(command)
  File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
    cmd_obj.run()
  File "/Users/mmorin/code/libfvde/setup.py", line 101, in run
    output = self._RunCommand(command)
  File "/Users/mmorin/code/libfvde/setup.py", line 81, in _RunCommand
    raise RuntimeError("Running: {0:s} failed with error:\n{1:s}.".format(
RuntimeError: Running: sh configure --disable-shared-libs failed with error:
sh: configure: No such file or directory
.

I am running macOS Mojave 10.14.6 and Python 3.9.13 installed with Homebrew.

How can I fix this or find a workaround?

joachimmetz commented 2 years ago

You need to make sure to all necessary build dependencies. Also see: https://github.com/libyal/libfvde/wiki/Building

emonigma commented 2 years ago

I followed the build instructions and downloaded the source distribution package, un-tar'ed it, and ran:

$ python3 setup.py build

I got the same error:

libclocale/libclocale_support.c:26:10: fatal error: 'libintl.h' file not found
#include <libintl.h>
         ^~~~~~~~~~~
1 error generated.
error: command '/usr/bin/clang' failed with exit code 1

As mentioned in the build documentation, running custom Python could be problematic. So I ran with Python that ships with macOS and was able to install it:

python setup.py build
sudo python setup.py install

Result:

Installed /Library/Python/2.7/site-packages/libfvde_python-20210425-py2.7-macosx-10.14-intel.egg
Processing dependencies for libfvde-python==20210425
Finished processing dependencies for libfvde-python==20210425
joachimmetz commented 2 years ago

Based on the error, the build process cannot find the necessary gettext headers. Hence you did not install all necessary dependencies.

I strongly encourage to take some time to read the build instructions, especially if you're not/less familiar with building from source.

emonigma commented 1 year ago

Indeed, the instructions to build from source contain all the elements for a successful build, and now I see:

$ ls  /usr/local/bin/ | grep fvde
fvdeinfo
fvdemount
fvdewipekey