Modify

Opened 3 years ago

Last modified 3 years ago

#18438 new defect

trunk rev 43421, package minicom breaks build with compile error

Reported by: mgondium@… Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: Cc:

Description

(...)
make[3]: Entering directory '/media/STORE_EXT4/openwrt_trunk_x86/openwrt/feeds/packages/utils/minicom'

(cd /media/STORE_EXT4/openwrt_trunk_x86/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/minicom-2.7; rm -f aclocal.m4; if [ -f ./configure.ac ]
[ -f ./configure.in ]; then [ -d ./autom4te.cache ] && rm -rf autom4te.cache; [ -e ./config.rpath ] ln -s /media/STORE_EXT4/openwrt_trunk_x86/openwrt/scripts/config.rpath ./config.rpath; touch NEWS AUTHORS COPYING ABOUT-NLS ChangeLog; AUTOM4TE=/media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/host/bin/autom4te AUTOCONF=/media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/host/bin/autoconf AUTOMAKE=/media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/host/bin/automake ACLOCAL=/media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/host/bin/aclocal AUTOHEADER=/media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/host/bin/autoheader LIBTOOLIZE=/media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/host/bin/libtoolize LIBTOOL=/media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/host/bin/libtool M4=/media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/host/bin/m4 AUTOPOINT=true /media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/host/bin/autoreconf -v -f -i -s -B /media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/host/share/aclocal -I /media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/host/share/aclocal -I /media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/share/aclocal -I m4 -I . . true; fi; );

autoreconf: Entering directory `.'
autoreconf: running: true --force
autoreconf: running: /media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/host/bin/aclocal -I /media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/host/share/aclocal -I /media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/share/aclocal -I m4 -I . --force -I m4
main::scan_file() called too early to check prototype at /media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/host/bin/aclocal.real line 650.
configure.in:25: warning: macro `AM_ICONV_LINK' not found in library
configure.in:123: warning: macro `AM_GNU_GETTEXT' not found in library
configure.in:124: warning: macro `AM_GNU_GETTEXT_VERSION' not found in library
configure.in:17: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:436: AC_AIX is expanded from...
configure.in:17: the top level
autoreconf: configure.in: tracing
configure.in:17: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:436: AC_AIX is expanded from...
configure.in:17: the top level
autoreconf: configure.in: AM_GNU_GETTEXT_VERSION is used, but not AM_GNU_GETTEXT
autoreconf: configure.in: not using Libtool
autoreconf: running: /media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/host/bin/autoconf --include=/media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/host/share/aclocal --include=/media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/share/aclocal --include=m4 --include=. --prepend-include=/media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/host/share/aclocal --force
configure.in:17: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:436: AC_AIX is expanded from...
configure.in:17: the top level
configure.in:25: error: possibly undefined macro: AM_ICONV_LINK

If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.

