Modify

Opened 7 years ago

Last modified 4 years ago

#8423 reopened defect

Can't compile mpfr-3.0.0 package

Reported by: Gorby Owned by: developers
Priority: normal Milestone: Backfire 10.03.1
Component: packages Version: Trunk
Keywords: mpfr-3.0.0, libtool, aclocal.m4 Cc:

Description

make -j1 -C /media/OpenWRT/trunk/build_dir/host/mpfr-3.0.0 
make[4]: Entering directory `/media/OpenWRT/trunk/build_dir/host/mpfr-3.0.0'
make[5]: Entering directory `/media/OpenWRT/trunk/build_dir/host/mpfr-3.0.0'
/bin/bash ./libtool --tag=CC   --mode=compile i486-linux-gnu-gcc -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_LOCALE_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_STDINT_H=1 -DHAVE_VA_COPY=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LONG_LONG=1 -DHAVE_INTMAX_T=1 -DMPFR_HAVE_INTMAX_MAX=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_ROUND=1 -DHAVE_TRUNC=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_NEARBYINT=1 -DHAVE_LDOUBLE_IEEE_EXT_LITTLE=1 -DHAVE_ATTRIBUTE_MODE=1 -I.   -O2 -I/media/OpenWRT/trunk/staging_dir/host/include -I/media/OpenWRT/trunk/staging_dir/host/include  -O2 -I/media/OpenWRT/trunk/staging_dir/host/include -ffloat-store -MT exceptions.lo -MD -MP -MF .deps/exceptions.Tpo -c -o exceptions.lo exceptions.c
./libtool: line 467: CDPATH: command not found
./libtool: line 1145: func_opt_split: command not found
libtool: Version mismatch error.  This is libtool 2.2.6b Debian-2.2.6b-2, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6b Debian-2.2.6b-2
libtool: and run autoconf again.
make[5]: *** [exceptions.lo] Error 63
make[5]: Leaving directory `/media/OpenWRT/trunk/build_dir/host/mpfr-3.0.0'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/media/OpenWRT/trunk/build_dir/host/mpfr-3.0.0'
make[3]: *** [/media/OpenWRT/trunk/build_dir/host/mpfr-3.0.0/.built] Error 2
make[3]: Leaving directory `/media/OpenWRT/trunk/tools/mpfr'
make[2]: *** [tools/mpfr/compile] Error 2
make[2]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/media/OpenWRT/trunk/tools/autoconf'
make[3]: Entering directory `/media/OpenWRT/trunk/tools/pkg-config'
make[3]: Leaving directory `/media/OpenWRT/trunk/tools/pkg-config'
make[2]: Leaving directory `/media/OpenWRT/trunk'
make[1]: *** [/media/OpenWRT/trunk/staging_dir/target-mips_r2_uClibc-0.9.31/stamp/.tools_install_nnynn] Error 2
make[1]: Leaving directory `/media/OpenWRT/trunk'

Attachments (0)

Change History (9)

comment:1 Changed 7 years ago by jow

  • Resolution set to worksforme
  • Status changed from new to closed

The following command will fix it:

make tools/{clean,compile,install}

comment:2 Changed 7 years ago by Gorby

Thank you!

comment:3 Changed 7 years ago by dk_giuse <dk_giuse89@…>

I have the same problem, This is my output after performed make clean:

make[3]: Leaving directory `/home/giuse/Scrivania/WiFi/OpenWRT_BUILD_DIR/trunk/tools/gmp'
make[3]: Entering directory `/home/giuse/Scrivania/WiFi/OpenWRT_BUILD_DIR/trunk/tools/mpfr'
make -j1 -C /home/giuse/Scrivania/WiFi/OpenWRT_BUILD_DIR/trunk/build_dir/host/mpfr-3.0.0 
make[4]: Entering directory `/home/giuse/Scrivania/WiFi/OpenWRT_BUILD_DIR/trunk/build_dir/host/mpfr-3.0.0'
make[5]: Entering directory `/home/giuse/Scrivania/WiFi/OpenWRT_BUILD_DIR/trunk/build_dir/host/mpfr-3.0.0'
/bin/bash ./libtool --tag=CC   --mode=compile x86_64-linux-gnu-gcc -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_LOCALE_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_STDINT_H=1 -DHAVE_VA_COPY=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LONG_LONG=1 -DHAVE_INTMAX_T=1 -DMPFR_HAVE_INTMAX_MAX=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_ROUND=1 -DHAVE_TRUNC=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_NEARBYINT=1 -DHAVE_LDOUBLE_IEEE_EXT_LITTLE=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ATTRIBUTE_MODE=1 -I.   -O2 -I/home/giuse/Scrivania/WiFi/OpenWRT_BUILD_DIR/trunk/staging_dir/host/include -I/home/giuse/Scrivania/WiFi/OpenWRT_BUILD_DIR/trunk/staging_dir/host/include  -O2 -I/home/giuse/Scrivania/WiFi/OpenWRT_BUILD_DIR/trunk/staging_dir/host/include -MT exceptions.lo -MD -MP -MF .deps/exceptions.Tpo -c -o exceptions.lo exceptions.c
mv -f .deps/exceptions.Tpo .deps/exceptions.Plo
mv: cannot stat `.deps/exceptions.Tpo': No such file or directory
make[5]: *** [exceptions.lo] Error 1
make[5]: Leaving directory `/home/giuse/Scrivania/WiFi/OpenWRT_BUILD_DIR/trunk/build_dir/host/mpfr-3.0.0'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/giuse/Scrivania/WiFi/OpenWRT_BUILD_DIR/trunk/build_dir/host/mpfr-3.0.0'
make[3]: *** [/home/giuse/Scrivania/WiFi/OpenWRT_BUILD_DIR/trunk/build_dir/host/mpfr-3.0.0/.built] Error 2
make[3]: Leaving directory `/home/giuse/Scrivania/WiFi/OpenWRT_BUILD_DIR/trunk/tools/mpfr'
make[2]: *** [tools/mpfr/compile] Error 2
make[2]: Leaving directory `/home/giuse/Scrivania/WiFi/OpenWRT_BUILD_DIR/trunk'
make[1]: *** [/home/giuse/Scrivania/WiFi/OpenWRT_BUILD_DIR/trunk/staging_dir/target-mips_uClibc-0.9.31/stamp/.tools_install_nnynn] Error 2
make[1]: Leaving directory `/home/giuse/Scrivania/WiFi/OpenWRT_BUILD_DIR/trunk'
make: *** [world] Error 2
giuse@EE-pc:~/Scrivania/WiFi/OpenWRT_BUILD_DIR/trunk$ 

comment:4 Changed 7 years ago by anonymous

  • Resolution worksforme deleted
  • Status changed from closed to reopened

same error on trunk lastest, platform ixp4xx :

make -j1 -C /openwrt/trunk2/trunk/build_dir/host/mpfr-3.0.0 
make[4]: Entering directory `/openwrt/trunk2/trunk/build_dir/host/mpfr-3.0.0'
make[5]: Entering directory `/openwrt/trunk2/trunk/build_dir/host/mpfr-3.0.0'
/bin/bash ./libtool --tag=CC   --mode=compile i486-linux-gnu-gcc -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_LOCALE_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_STDINT_H=1 -DHAVE_VA_COPY=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LONG_LONG=1 -DHAVE_INTMAX_T=1 -DMPFR_HAVE_INTMAX_MAX=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_LDOUBLE_IEEE_EXT_LITTLE=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ATTRIBUTE_MODE=1 -I.   -O2 -I/openwrt/trunk2/trunk/staging_dir/host/include -I/openwrt/trunk2/trunk/staging_dir/host/include  -O2 -I/openwrt/trunk2/trunk/staging_dir/host/include -ffloat-store -MT exceptions.lo -MD -MP -MF .deps/exceptions.Tpo -c -o exceptions.lo exceptions.c
'''mv -f .deps/exceptions.Tpo .deps/exceptions.Plo
mv: cannot stat `.deps/exceptions.Tpo': No such file or directory'''
make[5]: *** [exceptions.lo] Error 1
make[5]: Leaving directory `/openwrt/trunk2/trunk/build_dir/host/mpfr-3.0.0'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/openwrt/trunk2/trunk/build_dir/host/mpfr-3.0.0'
make[3]: *** [/openwrt/trunk2/trunk/build_dir/host/mpfr-3.0.0/.built] Error 2
make[3]: Leaving directory `/openwrt/trunk2/trunk/tools/mpfr'
make[2]: *** [tools/mpfr/compile] Error 2
make[2]: Leaving directory `/openwrt/trunk2/trunk'
make[1]: *** [/openwrt/trunk2/trunk/staging_dir/target-armeb_v5te_uClibc-0.9.31_eabi/stamp/.tools_install_nnynn] Error 2
make[1]: Leaving directory `/openwrt/trunk2/trunk'
make: *** [world] Error 2

comment:5 Changed 7 years ago by anonymous

I have the same error on latest trunk as above , platform x86

comment:6 Changed 7 years ago by anonymous

I got the same problem for quilt with the latest trunk for "all" target

make -C /home/alexander/OpenWrt/trunk/build_dir/host/quilt-0.48 SHELL="/bin/bash" all lib/backup-files
/bin/bash: ./git-desc: No such file or directory
make[4]: Entering directory `/home/alexander/OpenWrt/trunk/build_dir/host/quilt-0.48'
autoconf
Please run ./configure
make[4]: *** [configure] Error 1
make[4]: Leaving directory `/home/alexander/OpenWrt/trunk/build_dir/host/quilt-0.48'
make[3]: *** [/home/alexander/OpenWrt/trunk/build_dir/host/quilt-0.48/.built] Error 2
make[3]: Leaving directory `/home/alexander/OpenWrt/trunk/tools/quilt'
make[2]: *** [tools/quilt/compile] Error 2
make[2]: Leaving directory `/home/alexander/OpenWrt/trunk'
make[1]: *** [/home/alexander/OpenWrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.31/stamp/.tools_install_nnynn] Error 2
make[1]: Leaving directory `/home/alexander/OpenWrt/trunk'
make: *** [world] Ошибка 2

When I build tools separtly everything is ok.

comment:7 follow-up: Changed 7 years ago by hauke

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

Please try it again, this should now be really fixed. libtools is now build in tools.

comment:8 Changed 4 years ago by anonymous

  • Resolution fixed deleted
  • Status changed from closed to reopened

Really fixed? But I still get this problem in latest attitude-adjustment branch....

comment:9 in reply to: ↑ 7 Changed 4 years ago by anonymous

Replying to hauke:

Please try it again, this should now be really fixed. libtools is now build in tools.

Hi, can you point out how this issue was fixed? Since I still see this issue while using PARALLELED compiling with OpenWrt AA-12.09 source code. While disabling "-jN" these's no such issue.

Thanks in advance!

---

[justin.liu@DEV-9-1-243 ~/hiwifi-x86/platform]$ grep 'Tpo.*Error' 22_34_33.log -A30 -B20

OpenWrt-libtool: link: ln mpq/inp_str.o .libs/libgmp.lax/lt58-inp_str.o
cp mpq/inp_str.o .libs/libgmp.lax/lt58-inp_str.o

config.status: executing depfiles commands
mv -f .deps/HTMLparser.Tpo .deps/HTMLparser.Plo

OpenWrt-libtool: link: ln mpq/mul.o .libs/libgmp.lax/lt59-mul.o
cp mpq/mul.o .libs/libgmp.lax/lt59-mul.o

mv -f .deps/HTMLtree.Tpo .deps/HTMLtree.Plo
mv -f .deps/debugXML.Tpo .deps/debugXML.Plo

OpenWrt-libtool: link: ln mpq/neg.o .libs/libgmp.lax/lt60-neg.o OpenWrt-libtool: link: ln mpq/out_str.o .libs/libgmp.lax/lt61-out_str.o OpenWrt-libtool: link: ln mpq/set.o .libs/libgmp.lax/lt62-set.o OpenWrt-libtool: link: ln mpq/set_si.o .libs/libgmp.lax/lt63-set_si.o
cp mpq/neg.o .libs/libgmp.lax/lt60-neg.o
cp mpq/out_str.o .libs/libgmp.lax/lt61-out_str.o
cp mpq/set.o .libs/libgmp.lax/lt62-set.o
cp mpq/set_si.o .libs/libgmp.lax/lt63-set_si.o

mv: mv: cannot stat .deps/SAX.Tpo'cannot stat .deps/encoding.Tpo'mv: : No such file or directorycannot stat `.deps/error.Tpo': No such file or directory
mv: cannot stat `.deps/entities.Tpo'
: No such file or directory: No such file or directory

mv: cannot stat `.deps/parserInternals.Tpo': No such file or directory
mv: cannot stat .deps/parser.Tpo'mv: cannot stat .deps/tree.Tpo': No such file or directory
: No such file or directory
mv: cannot stat `.deps/list.Tpo': No such file or directory
mv: cannot stat `.deps/hash.Tpo': No such file or directory
make[6]: mv: find /home/justin.liu/hiwifi-x86/platform/build_dir/linux-x86_generic/packages/ipkg-x86/kmod-mppe -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
cannot stat `.deps/xmlIO.Tpo'* [SAX.lo] Error 1
: No such file or directory
make[6]:
* Waiting for unfinished jobs....
make[6]: * [encoding.lo] Error 1
make[6]:
* [error.lo] Error 1
make[6]: * [entities.lo] Error 1
make[6]:
* [parserInternals.lo] Error 1
make[6]: * [parser.lo] Error 1
make[6]:
* [tree.lo] Error 1
make[6]: * [list.lo] Error 1
make[6]:
* [hash.lo] Error 1
make[6]: * [xmlIO.lo] Error 1
mv: cannot stat .deps/xmlmemory.Tpo'mv: : No such file or directorycannot stat .deps/uri.Tpo'
: No such file or directory
mv: cannot stat `.deps/valid.Tpo': No such file or directory
mv: mv: cannot stat .deps/xlink.Tpo'cannot stat .deps/HTMLparser.Tpo': No such file or directory
: No such file or directory
mv: cannot stat .deps/HTMLtree.Tpo'mv: cannot stat .deps/debugXML.Tpo': No such file or directory: No such file or directory

make[6]: * [xmlmemory.lo] Error 1
make[6]:
* [uri.lo] Error 1
make[6]: * [valid.lo] Error 1
make[6]:
* [xlink.lo] Error 1
make[6]: * [HTMLtree.lo] Error 1
make[6]:
* [debugXML.lo] Error 1
make[6]: * [HTMLparser.lo] Error 1
make[6]: Leaving directory `/home/justin.liu/hiwifi-x86/platform/build_dir/target-i386_uClibc-0.9.33.2/libxml2-2.7.8'
make[5]:
* [all-recursive] Error 1
make[5]: Leaving directory `/home/justin.liu/hiwifi-x86/platform/build_dir/target-i386_uClibc-0.9.33.2/libxml2-2.7.8'
make[4]: * [all] Error 2
make[4]: Leaving directory `/home/justin.liu/hiwifi-x86/platform/build_dir/target-i386_uClibc-0.9.33.2/libxml2-2.7.8'
[justin.liu@DEV-9-1-243 ~/hiwifi-x86/platform]$

Add Comment

Modify Ticket

Action
as reopened .
Author


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

 
Note: See TracTickets for help on using tickets.