Skip to content

Building arm64-osx-dbg fails in 3.9.0 with fatal error: 'mpfr.h' file not found #677

Description

@JoergAtGithub

I tried to update the VCPKG port of sleef to 3.9.0. All test are disabled there, but the macOS debug build on arm64 fails as follows.

75/87] /Library/Developer/CommandLineTools/usr/bin/cc -DSLEEF_STATIC_LIBS=1 -DUSEMPFR=1 -I/Users/vcpkg/Data/b/sleef/arm64-osx-dbg/include -I/Users/vcpkg/Data/b/sleef/src/3.9.0-b81453b5f4.clean/src/common -I/Users/vcpkg/Data/b/sleef/src/3.9.0-b81453b5f4.clean/src/arch -fPIC -Wall -Wno-unused-function -Wno-attributes -Wno-unused-result -ffp-contract=off -fno-math-errno -fno-trapping-math -g -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -MD -MT src/common/CMakeFiles/testerutil_obj.dir/testerutil.c.o -MF src/common/CMakeFiles/testerutil_obj.dir/testerutil.c.o.d -o src/common/CMakeFiles/testerutil_obj.dir/testerutil.c.o -c /Users/vcpkg/Data/b/sleef/src/3.9.0-b81453b5f4.clean/src/common/testerutil.c
FAILED: src/common/CMakeFiles/testerutil_obj.dir/testerutil.c.o 
/Library/Developer/CommandLineTools/usr/bin/cc -DSLEEF_STATIC_LIBS=1 -DUSEMPFR=1 -I/Users/vcpkg/Data/b/sleef/arm64-osx-dbg/include -I/Users/vcpkg/Data/b/sleef/src/3.9.0-b81453b5f4.clean/src/common -I/Users/vcpkg/Data/b/sleef/src/3.9.0-b81453b5f4.clean/src/arch -fPIC -Wall -Wno-unused-function -Wno-attributes -Wno-unused-result -ffp-contract=off -fno-math-errno -fno-trapping-math -g -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -MD -MT src/common/CMakeFiles/testerutil_obj.dir/testerutil.c.o -MF src/common/CMakeFiles/testerutil_obj.dir/testerutil.c.o.d -o src/common/CMakeFiles/testerutil_obj.dir/testerutil.c.o -c /Users/vcpkg/Data/b/sleef/src/3.9.0-b81453b5f4.clean/src/common/testerutil.c
/Users/vcpkg/Data/b/sleef/src/3.9.0-b81453b5f4.clean/src/common/testerutil.c:121:10: fatal error: 'mpfr.h' file not found
  121 | #include <mpfr.h>
      |          ^~~~~~~~
1 error generated.

To my understanding mpfr.h is only needed for the tests, or is this a new dependency in 3.9.0?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions