crouton: CRAS cant be compiled
Compiling CRAS (i386)...
tests/cras_test_client.c: In function 'audio_debug_info':
tests/cras_test_client.c:585:10: error: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'long long unsigned int' [-Werror=format=]
printf("stream: %lu dev: %u\n",
^
tests/cras_test_client.c: In function 'run_aecdump':
tests/cras_test_client.c:677:10: error: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t {aka long long unsigned int}' [-Werror=format=]
printf("Dumping AEC info to %s, stream %lu, fd %d\n",
^
tests/cras_test_client.c: In function 'main':
tests/cras_test_client.c:1545:3: error: 'stream_id' may be used uninitialized in this function [-Werror=maybe-uninitialized]
run_aecdump(client, stream_id, 1);
^
tests/cras_test_client.c: At top level:
cc1: error: unrecognized command line option '-Wno-int-in-bool-context' [-Werror]
cc1: all warnings being treated as errors
/usr/lib/gcc/x86_64-linux-gnu/5/../../../i386-linux-gnu/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: error: ld returned 1 exit status
Failed to complete chroot setup.
Unmounting /mnt/stateful_partition/crouton/chroots/xenial...
chronos@localhost / $ god damnit...
whenever i try to install a chroot it always ends with this, ive deleted and reinstalled crouton (after assuming it was crouton) but it seems like more, anyone else ever had this issue?
and how did i cause this? i just used crouton to install xenial the normal way.
the command i used:
sudo sh -e ~/Downloads/crouton -t xorg,gtk-extra,cli-extra,core
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 28 (1 by maintainers)
@DennisLfromGA , @drinkcat , @dnschneid 👍 Glad to see this closed. Was looking at Error Updating Chroot #3770, Error Updating Chroot #3770, and then https://bugs.chromium.org/p/chromium/issues/detail?id=864815, so I hope this went where I think it went.
crhk201807171845.txt
So, I’ll prepare a recovery image, slog some data, and rejoin the dev channel.
Guys are great, and really smart.
As all of you knew when you woke up this morning.
@mareedsmdphd