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 error on FreeBSD and macOS #208

Closed
targos opened this issue Sep 7, 2021 · 2 comments
Closed

Build error on FreeBSD and macOS #208

targos opened this issue Sep 7, 2021 · 2 comments

Comments

@targos
Copy link
Member

targos commented Sep 7, 2021

12:10:58 ../deps/v8/src/regexp/regexp-parser.cc:2426:10: error: calling a private constructor of class 'v8::internal::(anonymous namespace)::RegExpParserImpl<uint8_t>'
12:11:02   return RegExpParserImpl<CharT>{input,       input_length, flags,
12:11:02          ^
12:11:02 ../deps/v8/src/regexp/regexp-parser.cc:2431:29: note: in instantiation of function template specialization 'v8::internal::RegExpParser::VerifyRegExpSyntax<unsigned char>' requested here
12:11:02 template bool RegExpParser::VerifyRegExpSyntax<uint8_t>(
12:11:02                             ^
12:11:02 ../deps/v8/src/regexp/regexp-parser.cc:244:3: note: declared private here
12:11:02   RegExpParserImpl(const CharT* input, int input_length, RegExpFlags flags,
12:11:02   ^
12:11:02 ../deps/v8/src/regexp/regexp-parser.cc:2428:8: error: 'Parse' is a private member of 'v8::internal::(anonymous namespace)::RegExpParserImpl<uint8_t>'
12:11:02       .Parse(result);
12:11:02        ^
12:11:02 ../deps/v8/src/regexp/regexp-parser.cc:248:8: note: declared private here
12:11:02   bool Parse(RegExpCompileData* result);
12:11:02        ^
12:11:02 ../deps/v8/src/regexp/regexp-parser.cc:2426:10: error: calling a private constructor of class 'v8::internal::(anonymous namespace)::RegExpParserImpl<base::uc16>'
12:11:02   return RegExpParserImpl<CharT>{input,       input_length, flags,
12:11:02          ^
12:11:02 ../deps/v8/src/regexp/regexp-parser.cc:2434:29: note: in instantiation of function template specialization 'v8::internal::RegExpParser::VerifyRegExpSyntax<unsigned short>' requested here
12:11:02 template bool RegExpParser::VerifyRegExpSyntax<base::uc16>(
12:11:02                             ^
12:11:02 ../deps/v8/src/regexp/regexp-parser.cc:244:3: note: declared private here
12:11:02   RegExpParserImpl(const CharT* input, int input_length, RegExpFlags flags,
12:11:02   ^
12:11:02 ../deps/v8/src/regexp/regexp-parser.cc:2428:8: error: 'Parse' is a private member of 'v8::internal::(anonymous namespace)::RegExpParserImpl<base::uc16>'
12:11:02       .Parse(result);
12:11:02        ^
12:11:02 ../deps/v8/src/regexp/regexp-parser.cc:248:8: note: declared private here
12:11:02   bool Parse(RegExpCompileData* result);
12:11:02        ^
12:11:02 4 errors generated.

https://ci.nodejs.org/job/node-test-commit-freebsd/41159/nodes=freebsd11-x64/console

@targos targos changed the title Build error on FreeBSD Build error on FreeBSD and macOS Sep 7, 2021
@targos
Copy link
Member Author

targos commented Sep 7, 2021

Same error on macOS:

12:27:36 ../deps/v8/src/regexp/regexp-parser.cc:2426:10: error: calling a private constructor of class 'v8::internal::(anonymous namespace)::RegExpParserImpl<uint8_t>'
12:27:39   return RegExpParserImpl<CharT>{input,       input_length, flags,
12:27:39          ^
12:27:39 ../deps/v8/src/regexp/regexp-parser.cc:2431:29: note: in instantiation of function template specialization 'v8::internal::RegExpParser::VerifyRegExpSyntax<unsigned char>' requested here
12:27:39 template bool RegExpParser::VerifyRegExpSyntax<uint8_t>(
12:27:39                             ^
12:27:39 ../deps/v8/src/regexp/regexp-parser.cc:244:3: note: declared private here
12:27:39   RegExpParserImpl(const CharT* input, int input_length, RegExpFlags flags,
12:27:39   ^
12:27:39 ../deps/v8/src/regexp/regexp-parser.cc:2428:8: error: 'Parse' is a private member of 'v8::internal::(anonymous namespace)::RegExpParserImpl<uint8_t>'
12:27:39       .Parse(result);
12:27:39        ^
12:27:39 ../deps/v8/src/regexp/regexp-parser.cc:248:8: note: declared private here
12:27:39   bool Parse(RegExpCompileData* result);
12:27:39        ^
12:27:39 ../deps/v8/src/regexp/regexp-parser.cc:2426:10: error: calling a private constructor of class 'v8::internal::(anonymous namespace)::RegExpParserImpl<base::uc16>'
12:27:39   return RegExpParserImpl<CharT>{input,       input_length, flags,
12:27:39          ^
12:27:39 ../deps/v8/src/regexp/regexp-parser.cc:2434:29: note: in instantiation of function template specialization 'v8::internal::RegExpParser::VerifyRegExpSyntax<unsigned short>' requested here
12:27:39 template bool RegExpParser::VerifyRegExpSyntax<base::uc16>(
12:27:39                             ^
12:27:39 ../deps/v8/src/regexp/regexp-parser.cc:244:3: note: declared private here
12:27:39   RegExpParserImpl(const CharT* input, int input_length, RegExpFlags flags,
12:27:39   ^
12:27:39 ../deps/v8/src/regexp/regexp-parser.cc:2428:8: error: 'Parse' is a private member of 'v8::internal::(anonymous namespace)::RegExpParserImpl<base::uc16>'
12:27:39       .Parse(result);
12:27:39        ^
12:27:39 ../deps/v8/src/regexp/regexp-parser.cc:248:8: note: declared private here
12:27:39   bool Parse(RegExpCompileData* result);
12:27:39        ^
12:27:39 4 errors generated.

https://ci.nodejs.org/job/node-test-commit-osx/42034/nodes=osx1014/console

@targos
Copy link
Member Author

targos commented Sep 22, 2021

@targos targos closed this as completed Sep 22, 2021
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

1 participant