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

Mail on MacOS Ventura 13.02 Issue #1563

Closed
daBee opened this issue Jan 25, 2023 · 4 comments
Closed

Mail on MacOS Ventura 13.02 Issue #1563

daBee opened this issue Jan 25, 2023 · 4 comments

Comments

@daBee
Copy link

daBee commented Jan 25, 2023

Tried to update Mail as I'm currently showing version 2.7.1. Ran into an error due to a dependency on net-imap, which depends on date of all things.

An error occurred while installing date (3.3.3), and Bundler cannot continue.
Make sure that `gem install date -v '3.3.3' --source 'https://rubygems.org/'` succeeds before bundling.

In Gemfile:
  mail was resolved to 2.8.0.1, which depends on
    net-imap was resolved to 0.3.4, which depends on
      date

Upon trying that recommendation, I get ERROR: Failed to build gem native extension.. It's also a default gem, so I don't know how this is recommending a different version to begin with. So, I'm assuming date is valid (ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [arm64-darwin21]), so the culprit is unclear. Thought I'd post here.

@ahorek
Copy link
Contributor

ahorek commented Jan 25, 2023

it would be useful to share the log of what the actual error is... there's already a discussion about the dependency, see ruby/net-imap#96

@daBee
Copy link
Author

daBee commented Jan 25, 2023

Here's that log:

>>> 9:32:17 user3@myworkstation VP6 ➜ cat /Users/user3/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/extensions/arm64-darwin-21/3.1.0/date-3.3.3/mkmf.log
DYLD_FALLBACK_LIBRARY_PATH=.:/Users/user3/.rbenv/versions/3.1.2/lib "clang -o conftest -I/Users/user3/.rbenv/versions/3.1.2/include/ruby-3.1.0/arm64-darwin21 -I/Users/user3/.rbenv/versions/3.1.2/include/ruby-3.1.0/ruby/backward -I/Users/user3/.rbenv/versions/3.1.2/include/ruby-3.1.0 -I. -I/Users/user3/.rbenv/versions/3.1.2/include  -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wmisleaserver_d-indentation -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef  -fno-common -pipe conftest.c  -L. -L/Users/user3/.rbenv/versions/3.1.2/lib -L. -L/Users/user3/.rbenv/versions/3.1.2/lib  -fstack-protector-strong -L/usr/local/lib     -lruby.3.1   "
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5:   return !!argv[argc];
6: }
/* end */

@daBee
Copy link
Author

daBee commented Feb 2, 2023

FYI, all this is not working still:

Using date 3.2.2
Using mail 2.7.1
Using net-imap 0.3.4

cannot load such file -- net/smtp (LoadError)

@j1wilmot
Copy link

j1wilmot commented Feb 3, 2023

This was fixed in #1472. Try using mail 2.8.1 which was just released.

@daBee daBee closed this as completed Feb 3, 2023
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

3 participants