Modify

Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#8402 closed defect (fixed)

collectd fails to compile in backfire 10.03.1rc4 latest

Reported by: chillifire Owned by: jow
Priority: high Milestone: Barrier Breaker 14.07
Component: packages Version: Backfire 10.03.1 RC4
Keywords: collectd Cc: contact@…

Description (last modified by jow)

collectd fails to compile in backfire 10.03.1rc4 latest.

make cleandist brings no improvement, still fails.

make V=99 output:

make[3]: Entering directory `/home/hanno/backfire/feeds/packages/utils/collectd'
CFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float  -I/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -I/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/include -I/home/hanno/backfire/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/usr/include -I/home/hanno/backfire/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/include " CXXFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float  -I/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -I/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/include -I/home/hanno/backfire/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/usr/include -I/home/hanno/backfire/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/include " LDFLAGS="-L/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib -L/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/lib -L/home/hanno/backfire/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/usr/lib -L/home/hanno/backfire/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/lib " make -C /home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/collectd-4.10.2/. AR=mipsel-openwrt-linux-uclibc-ar AS="mipsel-openwrt-linux-uclibc-gcc -c -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float" LD=mipsel-openwrt-linux-uclibc-ld NM=mipsel-openwrt-linux-uclibc-nm CC="mipsel-openwrt-linux-uclibc-gcc" GCC="mipsel-openwrt-linux-uclibc-gcc" CXX="mipsel-openwrt-linux-uclibc-g++" RANLIB=mipsel-openwrt-linux-uclibc-ranlib STRIP=mipsel-openwrt-linux-uclibc-strip OBJCOPY=mipsel-openwrt-linux-uclibc-objcopy OBJDUMP=mipsel-openwrt-linux-uclibc-objdump SIZE=mipsel-openwrt-linux-uclibc-size CROSS="mipsel-openwrt-linux-uclibc-" ARCH="mipsel" ;
make[4]: Entering directory `/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/collectd-4.10.2'
Making all in libltdl
make[5]: Entering directory `/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/collectd-4.10.2/libltdl'
make  all-am
make[6]: Entering directory `/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/collectd-4.10.2/libltdl'
make[6]: Leaving directory `/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/collectd-4.10.2/libltdl'
make[5]: Leaving directory `/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/collectd-4.10.2/libltdl'
Making all in src
make[5]: Entering directory `/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/collectd-4.10.2/src'
make  all-recursive
make[6]: Entering directory `/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/collectd-4.10.2/src'
Making all in libcollectdclient
make[7]: Entering directory `/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/collectd-4.10.2/src/libcollectdclient'
make  all-am
make[8]: Entering directory `/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/collectd-4.10.2/src/libcollectdclient'
make[8]: Nothing to be done for `all-am'.
make[8]: Leaving directory `/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/collectd-4.10.2/src/libcollectdclient'
make[7]: Leaving directory `/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/collectd-4.10.2/src/libcollectdclient'
Making all in liboconfig
make[7]: Entering directory `/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/collectd-4.10.2/src/liboconfig'
make  all-am
make[8]: Entering directory `/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/collectd-4.10.2/src/liboconfig'
make[8]: Nothing to be done for `all-am'.
make[8]: Leaving directory `/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/collectd-4.10.2/src/liboconfig'
make[7]: Leaving directory `/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/collectd-4.10.2/src/liboconfig'
make[7]: Entering directory `/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/collectd-4.10.2/src'
/bin/bash ../libtool --tag=CC   --mode=link mipsel-openwrt-linux-uclibc-gcc -Wall -Werror  -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float  -fpic -export-dynamic  -L/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib -L/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/lib -L/home/hanno/backfire/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/usr/lib -L/home/hanno/backfire/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/lib  -lm -lz -o collectd collectd-collectd.o collectd-common.o collectd-configfile.o collectd-filter_chain.o collectd-meta_data.o collectd-plugin.o collectd-utils_avltree.o collectd-utils_cache.o collectd-utils_complain.o collectd-utils_heap.o collectd-utils_ignorelist.o collectd-utils_llist.o collectd-utils_parse_option.o collectd-utils_tail_match.o collectd-utils_match.o collectd-utils_subst.o collectd-utils_tail.o collectd-utils_threshold.o collectd-types_list.o     -lpthread     ../libltdl/libltdlc.la liboconfig/liboconfig.la          "-dlopen" cpu.la                "-dlopen" interface.la       "-dlopen" load.la   "-dlopen" match_empty_counter.la "-dlopen" match_hashed.la "-dlopen" match_regex.la "-dlopen" match_timediff.la "-dlopen" match_value.la    "-dlopen" memory.la      "-dlopen" network.la              "-dlopen" ping.la    "-dlopen" processes.la    "-dlopen" rrdtool.la         "-dlopen" target_notification.la "-dlopen" target_replace.la "-dlopen" target_scale.la "-dlopen" target_set.la          "-dlopen" vmem.la  "-dlopen" wireless.la    -ldl 
libtool: link: cannot -dlpreopen a convenience library: `/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/collectd-4.10.2/libltdl/dlopen.la'
make[7]: *** [collectd] Error 1
make[7]: Leaving directory `/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/collectd-4.10.2/src'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/collectd-4.10.2/src'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/collectd-4.10.2/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/collectd-4.10.2'
make[3]: *** [/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/collectd-4.10.2/.built] Error 2
make[3]: Leaving directory `/home/hanno/backfire/feeds/packages/utils/collectd'
make[2]: *** [package/feeds/packages/collectd/compile] Error 2
make[2]: Leaving directory `/home/hanno/backfire'
make[1]: *** [/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/hanno/backfire'
make: *** [world] Error 2

Attachments (0)

Change History (6)

comment:1 Changed 7 years ago by jow

  • Description modified (diff)

comment:2 Changed 7 years ago by jow

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

comment:3 Changed 7 years ago by anonymous

Having the same problem here, make v=99 output below, running the latest SVN checkout of backfire, revision 24536

make[7]: Entering directory `/home/wanga/openwrt/backfire/build_dir/target-mips_r2_uClibc-0
.9.30.1/collectd-4.10.2/src'
/bin/sh ../libtool --tag=CC --mode=link mips-openwrt-linux-uclibc-gcc -Wall -Werror -Os
-pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time -fhonour-copts -msoft-float -fpic -export
-dynamic -L/home/wanga/openwrt/backfire/staging_dir/target-mips_r2_uClibc-0.9.30.1/usr/lib

