Title: GitHub · Where software is built
Open Graph Title: sass/sassc-ruby
X Title: sass/sassc-ruby
Description: Use libsass with Ruby! Contribute to sass/sassc-ruby development by creating an account on GitHub.
Open Graph Description: Use libsass with Ruby! Contribute to sass/sassc-ruby development by creating an account on GitHub.
X Description: Use libsass with Ruby! Contribute to sass/sassc-ruby development by creating an account on GitHub.
Opengraph URL: https://github.com/sass/sassc-ruby
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Sassc 2.4.0 installation error in Mac 12.3.1(Monterey)","articleBody":"Hello,\r\nI'm getting below error while running bundle install in my rails application \r\n\r\n```\r\ncurrent directory: /Users/varma/.rbenv/versions/2.7.5/lib/ruby/gems/2.7.0/gems/sassc-2.4.0/ext\r\n/Users/varma/.rbenv/versions/2.7.5/bin/ruby -I /Users/varma/.rbenv/versions/2.7.5/lib/ruby/site_ruby/2.7.0 -r ./siteconf20220408-40736-ygna4f.rb extconf.rb --use-system-libraries\r\ncreating Makefile\r\n\r\ncurrent directory: /Users/varma/.rbenv/versions/2.7.5/lib/ruby/gems/2.7.0/gems/sassc-2.4.0/ext\r\nmake DESTDIR\\= clean\r\n\r\ncurrent directory: /Users/varma/.rbenv/versions/2.7.5/lib/ruby/gems/2.7.0/gems/sassc-2.4.0/ext\r\nmake DESTDIR\\=\r\ncompiling ./libsass/src/ast.cpp\r\ncompiling ./libsass/src/ast2c.cpp\r\ncompiling ./libsass/src/ast_fwd_decl.cpp\r\ncompiling ./libsass/src/ast_sel_cmp.cpp\r\ncompiling ./libsass/src/ast_sel_super.cpp\r\ncompiling ./libsass/src/ast_sel_unify.cpp\r\ncompiling ./libsass/src/ast_sel_weave.cpp\r\ncompiling ./libsass/src/ast_selectors.cpp\r\ncompiling ./libsass/src/ast_supports.cpp\r\ncompiling ./libsass/src/ast_values.cpp\r\ncompiling ./libsass/src/backtrace.cpp\r\ncompiling ./libsass/src/base64vlq.cpp\r\ncompiling ./libsass/src/bind.cpp\r\ncompiling ./libsass/src/c2ast.cpp\r\ncompiling ./libsass/src/c99func.c\r\ncompiling ./libsass/src/cencode.c\r\ncompiling ./libsass/src/check_nesting.cpp\r\ncompiling ./libsass/src/color_maps.cpp\r\ncompiling ./libsass/src/constants.cpp\r\ncompiling ./libsass/src/context.cpp\r\ncompiling ./libsass/src/cssize.cpp\r\ncompiling ./libsass/src/emitter.cpp\r\ncompiling ./libsass/src/environment.cpp\r\ncompiling ./libsass/src/error_handling.cpp\r\ncompiling ./libsass/src/eval.cpp\r\ncompiling ./libsass/src/eval_selectors.cpp\r\ncompiling ./libsass/src/expand.cpp\r\ncompiling ./libsass/src/extender.cpp\r\ncompiling ./libsass/src/extension.cpp\r\ncompiling ./libsass/src/file.cpp\r\ncompiling ./libsass/src/fn_colors.cpp\r\ncompiling ./libsass/src/fn_lists.cpp\r\ncompiling ./libsass/src/fn_maps.cpp\r\ncompiling ./libsass/src/fn_miscs.cpp\r\ncompiling ./libsass/src/fn_numbers.cpp\r\n./libsass/src/fn_numbers.cpp:98:16: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]\r\n r-\u003evalue(std::abs(r-\u003evalue()));\r\n ^\r\n./libsass/src/fn_numbers.cpp:98:16: note: use function 'std::abs' instead\r\n r-\u003evalue(std::abs(r-\u003evalue()));\r\n ^~~~~~~~\r\n std::abs\r\n./libsass/src/fn_numbers.cpp:98:16: note: include the header \u003ccmath\u003e or explicitly provide a declaration for 'std::abs'\r\n1 warning generated.\r\ncompiling ./libsass/src/fn_selectors.cpp\r\nIn file included from ./libsass/src/fn_selectors.cpp:1:\r\nIn file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/numeric:149:\r\n/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:642:26: error: no template named 'numeric_limits'\r\n bool _FloatBigger = (numeric_limits\u003c_FloatT\u003e::digits \u003e numeric_limits\u003c_IntT\u003e::digits),\r\n ^\r\n/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:642:60: error: no template named 'numeric_limits'\r\n bool _FloatBigger = (numeric_limits\u003c_FloatT\u003e::digits \u003e numeric_limits\u003c_IntT\u003e::digits),\r\n ^\r\n/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:643:18: error: no template named 'numeric_limits'\r\n int _Bits = (numeric_limits\u003c_IntT\u003e::digits - numeric_limits\u003c_FloatT\u003e::digits)\u003e\r\n ^\r\n/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:643:50: error: no template named 'numeric_limits'\r\n int _Bits = (numeric_limits\u003c_IntT\u003e::digits - numeric_limits\u003c_FloatT\u003e::digits)\u003e\r\n ^\r\n/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:648:17: error: no template named 'numeric_limits'\r\n static_assert(numeric_limits\u003c_FloatT\u003e::radix == 2, \"FloatT has incorrect radix\");\r\n ^\r\n/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:651:25: error: no template named 'numeric_limits'\r\n return _FloatBigger ? numeric_limits\u003c_IntT\u003e::max() : (numeric_limits\u003c_IntT\u003e::max() \u003e\u003e _Bits \u003c\u003c _Bits);\r\n ^\r\n/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:651:58: error: no template named 'numeric_limits'\r\n return _FloatBigger ? numeric_limits\u003c_IntT\u003e::max() : (numeric_limits\u003c_IntT\u003e::max() \u003e\u003e _Bits \u003c\u003c _Bits);\r\n ^\r\n/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:645:25: error: no return statement in constexpr function\r\n_LIBCPP_CONSTEXPR _IntT __max_representable_int_for_float() _NOEXCEPT {\r\n ^\r\n/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:661:16: error: no template named 'numeric_limits'\r\n using _Lim = numeric_limits\u003c_IntT\u003e;\r\n ^\r\n/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:664:12: error: use of undeclared identifier '_Lim'\r\n return _Lim::max();\r\n ^\r\n/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:665:21: error: use of undeclared identifier '_Lim'\r\n } else if (__r \u003c= _Lim::lowest()) {\r\n ^\r\n/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:666:12: error: use of undeclared identifier '_Lim'\r\n return _Lim::min();\r\n ^\r\nIn file included from ./libsass/src/fn_selectors.cpp:1:\r\nIn file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/numeric:150:\r\nIn file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:490:\r\nIn file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/search.h:15:\r\nIn file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__iterator/iterator_traits.h:14:\r\nIn file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__iterator/incrementable_traits.h:14:\r\nIn file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/concepts:134:\r\nIn file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional_base:22:\r\nIn file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/exception:83:\r\n/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:138:9: error: target of using declaration conflicts with declaration already in scope\r\nusing ::abs _LIBCPP_USING_IF_EXISTS;\r\n ^\r\n/usr/local/include/stdlib.h:132:6: note: target of using declaration\r\nint abs(int) __pure2;\r\n ^\r\n/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:338:1: note: conflicting declaration\r\nusing ::abs _LIBCPP_USING_IF_EXISTS;\r\n^\r\n13 errors generated.\r\nmake: *** [fn_selectors.o] Error 1\r\n\r\nmake failed, exit code 2\r\n\r\nGem files will remain installed in /Users/varma/.rbenv/versions/2.7.5/lib/ruby/gems/2.7.0/gems/sassc-2.4.0 for inspection.\r\nResults logged to /Users/varma/.rbenv/versions/2.7.5/lib/ruby/gems/2.7.0/extensions/arm64-darwin-21/2.7.0/sassc-2.4.0/gem_make.out\r\n\r\nAn error occurred while installing sassc (2.4.0), and Bundler cannot continue.\r\nMake sure that `gem install sassc -v '2.4.0' --source 'https://rubygems.org/'` succeeds before bundling.\r\n\r\nIn Gemfile:\r\n s3_direct_upload was resolved to 0.1.7, which depends on\r\n sass-rails was resolved to 6.0.0, which depends on\r\n sassc-rails was resolved to 2.1.2, which depends on\r\n sassc\r\n\r\n\r\n```\r\n\r\nPlease help me to resolve this issue. Thank you.\r\n\r\n","author":{"url":"https://github.com/sreenud","@type":"Person","name":"sreenud"},"datePublished":"2022-04-08T05:30:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/234/sassc-ruby/issues/234"}
| route-pattern | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:9e60bc27-996c-3f91-e091-ae05b04b6326 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ED70:118805:2AA3FDB:36C6971:6992A89D |
| html-safe-nonce | 916c60e1df007da5a1d2bf743b9f441110eae363c8ba16ad09f8f76f0018154f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDcwOjExODgwNToyQUEzRkRCOjM2QzY5NzE6Njk5MkE4OUQiLCJ2aXNpdG9yX2lkIjoiMzkxMzk3MzExODQ0ODg3MTU4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6a31f1c5538de4ff8c2f4ad27a3a4a1940bbfbbd9eec2d65439b9dee538821da |
| hovercard-subject-tag | repository:31403576 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/sass/sassc-ruby/issues/234 |
| twitter:image | https://opengraph.githubassets.com/4673220bee365bbba0edada952af64db1c1c568961cdf71a80952ca415f97d46/sass/sassc-ruby |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4673220bee365bbba0edada952af64db1c1c568961cdf71a80952ca415f97d46/sass/sassc-ruby |
| og:image:alt | Use libsass with Ruby! Contribute to sass/sassc-ruby development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-cache |
| go-import | github.com/sass/sassc-ruby git https://github.com/sass/sassc-ruby.git |
| octolytics-dimension-user_id | 317889 |
| octolytics-dimension-user_login | sass |
| octolytics-dimension-repository_id | 31403576 |
| octolytics-dimension-repository_nwo | sass/sassc-ruby |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31403576 |
| octolytics-dimension-repository_network_root_nwo | sass/sassc-ruby |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width