configure.in:123: error: possibly undefined macro: AM_GNU_GETTEXT
configure.in:124: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
autoreconf: /media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/host/bin/autoconf failed with exit status: 1
(cd /media/STORE_EXT4/openwrt_trunk_x86/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/minicom-2.7/./; if [ -x ./configure ]; then /usr/bin/find /media/STORE_EXT4/openwrt_trunk_x86/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/minicom-2.7/ -name config.guess | xargs -r chmod u+w; /usr/bin/find /media/STORE_EXT4/openwrt_trunk_x86/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/minicom-2.7/ -name config.guess | xargs -r -n1 cp --remove-destination /media/STORE_EXT4/openwrt_trunk_x86/openwrt/scripts/config.guess; /usr/bin/find /media/STORE_EXT4/openwrt_trunk_x86/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/minicom-2.7/ -name config.sub | xargs -r chmod u+w; /usr/bin/find /media/STORE_EXT4/openwrt_trunk_x86/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/minicom-2.7/ -name config.sub | xargs -r -n1 cp --remove-destination /media/STORE_EXT4/openwrt_trunk_x86/openwrt/scripts/config.sub; AR=mips-openwrt-linux-uclibc-ar AS="mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float" LD=mips-openwrt-linux-uclibc-ld NM=mips-openwrt-linux-uclibc-nm CC="mips-openwrt-linux-uclibc-gcc" GCC="mips-openwrt-linux-uclibc-gcc" CXX="mips-openwrt-linux-uclibc-g++" RANLIB=mips-openwrt-linux-uclibc-ranlib STRIP=mips-openwrt-linux-uclibc-strip OBJCOPY=mips-openwrt-linux-uclibc-objcopy OBJDUMP=mips-openwrt-linux-uclibc-objdump SIZE=mips-openwrt-linux-uclibc-size CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 " CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 " CPPFLAGS="-I/media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include " LDFLAGS="-L/media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib " ./configure --target=mips-openwrt-linux --host=mips-openwrt-linux --build=i586-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls ; fi; )
configure: WARNING: unrecognized options: --disable-nls
configure: loading site script /media/STORE_EXT4/openwrt_trunk_x86/openwrt/include/site/mips-openwrt-linux-uclibc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mips-openwrt-linux-strip... mips-openwrt-linux-uclibc-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for mips-openwrt-linux-gcc... mips-openwrt-linux-uclibc-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... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether mips-openwrt-linux-uclibc-gcc accepts -g... yes
checking for mips-openwrt-linux-uclibc-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of mips-openwrt-linux-uclibc-gcc... gcc3
checking for mips-openwrt-linux-ar... mips-openwrt-linux-uclibc-ar
checking the archiver (mips-openwrt-linux-uclibc-ar) interface... ar
checking how to run the C preprocessor... mips-openwrt-linux-uclibc-gcc -E
checking for grep that handles long lines and -e... /media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/host/bin/grep
checking for egrep... /media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/host/bin/grep -E
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 whether it is safe to define EXTENSIONS... yes
checking for mips-openwrt-linux-ranlib... mips-openwrt-linux-uclibc-ranlib
checking for library containing strerror... none required
./configure: line 4503: AM_ICONV_LINK: command not found
checking pkg-config is at least version 0.9.0... yes
checking for LOCKDEV... no
./configure: line 4815: syntax error near unexpected token `external'
./configure: line 4815: `AM_GNU_GETTEXT(external)'
Makefile:45: recipe for target '/media/STORE_EXT4/openwrt_trunk_x86/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/minicom-2.7/.configured_' failed
make[3]: * /media/STORE_EXT4/openwrt_trunk_x86/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/minicom-2.7/.configured_ Error 2
make[3]: Leaving directory '/media/STORE_EXT4/openwrt_trunk_x86/openwrt/feeds/packages/utils/minicom'
package/Makefile:174: recipe for target 'package/feeds/packages/minicom/compile' failed
make[2]:
* [package/feeds/packages/minicom/compile] Error 2
make[2]: Leaving directory '/media/STORE_EXT4/openwrt_trunk_x86/openwrt'
package/Makefile:171: recipe for target '/media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.package_compile' failed
make[1]: * /media/STORE_EXT4/openwrt_trunk_x86/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.package_compile Error 2
make[1]: Leaving directory '/media/STORE_EXT4/openwrt_trunk_x86/openwrt'
/media/STORE_EXT4/openwrt_trunk_x86/openwrt/include/toplevel.mk:173: recipe for target 'world' failed
make:
* [world] Error 2

Attachments (0)

Change History (5)

comment:1 Changed 3 years ago by mgondium@…

target was TP-LINK 1043ND

comment:2 Changed 3 years ago by mgondium@…

remains broken in r43656

comment:3 Changed 3 years ago by Saurus

I observe the same error in r43929.

A fix for this issue is to add the respective dependencies in package/feeds/packages/minicom/Makefile:

define Package/minicom
  SECTION:=utils
  CATEGORY:=Utilities
  DEPENDS:=+libncurses libiconv gettext
                       ^^^^^^^^^^^^^^^^ these need to be added
  TITLE:=Terminal emulation program
  URL:=http://alioth.debian.org/projects/minicom/
  SUBMENU:=Terminal
endef

comment:4 Changed 3 years ago by Jonathan Bennett <jbennett@…>

Minicom is now in the github packages repo. Please open a new issue at https://github.com/openwrt/packages

Tag @oneru (me) and @Noltari (the maintainer).

comment:5 Changed 3 years ago by Jonathan Bennett <jbennett@…>

Minicom is now in the github packages repo. Please open a new issue at https://github.com/openwrt/packages

Tag @oneru (me) and @Noltari (the maintainer).

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.