Modify

Opened 8 years ago

Closed 3 years ago

#7547 closed defect (worksforme)

iputils fails

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: iputils Cc: oliver@…

Description

make[3]: Entering directory `/silo/build/openwrt/trunk/feeds/packages/net/iputils'
Makefile:172: * commands commence before first target. Stop.
make[3]: Leaving directory `/silo/build/openwrt/trunk/feeds/packages/net/iputils'

The offending bit:

ifeq ($(CONFIG_IPV6),y)

$(eval $(call BuildPackage,iputils-ping6))
$(eval $(call BuildPackage,iputils-tracepath6))
$(eval $(call BuildPackage,iputils-traceroute6))

endif

upgrading to 2010 release does not fix it.

Attachments (0)

Change History (10)

comment:1 Changed 8 years ago by anonymous

Upgrading to the latest 2010 branch (from the 2007!! branch) fixes it, but the 002-ipv6 patch needs to be removed.

make[3]: Entering directory `/silo/build/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.30.1/iputils-s20100418'
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time -fhonour-copts -msoft-float -c -o arping.o arping.c
arping.c:35:28: error: sysfs/libsysfs.h: No such file or directory
arping.c: In function 'set_device_broadcast':
arping.c:321: warning: assignment makes pointer from integer without a cast
arping.c:327: warning: assignment makes pointer from integer without a cast
arping.c:339: error: dereferencing pointer to incomplete type
make[3]: * [arping.o] Error 1

node@riley /silo/build/openwrt/trunk $ locate libsysfs.h
/tank/01/build/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.30.1/sysfsutils-2.1.0/ipkg-install/usr/include/sysfs/libsysfs.h
/silo/build/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.30.1/sysfsutils-2.1.0/ipkg-install/usr/include/sysfs/libsysfs.h
/silo/build/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.30.1/sysfsutils-2.1.0/include/libsysfs.h
/silo/build/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.30.1/usr/include/sysfs/libsysfs.h

patch 001 could be revised to only remove arping?

comment:2 Changed 8 years ago by anonymous

mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time -fhonour-copts -msoft-float -c -o ping6.o ping6.c
ping6.c:157:25: error: openssl/md5.h: No such file or directory
ping6.c: In function 'ni_groupaddr':
ping6.c:474: error: 'MD5_CTX' undeclared (first use in this function)
ping6.c:474: error: (Each undeclared identifier is reported only once
ping6.c:474: error: for each function it appears in.)
ping6.c:474: error: expected ';' before 'ctxt'
ping6.c:504: error: 'ctxt' undeclared (first use in this function)
make[3]: * [ping6.o] Error 1

ping6 fails to; iputils seems quite broken :(

comment:3 Changed 8 years ago by anonymous

I lied, 2 seperate makefiles confused me. One from the feed, one for the package. the package Makefile needs the tabs removed in the offending section. the rest should have been a seperate report.

comment:4 Changed 8 years ago by anonymous

Change 22011 is responsible for the initial bug report.

comment:5 Changed 5 years ago by jogo

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

Iputils was updated and compiles in current trunk and attitude adjustment.

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

comment:7 Changed 3 years ago by laborer

It is fixed? I doubt so.

Caught it trying to build current barrier breaker with make -j5

arm-openwrt-linux-gnueabi-gcc -Os -pipe -march=armv6 -mtune=arm1176jzf-s -mfpu=vfp -fno-caller-saves -mfloat-abi=soft -I/home/sergey/code/openwrt_tree/openwrt/staging_dir/target-arm-openwrt-linux-gnueabi/usr/include -I/home/sergey/code/openwrt_tree/openwrt/staging_dir/target-arm-openwrt-linux-gnueabi/include -I/home/sergey/code/raspberry_pi/toolchain/OpenWrt-Toolchain-brcm2708-for-arm_arm1176jzf-s+vfp-gcc-4.8-linaro_eglibc-2.19_eabi/toolchain-arm_arm1176jzf-s+vfp_gcc-4.8-linaro_eglibc-2.19_eabi/include -L/home/sergey/code/openwrt_tree/openwrt/staging_dir/target-arm-openwrt-linux-gnueabi/usr/lib -L/home/sergey/code/openwrt_tree/openwrt/staging_dir/target-arm-openwrt-linux-gnueabi/lib -L/home/sergey/code/raspberry_pi/toolchain/OpenWrt-Toolchain-brcm2708-for-arm_arm1176jzf-s+vfp-gcc-4.8-linaro_eglibc-2.19_eabi/toolchain-arm_arm1176jzf-s+vfp_gcc-4.8-linaro_eglibc-2.19_eabi/lib -c -o ping6.o ping6.c

ping6.c:162:25: fatal error: openssl/md5.h: No such file or directory

#include <openssl/md5.h>


compilation terminated.

comment:8 Changed 3 years ago by laborer

But strange. I am catching such an error at times.
In the above mentioned example neither openssl nor polarssl was unpacked and built.
But when they do that error goes away.

comment:9 Changed 3 years ago by cnctdhome@…

  • Resolution fixed deleted
  • Status changed from closed to reopened

Seems the error is back .. with arping

-L/home/kai/carambola2/staging_dir/toolchain-mipsel_r2_gcc-4.7-linaro_uClibc-0.9.33.2/lib -c -o arping.o arping.c
arping.c:35:28: fatal error: sysfs/libsysfs.h: No such file or directory
compilation terminated.
make[4]: * [arping.o] Error 1
make[4]: Leaving directory `/home/kai/carambola2/build_dir/target-mipsel_r2_uClibc-0.9.33.2/iputils-s20101006'
make[3]:
* /home/kai/carambola2/build_dir/target-mipsel_r2_uClibc-0.9.33.2/iputils-s20101006/.built Error 2
make[3]: Leaving directory `/home/kai/carambola2/package/network/utils/iputils'
make[2]: * [package/network/utils/iputils/compile] Error 2
make[2]: Leaving directory `/home/kai/carambola2'
make[1]:
* /home/kai/carambola2/staging_dir/target-mipsel_r2_uClibc-0.9.33.2/stamp/.package_compile Error 2
make[1]: Leaving directory `/home/kai/carambola2'
make: * [world] Error 2

comment:10 Changed 3 years ago by nbd

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

looks like you're using an old version of openwrt. we don't have gcc 4.7 in anything recent.

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.