Modify

Opened 7 years ago

Closed 7 years ago

#8410 closed defect (fixed)

collectd again compile failures, now on backfire

Reported by: anonymous Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: COLLECTD BACKFIRE Cc:

Description

collectd is again borked, now on backfire on brcm47xx and orion.

Seems like the trunk patches not backported to latest backfire

Attachments (0)

Change History (6)

comment:1 Changed 7 years ago by jow

At least *some* detail would be helpful

comment:2 Changed 7 years ago by anonymous

Here, this is AFTER your last Patch:

libtool: link: cannot -dlpreopen a convenience library: `/home/openwrt/backfire/orion/build_dir/target-arm_v5t_uClibc-0.9.30.1_eabi/collectd-4.10.2/libltdl/dlopen.la'

make[7]: *** [collectd] Error 1
make[7]: Leaving directory `/home/openwrt/backfire/orion/build_dir/target-arm_v5t_uClibc-0.9.30.1_eabi/collectd-4.10.2/src'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/home/openwrt/backfire/orion/build_dir/target-arm_v5t_uClibc-0.9.30.1_eabi/collectd-4.10.2/src'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/openwrt/backfire/orion/build_dir/target-arm_v5t_uClibc-0.9.30.1_eabi/collectd-4.10.2/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/openwrt/backfire/orion/build_dir/target-arm_v5t_uClibc-0.9.30.1_eabi/collectd-4.10.2'
make[3]: *** [/home/openwrt/backfire/orion/build_dir/target-arm_v5t_uClibc-0.9.30.1_eabi/collectd-4.10.2/.built] Error 2
make[3]: Leaving directory `/home/openwrt/backfire/orion/feeds/packages/utils/collectd'
make[2]: *** [package/feeds/packages/collectd/compile] Error 2
make[2]: Leaving directory `/home/openwrt/backfire/orion'
make[1]: *** [/home/openwrt/backfire/orion/staging_dir/target-arm_v5t_uClibc-0.9.30.1_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/openwrt/backfire/orion'
make: *** [world] Error 2
openwrt@develope:~/backfire/orion$

so the last patch don´t solve the problem finaly :(

comment:3 Changed 7 years ago by JR <oss@…>

It is broken on trunk as well. I'm testing ar71xx.

$ make package/collectd/compile V=99
make[1]: Entering directory `/home/wrtdev/openwrt/trunk'
make[2]: Entering directory `/home/wrtdev/openwrt/trunk/package/libtool'
make[2]: Leaving directory `/home/wrtdev/openwrt/trunk/package/libtool'
make[2]: Entering directory `/home/wrtdev/openwrt/trunk/package/libtool'
make[2]: Leaving directory `/home/wrtdev/openwrt/trunk/package/libtool'
make[2]: Entering directory `/home/wrtdev/openwrt/trunk/package/zlib'
make[2]: Leaving directory `/home/wrtdev/openwrt/trunk/package/zlib'
make[2]: Entering directory `/home/wrtdev/openwrt/trunk/feeds/packages/libs/rrdtool-1.0.x'
WARNING: skipping rrdcgi1 -- package not selected
make[2]: Leaving directory `/home/wrtdev/openwrt/trunk/feeds/packages/libs/rrdtool-1.0.x'
make[2]: Entering directory `/home/wrtdev/openwrt/trunk/feeds/packages/utils/collectd'
CFLAGS="-Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time -fhonour-copts -msoft-float  -I/home/wrtdev/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.31/usr/include -I/home/wrtdev/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.31/include -I/home/wrtdev/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.3.3+cs_uClibc-0.9.31/usr/include -I/home/wrtdev/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.3.3+cs_uClibc-0.9.31/include " CXXFLAGS="-Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time -fhonour-copts -msoft-float  -I/home/wrtdev/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.31/usr/include -I/home/wrtdev/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.31/include -I/home/wrtdev/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.3.3+cs_uClibc-0.9.31/usr/include -I/home/wrtdev/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.3.3+cs_uClibc-0.9.31/include " LDFLAGS="-L/home/wrtdev/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.31/usr/lib -L/home/wrtdev/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.31/lib -L/home/wrtdev/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.3.3+cs_uClibc-0.9.31/usr/lib -L/home/wrtdev/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.3.3+cs_uClibc-0.9.31/lib " make  -j1 -C /home/wrtdev/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.31/collectd-4.10.2/. AR=mips-openwrt-linux-uclibc-ar AS="mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time -fhonour-copts -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 CROSS="mips-openwrt-linux-uclibc-" ARCH="mips" ;
make[3]: Entering directory `/home/wrtdev/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.31/collectd-4.10.2'
Making all in libltdl
make[4]: Entering directory `/home/wrtdev/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.31/collectd-4.10.2/libltdl'
make  all-am
make[5]: Entering directory `/home/wrtdev/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.31/collectd-4.10.2/libltdl'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/wrtdev/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.31/collectd-4.10.2/libltdl'
make[4]: Leaving directory `/home/wrtdev/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.31/collectd-4.10.2/libltdl'
Making all in src
make[4]: Entering directory `/home/wrtdev/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.31/collectd-4.10.2/src'
make  all-recursive
make[5]: Entering directory `/home/wrtdev/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.31/collectd-4.10.2/src'
Making all in libcollectdclient
make[6]: Entering directory `/home/wrtdev/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.31/collectd-4.10.2/src/libcollectdclient'
make  all-am
make[7]: Entering directory `/home/wrtdev/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.31/collectd-4.10.2/src/libcollectdclient'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory `/home/wrtdev/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.31/collectd-4.10.2/src/libcollectdclient'
make[6]: Leaving directory `/home/wrtdev/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.31/collectd-4.10.2/src/libcollectdclient'
Making all in owniptc
make[6]: Entering directory `/home/wrtdev/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.31/collectd-4.10.2/src/owniptc'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `/home/wrtdev/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.31/collectd-4.10.2/src/owniptc'
Making all in liboconfig
make[6]: Entering directory `/home/wrtdev/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.31/collectd-4.10.2/src/liboconfig'
make  all-am
make[7]: Entering directory `/home/wrtdev/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.31/collectd-4.10.2/src/liboconfig'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory `/home/wrtdev/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.31/collectd-4.10.2/src/liboconfig'
make[6]: Leaving directory `/home/wrtdev/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.31/collectd-4.10.2/src/liboconfig'
make[6]: Entering directory `/home/wrtdev/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.31/collectd-4.10.2/src'
make[6]: *** No rule to make target `-lltdl', needed by `collectd'.  Stop.
make[6]: Leaving directory `/home/wrtdev/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.31/collectd-4.10.2/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/wrtdev/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.31/collectd-4.10.2/src'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/wrtdev/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.31/collectd-4.10.2/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/wrtdev/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.31/collectd-4.10.2'
make[2]: *** [/home/wrtdev/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.31/collectd-4.10.2/.built] Error 2
make[2]: Leaving directory `/home/wrtdev/openwrt/trunk/feeds/packages/utils/collectd'
make[1]: *** [package/feeds/packages/collectd/compile] Error 2
make[1]: Leaving directory `/home/wrtdev/openwrt/trunk'
make: *** [package/collectd/compile] Error 2

Doing a "make defconfig" with "build all packages" enables.

comment:4 Changed 7 years ago by anonymous

Collectd compiles from trunk.
Get this error with backfire rev 24540.

make[7]: Entering directory `/mnt/systemdisk/openwrt/Routerstationpro-openwrt-backfire/build_dir/target-mips_r2_uClibc-0.9.30.1/collectd-4.10.2/src'
/bin/bash ../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/mnt/systemdisk/openwrt/Routerstationpro-openwrt-backfire/staging_dir/target-mips_r2_uClibc-0.9.30.1/usr/lib -L/mnt/systemdisk/openwrt/Routerstationpro-openwrt-backfire/staging_dir/target-mips_r2_uClibc-0.9.30.1/lib -L/mnt/systemdisk/openwrt/Routerstationpro-openwrt-backfire/staging_dir/toolchain-mips_r2_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/lib -L/mnt/systemdisk/openwrt/Routerstationpro-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-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" df.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" rrdtool.la "-dlopen" target_notification.la "-dlopen" target_replace.la "-dlopen" target_scale.la "-dlopen" target_set.la "-dlopen" wireless.la -ldl
libtool: link: cannot -dlpreopen a convenience library: `/mnt/systemdisk/openwrt/Routerstationpro-openwrt-backfire/build_dir/target-mips_r2_uClibc-0.9.30.1/collectd-4.10.2/libltdl/dlopen.la'
make[7]: * [collectd] Error 1

comment:5 Changed 7 years ago by anonymous

Same here regarding the ar71xx platform:
trying to compile Backfire still generates the same error:

libtool: link: cannot -dlpreopen a convenience library: `/home/perus/OpenWrt/backfire/build_dir/target-mips_r2_uClibc-0.9.30.1/collectd-4.10.2/libltdl/dlopen.la'

comment:6 Changed 7 years ago by jow

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

Fixed with r24630

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.