drinkcat / chroagh

Chromium OS Archlinux Chroot Environment
BSD 3-Clause "New" or "Revised" License
241 stars 27 forks source link

Failed to complete chroot setup. #76

Closed rgeorgioff closed 9 years ago

rgeorgioff commented 9 years ago

Hello,

I have been experimenting with crouton over the past few weeks and just stumbled onto the chroagh fork. While the instructions seem straightforward enough, I keep getting errors and the build script quits as seen below. Anyone seen this on their machine? I am running the 2MB RAM Acer C720, this is my first Arch build. Let me know if you need any information to help me sort this. Also I'm a bit unclear on which targets are necessary, and how the dependencies resolve.


Implementation: sudo sh -e installer/main.sh -r arch -t audio,core,extension,x11,keyboard,gtk-extra,xfce,xfce-desktop

[this is where the script halts and aborts]... ( 9/11) installing alsa-utils [######################] 100% (10/11) installing speexdsp [######################] 100% (11/11) installing speex [######################] 100% resolving dependencies... looking for conflicting packages...

Packages (4) binutils-2.25-2 libmpc-1.0.2-2 gcc-4.9.2-3 pkg-config-0.28-2

Total Download Size: 27.15 MiB Total Installed Size: 113.41 MiB

:: Proceed with installation? [Y/n] :: Retrieving packages ... binutils-2.25-2-x86_64 4.4 MiB 234K/s 00:19 [######################] 100% (4/4) checking keys in keyring [######################] 100% (4/4) checking package integrity [######################] 100% (4/4) loading package files [######################] 100% (4/4) checking for file conflicts [######################] 100% (4/4) checking available disk space [######################] 100% (1/4) installing binutils [######################] 100% (2/4) installing libmpc [######################] 100% (3/4) installing gcc [######################] 100% (4/4) installing pkg-config [######################] 100% resolving dependencies... looking for conflicting packages...

Packages (1) patch-2.7.4-1

Total Download Size: 0.08 MiB Total Installed Size: 0.16 MiB

:: Proceed with installation? [Y/n] :: Retrieving packages ... (1/1) checking keys in keyring [######################] 100% (1/1) checking package integrity [######################] 100% (1/1) loading package files [######################] 100% (1/1) checking for file conflicts [######################] 100% (1/1) checking available disk space [######################] 100% (1/1) installing patch [######################] 100% Optional dependencies for patch ed: for patch -e functionality Compiling CRAS (native)... In file included from /usr/include/speex/speexdsp_types.h:122:0, from /usr/include/speex/speex_resampler.h:87, from common/cras_fmt_conv.c:7: /usr/include/speex/speexdsp_config_types.h:12:9: error: unknown type name 'int16_t' typedef int16_t spx_int16_t; ^ /usr/include/speex/speexdsp_config_types.h:13:9: error: unknown type name 'uint16_t' typedef uint16_t spx_uint16_t; ^ /usr/include/speex/speexdsp_config_types.h:14:9: error: unknown type name 'int32_t' typedef int32_t spx_int32_t; ^ /usr/include/speex/speexdsp_config_types.h:15:9: error: unknown type name 'uint32_t' typedef uint32_t spx_uint32_t; ^ common/cras_fmt_conv.c: In function 'cras_fmt_conv_convert_frames': common/cras_fmt_conv.c:642:5: error: passing argument 2 of 'speex_resampler_process_interleaved_int' from incompatible pointer type [-Werror](int16_t )buffers[buf_idx], ^ In file included from common/cras_fmt_conv.c:7:0: /usr/include/speex/speex_resampler.h:213:5: note: expected 'const spx_int16_t ' but argument is of type 'int16_t ' int speex_resampler_process_interleaved_int(SpeexResamplerState st, ^ common/cras_fmt_conv.c:643:5: error: pointer targets in passing argument 3 of 'speex_resampler_process_interleaved_int' differ in signedness [-Werror=pointer-sign] &fr_in, ^ In file included from common/cras_fmt_conv.c:7:0: /usr/include/speex/speex_resampler.h:213:5: note: expected 'spx_uint32_t ' but argument is of type 'uint32_t ' int speex_resampler_process_interleaved_int(SpeexResamplerState st, ^ common/cras_fmt_conv.c:644:5: error: passing argument 4 of 'speex_resampler_process_interleaved_int' from incompatible pointer type [-Werror](int16_t )buffers[buf_idx + 1], ^ In file included from common/cras_fmt_conv.c:7:0: /usr/include/speex/speex_resampler.h:213:5: note: expected 'spx_int16_t ' but argument is of type 'int16_t ' int speex_resampler_process_interleaved_int(SpeexResamplerState st, ^ common/cras_fmt_conv.c:645:5: error: pointer targets in passing argument 5 of 'speex_resampler_process_interleaved_int' differ in signedness [-Werror=pointer-sign] &fr_out); ^ In file included from common/cras_fmt_conv.c:7:0: /usr/include/speex/speex_resampler.h:213:5: note: expected 'spx_uint32_t ' but argument is of type 'uint32_t ' int speex_resampler_process_interleaved_int(SpeexResamplerState st, ^ cc1: all warnings being treated as errors Failed to complete chroot setup.

rgeorgioff commented 9 years ago

Don't know what changed, but after a few more tries it works!