GN failure on Windows

203 views
Skip to first unread message

Tekman

unread,
Oct 7, 2020, 8:57:12 PM10/7/20
to v8-users
Hi,

After a recent depot_tools update, we're seeing this failure building LKGR 8.5:

ERROR at //gni/v8.gni:179:3: Dependency not allowed.
The item //src/inspector:inspector_string_conversions
can not depend on //:features
because it is not in //:features's visibility list: [
  //.:*
]

The command line we're using is this:

gn gen D:\v8_debug --args='v8_enable_i18n_support=false is_component_build=false v8_monolithic=true v8_use_external_startup_data=false treat_warnings_as_errors=false use_custom_libcxx=false target_cpu=\"x64\" is_clang=false v8_enable_pointer_compression=true enable_iterator_debugging=true is_debug=true'

Any tips or information about what might have changed and how we can fix it?

Thank you!

Rodrigo Hernandez

unread,
Oct 10, 2020, 4:29:37 PM10/10/20
to v8-users

Hi Tekman,

I've seen that error before, apparently there was a bug which allowed the dependency to be done, and that kind of dependency was/is made by older versions/tags.

If you've already run gclient sync AFTER checking out LKGR 8.5 with git and that did not work, you can try manually replacing the gn executable with an older one, one or two months at least.

Hope that helps.

Tekman

unread,
Oct 12, 2020, 9:26:18 PM10/12/20
to v8-users
What is the recommended way to downgrade gn? Should I update its version in the 2 DEPS files, commit and run gclient sync, or literally overwrite gn.exe in \v8\buildtools\win\gn.exe with a binary I grab from somewhere else?

Sorry if this is a basic question, I didn't delve too deep into depot_tools / gn / cpid / etc. because builds "just worked"™ for us until now.

Thanks!

Rodrigo Hernandez

unread,
Oct 13, 2020, 11:38:26 AM10/13/20
to v8-users
You can just replace the binary, you can find binaries at the GN git page here:

Julio César Rocha

unread,
Oct 14, 2020, 1:40:04 AM10/14/20
to v8-users
Hi, Rodrigo.

Can you help me point where the other binaries, aside from the latest one can be browsed to or downloaded?

I can only see a link to the latest GN binary release.
You can download the latest version of GN binary for LinuxmacOS and Windows 

Rodrigo Hernandez

unread,
Oct 16, 2020, 10:25:50 AM10/16/20
to v8-u...@googlegroups.com
Hi Julio,
Just go to


And navigate through gn until you get a list of releases matching git hashes. 

--
--
v8-users mailing list
v8-u...@googlegroups.com
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups "v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/5dbc9b35-7874-4d67-822a-2defeb305a1an%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages