Modify

Opened 5 years ago

Closed 4 years ago

#12004 closed defect (fixed)

error compiling shadow @ version 33079

Reported by: Ferrets@… Owned by: jow
Priority: response-needed Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: compile shadow error Cc:

Description

checking return type of signal handlers... void
checking for utime.h... (cached) yes
checking whether utime accepts a null argument... guessing yes
checking for strftime... (cached) yes
checking for mkdir... yes
checking for putgrent... yes
checking for putpwent... yes
checking for putspent... yes
checking for rename... (cached) yes
checking for rmdir... yes
checking for sgetgrent... no
checking for sgetpwent... no
checking for sgetspent... yes
checking for snprintf... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strerror... (cached) yes
checking for strstr... yes
checking for setpgrp... yes
checking for working shadow group support... no
checking location of shared mail directory... /var/mail
checking location of user mail file... none
checking location of utmp... /var/run
checking location of faillog/lastlog/wtmp... /var/log
checking location of the passwd program... /usr/bin
checking for library containing inet_ntoa... none required
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for crypt in -lcrypt... yes
checking use login and su access checking if PAM not used... yes
./configure: line 15741: syntax error near unexpected token `0.16'
./configure: line 15741: `AM_GNU_GETTEXT_VERSION(0.16)'
make[3]: *** [/home/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/shadow-4.1.5.1/.configured_] Error 2
make[3]: Leaving directory `/home/openwrt/trunk/feeds/packages/utils/shadow'
make[2]: *** [package/feeds/packages/shadow/compile] Error 2
make[2]: Leaving directory `/home/openwrt/trunk'
make[1]: *** [/home/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/openwrt/trunk'
make: *** [world] Error 2

Is it cause by my setting or source code ?

Attachments (0)

Change History (11)

comment:1 follow-up: Changed 5 years ago by jow

  • Priority changed from normal to response-needed

Please provide a more complete log, especially of the autoreconf phase.

comment:2 in reply to: ↑ 1 Changed 5 years ago by Ferrets@…

Replying to jow:

Please provide a more complete log, especially of the autoreconf phase.

I was compiling using screen at that time, so I didn't got too much log, and here is the one I do it again, is it enough ?

autoreconf: Entering directory `.'
autoreconf: running: true --force
autoreconf: running: /home/openwrt/trunk/staging_dir/host/bin/aclocal -I /home/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/host/share/aclocal -I /home/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/share/aclocal -I m4 -I . --force
configure.in:592: warning: macro `AM_GNU_GETTEXT_VERSION' not found in library
configure.in:593: warning: macro `AM_GNU_GETTEXT' not found in library
autoreconf: configure.in: tracing
autoreconf: configure.in: AM_GNU_GETTEXT_VERSION is used, but not AM_GNU_GETTEXT
autoreconf: running: /home/openwrt/trunk/staging_dir/host/bin/libtoolize --force
OpenWrt-libtoolize: putting auxiliary files in `.'.
OpenWrt-libtoolize: linking file `./ltmain.sh'
OpenWrt-libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
OpenWrt-libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
OpenWrt-libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.in:592: warning: macro `AM_GNU_GETTEXT_VERSION' not found in library
configure.in:593: warning: macro `AM_GNU_GETTEXT' not found in library
autoreconf: running: /home/openwrt/trunk/staging_dir/host/bin/autoconf --include=/home/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/host/share/aclocal --include=/home/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/share/aclocal --include=m4 --include=. --prepend-include=/home/openwrt/trunk/staging_dir/host/share/aclocal --force
configure.in:592: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:593: error: possibly undefined macro: AM_GNU_GETTEXT
autoreconf: /home/openwrt/trunk/staging_dir/host/bin/autoconf failed with exit status: 1
(cd /home/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/shadow-4.1.5.1/./; if [ -x ./configure ]; then /usr/bin/find /home/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/shadow-4.1.5.1/ -name config.guess | xargs -r chmod u+w; /usr/bin/find /home/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/shadow-4.1.5.1/ -name config.guess | xargs -r -n1 cp /home/openwrt/trunk/scripts/config.guess; /usr/bin/find /home/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/shadow-4.1.5.1/ -name config.sub | xargs -r chmod u+w; /usr/bin/find /home/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/shadow-4.1.5.1/ -name config.sub | xargs -r -n1 cp /home/openwrt/trunk/scripts/config.sub; AR=mips-openwrt-linux-uclibc-ar AS="mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mips32r2 -mtune=mips32r2 -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 -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float " CXXFLAGS="-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float " CPPFLAGS="-I/home/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include -I/home/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/include -I/home/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I/home/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/include " LDFLAGS="-L/home/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/lib -L/home/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/lib -L/home/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib -L/home/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/lib "   ./configure --target=mips-openwrt-linux --host=mips-openwrt-linux --build=i686-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  --disable-ipv6 --without-audit --without-libpam --without-selinux --without-acl --without-attr --without-tcb --without-nscd ; fi; )
configure: WARNING: unrecognized options: --disable-nls, --disable-ipv6
configure: loading site script /home/openwrt/trunk/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 style of include used by make... GNU
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 dependency style of mips-openwrt-linux-uclibc-gcc... gcc3
checking how to run the C preprocessor... mips-openwrt-linux-uclibc-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /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 whether to enable maintainer-specific portions of Makefiles... no
checking for mips-openwrt-linux-gcc... (cached) mips-openwrt-linux-uclibc-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether mips-openwrt-linux-uclibc-gcc accepts -g... (cached) yes
checking for mips-openwrt-linux-uclibc-gcc option to accept ISO C89... (cached) none needed
checking dependency style of mips-openwrt-linux-uclibc-gcc... (cached) gcc3
checking for library containing strerror... none required
checking whether ln -s works... yes
checking for bison... bison -y
checking build system type... i686-pc-linux-gnu
checking host system type... mips-openwrt-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /home/openwrt/trunk/staging_dir/host/bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by mips-openwrt-linux-uclibc-gcc... mips-openwrt-linux-uclibc-ld
checking if the linker (mips-openwrt-linux-uclibc-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... mips-openwrt-linux-uclibc-nm
checking the name lister (mips-openwrt-linux-uclibc-nm) interface... BSD nm
checking the maximum length of command line arguments... 805306365
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to mips-openwrt-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for mips-openwrt-linux-uclibc-ld option to reload object files... -r
checking for mips-openwrt-linux-objdump... mips-openwrt-linux-uclibc-objdump
checking how to recognize dependent libraries... pass_all
checking for mips-openwrt-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for mips-openwrt-linux-ar... mips-openwrt-linux-uclibc-ar
checking for archiver @FILE support... @
checking for mips-openwrt-linux-strip... (cached) mips-openwrt-linux-uclibc-strip
checking for mips-openwrt-linux-ranlib... mips-openwrt-linux-uclibc-ranlib
checking command to parse mips-openwrt-linux-uclibc-nm output from mips-openwrt-linux-uclibc-gcc object... ok
checking for sysroot... no
checking for mips-openwrt-linux-mt... no
checking for mt... mt
configure: WARNING: using cross tools not prefixed with host triplet
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if mips-openwrt-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... no
checking for mips-openwrt-linux-uclibc-gcc option to produce PIC... -fPIC -DPIC
checking if mips-openwrt-linux-uclibc-gcc PIC flag -fPIC -DPIC works... yes
checking if mips-openwrt-linux-uclibc-gcc static flag -static works... yes
checking if mips-openwrt-linux-uclibc-gcc supports -c -o file.o... yes
checking if mips-openwrt-linux-uclibc-gcc supports -c -o file.o... (cached) yes
checking whether the mips-openwrt-linux-uclibc-gcc linker (mips-openwrt-linux-uclibc-ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
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 for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking utmpx.h usability... no
checking utmpx.h presence... no
checking for utmpx.h... no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking sgtty.h usability... yes
checking sgtty.h presence... yes
checking for sgtty.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking ulimit.h usability... yes
checking ulimit.h presence... yes
checking for ulimit.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking gshadow.h usability... no
checking gshadow.h presence... no
checking for gshadow.h... no
checking lastlog.h usability... yes
checking lastlog.h presence... yes
checking for lastlog.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking rpc/key_prot.h usability... no
checking rpc/key_prot.h presence... no
checking for rpc/key_prot.h... no
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking acl/libacl.h usability... no
checking acl/libacl.h presence... no
checking for acl/libacl.h... no
checking attr/libattr.h usability... no
checking attr/libattr.h presence... no
checking for attr/libattr.h... no
checking attr/error_context.h usability... no
checking attr/error_context.h presence... no
checking for attr/error_context.h... no
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking for l64a... yes
checking for fchmod... (cached) yes
checking for fchown... yes
checking for fsync... yes
checking for futimes... no
checking for getgroups... yes
checking for gethostname... yes
checking for getspnam... yes
checking for gettimeofday... (cached) yes
checking for getusershell... yes
checking for getutent... yes
checking for initgroups... yes
checking for lchown... yes
checking for lckpwdf... yes
checking for lstat... (cached) yes
checking for lutimes... yes
checking for memcpy... yes
checking for memset... yes
checking for setgroups... yes
checking for sigaction... ^[[3~yes
checking for strchr... yes
checking for updwtmp... yes
checking for updwtmpx... no
checking for innetgr... no
checking for getpwnam_r... yes
checking for getpwuid_r... (cached) yes
checking for getgrnam_r... yes
checking for getgrgid_r... yes
checking for getspnam_r... yes
checking for getaddrinfo... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for off_t... yes
checking for pid_t... yes
checking for mode_t... yes
checking whether stat file-mode macros are broken... no
checking for struct stat.st_rdev... yes
checking for struct stat.st_atim... yes
checking for struct stat.st_atimensec... no
checking for struct stat.st_mtim... yes
checking for struct stat.st_mtimensec... no
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct utmp.ut_type... yes
checking for struct utmp.ut_id... yes
checking for struct utmp.ut_name... yes
checking for struct utmp.ut_user... yes
checking for struct utmp.ut_host... yes
checking for struct utmp.ut_syslen... no
checking for struct utmp.ut_addr... yes
checking for struct utmp.ut_addr_v6... yes
checking for struct utmp.ut_time... yes
checking for struct utmp.ut_xtime... yes
checking for struct utmp.ut_tv... yes
checking for struct utmpx.ut_name... no
checking for struct utmpx.ut_host... no
checking for struct utmpx.ut_syslen... no
checking for struct utmpx.ut_addr... no
checking for struct utmpx.ut_addr_v6... no
checking for struct utmpx.ut_time... no
checking for struct utmpx.ut_xtime... no
checking for ll_host in struct lastlog... yes
checking type of array argument to getgroups... gid_t
checking return type of signal handlers... void
checking for utime.h... (cached) yes
checking whether utime accepts a null argument... guessing yes
checking for strftime... (cached) yes
checking for mkdir... yes
checking for putgrent... yes
checking for putpwent... yes
checking for putspent... yes
checking for rename... (cached) yes
checking for rmdir... yes
checking for sgetgrent... no
checking for sgetpwent... no
checking for sgetspent... yes
checking for snprintf... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strerror... (cached) yes
checking for strstr... yes
checking for setpgrp... yes
checking for working shadow group support... no
checking location of shared mail directory... /var/mail
checking location of user mail file... none
checking location of utmp... /var/run
checking location of faillog/lastlog/wtmp... /var/log
checking location of the passwd program... /usr/bin
checking for library containing inet_ntoa... none required
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for crypt in -lcrypt... yes
checking use login and su access checking if PAM not used... yes
./configure: line 15741: syntax error near unexpected token `0.16'
./configure: line 15741: `AM_GNU_GETTEXT_VERSION(0.16)'
make[3]: *** [/home/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/shadow-4.1.5.1/.configured_] Error 2
make[3]: Leaving directory `/home/openwrt/trunk/feeds/packages/utils/shadow'
make[2]: *** [package/feeds/packages/shadow/compile] Error 2
make[2]: Leaving directory `/home/openwrt/trunk'
make[1]: *** [/home/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/openwrt/trunk'
make: *** [world] Error 2


I got this when running "make V=99 | grep autoconf"

grep: /home/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/tmp-base-files/CONTROL/conffiles: No such file or directory
OpenWrt-libtool: install: warning: remember to run `libtool --finish /usr/lib'
OpenWrt-libtool: install: warning: `libxt_ACCOUNT_cl.la' has not been installed in `/usr/lib'
touch: cannot touch `/etc/init.d/luci_fixtime': Permission denied
(cd /home/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/shadow-4.1.5.1; rm -f aclocal.m4; if [ -f ./configure.ac ] || [ -f ./configure.in ]; then [ -d ./autom4te.cache ] && rm -rf autom4te.cache; [ -e ./config.rpath ] || ln -s /home/openwrt/trunk/scripts/config.rpath ./config.rpath; touch NEWS AUTHORS COPYING ABOUT-NLS ChangeLog; AUTOM4TE=/home/openwrt/trunk/staging_dir/host/bin/autom4te AUTOCONF=/home/openwrt/trunk/staging_dir/host/bin/autoconf AUTOMAKE=/home/openwrt/trunk/staging_dir/host/bin/automake ACLOCAL=/home/openwrt/trunk/staging_dir/host/bin/aclocal AUTOHEADER=/home/openwrt/trunk/staging_dir/host/bin/autoheader LIBTOOLIZE=/home/openwrt/trunk/staging_dir/host/bin/libtoolize LIBTOOL=/home/openwrt/trunk/staging_dir/host/bin/libtool M4=/home/openwrt/trunk/staging_dir/host/bin/m4 AUTOPOINT=true /home/openwrt/trunk/staging_dir/host/bin/autoreconf -v -f -i -s -B /home/openwrt/trunk/staging_dir/host/share/aclocal -I /home/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/host/share/aclocal -I /home/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/share/aclocal -I m4 -I . . || true; fi; );
autoreconf: Entering directory `.'
autoreconf: running: true --force
autoreconf: running: /home/openwrt/trunk/staging_dir/host/bin/aclocal -I /home/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/host/share/aclocal -I /home/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/share/aclocal -I m4 -I . --force
configure.in:592: warning: macro `AM_GNU_GETTEXT_VERSION' not found in library
configure.in:593: warning: macro `AM_GNU_GETTEXT' not found in library
autoreconf: configure.in: tracing
autoreconf: configure.in: AM_GNU_GETTEXT_VERSION is used, but not AM_GNU_GETTEXT
autoreconf: running: /home/openwrt/trunk/staging_dir/host/bin/libtoolize --force
configure.in:592: warning: macro `AM_GNU_GETTEXT_VERSION' not found in library
configure.in:593: warning: macro `AM_GNU_GETTEXT' not found in library
autoreconf: running: /home/openwrt/trunk/staging_dir/host/bin/autoconf --include=/home/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/host/share/aclocal --include=/home/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/share/aclocal --include=m4 --include=. --prepend-include=/home/openwrt/trunk/staging_dir/host/share/aclocal --force
configure.in:592: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:593: error: possibly undefined macro: AM_GNU_GETTEXT
autoreconf: /home/openwrt/trunk/staging_dir/host/bin/autoconf failed with exit status: 1
configure: WARNING: unrecognized options: --disable-nls, --disable-ipv6
configure: WARNING: using cross tools not prefixed with host triplet
./configure: line 15741: syntax error near unexpected token `0.16'
./configure: line 15741: `AM_GNU_GETTEXT_VERSION(0.16)'
make[3]: *** [/home/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/shadow-4.1.5.1/.configured_] Error 2
make[2]: *** [package/feeds/packages/shadow/compile] Error 2
make[1]: *** [/home/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make: *** [world] Error 2

hope will be helpful

comment:3 Changed 5 years ago by jow

  • Owner changed from developers to jow
  • Status changed from new to accepted

Looks like shadow needs a build dependency on libintl (gettext) to provide the missing m4 macros.

comment:4 follow-up: Changed 5 years ago by dylek

I have got the same issue.
Did you solved it ?
I would be very grateful for any help.

comment:5 in reply to: ↑ 4 Changed 5 years ago by Ferrets@…

Replying to dylek:

I have got the same issue.
Did you solved it ?
I would be very grateful for any help.

My only solution is give up compile the image with shadow but install it after flashing the image into my device, from the official software source.

comment:6 follow-up: Changed 5 years ago by skudi

It seems that Jow in comment:3 is right. I've copied declaration of libintl dependecy from feeds/packages/net/nbd/Makefile to feeds/packages/utils/shadow/Makefile (I'm working in svn://svn.openwrt.org/openwrt/branches/backfire) and the compilation is progerssing further.

  • var/tmp/src/backfire/feeds/packages/utils/shadow/Makefile

     
    3434       --without-tcb \ 
    3535       --without-nscd 
    3636 
     37include $(INCLUDE_DIR)/nls.mk 
     38 
     39PKG_BUILD_DEPENDS:=libintl 
     40 
    3741define Package/shadow 
    3842  SECTION:=utils 
    3943  CATEGORY:=Utilities 

comment:7 in reply to: ↑ 6 Changed 5 years ago by skudi

Replying to skudi:

It seems that Jow in comment:3 is right. I've copied declaration of libintl dependecy from feeds/packages/net/nbd/Makefile to feeds/packages/utils/shadow/Makefile (I'm working in svn://svn.openwrt.org/openwrt/branches/backfire) and the compilation is progerssing further.

false positive, still does not compile :(

comment:8 Changed 5 years ago by ben@…

I was able to get shadow-common and shadow-su to compile for ar71xx platform in Attitude Adjustment r36140 by enabling the libintl-full package, rather than just libintl.

comment:9 Changed 5 years ago by anonymous

I can also confirm the solution given by ben. I used the same patch by skudi, only changed the dependency line to:

-PKG_BUILD_DEPENDES:=libintl
+PKG_BUILD_DEPENDES:=libintl-full

I am on Attitude Adjustment, Packages_12.09 at rev 36602.https://dev.openwrt.org/log/branches/packages_12.09?rev=36602

comment:10 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

comment:11 Changed 4 years ago by jow

  • Resolution set to fixed
  • Status changed from accepted to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.