You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cabal 3.12 fails to build foreign libraries, objecting because I specify lib-version-info:
Configuring foreign library 'apple' for apple-0.1.0.0...
Error: [Cabal-4574]
Cannot build some foreign libraries: Foreign library versioning not currently supported on OSX
Error: [Cabal-7125]
Failed to build flib:apple from apple-0.1.0.0. The failure occurred during the configure step.
Cabal 3.10 would simply go ahead. I can build successfully if I remove the lib-version-info from the stanza
Ideally it would work, including foreign library version info. Failing that, it should be a warning that library version info is not supported on Mac, without actually failing the configure step. That way I could keep lib-version-info for Linux.
System information
OSX
Cabal 3.12 and 3.10
GHC 9.8 (and 9.10)
The text was updated successfully, but these errors were encountered:
Failing that, it should be a warning that library version info is not supported on Mac, without actually failing the configure step. That way I could keep lib-version-info for Linux.
Let us see what other people have to say, I am personally wonder if a warning is strict enough. Meanwhile, would
@vmchale and other MacOS users, do you think using conditionals is enough? If so I would close this, as the warning seems reasonable (indeed lib-version-info is not supported on OSX).
Describe the bug
Cabal 3.12 fails to build foreign libraries, objecting because I specify
lib-version-info
:Cabal 3.10 would simply go ahead. I can build successfully if I remove the
lib-version-info
from the stanzaTo Reproduce
My apple repo has a foreign library:
Expected behavior
Ideally it would work, including foreign library version info. Failing that, it should be a warning that library version info is not supported on Mac, without actually failing the configure step. That way I could keep
lib-version-info
for Linux.System information
The text was updated successfully, but these errors were encountered: