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

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

Open
almas opened this issue Mar 14, 2019 · 2 comments
Open

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

almas opened this issue Mar 14, 2019 · 2 comments

Comments

@almas
Copy link

almas commented Mar 14, 2019

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
Copy link
Owner

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
Copy link
Owner

Seems like an environment issue outside of the homebrew formulae.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants