Modify

Opened 7 years ago

Closed 7 years ago

#8012 closed defect (worksforme)

backfire pcap build error on brcm63xx

Reported by: anonymous Owned by: developers
Priority: response-needed Milestone: Backfire 10.03.1
Component: packages Version: Backfire 10.03.1 RC2
Keywords: Cc:

Description

build fail with the following output with backfire r23156:

....

config.status: creating pcap-savefile.manfile
config.status: creating pcap.3pcap
config.status: creating pcap_compile.3pcap
mips-openwrt-linux-uclibc-gcc -I../ncurses -DHAVE_CONFIG_H -I. -I../include -I/home/user/openwrt/backfire/staging_dir/target-mips_uClibc-0.9.30.1/usr/include -I/home/user/openwrt/backfire/staging_dir/target-mips_uClibc-0.9.30.1/include -I/home/user/openwrt/backfire/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/include -I/home/user/openwrt/backfire/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/include  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -DNDEBUG -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   --param max-inline-insns-single=1200 -c ../form/frm_hook.c -o ../objects/frm_hook.o
config.status: creating pcap_datalink.3pcap
config.status: creating pcap_dump_open.3pcap
config.status: creating pcap_list_datalinks.3pcap
config.status: creating pcap_open_dead.3pcap
config.status: creating pcap_open_offline.3pcap
config.status: creating config.h
mips-openwrt-linux-uclibc-gcc -I../ncurses -DHAVE_CONFIG_H -I. -I../include -I/home/user/openwrt/backfire/staging_dir/target-mips_uClibc-0.9.30.1/usr/include -I/home/user/openwrt/backfire/staging_dir/target-mips_uClibc-0.9.30.1/include -I/home/user/openwrt/backfire/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/include -I/home/user/openwrt/backfire/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/include  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -DNDEBUG -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   --param max-inline-insns-single=1200 -c ../form/frm_opts.c -o ../objects/frm_opts.o
/home/user/openwrt/backfire/staging_dir/host/bin/sed -i -e '/^#define PCAP_SUPPORT_USB/D' /home/user/openwrt/backfire/build_dir/target-mips_uClibc-0.9.30.1/libpcap-1.0.0/config.h
/home/user/openwrt/backfire/staging_dir/host/bin/sed -i -e 's/pcap-usb-linux.c *//' /home/user/openwrt/backfire/build_dir/target-mips_uClibc-0.9.30.1/libpcap-1.0.0/Makefile
/home/user/openwrt/backfire/staging_dir/host/bin/sed -i -e '/^#define PCAP_SUPPORT_BT/D' /home/user/openwrt/backfire/build_dir/target-mips_uClibc-0.9.30.1/libpcap-1.0.0/config.h
/home/user/openwrt/backfire/staging_dir/host/bin/sed -i -e 's/pcap-bt-linux.c *//' /home/user/openwrt/backfire/build_dir/target-mips_uClibc-0.9.30.1/libpcap-1.0.0/Makefile
mips-openwrt-linux-uclibc-gcc -I../ncurses -DHAVE_CONFIG_H -I. -I../include -I/home/user/openwrt/backfire/staging_dir/target-mips_uClibc-0.9.30.1/usr/include -I/home/user/openwrt/backfire/staging_dir/target-mips_uClibc-0.9.30.1/include -I/home/user/openwrt/backfire/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/include -I/home/user/openwrt/backfire/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/include  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -DNDEBUG -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   --param max-inline-insns-single=1200 -c ../form/frm_page.c -o ../objects/frm_page.o
touch /home/user/openwrt/backfire/build_dir/target-mips_uClibc-0.9.30.1/libpcap-1.0.0/.configured_
CFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -ffunction-sections -fdata-sections  -I/home/user/openwrt/backfire/staging_dir/target-mips_uClibc-0.9.30.1/usr/include -I/home/user/openwrt/backfire/staging_dir/target-mips_uClibc-0.9.30.1/include -I/home/user/openwrt/backfire/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/include -I/home/user/openwrt/backfire/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/include " CXXFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -ffunction-sections -fdata-sections  -I/home/user/openwrt/backfire/staging_dir/target-mips_uClibc-0.9.30.1/usr/include -I/home/user/openwrt/backfire/staging_dir/target-mips_uClibc-0.9.30.1/include -I/home/user/openwrt/backfire/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/include -I/home/user/openwrt/backfire/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/include " LDFLAGS="-L/home/user/openwrt/backfire/staging_dir/target-mips_uClibc-0.9.30.1/usr/lib -L/home/user/openwrt/backfire/staging_dir/target-mips_uClibc-0.9.30.1/lib -L/home/user/openwrt/backfire/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/lib -L/home/user/openwrt/backfire/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/lib " make -C /home/user/openwrt/backfire/build_dir/target-mips_uClibc-0.9.30.1/libpcap-1.0.0/. AR=mips-openwrt-linux-uclibc-ar AS="mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -ffunction-sections -fdata-sections" 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" CCOPT="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -ffunction-sections -fdata-sections -I/home/user/openwrt/backfire/build_dir/target-mips_uClibc-0.9.30.1/linux/include" ;
make[4]: Entering directory `/home/user/openwrt/backfire/build_dir/target-mips_uClibc-0.9.30.1/libpcap-1.0.0'
./config.status
config.status: creating Makefile
config.status: creating pcap-filter.manmisc
mips-openwrt-linux-uclibc-gcc -I../ncurses -DHAVE_CONFIG_H -I. -I../include -I/home/user/openwrt/backfire/staging_dir/target-mips_uClibc-0.9.30.1/usr/include -I/home/user/openwrt/backfire/staging_dir/target-mips_uClibc-0.9.30.1/include -I/home/user/openwrt/backfire/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/include -I/home/user/openwrt/backfire/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/include  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -DNDEBUG -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   --param max-inline-insns-single=1200 -c ../form/frm_post.c -o ../objects/frm_post.o
config.status: creating pcap-linktype.manmisc
config.status: creating pcap-savefile.manfile
config.status: creating pcap.3pcap
config.status: creating pcap_compile.3pcap
config.status: creating pcap_datalink.3pcap
config.status: creating pcap_dump_open.3pcap
config.status: creating pcap_list_datalinks.3pcap
config.status: creating pcap_open_dead.3pcap
config.status: creating pcap_open_offline.3pcap
mips-openwrt-linux-uclibc-gcc -I../ncurses -DHAVE_CONFIG_H -I. -I../include -I/home/user/openwrt/backfire/staging_dir/target-mips_uClibc-0.9.30.1/usr/include -I/home/user/openwrt/backfire/staging_dir/target-mips_uClibc-0.9.30.1/include -I/home/user/openwrt/backfire/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/include -I/home/user/openwrt/backfire/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/include  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -DNDEBUG -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   --param max-inline-insns-single=1200 -c ../form/frm_req_name.c -o ../objects/frm_req_name.o
config.status: creating config.h
your Makefile was out of date, now run make again
exit 1
make[4]: *** [Makefile] Error 1
make[4]: Leaving directory `/home/user/openwrt/backfire/build_dir/target-mips_uClibc-0.9.30.1/libpcap-1.0.0'
make[3]: *** [/home/user/openwrt/backfire/build_dir/target-mips_uClibc-0.9.30.1/libpcap-1.0.0/.built] Error 2
make[3]: Leaving directory `/home/user/openwrt/backfire/package/libpcap'
make[2]: *** [package/libpcap/compile] Error 2
make[2]: *** Waiting for unfinished jobs....

....

The problem should be with the libpcap makefile

Attachments (0)

Change History (6)

comment:1 Changed 7 years ago by cshore

  • Priority changed from high to response-needed
  • Summary changed from backfire build error on brcm63xx to backfire pcap build error on brcm63xx

This was probably a temporary build failure, due to a problem with packages rather than brcm63xx. Can you please verify this problem still exists?

comment:2 Changed 7 years ago by nbd

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

comment:3 Changed 7 years ago by anonymous

  • Resolution no_response deleted
  • Status changed from closed to reopened

yes, the problem still exists. After a fresh checkout try to build an image for brcm63xx including libpcap. When the process is going to build libpcap it fails. Solution is to rerun make. The problem still appear after run make clean and then make again

comment:4 Changed 7 years ago by cshore

I know it doesn't happen with trunk as I have compiled libpcap on trunk recently.
For backfire you said RC2....is that the last version you compiled, or did you compile from the backfire tree?
current backfire version is rc5, and some revision of the packages tree.

Are you using specific checkout (i.e. versioned), or just the latest backfire + current packages?

Also those messages look suspiciously like you did make V=99 -jX. If so can you redo without the parallel build? I'm not sure that the error is comming from pcap.

comment:5 Changed 7 years ago by anonymous

was Rc2 when ticket was opened. I tried today latest backfire branch and compilation breaks.
These are my steps:

svn co svn://svn.openwrt.org/openwrt/branches/backfire
./scripts/feeds update -a
./scripts/feeds install -a
make menuconfig
choose brcm63xx and the packages I need
make

Then compilation stop on libpcap.
So I just rerun make and compilation ends.
Problem reappears also after a make clean. Run make 2 times is the solution.

I'm using Ubuntu 10.10 x86.
Let me know if you need more info.
Regards

comment:6 Changed 7 years ago by jow

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

During the full release builds of RC5 on CentOS 5.6 I did not notice any pcap compilation errors, buildbots do not report such errors either and no similar tickets appeared so I assume this is either fixed or invalid.

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.