patching file src/patchelf.cc Applying 0004-patchelf-Check-ELF-endianness-before-writing-new-run.patch using patch: patching file src/patchelf.cc >>> host-patchelf 0.9 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/naourr/work/instance-1/output/build/host-patchelf-0.9 -name $file); do cp support/gnuconfig/$file $i; done; done >>> host-patchelf 0.9 Patching libtool >>> host-patchelf 0.9 Configuring (cd /home/naourr/work/instance-1/output/build/host-patchelf-0.9/ && rm -rf config.cache; PATH="/home/naourr/work/instance-1/output/host/bin:/home/naourr/work/instance-1/output/host/sbin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/naourr/bin:/home/naourr/git/git-wrappers:/home/naourr/.local/bin:/home/naourr/bin" PKG_CONFIG="/home/naourr/work/instance-1/output/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/naourr/work/instance-1/output/host/lib/pkgconfig:/home/naourr/work/instance-1/output/host/share/pkgconfig" AR="/usr/bin/ar" AS="/usr/bin/as" LD="/usr/bin/ld" NM="/usr/bin/nm" CC="/usr/bin/gcc" GCC="/usr/bin/gcc" CXX="/usr/bin/g++" CPP="/usr/bin/cpp" OBJCOPY="/usr/bin/objcopy" RANLIB="/usr/bin/ranlib" CPPFLAGS="-I/home/naourr/work/instance-1/output/host/include" CFLAGS="-O2 -I/home/naourr/work/instance-1/output/host/include" CXXFLAGS="-O2 -I/home/naourr/work/instance-1/output/host/include" LDFLAGS="-L/home/naourr/work/instance-1/output/host/lib -Wl,-rpath,/home/naourr/work/instance-1/output/host/lib" INTLTOOL_PERL=/usr/bin/perl CFLAGS="-O2 -I/home/naourr/work/instance-1/output/host/include" LDFLAGS="-L/home/naourr/work/instance-1/output/host/lib -Wl,-rpath,/home/naourr/work/instance-1/output/host/lib" CONFIG_SITE=/dev/null ./configure --prefix="/home/naourr/work/instance-1/output/host" --sysconfdir="/home/naourr/work/instance-1/output/host/etc" --localstatedir="/home/naourr/work/instance-1/output/host/var" --enable-shared --disable-static --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --disable-debug --with-xmlto=no --with-fop=no --disable-dependency-tracking ) configure: WARNING: unrecognized options: --enable-shared, --disable-static, --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --disable-debug, --with-xmlto, --with-fop checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for gcc... /usr/bin/gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc accepts -g... yes checking for /usr/bin/gcc option to accept ISO C89... none needed checking whether /usr/bin/gcc understands -c and -o together... yes checking dependency style of /usr/bin/gcc... none checking whether we are using the GNU C++ compiler... yes checking whether /usr/bin/g++ accepts -g... yes checking dependency style of /usr/bin/g++... none Setting page size to 4096 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating patchelf.spec config.status: executing depfiles commands configure: WARNING: unrecognized options: --enable-shared, --disable-static, --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --disable-debug, --with-xmlto, --with-fop >>> host-patchelf 0.9 Building PATH="/home/naourr/work/instance-1/output/host/bin:/home/naourr/work/instance-1/output/host/sbin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/naourr/bin:/home/naourr/git/git-wrappers:/home/naourr/.local/bin:/home/naourr/bin" PKG_CONFIG="/home/naourr/work/instance-1/output/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/naourr/work/instance-1/output/host/lib/pkgconfig:/home/naourr/work/instance-1/output/host/share/pkgconfig" /usr/bin/make -j4 -C /home/naourr/work/instance-1/output/build/host-patchelf-0.9/ make[1]: Entering directory '/home/naourr/work/instance-1/output/build/host-patchelf-0.9' Making all in src make[2]: Entering directory '/home/naourr/work/instance-1/output/build/host-patchelf-0.9/src' /usr/bin/g++ -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.9\" -DPACKAGE_STRING=\"patchelf\ 0.9\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.9\" -DPAGESIZE=4096 -I. -I/home/naourr/work/instance-1/output/host/include -Wall -O2 -I/home/naourr/work/instance-1/output/host/include -c -o patchelf.o patchelf.cc /usr/bin/g++ -Wall -O2 -I/home/naourr/work/instance-1/output/host/include -L/home/naourr/work/instance-1/output/host/lib -Wl,-rpath,/home/naourr/work/instance-1/output/host/lib -o patchelf patchelf.o make[2]: Leaving directory '/home/naourr/work/instance-1/output/build/host-patchelf-0.9/src' Making all in tests make[2]: Entering directory '/home/naourr/work/instance-1/output/build/host-patchelf-0.9/tests' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/naourr/work/instance-1/output/build/host-patchelf-0.9/tests' make[2]: Entering directory '/home/naourr/work/instance-1/output/build/host-patchelf-0.9' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/home/naourr/work/instance-1/output/build/host-patchelf-0.9' make[1]: Leaving directory '/home/naourr/work/instance-1/output/build/host-patchelf-0.9' >>> host-patchelf 0.9 Installing to host directory PATH="/home/naourr/work/instance-1/output/host/bin:/home/naourr/work/instance-1/output/host/sbin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/naourr/bin:/home/naourr/git/git-wrappers:/home/naourr/.local/bin:/home/naourr/bin" PKG_CONFIG="/home/naourr/work/instance-1/output/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/naourr/work/instance-1/output/host/lib/pkgconfig:/home/naourr/work/instance-1/output/host/share/pkgconfig" /usr/bin/make -j4 install -C /home/naourr/work/instance-1/output/build/host-patchelf-0.9/ make[1]: Entering directory '/home/naourr/work/instance-1/output/build/host-patchelf-0.9' Making install in src make[2]: Entering directory '/home/naourr/work/instance-1/output/build/host-patchelf-0.9/src' make[3]: Entering directory '/home/naourr/work/instance-1/output/build/host-patchelf-0.9/src' make[3]: Nothing to be done for 'install-data-am'. /usr/bin/mkdir -p '/home/naourr/work/instance-1/output/host/bin' /usr/bin/install -c patchelf '/home/naourr/work/instance-1/output/host/bin' make[3]: Leaving directory '/home/naourr/work/instance-1/output/build/host-patchelf-0.9/src' make[2]: Leaving directory '/home/naourr/work/instance-1/output/build/host-patchelf-0.9/src' Making install in tests make[2]: Entering directory '/home/naourr/work/instance-1/output/build/host-patchelf-0.9/tests' make[3]: Entering directory '/home/naourr/work/instance-1/output/build/host-patchelf-0.9/tests' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/naourr/work/instance-1/output/build/host-patchelf-0.9/tests' make[2]: Leaving directory '/home/naourr/work/instance-1/output/build/host-patchelf-0.9/tests' make[2]: Entering directory '/home/naourr/work/instance-1/output/build/host-patchelf-0.9' make[3]: Entering directory '/home/naourr/work/instance-1/output/build/host-patchelf-0.9' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/home/naourr/work/instance-1/output/host/share/doc/patchelf' /usr/bin/mkdir -p '/home/naourr/work/instance-1/output/host/share/man/man1' /usr/bin/install -c -m 644 README '/home/naourr/work/instance-1/output/host/share/doc/patchelf' /usr/bin/install -c -m 644 patchelf.1 '/home/naourr/work/instance-1/output/host/share/man/man1' make[3]: Leaving directory '/home/naourr/work/instance-1/output/build/host-patchelf-0.9' make[2]: Leaving directory '/home/naourr/work/instance-1/output/build/host-patchelf-0.9' make[1]: Leaving directory '/home/naourr/work/instance-1/output/build/host-patchelf-0.9' setserial_2.17.orig.tar.gz: OK (sha256: 7e4487d320ac31558563424189435d396ddf77953bb23111a17a3d1487b5794a) setserial_2.17-45.3.diff.gz: OK (sha256: 33db87e8a86cf12b7c97efca9e056865e71358e8cfeb3931118b2647ce1eecc6) >>> setserial 2.17 Extracting gzip -d -c /home/naourr/work/instance-1/dl/setserial/setserial_2.17.orig.tar.gz | /home/naourr/work/instance-1/output/host/bin/tar --strip-components=1 -C /home/naourr/work/instance-1/output/build/setserial-2.17 -xf - >>> setserial 2.17 Patching PATH=/home/naourr/work/instance-1/output/host/bin:$PATH support/scripts/apply-patches.sh /home/naourr/work/instance-1/output/build/setserial-2.17 /home/naourr/work/instance-1/dl/setserial setserial_2.17-45.3.diff.gz Applying setserial_2.17-45.3.diff.gz using gzip: patching file debian/compat patching file debian/changelog patching file debian/dirs patching file debian/postrm patching file debian/control patching file debian/copyright patching file debian/templates patching file debian/config patching file debian/setserial.modutils patching file debian/rules patching file debian/postinst patching file debian/README.Debian patching file debian/po/fr.po patching file debian/po/pt_BR.po patching file debian/po/templates.pot patching file debian/po/gl.po patching file debian/po/vi.po patching file debian/po/fi.po patching file debian/po/pl.po patching file debian/po/ru.po patching file debian/po/ja.po patching file debian/po/sv.po patching file debian/po/POTFILES.in patching file debian/po/pt.po patching file debian/po/de.po patching file debian/po/eu.po patching file debian/po/tr.po patching file debian/po/da.po patching file debian/po/nl.po patching file debian/po/cs.po patching file debian/po/es.po patching file debian/patch/setserial.8.diff patching file debian/patch/setserial_16C950-2.diff patching file debian/patch/rc-tail-fix.patch patching file debian/patches/07_pcmcia_var_run_stab.dpatch patching file debian/patches/18_setserial_c.dpatch patching file debian/patches/14_safety_h.dpatch patching file debian/patches/19_version_h.dpatch patching file debian/patches/17_setserial_8_in.dpatch patching file debian/patches/16_serial_conf_sparc.dpatch patching file debian/patches/00list patching file debian/patches/05_pcmcia_cardctl.dpatch patching file debian/patches/15_serial_conf.dpatch patching file debian/patches/09_pcmcia_repair.dpatch patching file debian/patches/01_makefile.dpatch patching file debian/patches/13_rc_serial_upstream.dpatch patching file debian/patches/08_pcmcia_c.dpatch patching file debian/patches/10_rc_etc_setserial.dpatch patching file debian/patches/12_rc_serial_m68k.dpatch patching file debian/patches/06_pcmcia_cardctl_out.dpatch patching file debian/patches/11_rc_serial.dpatch patching file debian/patches/04_pcmcia_readme.dpatch Applying 0001-build-system-fix.patch using patch: patching file Makefile.in Applying 0002-tiocghayesesp-build-fix.patch using patch: patching file setserial.c # Touching gorhack.h is needed for the Debian patch 18 to work if [ -d /home/naourr/work/instance-1/output/build/setserial-2.17/debian/patches ]; then touch /home/naourr/work/instance-1/output/build/setserial-2.17/gorhack.h; rm /home/naourr/work/instance-1/output/build/setserial-2.17/debian/patches/01_makefile.dpatch; PATH=/home/naourr/work/instance-1/output/host/bin:$PATH support/scripts/apply-patches.sh /home/naourr/work/instance-1/output/build/setserial-2.17 /home/naourr/work/instance-1/output/build/setserial-2.17/debian/patches *.dpatch; fi Unsupported file type for /home/naourr/work/instance-1/output/build/setserial-2.17/debian/patches/04_pcmcia_readme.dpatch, skipping Unsupported file type for /home/naourr/work/instance-1/output/build/setserial-2.17/debian/patches/05_pcmcia_cardctl.dpatch, skipping Unsupported file type for /home/naourr/work/instance-1/output/build/setserial-2.17/debian/patches/06_pcmcia_cardctl_out.dpatch, skipping Unsupported file type for /home/naourr/work/instance-1/output/build/setserial-2.17/debian/patches/07_pcmcia_var_run_stab.dpatch, skipping Unsupported file type for /home/naourr/work/instance-1/output/build/setserial-2.17/debian/patches/08_pcmcia_c.dpatch, skipping Unsupported file type for /home/naourr/work/instance-1/output/build/setserial-2.17/debian/patches/09_pcmcia_repair.dpatch, skipping Unsupported file type for /home/naourr/work/instance-1/output/build/setserial-2.17/debian/patches/10_rc_etc_setserial.dpatch, skipping Unsupported file type for /home/naourr/work/instance-1/output/build/setserial-2.17/debian/patches/11_rc_serial.dpatch, skipping Unsupported file type for /home/naourr/work/instance-1/output/build/setserial-2.17/debian/patches/12_rc_serial_m68k.dpatch, skipping Unsupported file type for /home/naourr/work/instance-1/output/build/setserial-2.17/debian/patches/13_rc_serial_upstream.dpatch, skipping Unsupported file type for /home/naourr/work/instance-1/output/build/setserial-2.17/debian/patches/14_safety_h.dpatch, skipping Unsupported file type for /home/naourr/work/instance-1/output/build/setserial-2.17/debian/patches/15_serial_conf.dpatch, skipping Unsupported file type for /home/naourr/work/instance-1/output/build/setserial-2.17/debian/patches/16_serial_conf_sparc.dpatch, skipping Unsupported file type for /home/naourr/work/instance-1/output/build/setserial-2.17/debian/patches/17_setserial_8_in.dpatch, skipping Unsupported file type for /home/naourr/work/instance-1/output/build/setserial-2.17/debian/patches/18_setserial_c.dpatch, skipping Unsupported file type for /home/naourr/work/instance-1/output/build/setserial-2.17/debian/patches/19_version_h.dpatch, skipping >>> setserial 2.17 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/naourr/work/instance-1/output/build/setserial-2.17 -name $file); do cp support/gnuconfig/$file $i; done; done >>> setserial 2.17 Patching libtool >>> setserial 2.17 Configuring (cd /home/naourr/work/instance-1/output/build/setserial-2.17/ && rm -rf config.cache && PATH="/home/naourr/work/instance-1/output/host/bin:/home/naourr/work/instance-1/output/host/sbin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/naourr/bin:/home/naourr/git/git-wrappers:/home/naourr/.local/bin:/home/naourr/bin" AR="/home/naourr/work/instance-1/output/host/bin/nios2-linux-ar" AS="/home/naourr/work/instance-1/output/host/bin/nios2-linux-as" LD="/home/naourr/work/instance-1/output/host/bin/nios2-linux-ld" NM="/home/naourr/work/instance-1/output/host/bin/nios2-linux-nm" CC="/home/naourr/work/instance-1/output/host/bin/nios2-linux-gcc" GCC="/home/naourr/work/instance-1/output/host/bin/nios2-linux-gcc" CPP="/home/naourr/work/instance-1/output/host/bin/nios2-linux-cpp" CXX="/home/naourr/work/instance-1/output/host/bin/nios2-linux-g++" FC="/home/naourr/work/instance-1/output/host/bin/nios2-linux-gfortran" F77="/home/naourr/work/instance-1/output/host/bin/nios2-linux-gfortran" RANLIB="/home/naourr/work/instance-1/output/host/bin/nios2-linux-ranlib" READELF="/home/naourr/work/instance-1/output/host/bin/nios2-linux-readelf" STRIP="/home/naourr/work/instance-1/output/host/bin/nios2-linux-strip" OBJCOPY="/home/naourr/work/instance-1/output/host/bin/nios2-linux-objcopy" OBJDUMP="/home/naourr/work/instance-1/output/host/bin/nios2-linux-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/naourr/work/instance-1/output/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/naourr/work/instance-1/output/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/naourr/work/instance-1/output/host/include" LDFLAGS_FOR_BUILD="-L/home/naourr/work/instance-1/output/host/lib -Wl,-rpath,/home/naourr/work/instance-1/output/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/naourr/work/instance-1/output/host/bin/nios2-linux-as" DEFAULT_LINKER="/home/naourr/work/instance-1/output/host/bin/nios2-linux-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " LDFLAGS="" FCFLAGS=" -Os " FFLAGS=" -Os " PKG_CONFIG="/home/naourr/work/instance-1/output/host/bin/pkg-config" STAGING_DIR="/home/naourr/work/instance-1/output/host/nios2-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no CONFIG_SITE=/dev/null ./configure --target=nios2-buildroot-linux-gnu --host=nios2-buildroot-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared ) loading site script /dev/null creating cache ./config.cache Generating configuration file for setserial version 2.17 Release date is January, 2000 checking for gcc... /home/naourr/work/instance-1/output/host/bin/nios2-linux-gcc checking whether the C compiler (/home/naourr/work/instance-1/output/host/bin/nios2-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ) works... yes checking whether the C compiler (/home/naourr/work/instance-1/output/host/bin/nios2-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ) is a cross-compiler... yes checking whether we are using GNU C... yes checking whether /home/naourr/work/instance-1/output/host/bin/nios2-linux-gcc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking host system type... nios2-buildroot-linux-gnu checking build system type... x86_64-pc-linux-gnu checking for nios2-buildroot-linux-gnu-strip... /home/naourr/work/instance-1/output/host/bin/nios2-linux-strip checking how to run the C preprocessor... /home/naourr/work/instance-1/output/host/bin/nios2-linux-cpp checking for asm/ioctls.h... yes checking for linux/hayesesp.h... no updating cache ./config.cache creating ./config.status creating setserial.8 creating Makefile >>> setserial 2.17 Building PATH="/home/naourr/work/instance-1/output/host/bin:/home/naourr/work/instance-1/output/host/sbin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/naourr/bin:/home/naourr/git/git-wrappers:/home/naourr/.local/bin:/home/naourr/bin" /usr/bin/make -j4 setserial -C /home/naourr/work/instance-1/output/build/setserial-2.17/ make[1]: Entering directory '/home/naourr/work/instance-1/output/build/setserial-2.17' /home/naourr/work/instance-1/output/host/bin/nios2-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DHAVE_ASM_IOCTLS_H=1 -I. setserial.c -o setserial setserial.c: In function 'print_multiport': setserial.c:211:6: warning: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration] if (ioctl(fd, TIOCSERGETMULTI, &multi) < 0) ^~~~~ setserial.c: In function 'get_multiport': setserial.c:254:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ setserial.c:254:3: warning: incompatible implicit declaration of built-in function 'exit' setserial.c:254:3: note: include '' or provide a declaration of 'exit' setserial.c: In function 'set_multiport': setserial.c:276:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:276:3: note: include '' or provide a declaration of 'exit' setserial.c:286:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:286:4: note: include '' or provide a declaration of 'exit' setserial.c:343:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:343:3: note: include '' or provide a declaration of 'exit' setserial.c:347:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:347:3: note: include '' or provide a declaration of 'exit' setserial.c: In function 'get_serial': setserial.c:433:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(fd); ^~~~~ setserial.c: In function 'set_serial': setserial.c:493:4: warning: incompatible implicit declaration of built-in function 'exit' exit(201); ^~~~ setserial.c:493:4: note: include '' or provide a declaration of 'exit' setserial.c:495:3: warning: incompatible implicit declaration of built-in function 'exit' exit(201); ^~~~ setserial.c:495:3: note: include '' or provide a declaration of 'exit' setserial.c:499:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:499:3: note: include '' or provide a declaration of 'exit' setserial.c:517:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:517:4: note: include '' or provide a declaration of 'exit' setserial.c:521:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:521:4: note: include '' or provide a declaration of 'exit' setserial.c:525:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:525:4: note: include '' or provide a declaration of 'exit' setserial.c:546:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:546:5: note: include '' or provide a declaration of 'exit' setserial.c:576:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:576:5: note: include '' or provide a declaration of 'exit' setserial.c:580:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:580:5: note: include '' or provide a declaration of 'exit' setserial.c:584:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:584:5: note: include '' or provide a declaration of 'exit' setserial.c:590:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:590:5: note: include '' or provide a declaration of 'exit' setserial.c:597:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:597:5: note: include '' or provide a declaration of 'exit' setserial.c:613:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:613:4: note: include '' or provide a declaration of 'exit' setserial.c:618:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:618:3: note: include '' or provide a declaration of 'exit' setserial.c: In function 'do_wild_intr': setserial.c:633:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:633:3: note: include '' or provide a declaration of 'exit' setserial.c:637:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:637:3: note: include '' or provide a declaration of 'exit' setserial.c:641:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:641:3: note: include '' or provide a declaration of 'exit' setserial.c: In function 'usage': setserial.c:719:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:719:2: note: include '' or provide a declaration of 'exit' setserial.c: At top level: setserial.c:722:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc, char **argv) ^~~~ setserial.c: In function 'main': setserial.c:732:14: warning: implicit declaration of function 'getopt' [-Wimplicit-function-declaration] while ((c = getopt(argc, argv, "abgGqvVWz")) != EOF) { ^~~~~~ setserial.c:754:4: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ setserial.c:754:4: note: include '' or provide a declaration of 'exit' setserial.c:769:3: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ setserial.c:769:3: note: include '' or provide a declaration of 'exit' setserial.c:775:3: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ setserial.c:775:3: note: include '' or provide a declaration of 'exit' setserial.c:781:2: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ setserial.c:781:2: note: include '' or provide a declaration of 'exit' make[1]: Leaving directory '/home/naourr/work/instance-1/output/build/setserial-2.17' >>> setserial 2.17 Installing to target PATH="/home/naourr/work/instance-1/output/host/bin:/home/naourr/work/instance-1/output/host/sbin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/naourr/bin:/home/naourr/git/git-wrappers:/home/naourr/.local/bin:/home/naourr/bin" /usr/bin/make -j4 DESTDIR=/home/naourr/work/instance-1/output/target install -C /home/naourr/work/instance-1/output/build/setserial-2.17/ make[1]: Entering directory '/home/naourr/work/instance-1/output/build/setserial-2.17' mkdir -p /home/naourr/work/instance-1/output/target/usr/bin /usr/bin/install -c setserial /home/naourr/work/instance-1/output/target/usr/bin mkdir -p /home/naourr/work/instance-1/output/target/usr/share/man/man8 /usr/bin/install -c -m 644 setserial.8 /home/naourr/work/instance-1/output/target/usr/share/man/man8 make[1]: Leaving directory '/home/naourr/work/instance-1/output/build/setserial-2.17' >>> Finalizing target directory # Check files that are touched by more than one package ./support/scripts/check-uniq-files -t target /home/naourr/work/instance-1/output/build/packages-file-list.txt Warning: target file "./usr/sbin/partprobe" is touched by more than one package: [u'busybox', u'parted'] Warning: target file "./usr/share/info/dir" is touched by more than one package: [u'gnuchess', u'parted'] ./support/scripts/check-uniq-files -t staging /home/naourr/work/instance-1/output/build/packages-file-list-staging.txt Warning: staging file "./usr/lib/libpng.la" is touched by more than one package: [u'libpng', u'gd', u'libpcap', u'util-linux', u'flex', u'libmad', u'openldap', u'nss-pam-ldapd', u'parted'] Warning: staging file "./usr/lib/libuuid.la" is touched by more than one package: [u'util-linux', u'flex', u'libmad', u'openldap', u'nss-pam-ldapd', u'parted'] Warning: staging file "./usr/lib32" is touched by more than one package: [u'skeleton-init-common', u'toolchain-external-custom'] Warning: staging file "./usr/lib/libldap.la" is touched by more than one package: [u'openldap', u'nss-pam-ldapd', u'parted'] Warning: staging file "./usr/lib/libldap_r.la" is touched by more than one package: [u'openldap', u'nss-pam-ldapd', u'parted'] Warning: staging file "./usr/lib/libfl.la" is touched by more than one package: [u'flex', u'libmad', u'openldap', u'nss-pam-ldapd', u'parted'] Warning: staging file "./usr/lib/libmad.la" is touched by more than one package: [u'libmad', u'openldap', u'nss-pam-ldapd', u'parted'] Warning: staging file "./usr/lib/libpng16.la" is touched by more than one package: [u'libpng', u'gd', u'libpcap', u'util-linux', u'flex', u'libmad', u'openldap', u'nss-pam-ldapd', u'parted'] Warning: staging file "./etc/mtab" is touched by more than one package: [u'skeleton-init-common', u'toolchain-external-custom'] Warning: staging file "./usr/lib/libgd.la" is touched by more than one package: [u'gd', u'libpcap', u'util-linux', u'flex', u'libmad', u'openldap', u'nss-pam-ldapd', u'parted'] Warning: staging file "./usr/lib/liblber.la" is touched by more than one package: [u'openldap', u'nss-pam-ldapd', u'parted'] Warning: staging file "./etc/resolv.conf" is touched by more than one package: [u'skeleton-init-common', u'toolchain-external-custom'] ./support/scripts/check-uniq-files -t host /home/naourr/work/instance-1/output/build/packages-file-list-host.txt Warning: host file "./share/info/dir" is touched by more than one package: [u'host-tar', u'host-lzip', u'host-m4', u'host-libtool', u'host-autoconf', u'host-automake', u'host-bison', u'host-gettext'] Warning: host file "./nios2-buildroot-linux-gnu/sysroot/usr/lib/libmad.la" is touched by more than one package: [u'host-opkg-utils', u'host-patchelf'] Warning: host file "./nios2-buildroot-linux-gnu/sysroot/usr/lib/libfl.la" is touched by more than one package: [u'host-opkg-utils', u'host-patchelf'] Warning: host file "./nios2-buildroot-linux-gnu/sysroot/usr/lib/libldap.la" is touched by more than one package: [u'host-opkg-utils', u'host-patchelf'] Warning: host file "./nios2-buildroot-linux-gnu/sysroot/usr/lib/libldap_r.la" is touched by more than one package: [u'host-opkg-utils', u'host-patchelf'] Warning: host file "./nios2-buildroot-linux-gnu/sysroot/usr/lib/libpng.la" is touched by more than one package: [u'host-m4', u'host-opkg-utils', u'host-patchelf'] Warning: host file "./nios2-buildroot-linux-gnu/sysroot/usr/lib/liblber.la" is touched by more than one package: [u'host-opkg-utils', u'host-patchelf'] Warning: host file "./nios2-buildroot-linux-gnu/sysroot/usr/lib/libpng16.la" is touched by more than one package: [u'host-m4', u'host-opkg-utils', u'host-patchelf'] Warning: host file "./nios2-buildroot-linux-gnu/sysroot/usr/lib/libuuid.la" is touched by more than one package: [u'host-opkg-utils', u'host-patchelf'] Warning: host file "./nios2-buildroot-linux-gnu/sysroot/usr/lib/libgd.la" is touched by more than one package: [u'host-m4', u'host-opkg-utils', u'host-patchelf'] /usr/bin/sed -i -e '/# GENERIC_SERIAL$/s~^.*#~console::respawn:/sbin/getty -L console 0 vt100 #~' /home/naourr/work/instance-1/output/target/etc/inittab /usr/bin/sed -i -e '/^#.*-o remount,rw \/$/s~^#\+~~' /home/naourr/work/instance-1/output/target/etc/inittab if grep -q CONFIG_ASH=y ./.config; then grep -qsE '^/bin/ash$' /home/naourr/work/instance-1/output/target/etc/shells || echo "/bin/ash" >> /home/naourr/work/instance-1/output/target/etc/shells; fi grep: ./.config: No such file or directory if grep -q CONFIG_HUSH=y ./.config; then grep -qsE '^/bin/hush$' /home/naourr/work/instance-1/output/target/etc/shells || echo "/bin/hush" >> /home/naourr/work/instance-1/output/target/etc/shells; fi grep: ./.config: No such file or directory mkdir -p /home/naourr/work/instance-1/output/host/etc/meson sed -e "s%@TARGET_CROSS@%/home/naourr/work/instance-1/output/host/bin/nios2-linux-%g" -e "s%@TARGET_ARCH@%nios2%g" -e "s%@TARGET_CPU@%%g" -e "s%@TARGET_ENDIAN@%"little"%g" -e "s%@TARGET_CFLAGS@%`printf '"%s", ' -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os `%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%`printf '"%s", ' -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os `%g" -e "s%@HOST_DIR@%/home/naourr/work/instance-1/output/host%g" package/meson//cross-compilation.conf.in > /home/naourr/work/instance-1/output/host/etc/meson/cross-compilation.conf mkdir -p /home/naourr/work/instance-1/output/target/etc echo "buildroot" > /home/naourr/work/instance-1/output/target/etc/hostname /usr/bin/sed -i -e '$a \127.0.1.1\tbuildroot' -e '/^127.0.1.1/d' /home/naourr/work/instance-1/output/target/etc/hosts mkdir -p /home/naourr/work/instance-1/output/target/etc echo "Welcome to Buildroot" > /home/naourr/work/instance-1/output/target/etc/issue /usr/bin/sed -i -e s,^root:[^:]*:,root::, /home/naourr/work/instance-1/output/target/etc/shadow rm -f /home/naourr/work/instance-1/output/target/bin/sh rm -f /home/naourr/work/instance-1/output/build/locales.nopurge for i in C en_US locale-archive; do echo $i >> /home/naourr/work/instance-1/output/build/locales.nopurge; done for dir in ; do for langdir in $dir/*; do if [ -e "${langdir}" ]; then grep -qx "${langdir##*/}" /home/naourr/work/instance-1/output/build/locales.nopurge || rm -rf $langdir; fi done; done if [ -d /home/naourr/work/instance-1/output/target/usr/share/X11/locale ]; then for lang in C en_US; do if [ -f /home/naourr/work/instance-1/output/target/usr/share/X11/locale/$lang/XLC_LOCALE ]; then echo "$lang/XLC_LOCALE: $lang"; fi done > /home/naourr/work/instance-1/output/target/usr/share/X11/locale/locale.dir; fi rm -rf /home/naourr/work/instance-1/output/target/usr/include /home/naourr/work/instance-1/output/target/usr/share/aclocal \ /home/naourr/work/instance-1/output/target/usr/lib/pkgconfig /home/naourr/work/instance-1/output/target/usr/share/pkgconfig \ /home/naourr/work/instance-1/output/target/usr/lib/cmake /home/naourr/work/instance-1/output/target/usr/share/cmake find /home/naourr/work/instance-1/output/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f find /home/naourr/work/instance-1/output/target/lib/ /home/naourr/work/instance-1/output/target/usr/lib/ /home/naourr/work/instance-1/output/target/usr/libexec/ \ \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f find: '/home/naourr/work/instance-1/output/target/usr/libexec/': No such file or directory rm -rf /home/naourr/work/instance-1/output/target/usr/share/gdb rm -rf /home/naourr/work/instance-1/output/target/usr/share/bash-completion rm -rf /home/naourr/work/instance-1/output/target/usr/share/zsh rm -rf /home/naourr/work/instance-1/output/target/usr/man /home/naourr/work/instance-1/output/target/usr/share/man rm -rf /home/naourr/work/instance-1/output/target/usr/info /home/naourr/work/instance-1/output/target/usr/share/info rm -rf /home/naourr/work/instance-1/output/target/usr/doc /home/naourr/work/instance-1/output/target/usr/share/doc rm -rf /home/naourr/work/instance-1/output/target/usr/share/gtk-doc rmdir /home/naourr/work/instance-1/output/target/usr/share 2>/dev/null || true find /home/naourr/work/instance-1/output/target -type f \( -perm /111 -o -name '*.so*' \) -not \( -name 'libpthread*.so*' -o -name 'ld-*.so*' -o -name '*.ko' \) -print0 | xargs -0 /home/naourr/work/instance-1/output/host/bin/nios2-linux-strip --remove-section=.comment --remove-section=.note 2>/dev/null || true find /home/naourr/work/instance-1/output/target \( -name 'ld-*.so*' -o -name 'libpthread*.so*' \) -print0 | xargs -0 -r /home/naourr/work/instance-1/output/host/bin/nios2-linux-strip --remove-section=.comment --remove-section=.note --strip-debug 2>/dev/null || true test -f /home/naourr/work/instance-1/output/target/etc/ld.so.conf && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf file"; exit 1; } || true test -d /home/naourr/work/instance-1/output/target/etc/ld.so.conf.d && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf.d directory"; exit 1; } || true mkdir -p /home/naourr/work/instance-1/output/target/etc ( \ echo "NAME=Buildroot"; \ echo "VERSION=2019.02-rc1-00046-g0cf6c82fc6"; \ echo "ID=buildroot"; \ echo "VERSION_ID=2019.02-rc1"; \ echo "PRETTY_NAME=\"Buildroot 2019.02-rc1\"" \ ) > /home/naourr/work/instance-1/output/target/usr/lib/os-release ln -sf ../usr/lib/os-release /home/naourr/work/instance-1/output/target/etc >>> Sanitizing RPATH in target tree /home/naourr/work/instance-1/buildroot/support/scripts/fix-rpath target touch /home/naourr/work/instance-1/output/target/usr make: Leaving directory '/home/naourr/work/instance-1/buildroot' make: Entering directory '/home/naourr/work/instance-1/buildroot' >>> Buildroot 2019.02-rc1-00046-g0cf6c82fc6 Collecting legal info COPYING: OK (sha256: 9755181e27175cb3510b4da8629caa406fb355a19aa8e7d55f06bf8ab33323c4) >>> toolchain-external Collecting legal info >>> host-lzip 1.20 Collecting legal info COPYING: OK (sha256: 3d77c1a58fbde5ddba612d1fe09965e20a3804953eca12e8c1892298bb8a5eef) >>> host-skeleton Collecting legal info >>> host-tar 1.29 Collecting legal info ERROR: No hash found for COPYING >>> skeleton Collecting legal info >>> skeleton-init-sysv Collecting legal info >>> skeleton-init-common Collecting legal info >>> toolchain-external-custom Collecting legal info >>> toolchain Collecting legal info >>> bandwidthd v2.0.1-auto-r11 Collecting legal info >>> gd 2.2.5 Collecting legal info COPYING: OK (sha256: d02dae2141d49b8a6b09b2b73e68a8f17d7bbeaaf02b3b841ee11fea2d9e328d) >>> host-pkgconf 1.5.3 Collecting legal info ERROR: No hash found for COPYING >>> libpng 1.6.36 Collecting legal info LICENSE: OK (sha256: 142da07fb4b0cceb861b2e69fe7e5b602f25ec7adc85b0a426133d9ee0d2e116) >>> zlib Collecting legal info >>> libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> host-autoconf 2.69 Collecting legal info ERROR: No hash found for COPYINGv3 ERROR: No hash found for COPYING.EXCEPTION >>> host-libtool 2.4.6 Collecting legal info COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) ERROR: No hash found for libltdl/COPYING.LIB >>> host-m4 1.4.18 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-automake 1.15.1 Collecting legal info COPYING: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) >>> libpcap 1.9.0 Collecting legal info LICENSE: OK (sha256: 8a54594d257e14a5260ac770f1633516cb51e3fc28c40136ce2697014eda7afd) >>> host-bison 3.0.4 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-flex 2.6.4 Collecting legal info COPYING: OK (sha256: 97fd685958d93be7f8dab939bb8161dbd6afb0718c63bfc337c24321aea44273) >>> host-gettext 0.19.8.1 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) ERROR: No hash found for gettext-runtime/intl/COPYING.LIB >>> host-libxml2 2.9.9 Collecting legal info COPYING: OK (sha256: c5c63674f8a83c4d2e385d96d1c670a03cb871ba2927755467017317878574bd) >>> busybox 1.29.3 Collecting legal info LICENSE: OK (sha256: bbfc9843646d483c334664f651c208b9839626891d8f17604db2146962f43548) >>> util-linux 2.33 Collecting legal info README.licensing: OK (sha256: 4335620e8f478ee4dc4d26540448d39469091ef1d8e3fbbbb8bf753206ceac74) Documentation/licenses/COPYING.BSD-3-Clause: OK (sha256: 9b718a9460fed5952466421235bc79eb49d4e9eacc920d7a9dd6285ab8fd6c6d) Documentation/licenses/COPYING.BSD-4-Clause-UC: OK (sha256: ba7640f00d93e72e92b94b9d71f25ec53bac2f1682f5c4adcccb0018359f60f8) Documentation/licenses/COPYING.GPL-2.0-or-later: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) Documentation/licenses/COPYING.ISC: OK (sha256: e53348ce276358e9997014071c5294b36a18c4b34f32f00ee57b9acce0aafd63) Documentation/licenses/COPYING.LGPL-2.1-or-later: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> flex 2.6.4 Collecting legal info COPYING: OK (sha256: 97fd685958d93be7f8dab939bb8161dbd6afb0718c63bfc337c24321aea44273) >>> gnuchess 6.2.5 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> initscripts Collecting legal info >>> iozone 3_483 Collecting legal info >>> libmad 0.15.1b Collecting legal info COPYING: OK (sha256: 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670) >>> logsurfer 1.8 Collecting legal info >>> nss-pam-ldapd 0.9.8 Collecting legal info ERROR: No hash found for COPYING >>> openldap 2.4.46 Collecting legal info LICENSE: OK (sha256: 310fe25c858a9515fc8c8d7d1f24a67c9496f84a91e0a0e41ea9975b1371e569) >>> host-opkg-utils 0.3.4 Collecting legal info ERROR: No hash found for COPYING >>> parted 3.2 Collecting legal info ERROR: No hash found for COPYING >>> host-patchelf 0.9 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> setserial 2.17 Collecting legal info ERROR: No hash found for debian/copyright WARNING: the Buildroot source code has not been saved WARNING: toolchain-external-custom: cannot save license (TOOLCHAIN_EXTERNAL_CUSTOM_LICENSE_FILES not defined) WARNING: bandwidthd-v2.0.1-auto-r11: cannot save license (BANDWIDTHD_LICENSE_FILES not defined) WARNING: iozone-3_483: cannot save license (IOZONE_LICENSE_FILES not defined) WARNING: logsurfer-1.8: cannot save license (LOGSURFER_LICENSE_FILES not defined) Legal info produced in /home/naourr/work/instance-1/output/legal-info make: Leaving directory '/home/naourr/work/instance-1/buildroot'