Processing platform: Freescale iMX5x Based Boards =================================================== using config/platform/imx/.config Processing: minicom ===================== Build path taken because: directory build, no prebuilt rpm, scbuild/scdeploy already unpacked package Processing: minicom ===================== Build path taken because: directory build, build key set, no prebuilt rpm, rpmbuild --dbpath /home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm' --define '_prefix /usr' --define '_tmppath /home/giuseppe/Scrivania/iMX53/source/ltib/ltib/tmp' --define '_rpmdir /home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/RPMS' --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit /home/giuseppe/Scrivania/iMX53/source/ltib/ltib/dist/lfs-5.1/minicom/minicom.spec Building target platforms: arm Building for target arm Executing(%build): /bin/sh -e /home/giuseppe/Scrivania/iMX53/source/ltib/ltib/tmp/rpm-tmp.19194 + umask 022 + cd /home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD + cd minicom-2.2 + ./configure --prefix=/usr --host=arm-linux --build=x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for arm-linux-strip... arm-linux-strip checking for arm-linux-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for AIX... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking for a BSD-compatible install... /usr/bin/install -c checking for arm-linux-ranlib... arm-linux-ranlib checking for library containing strerror... none required checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking build system type... x86_64-unknown-linux-gnu checking host system type... arm-unknown-linux-gnu checking for ld used by GCC... ld checking if the linker (ld) is GNU ld... yes checking for shared library run path origin... /bin/sh: ./config.rpath: No such file or directory done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking whether NLS is requested... yes checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for kermit... no checking for tputs in -ltinfo... no checking for tputs in -lncurses... no checking for tputs in -lcurses... no checking for tputs in -ltermcap... yes checking for socket in -lsocket... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking whether stat file-mode macros are broken... no checking whether time.h and sys/time.h may both be included... yes checking POSIX termios... yes checking whether termios.h defines TIOCGWINSZ... no checking whether sys/ioctl.h defines TIOCGWINSZ... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking termcap.h usability... yes checking termcap.h presence... yes checking for termcap.h... yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sgtty.h usability... yes checking sgtty.h presence... yes checking for sgtty.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking sys/ptem.h usability... no checking sys/ptem.h presence... no checking for sys/ptem.h... no checking for sys/stat.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/ttold.h usability... no checking sys/ttold.h presence... no checking for sys/ttold.h... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for unistd.h... (cached) yes checking posix1_lim.h usability... no checking posix1_lim.h presence... no checking for posix1_lim.h... no checking for sgtty.h... (cached) yes checking features.h usability... yes checking features.h presence... yes checking for features.h... yes checking for an ANSI C-conforming const... yes checking for function prototypes... yes checking for string.h... (cached) yes checking for uid_t in sys/types.h... yes checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking return type of signal handlers... void checking for error_at_line... yes checking whether closedir returns void... yes checking if malloc debugging is wanted... no checking for getcwd... yes checking for getwd... yes checking for memmove... yes checking for strerror... yes checking for strstr... yes checking for vsnprintf... yes checking for vprintf... yes checking for select... yes checking for snprintf... yes checking for usleep... yes checking for getopt... yes checking for getopt_long... yes checking for long file names... yes checking for com line lock directory... /var/lock checking for default serial port device... /dev/ttyS1 checking for default baud rate... 115200 configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating extras/Makefile config.status: creating extras/linux/Makefile config.status: creating extras/tables/Makefile config.status: creating extras/termcap/Makefile config.status: creating extras/terminfo/Makefile config.status: creating man/Makefile config.status: creating lib/Makefile config.status: creating src/Makefile config.status: creating po/Makefile.in config.status: creating minicom.spec config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile + make make all-recursive make[1]: Entering directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2' Making all in doc make[2]: Entering directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/doc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/doc' Making all in extras make[2]: Entering directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/extras' Making all in linux make[3]: Entering directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/extras/linux' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/extras/linux' Making all in tables make[3]: Entering directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/extras/tables' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/extras/tables' Making all in termcap make[3]: Entering directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/extras/termcap' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/extras/termcap' Making all in terminfo make[3]: Entering directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/extras/terminfo' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/extras/terminfo' make[3]: Entering directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/extras' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/extras' make[2]: Leaving directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/extras' Making all in man make[2]: Entering directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/man' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/man' Making all in po make[2]: Entering directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/po' Making all in lib make[2]: Entering directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/lib' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/lib' Making all in src make[2]: Entering directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/src' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -DCONFDIR=\"/usr/etc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -Wall -W -g -O2 -MT minicom.o -MD -MP -MF ".deps/minicom.Tpo" -c -o minicom.o minicom.c; \ then mv -f ".deps/minicom.Tpo" ".deps/minicom.Po"; else rm -f ".deps/minicom.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -DCONFDIR=\"/usr/etc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -Wall -W -g -O2 -MT vt100.o -MD -MP -MF ".deps/vt100.Tpo" -c -o vt100.o vt100.c; \ then mv -f ".deps/vt100.Tpo" ".deps/vt100.Po"; else rm -f ".deps/vt100.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -DCONFDIR=\"/usr/etc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -Wall -W -g -O2 -MT config.o -MD -MP -MF ".deps/config.Tpo" -c -o config.o config.c; \ then mv -f ".deps/config.Tpo" ".deps/config.Po"; else rm -f ".deps/config.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -DCONFDIR=\"/usr/etc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -Wall -W -g -O2 -MT help.o -MD -MP -MF ".deps/help.Tpo" -c -o help.o help.c; \ then mv -f ".deps/help.Tpo" ".deps/help.Po"; else rm -f ".deps/help.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -DCONFDIR=\"/usr/etc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -Wall -W -g -O2 -MT updown.o -MD -MP -MF ".deps/updown.Tpo" -c -o updown.o updown.c; \ then mv -f ".deps/updown.Tpo" ".deps/updown.Po"; else rm -f ".deps/updown.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -DCONFDIR=\"/usr/etc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -Wall -W -g -O2 -MT util.o -MD -MP -MF ".deps/util.Tpo" -c -o util.o util.c; \ then mv -f ".deps/util.Tpo" ".deps/util.Po"; else rm -f ".deps/util.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -DCONFDIR=\"/usr/etc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -Wall -W -g -O2 -MT dial.o -MD -MP -MF ".deps/dial.Tpo" -c -o dial.o dial.c; \ then mv -f ".deps/dial.Tpo" ".deps/dial.Po"; else rm -f ".deps/dial.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -DCONFDIR=\"/usr/etc\" -DLOCALEDIR=\"/usr/share/locale\" -g -O2 -Wall -W -g -O2 -MT window.o -MD -MP -MF ".deps/window.Tpo" -c -o window.o window.c; \ then mv -f ".deps/window.Tpo" ".deps/window.Po"; else rm -f ".deps/window.Tpo"; exit 1; fi In file included from minicom.h:28, from minicom.c:36: window.h:154: error: conflicting types for 'wprintf' /opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.4.4/../../../../arm-fsl-linux-gnueabi/include/bits/wchar2.h:338: note: previous definition of 'wprintf' was here minicom.c:162: error: conflicting types for 'getline' /opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.4.4/../../../../arm-fsl-linux-gnueabi/include/stdio.h:651: note: previous declaration of 'getline' was here minicom.c: In function 'scrollback': minicom.c:464: warning: format not a string literal and no format arguments minicom.c:517: warning: format not a string literal and no format arguments minicom.c:726: warning: format not a string literal and no format arguments minicom.c:746: warning: format not a string literal and no format arguments minicom.c:765: warning: format not a string literal and no format arguments minicom.c: In function 'main': minicom.c:1537: warning: ignoring return value of 'chown', declared with attribute warn_unused_result make[2]: *** [minicom.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from minicom.h:28, from window.c:30: window.h:154: error: conflicting types for 'wprintf' /opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.4.4/../../../../arm-fsl-linux-gnueabi/include/bits/wchar2.h:338: note: previous definition of 'wprintf' was here window.c:1149: error: conflicting types for 'wprintf' /opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.4.4/../../../../arm-fsl-linux-gnueabi/include/bits/wchar2.h:338: note: previous definition of 'wprintf' was here make[2]: *** [window.o] Error 1 help.c:19: warning: '_rcsid' defined but not used util.c:20: warning: '_rcsid' defined but not used updown.c: In function 'mcd': updown.c:53: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result updown.c:57: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result updown.c: In function 'updown': updown.c:247: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result updown.c: In function 'kermit': updown.c:424: warning: ignoring return value of 'chown', declared with attribute warn_unused_result updown.c:426: warning: ignoring return value of 'write', declared with attribute warn_unused_result updown.c: In function 'runscript': updown.c:589: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result updown.c: At top level: updown.c:26: warning: '_rcsid' defined but not used config.c: In function 'doconv': config.c:1751: warning: format not a string literal and no format arguments config.c: In function 'loadconv': config.c:1817: warning: ignoring return value of 'fread', declared with attribute warn_unused_result config.c:1818: warning: ignoring return value of 'fread', declared with attribute warn_unused_result config.c: In function 'saveconv': config.c:1831: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result config.c:1832: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result config.c: At top level: config.c:34: warning: '_rcsid' defined but not used vt100.c: In function 'vt_init': vt100.c:258: warning: pointer targets in assignment differ in signedness vt100.c:259: warning: pointer targets in assignment differ in signedness vt100.c: In function 'state4': vt100.c:833: warning: pointer targets in assignment differ in signedness vt100.c:837: warning: pointer targets in assignment differ in signedness vt100.c: In function 'state5': vt100.c:857: warning: pointer targets in assignment differ in signedness vt100.c:861: warning: pointer targets in assignment differ in signedness vt100.c: In function 'vt_out': vt100.c:1052: warning: pointer targets in passing argument 2 of 'one_mbtowc' differ in signedness minicom.h:171: note: expected 'const char *' but argument is of type 'unsigned char *' vt100.c: At top level: vt100.c:26: warning: '_rcsid' defined but not used dial.c: In function 'mputs': dial.c:208: warning: ignoring return value of 'write', declared with attribute warn_unused_result dial.c: In function 'v4_read': dial.c:707: warning: ignoring return value of 'fread', declared with attribute warn_unused_result dial.c: In function 'v3_read': dial.c:726: warning: ignoring return value of 'fread', declared with attribute warn_unused_result dial.c: In function 'v2_read': dial.c:741: warning: ignoring return value of 'fread', declared with attribute warn_unused_result dial.c: In function 'v1_read': dial.c:757: warning: ignoring return value of 'fread', declared with attribute warn_unused_result dial.c: In function 'readdialdir': dial.c:829: warning: ignoring return value of 'fread', declared with attribute warn_unused_result dial.c: At top level: dial.c:30: warning: '_rcsid' defined but not used make[2]: Leaving directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/giuseppe/Scrivania/iMX53/source/ltib/ltib/rpm/BUILD/minicom-2.2' make: *** [all] Error 2 error: Bad exit status from /home/giuseppe/Scrivania/iMX53/source/ltib/ltib/tmp/rpm-tmp.19194 (%build) RPM build errors: Bad exit status from /home/giuseppe/Scrivania/iMX53/source/ltib/ltib/tmp/rpm-tmp.19194 (%build) Build time for minicom: 13 seconds Failed building minicom f_buildrpms() returned an error, exiting traceback: main:560 Started: Thu Mar 15 13:19:02 2012 Ended: Thu Mar 15 13:19:16 2012 Elapsed: 14 seconds These packages failed to build: minicom Build Failed Exiting on error or interrupt