-L/home/wanga/openwrt/backfire/staging_dir/target-mips_r2_uClibc-0.9.30.1/lib -L/home/wang

a/openwrt/backfire/staging_dir/toolchain-mips_r2_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/lib -L/ho
me/wanga/openwrt/backfire/staging_dir/toolchain-mips_r2_gcc-4.3.3+cs_uClibc-0.9.30.1/lib -
lm -lz -o collectd collectd-collectd.o collectd-common.o collectd-configfile.o collectd-fil
ter_chain.o collectd-meta_data.o collectd-plugin.o collectd-utils_avltree.o collectd-utils_
cache.o collectd-utils_complain.o collectd-utils_heap.o collectd-utils_ignorelist.o collect
d-utils_llist.o collectd-utils_parse_option.o collectd-utils_tail_match.o collectd-utils_ma
tch.o collectd-utils_subst.o collectd-utils_tail.o collectd-utils_threshold.o collectd-type
s_list.o -lpthread ../libltdl/libltdlc.la liboconfig/liboconfig.la

"-dlopen" interface.la "-dlopen" load.la "-dlopen" match_empty_counter.la

"-dlopen" match_hashed.la "-dlopen" match_regex.la "-dlopen" match_timediff.la "-dlopen" ma
tch_value.la "-dlopen" rrdtool.la "-dlopen" target_n
otification.la "-dlopen" target_replace.la "-dlopen" target_scale.la "-dlopen" target_set.l
a "-dlopen" wireless.la -ldl
libtool: link: cannot -dlpreopen a convenience library: `/home/wanga/openwrt/backfire/build
_dir/target-mips_r2_uClibc-0.9.30.1/collectd-4.10.2/libltdl/dlopen.la'
make[7]: * [collectd] Error 1
make[7]: Leaving directory `/home/wanga/openwrt/backfire/build_dir/target-mips_r2_uClibc-0.
9.30.1/collectd-4.10.2/src'
make[6]:
* [all-recursive] Error 1
make[6]: Leaving directory `/home/wanga/openwrt/backfire/build_dir/target-mips_r2_uClibc-0.
9.30.1/collectd-4.10.2/src'
make[5]: * [all] Error 2
make[5]: Leaving directory `/home/wanga/openwrt/backfire/build_dir/target-mips_r2_uClibc-0.
9.30.1/collectd-4.10.2/src'

comment:4 Changed 7 years ago by Borromini

I don't know if it's helpful but r24505 would still build fine for me, r24509 would give me the libtool: link: cannot -dlpreopen convenience library error as well.

comment:5 Changed 7 years ago by jow

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

Fixed in r24630

comment:6 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.