Modify

Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#8397 closed defect (fixed)

libs/libnfnetlink fails to configure/compile

Reported by: buildster Owned by: developers
Priority: high Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

Build machine: Ubuntu 10.04.1 LTS x86_64;
Target: kirkwood, dockstar;
Trunk: r24363

...
/bin/bash ../libtool --tag=CC   --mode=compile arm-openwrt-linux-uclibcgnueabi-gcc -DPACKAGE_NAME=\"libnfnetlink\"
 -DPACKAGE_TARNAME=\"libnfnetlink\" -DPACKAGE_VERSION=\"1.0.0\" -DPACKAGE_STRING=\"libnfnetlink\ 1.0.0\" -DPACKAGE
_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libnfnetlink\" -DVERSION=\"1.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPE
S_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES
_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I.  -I../include  -I/home/builder/openwrt/staging
_dir/target-arm_v5te_uClibc-0.9.31_eabi/usr/include -I/home/builder/openwrt/staging_dir/target-arm_v5te_uCli
bc-0.9.31_eabi/include -I/home/builder/openwrt/staging_dir/toolchain-arm_v5te_gcc-4.3.3+cs_uClibc-0.9.31_eab
i/usr/include -I/home/builder/openwrt/staging_dir/toolchain-arm_v5te_gcc-4.3.3+cs_uClibc-0.9.31_eabi/include
  -fPIC -Wall -Os -pipe -march=armv5te -mtune=marvell-f -funit-at-a-time -fhonour-copts -msoft-float -fpic  -MT rt
nl.lo -MD -MP -MF .deps/rtnl.Tpo -c -o rtnl.lo rtnl.c
../libtool: line 481: CDPATH: command not found
../libtool: line 481: CDPATH: command not found
../libtool: line 481: CDPATH: command not found
libtool: Version mismatch error.  This is libtool 2.4, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4
libtool: and run autoconf again.
make[5]: *** [libnfnetlink.lo] Error 63
make[5]: *** Waiting for unfinished jobs....
libtool: Version mismatch error.  This is libtool 2.4, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4
libtool: and run autoconf again.
make[5]: *** [rtnl.lo] Error 63
make[5]: Leaving directory `/home/builder/openwrt/build_dir/target-arm_v5te_uClibc-0.9.31_eabi/libnfnetlink-1.0.0/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/builder/openwrt/build_dir/target-arm_v5te_uClibc-0.9.31_eabi/libnfnetlink-1.0.0'
make[3]: *** [/home/builder/openwrt/build_dir/target-arm_v5te_uClibc-0.9.31_eabi/libnfnetlink-1.0.0/.built] Error 2
make[3]: Target `compile' not remade because of errors.
make[3]: Leaving directory `/home/builder/openwrt/feeds/packages/libs/libnfnetlink'
make[2]: *** [package/feeds/packages/libnfnetlink/compile] Error 2

Note that the build was done after making distclean.

Attachments (0)

Change History (4)

comment:1 Changed 7 years ago by anonymous

Index: feeds/packages/libs/libnfnetlink/Makefile
===================================================================
--- feeds/packages/libs/libnfnetlink/Makefile   (revision 24376)
+++ feeds/packages/libs/libnfnetlink/Makefile   (working copy)
@@ -19,6 +19,7 @@
 PKG_MD5SUM:=016fdec8389242615024c529acc1adb8

 PKG_FIXUP:=libtool
+PKG_REMOVE_FILES:=aclocal.m4
 PKG_INSTALL:=1

 include $(INCLUDE_DIR)/package.mk

Seems to fix it.

comment:2 Changed 7 years ago by buildster

Appreciate jow's quick fix! As of r24403, not an issue anymore.

comment:3 Changed 7 years ago by acoul

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

fixed in r24384

comment:4 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

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.