-
Notifications
You must be signed in to change notification settings - Fork 141
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
Failed building wheel for fb-re2 #239
Comments
I got the same output on M1 MacOS Sonoma 14.4: DEPRECATION: --no-binary currently disables reading from the cache of locally built wheels. In the future --no-binary will not influence the wheel cache. pip 23.1 will enforce this behaviour change. A possible replacement is to use the --no-cache-dir option. You can use the flag --use-feature=no-binary-enable-wheel-cache to test the upcoming behaviour. Discussion can be found at https://github.com/pypa/pip/issues/11453
Collecting git+https://github.com/ArchiveTeam/grab-site
Cloning https://github.com/ArchiveTeam/grab-site to /private/var/folders/4r/mz51ft9549z3wpn_472wpc440000gn/T/pip-req-build-pbhy4ni9
Running command git clone --filter=blob:none --quiet https://github.com/ArchiveTeam/grab-site /private/var/folders/4r/mz51ft9549z3wpn_472wpc440000gn/T/pip-req-build-pbhy4ni9
Resolved https://github.com/ArchiveTeam/grab-site to commit 8016234f3b0cac0e275137c977d6d177dbc34f2a
Preparing metadata (setup.py) ... done
Collecting wpull@ https://github.com/ArchiveTeam/ludios_wpull/archive/refs/tags/3.0.9.zip
Using cached https://github.com/ArchiveTeam/ludios_wpull/archive/refs/tags/3.0.9.zip
Preparing metadata (setup.py) ... done
Collecting click>=6.3
Using cached click-8.1.7-py3-none-any.whl (97 kB)
Collecting manhole>=1.0.0
Using cached manhole-1.8.0-py2.py3-none-any.whl (16 kB)
Collecting lmdb>=0.89
Using cached lmdb-1.4.1.tar.gz (881 kB)
Preparing metadata (setup.py) ... done
Collecting autobahn>=0.12.1
Using cached autobahn-23.1.2.tar.gz (480 kB)
Preparing metadata (setup.py) ... done
Collecting fb-re2>=1.0.6
Using cached fb-re2-1.0.7.tar.gz (9.4 kB)
Preparing metadata (setup.py) ... done
Collecting websockets>=6.0
Using cached websockets-12.0-cp38-cp38-macosx_11_0_arm64.whl (121 kB)
Collecting cchardet>=1.0.0
Using cached cchardet-2.1.7.tar.gz (653 kB)
Preparing metadata (setup.py) ... done
Collecting txaio>=21.2.1
Using cached txaio-23.1.1-py2.py3-none-any.whl (30 kB)
Collecting cryptography>=3.4.6
Using cached cryptography-42.0.5-cp37-abi3-macosx_10_12_universal2.whl (5.9 MB)
Collecting hyperlink>=21.0.0
Using cached hyperlink-21.0.0-py2.py3-none-any.whl (74 kB)
Requirement already satisfied: setuptools in ./lib/python3.8/site-packages (from autobahn>=0.12.1->grab-site==2.2.7) (56.0.0)
Collecting chardet
Using cached chardet-5.2.0-py3-none-any.whl (199 kB)
Collecting dnspython
Using cached dnspython-2.6.1-py3-none-any.whl (307 kB)
Collecting html5-parser
Using cached html5-parser-0.4.12.tar.gz (270 kB)
Preparing metadata (setup.py) ... done
Collecting lxml
Using cached lxml-5.1.0.tar.gz (3.8 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting namedlist
Using cached namedlist-1.8-py2.py3-none-any.whl (15 kB)
Collecting sqlalchemy==1.3.24
Using cached SQLAlchemy-1.3.24.tar.gz (6.4 MB)
Preparing metadata (setup.py) ... done
Collecting tornado==4.5.3
Using cached tornado-4.5.3.tar.gz (484 kB)
Preparing metadata (setup.py) ... done
Collecting yapsy
Using cached Yapsy-1.12.2.tar.gz (83 kB)
Preparing metadata (setup.py) ... done
Collecting cffi>=1.12
Using cached cffi-1.16.0-cp38-cp38-macosx_14_0_arm64.whl
Collecting idna>=2.5
Using cached idna-3.6-py3-none-any.whl (61 kB)
Collecting pycparser
Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Building wheels for collected packages: lxml
Building wheel for lxml (pyproject.toml) ... done
Created wheel for lxml: filename=lxml-5.1.0-cp38-cp38-macosx_14_0_arm64.whl size=1584683 sha256=66b471407fb78d0fad1a3606d7e00f488ac3f2470fc5df5a66bcdd14f0a17b11
Stored in directory: /Users/stephen/Library/Caches/pip/wheels/5b/e1/b0/9e666f24f6a7ea981d14232dc692498adf51461c15f16a9723
Successfully built lxml
Installing collected packages: yapsy, tornado, namedlist, lmdb, fb-re2, cchardet, websockets, txaio, sqlalchemy, pycparser, manhole, lxml, idna, dnspython, click, chardet, hyperlink, html5-parser, cffi, wpull, cryptography, autobahn, grab-site
DEPRECATION: yapsy is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
Running setup.py install for yapsy ... done
DEPRECATION: tornado is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
Running setup.py install for tornado ... done
DEPRECATION: lmdb is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
Running setup.py install for lmdb ... done
DEPRECATION: fb-re2 is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
Running setup.py install for fb-re2 ... error
error: subprocess-exited-with-error
× Running setup.py install for fb-re2 did not run successfully.
│ exit code: 1
╰─> [148 lines of output]
running install
running build
running build_py
creating build
creating build/lib.macosx-14-arm64-3.8
copying re2.py -> build/lib.macosx-14-arm64-3.8
running build_ext
building '_re2' extension
creating build/temp.macosx-14-arm64-3.8
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -I/opt/homebrew/opt/openjdk/include:-I/opt/homebrew/opt/ruby/include -I/opt/homebrew/include -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/sqlite/include -I/opt/homebrew/opt/tcl-tk/include/tcl-tk -I/Users/stephen/.local/bin/gs-venv/include -I/opt/homebrew/Cellar/[email protected]/3.8.19/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c _re2.cc -o build/temp.macosx-14-arm64-3.8/_re2.o -std=c++11
In file included from _re2.cc:37:
In file included from /opt/homebrew/include/re2/re2.h:222:
In file included from /opt/homebrew/include/absl/base/call_once.h:34:
In file included from /opt/homebrew/include/absl/base/internal/invoke.h:40:
In file included from /opt/homebrew/include/absl/base/config.h:92:
/opt/homebrew/include/absl/base/policy_checks.h:79:2: error: "C++ versions less than C++14 are not supported."
#error "C++ versions less than C++14 are not supported."
^
In file included from _re2.cc:37:
In file included from /opt/homebrew/include/re2/re2.h:222:
In file included from /opt/homebrew/include/absl/base/call_once.h:35:
In file included from /opt/homebrew/include/absl/base/internal/low_level_scheduling.h:21:
In file included from /opt/homebrew/include/absl/base/internal/raw_logging.h:27:
/opt/homebrew/include/absl/base/log_severity.h:102:3: warning: use of this statement in a constexpr function is a C++14 extension [-Wc++14-extensions]
switch (s) {
^
/opt/homebrew/include/absl/base/log_severity.h:108:3: warning: multiple return statements in constexpr function is a C++14 extension [-Wc++14-extensions]
return "UNKNOWN";
^
/opt/homebrew/include/absl/base/log_severity.h:103:36: note: previous return statement is here
case absl::LogSeverity::kInfo: return "INFO";
^
/opt/homebrew/include/absl/base/log_severity.h:104:39: note: previous return statement is here
case absl::LogSeverity::kWarning: return "WARNING";
^
/opt/homebrew/include/absl/base/log_severity.h:105:37: note: previous return statement is here
case absl::LogSeverity::kError: return "ERROR";
^
/opt/homebrew/include/absl/base/log_severity.h:106:37: note: previous return statement is here
case absl::LogSeverity::kFatal: return "FATAL";
^
/opt/homebrew/include/absl/base/log_severity.h:116:21: warning: variable declaration in a constexpr function is a C++14 extension [-Wc++14-extensions]
absl::LogSeverity n = s;
^
/opt/homebrew/include/absl/base/log_severity.h:117:3: warning: use of this statement in a constexpr function is a C++14 extension [-Wc++14-extensions]
if (n < absl::LogSeverity::kInfo) n = absl::LogSeverity::kInfo;
^
In file included from _re2.cc:37:
In file included from /opt/homebrew/include/re2/re2.h:222:
In file included from /opt/homebrew/include/absl/base/call_once.h:40:
In file included from /opt/homebrew/include/absl/base/nullability.h:153:
/opt/homebrew/include/absl/base/internal/nullability_impl.h:40:16: warning: variable templates are a C++14 extension [-Wc++14-extensions]
constexpr bool IsSupportedType = IsNullabilityCompatible<T>::value;
^
/opt/homebrew/include/absl/base/internal/nullability_impl.h:56:55: error: no template named 'remove_cv_t' in namespace 'std'; did you mean simply 'remove_cv_t'?
static_assert(nullability_internal::IsSupportedType<std::remove_cv_t<T>>,
^~~~~~~~~~~~~~~~
remove_cv_t
/opt/homebrew/include/absl/meta/type_traits.h:238:1: note: 'remove_cv_t' declared here
using remove_cv_t = typename std::remove_cv<T>::type;
^
In file included from _re2.cc:37:
In file included from /opt/homebrew/include/re2/re2.h:222:
In file included from /opt/homebrew/include/absl/base/call_once.h:40:
In file included from /opt/homebrew/include/absl/base/nullability.h:153:
/opt/homebrew/include/absl/base/internal/nullability_impl.h:64:55: error: no template named 'remove_cv_t' in namespace 'std'; did you mean simply 'remove_cv_t'?
static_assert(nullability_internal::IsSupportedType<std::remove_cv_t<T>>,
^~~~~~~~~~~~~~~~
remove_cv_t
/opt/homebrew/include/absl/meta/type_traits.h:238:1: note: 'remove_cv_t' declared here
using remove_cv_t = typename std::remove_cv<T>::type;
^
In file included from _re2.cc:37:
In file included from /opt/homebrew/include/re2/re2.h:222:
In file included from /opt/homebrew/include/absl/base/call_once.h:40:
In file included from /opt/homebrew/include/absl/base/nullability.h:153:
/opt/homebrew/include/absl/base/internal/nullability_impl.h:72:55: error: no template named 'remove_cv_t' in namespace 'std'; did you mean simply 'remove_cv_t'?
static_assert(nullability_internal::IsSupportedType<std::remove_cv_t<T>>,
^~~~~~~~~~~~~~~~
remove_cv_t
/opt/homebrew/include/absl/meta/type_traits.h:238:1: note: 'remove_cv_t' declared here
using remove_cv_t = typename std::remove_cv<T>::type;
^
In file included from _re2.cc:37:
In file included from /opt/homebrew/include/re2/re2.h:224:
In file included from /opt/homebrew/include/absl/types/optional.h:39:
/opt/homebrew/include/absl/utility/utility.h:54:12: error: no member named 'index_sequence' in namespace 'std'
using std::index_sequence;
~~~~~^
/opt/homebrew/include/absl/utility/utility.h:55:12: error: no member named 'index_sequence_for' in namespace 'std'
using std::index_sequence_for;
~~~~~^
/opt/homebrew/include/absl/utility/utility.h:56:12: error: no member named 'integer_sequence' in namespace 'std'; did you mean '__integer_sequence'?
using std::integer_sequence;
~~~~~^~~~~~~~~~~~~~~~
__integer_sequence
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__utility/integer_sequence.h:25:8: note: '__integer_sequence' declared here
struct __integer_sequence {
^
In file included from _re2.cc:37:
In file included from /opt/homebrew/include/re2/re2.h:224:
In file included from /opt/homebrew/include/absl/types/optional.h:39:
/opt/homebrew/include/absl/utility/utility.h:57:12: error: no member named 'make_index_sequence' in namespace 'std'
using std::make_index_sequence;
~~~~~^
/opt/homebrew/include/absl/utility/utility.h:58:12: error: no member named 'make_integer_sequence' in namespace 'std'; did you mean '__integer_sequence'?
using std::make_integer_sequence;
~~~~~^~~~~~~~~~~~~~~~~~~~~
__integer_sequence
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__utility/integer_sequence.h:25:8: note: '__integer_sequence' declared here
struct __integer_sequence {
^
In file included from _re2.cc:37:
In file included from /opt/homebrew/include/re2/re2.h:224:
In file included from /opt/homebrew/include/absl/types/optional.h:39:
/opt/homebrew/include/absl/utility/utility.h:82:12: error: no member named 'in_place_t' in namespace 'std'
using std::in_place_t;
~~~~~^
/opt/homebrew/include/absl/utility/utility.h:83:12: error: no member named 'in_place' in namespace 'std'
using std::in_place;
~~~~~^
/opt/homebrew/include/absl/utility/utility.h:99:12: error: no member named 'in_place_type' in namespace 'std'
using std::in_place_type;
~~~~~^
/opt/homebrew/include/absl/utility/utility.h:100:12: error: no member named 'in_place_type_t' in namespace 'std'
using std::in_place_type_t;
~~~~~^
/opt/homebrew/include/absl/utility/utility.h:116:12: error: no member named 'in_place_index' in namespace 'std'
using std::in_place_index;
~~~~~^
/opt/homebrew/include/absl/utility/utility.h:117:12: error: no member named 'in_place_index_t' in namespace 'std'
using std::in_place_index_t;
~~~~~^
/opt/homebrew/include/absl/utility/utility.h:156:49: error: no template named 'index_sequence'
auto apply_helper(Functor&& functor, Tuple&& t, index_sequence<Indexes...>)
^
/opt/homebrew/include/absl/utility/utility.h:210:15: error: no member named 'make_index_sequence' in namespace 'absl'
absl::make_index_sequence<std::tuple_size<
~~~~~~^
/opt/homebrew/include/absl/utility/utility.h:211:64: error: initializer list cannot be used on the right hand side of operator '>'
typename std::remove_reference<Tuple>::type>::value>{})) {
^~~
/opt/homebrew/include/absl/utility/utility.h:214:13: error: no member named 'make_index_sequence' in namespace 'absl'
absl::make_index_sequence<std::tuple_size<
~~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
5 warnings and 20 errors generated.
error: command 'clang' failed with exit status 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> fb-re2
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
[notice] A new release of pip is available: 23.0.1 -> 24.0
[notice] To update, run: pip install --upgrade pip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello. Was on the last command of step 2 when I got above error. Here's the output when running
~/gs-venv/bin/pip install --no-binary lxml --upgrade git+https://github.com/ArchiveTeam/grab-site
:The text was updated successfully, but these errors were encountered: