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

Build fails on macOS in Travis CI with 3.0.0 preview 7 - "dyld: lazy symbol binding failed: Symbol not found: _utimensat" #30346

Closed
martincostello opened this issue Jul 23, 2019 · 5 comments
Labels
area-System.IO documentation Documentation bug or enhancement, does not impact product or test code
Milestone

Comments

@martincostello
Copy link
Member

I've been maintaining a branch of AspNet.Security.OpenId.Providers for ASP.NET Core 3.0 for a while, and just updated it from preview 6 to preview 7 (SDK version 3.0.100-preview7-012821).

The macOS build in Travis CI fails with the following error in preview 7 (build):

dyld: lazy symbol binding failed: Symbol not found: _utimensat
  Referenced from: /Users/travis/build/aspnet-contrib/AspNet.Security.OpenId.Providers/.dotnetcli/shared/Microsoft.NETCore.App/3.0.0-preview7-27912-14/System.Native.dylib
  Expected in: /usr/lib/libSystem.B.dylib

This failure appears right at the top of the build script with dotnet build.

I've already updated several other branches from preview 6 to preview 7 with no issue, so it doesn't look like something systematic, but I'm not sure what specifically in this PR is causing the problem.

@martincostello
Copy link
Member Author

Same issue for this PR too on macOS.

@martincostello
Copy link
Member Author

Further digging found that the Travis macOS build was pinned to osx_image: xcode8.3, which equates to macOS 10.12 (docs).

Removing this constraint (aspnet-contrib/AspNet.Security.OAuth.Providers@dbd0a96) fixed the issue.

Leaving open for now as I'm not sure if this is an intentional change to the compatibility matrix for .NET Core 3.0 or not.

martincostello referenced this issue in martincostello/AspNet.Security.OpenId.Providers Jul 23, 2019
Use the default XCode image version to resolve build failure relating to https://github.com/dotnet/corefx/issues/39701.
@ericstj
Copy link
Member

ericstj commented Jul 23, 2019

Introduced in dotnet/corefx#31522 /cc @Anipik @bartonjs @stephentoub

Did we intend to drop support for OSX 10.12? Our docs say its still supported.
https://docs.microsoft.com/en-US/dotnet/core/macos-prerequisites?tabs=netcore30

@bartonjs
Copy link
Member

macOS 10.12 is not supported: https://github.com/dotnet/core/blob/master/release-notes/3.0/3.0-supported-os.md. We just have too many redundant documentation sources. (@leecow we need to get https://docs.microsoft.com/en-US/dotnet/core/macos-prerequisites?tabs=netcore30 updated to say 10.13)

@danmoseley
Copy link
Member

Doc fixed. Thanks for the report.

martincostello referenced this issue in martincostello/AspNet.Security.OpenId.Providers Aug 13, 2019
Use the default XCode image version to resolve build failure relating to https://github.com/dotnet/corefx/issues/39701.
@msftgits msftgits transferred this issue from dotnet/corefx Feb 1, 2020
@msftgits msftgits added this to the 3.0 milestone Feb 1, 2020
wilsoncg added a commit to wilsoncg/FSharp.Control.AsyncSeq that referenced this issue May 27, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.IO documentation Documentation bug or enhancement, does not impact product or test code
Projects
None yet
Development

No branches or pull requests

5 participants