jeffreywildman / homebrew-virt-manager

A set of homebrew formulae to install virt-manager and virt-viewer on MAC OSX
1k stars 266 forks source link

Error when building osinfo-db-tools-1.3.0 #124

Open almas opened 5 years ago

almas commented 5 years ago

Tried to install on new mac. How could I fix this?

$ brew tap jeffreywildman/homebrew-virt-manager Updating Homebrew... ==> Auto-updated Homebrew! Updated 1 tap (homebrew/cask). No changes to formulae.

$ brew install virt-manager virt-viewer ==> Installing virt-manager from jeffreywildman/virt-manager ==> Installing dependencies for jeffreywildman/virt-manager/virt-manager: osinfo-db-tools, osinfo-db and spice-gtk ==> Installing jeffreywildman/virt-manager/virt-manager dependency: osinfo- ==> Downloading https://releases.pagure.org/libosinfo/osinfo-db-tools-1.3.0.tar. Already downloaded: /Users/dd/Library/Caches/Homebrew/downloads/5a0020bef83980b75d4640622409a13e89ae2e3438bcc36e2f41a357247eb611--osinfo-db-tools-1.3.0.tar.gz ==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/osinfo-db-tool ==> make install Last 15 lines from /Users/dd/Library/Logs/Homebrew/osinfo-db-tools/02.make: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/xlocale/_inttypes.h:32:1: error: unknown type name 'intmax_t' intmax_t strtoimax_l(const char * restrict nptr, char ** restrict endptr, ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/xlocale/_inttypes.h:34:1: error: unknown type name 'uintmax_t' uintmax_t strtoumax_l(const char * restrict nptr, char ** restrict endptr, ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/xlocale/_inttypes.h:36:1: error: unknown type name 'intmax_t' intmax_t wcstoimax_l(const wchar_t __restrict nptr, ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/xlocale/_inttypes.h:38:1: error: unknown type name 'uintmax_t' uintmax_t wcstoumax_l(const wchar_t __restrict nptr, ^ 14 errors generated. make[1]: [osinfo_db_import-osinfo-db-import.o] Error 1 make: [install-recursive] Error 1

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/jeffreywildman/homebrew-virt-manager/issues

jeffreywildman commented 5 years ago

Try to install osinfo-db-tools by itself? brew install -v osinfo-db-tools will produce verbose output that may help pinpoint the source of the error.

jeffreywildman commented 4 years ago

Seems like an environment issue outside of the homebrew formulae.

Perhaps these help: https://github.com/apache/incubator-mxnet/issues/12727 https://stackoverflow.com/questions/46872922/broken-c-std-libraries-on-macos-high-sierra-10-13