Sto provando a compilare il source tiscali, ho fatto un Dockerfile al volo rispettando quello che richiedeva il readme (a dire il vero ho dovuto fare qualche altro fix tipo aggiungere come pacchetti da installare
unzip bzip2 wget python-distutils-extra, spostare la config e "rompere" il file preCfg.sh)
Codice:
FROM ubuntu:12.04
USER root
RUN apt-get update
RUN echo "dash dash/sh boolean false" | debconf-set-selections
RUN DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
RUN apt-get install -y g++ flex bison gawk make autoconf zlib1g-dev libncurses-dev git subversion gettext unzip bzip2 wget python-distutils-extra
COPY vmg8823_b50b_release /root/vmg8823_b50b_release
RUN cat /root/vmg8823_b50b_release/configs/*.defconfig > /root/vmg8823_b50b_release/.config
RUN echo "" > /root/vmg8823_b50b_release/configs/preCfg.sh
RUN cd /root/vmg8823_b50b_release;make dirclean
ma sembra comunque che non gli piaccia... qualcuno ci è gia' incappato?
Codice:
make[3]: Leaving directory `/root/vmg8823_b50b_release/toolchain/uClibc/headers'
make[3]: Entering directory `/root/vmg8823_b50b_release/toolchain/uClibc/headers'
PATH='/root/vmg8823_b50b_release/staging_dir/toolchain-arm_v7-a_gcc-4.6.2_uClibc-0.9.32_eabi/bin:/root/vmg8823_b50b_release/staging_dir/host/bin:/root/vmg8823_b50b_release/staging_dir/toolchain-arm_v7-a_gcc-4.6.2_uClibc-0.9.32_eabi/bin:/root/vmg8823_b50b_release/staging_dir/host/bin:/root/vmg8823_b50b_release/staging_dir/toolchain-arm_v7-a_gcc-4.6.2_uClibc-0.9.32_eabi/bin:/root/vmg8823_b50b_release/staging_dir/host/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' make -C /root/vmg8823_b50b_release/build_dir/toolchain-arm_v7-a_gcc-4.6.2_uClibc-0.9.32_eabi/uClibc-0.9.32 PREFIX="/root/vmg8823_b50b_release/build_dir/toolchain-arm_v7-a_gcc-4.6.2_uClibc-0.9.32_eabi/uClibc-dev/" DEVEL_PREFIX=/ RUNTIME_PREFIX="/root/vmg8823_b50b_release/build_dir/toolchain-arm_v7-a_gcc-4.6.2_uClibc-0.9.32_eabi/uClibc-dev/" HOSTCC="gcc" CC="arm-openwrt-linux-uclibcgnueabi-gcc" CPU_CFLAGS="-Os -pipe -march=armv7-a -mabi=aapcs-linux -mfloat-abi=softfp -fhonour-copts -Wno-error=unused-but-set-variable -mfloat-abi=soft" ARCH=""arm"" pregen install_headers
make[4]: Entering directory `/root/vmg8823_b50b_release/build_dir/toolchain-arm_v7-a_gcc-4.6.2_uClibc-0.9.32_eabi/uClibc-0.9.32'
gcc extra/locale/gen_locale.c -o extra/locale/gen_locale -Os -Wall -D_GNU_SOURCE -I./extra/locale
In file included from extra/locale/gen_locale.c:13:0:
extra/locale/c8tables.h:1:1: error: unknown type name 'could'
extra/locale/c8tables.h:1:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'find'
extra/locale/c8tables.h:1:11: error: unknown type name 'find'
extra/locale/gen_locale.c: In function 'do_locale_names':
extra/locale/gen_locale.c:204:6: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat]
extra/locale/gen_locale.c:206:6: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat]
extra/locale/gen_locale.c:227:42: error: 'lc_names' undeclared (first use in this function)
extra/locale/gen_locale.c:227:42: note: each undeclared identifier is reported only once for each function it appears in
extra/locale/gen_locale.c: In function 'read_locale_list':
extra/locale/gen_locale.c:434:8: warning: variable 'cs' set but not used [-Wunused-but-set-variable]
extra/locale/gen_locale.c: In function 'lc_monetary_C':
extra/locale/gen_locale.c:1083:2: warning: #warning fix the char entries for monetary... target signedness of char may be different! [-Wcpp]
make[4]: *** [extra/locale/gen_locale] Error 1
make[4]: Leaving directory `/root/vmg8823_b50b_release/build_dir/toolchain-arm_v7-a_gcc-4.6.2_uClibc-0.9.32_eabi/uClibc-0.9.32'
make[3]: *** [/root/vmg8823_b50b_release/staging_dir/toolchain-arm_v7-a_gcc-4.6.2_uClibc-0.9.32_eabi/stamp/.uclibc_headers_installed] Error 2
make[3]: Leaving directory `/root/vmg8823_b50b_release/toolchain/uClibc/headers'
make[2]: *** [toolchain/uClibc/headers/install] Error 2
make[2]: Leaving directory `/root/vmg8823_b50b_release'
make[1]: *** [/root/vmg8823_b50b_release/staging_dir/toolchain-arm_v7-a_gcc-4.6.2_uClibc-0.9.32_eabi/stamp/.toolchain_install] Error 2
make[1]: Leaving directory `/root/vmg8823_b50b_release'
make: *** [world] Error 2