New issue
Advanced search Search tips

Issue 782023 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: Nov 2017
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

building ToT simplechrome fails

Project Member Reported by xiaochu@chromium.org, Nov 6 2017

Issue description

Build simplechrome (board = amd64-generic) on my dev machine fails:


../../ui/ozone/platform/drm/gpu/hardware_display_plane.cc:137:62: error: no member named 'offset' in 'drm_format_modifier'
    if (modifier.formats & (1ull << (format_index - modifier.offset)))
                                                    ~~~~~~~~ ^
1 error generated.
[33212/43412] CXX obj/ui/views/views/menu_controller.o
ninja: build stopped: subcommand failed.

 
When did you last sync? I am pretty sure I did a successful amd64-generic build this morning.

What is your cros-sdk command line? Are you using --internal? Were there any warnings?

You might need a new sdk for your simple chrome env.

The CL that caused this is for  issue 763760  and I suspect you need to use an env that has libdrm 2.4.87.
Status: Fixed (was: Untriaged)
thanks!

i see the issue! i didn't exit cros-sdk when i 'git rebase-update & gclient sync'. 

After I exit and reenter cros-sdk, gn gen and build is successful!

btw, my cros-sdk command is: cros chrome-sdk --board=$BOARD
OK, yeah. I'll try to think of a way to warn devs that sync inside a simple chrome environment. Maybe add a gclient run hook.

Comment 5 by dchan@chromium.org, Jan 22 2018

Status: Archived (was: Fixed)

Comment 6 by dchan@chromium.org, Jan 23 2018

Status: Fixed (was: Archived)

Sign in to add a comment