Slow building chromeos-chrome

179 views
Skip to first unread message

Wu-cheng Li (李務誠)

unread,
May 4, 2013, 3:48:52 AM5/4/13
to Ryan Cui, Chromium OS dev
Sometimes building chromeos-chrome was very slow (>30 mins). Downloading the browser from the build server should be fast. Right? It was a clean build. My client did not have any cros-workon. cros_sdk was started without any option. Any idea?

build_packages --board=daisy
...
Pending 9/10, Building 1/1, [Time 37m18.2s Load 0.14 0.18 0.38]
Still building chromeos-chrome-28.0.1498.0_rc-r1 (38m2.2s). Logs in /tmp/chromeos-chrome-28.0.1498.0_rc-r1-xes4GI

The log only has one line:
>>> Emerging (1 of 1) chromeos-base/chromeos-chrome-28.0.1498.0_rc-r1 from chromiumos for /build/daisy/


vnstat -l
      average            1.62 Mbit/s  |    96.23 kbit/s


Regards,
Wu-Cheng

Wu-cheng Li (李務誠)

unread,
May 4, 2013, 4:31:57 AM5/4/13
to Ryan Cui, Chromium OS dev
I tried again and this time the log had lots of stuff (attached). My CHROME_ORIGIN value was SERVER_SOURCE. I thought the browser should have been directly downloaded from the build server. No?
chromeos-chrome-28.0.1498.0_rc-r1-yehFVj

Xiyuan Xia

unread,
May 4, 2013, 12:10:15 PM5/4/13
to Wu-cheng Li (李務誠), Ryan Cui, Chromium OS dev
Ryan knows best. But as far as I know, chromeos-chrome package does not use pre-built packages. SERVER_SOURCE means get a chrome checkout from server. It would be slower than LOCAL_SOURCE as checking out the chrome source tree takes quite sometime.


--
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
 
 
 

Mike Frysinger

unread,
May 4, 2013, 12:57:46 PM5/4/13
to Xiyuan Xia, Wu-cheng Li (李務誠), Ryan Cui, Chromium OS dev
it depends on the board and manifest whether prebuilts are available.  other times, a rebuild might get triggered due to a library changing.
-mike

Ryan Cui

unread,
May 6, 2013, 1:20:33 PM5/6/13
to Mike Frysinger, Xiyuan Xia, Wu-cheng Li (李務誠), Chromium OS dev
Yup, looks like you're building from source here.  Changing the USE flags you build
with can also invalidate prebuilts.  Something you can try is doing a 'repo sync -d' to
reset your checkout to latest TOT, and doing cros_sdk --replace to re-create your
chroot.  From there, a ./setup_board ./build_packages should start pulling Chrome
from pre-builts rather than trying to build from source.

Ryan

Ryan Cui

unread,
May 6, 2013, 1:31:08 PM5/6/13
to Mike Frysinger, Xiyuan Xia, Wu-cheng Li (李務誠), Chromium OS dev, David James
Actually, seems like prebuilts for daisy and amd64-generic were broken
over the weekend.  davidjames fixed it yesterday, so things should be 
working now.

Thanks,
Ryan

Wu-cheng Li (李務誠)

unread,
May 7, 2013, 12:40:09 AM5/7/13
to Ryan Cui, Mike Frysinger, Xiyuan Xia, Chromium OS dev, David James
I just tried and it is fast now. Thanks.
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages