Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#4307 closed defect (fixed)

peerguardian build failure on x86-alix at r13492

Reported by: seniorr@… Owned by: developers
Priority: normal Milestone:
Component: packages Version:
Keywords: Cc:

Description

During a "Select all packages" build, ran into this:

make[3]: Entering directory `/aux2/src/openwrt/feeds/packages/net/peerguardian'
gzip -dc /src_archive/openwrt/dl/pglinux-1.5beta.tar.gz | /bin/tar -C /aux2/src/openwrt/build_dir/i386/pglinux-1.5beta/.. -xf -

Applying ./patches/001-no_host_includes.patch using plaintext: 
patching file Makefile.in
touch /aux2/src/openwrt/build_dir/i386/pglinux-1.5beta/.prepared_6fc9df3c027873b505109cf6ed687578
(cd /aux2/src/openwrt/build_dir/i386/pglinux-1.5beta/./; if [ -x ./configure ]; then /usr/bin/X11/find /aux2/src/openwrt/build_dir/i386/pglinux-1.5beta/ -name config.guess | xargs -r -n1 cp /aux2/src/openwrt/scripts/config.guess; /usr/bin/X11/find /aux2/
src/openwrt/build_dir/i386/pglinux-1.5beta/ -name config.sub | xargs -r -n1 cp /aux2/src/openwrt/scripts/config.sub; AR=i386-linux-uclibc-ar AS="i386-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts" LD=i386-linux-uclibc-ld NM=i3
86-linux-uclibc-nm CC="i386-linux-uclibc-gcc" GCC="i386-linux-uclibc-gcc" CXX="i386-linux-uclibc-g++" RANLIB=i386-linux-uclibc-ranlib STRIP=i386-linux-uclibc-strip OBJCOPY=i386-linux-uclibc-objcopy OBJDUMP=i386-linux-uclibc-objdump SIZE=i386-linux-uclibc
-size CFLAGS="-O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts " CXXFLAGS="-O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts " CPPFLAGS="-I/aux2/src/openwrt/staging_dir/i386/usr/include -I/aux2/src/openwrt/staging_dir/i386/include " LDFLAGS="-L/
aux2/src/openwrt/staging_dir/toolchain-i386_gcc4.1.2/lib -L/aux2/src/openwrt/staging_dir/i386/usr/lib -L/aux2/src/openwrt/staging_dir/i386/lib " PKG_CONFIG_PATH="/aux2/src/openwrt/staging_dir/i386/usr/lib/pkgconfig:/aux2/src/openwrt/staging_dir/host/usr/
lib/pkgconfig" PKG_CONFIG_LIBDIR="/aux2/src/openwrt/staging_dir/i386/usr/lib/pkgconfig" CXXFLAGS="$CXXFLAGS $CPPFLAGS -fno-builtin -fno-rtti" LIBS="-nodefaultlibs -luClibc++ -Wl,-Bstatic,-lstdc++,-Bdynamic -lm -lgcc"   ./configure --target=i386-linux --h
ost=i386-linux --build=i486-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --inf
odir=/usr/info --disable-nls ; fi; )
configure: loading site script /aux2/src/openwrt/include/site/i386-linux-uclibc
checking for a BSD-compatible install... /usr/bin/X11/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking for i386-linux-g++... i386-linux-uclibc-g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether i386-linux-uclibc-g++ accepts -g... yes
checking for i386-linux-gcc... i386-linux-uclibc-gcc
checking whether we are using the GNU C compiler... yes
checking whether i386-linux-uclibc-gcc accepts -g... yes
checking for i386-linux-uclibc-gcc option to accept ANSI C... none needed
checking for main in -lipq... no
checking for main in -lncurses... yes
checking for main in -lpthread... yes
checking how to run the C preprocessor... i386-linux-uclibc-gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... cross
configure: WARNING: result yes guessed because of cross compilation
checking for working vfork... (cached) yes
checking for working memcmp... (cached) yes
checking return type of signal handlers... void
checking for atexit... yes
checking for isascii... yes
checking for memset... yes
checking for mkfifo... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strchr... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing default-1 commands
touch /aux2/src/openwrt/build_dir/i386/pglinux-1.5beta/.configured
make -C /aux2/src/openwrt/build_dir/i386/pglinux-1.5beta CXXLD="i386-linux-uclibc-gcc"
make[4]: Entering directory `/aux2/src/openwrt/build_dir/i386/pglinux-1.5beta'
i386-linux-uclibc-g++ -DHAVE_CONFIG_H -I. -I. -I.   -I/aux2/src/openwrt/staging_dir/i386/usr/include -I/aux2/src/openwrt/staging_dir/i386/include   -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts  -I/aux2/src/openwrt/staging_dir/i386/usr/include -I/aux2/src/openwrt/staging_dir/i386/include  -fno-builtin -fno-rtti -c Main.cpp
i386-linux-uclibc-g++ -DHAVE_CONFIG_H -I. -I. -I.   -I/aux2/src/openwrt/staging_dir/i386/usr/include -I/aux2/src/openwrt/staging_dir/i386/include   -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts  -I/aux2/src/openwrt/staging_dir/i386/usr/include -I/aux2/src/openwrt/staging_dir/i386/include  -fno-builtin -fno-rtti -c PeerGuard.cpp
i386-linux-uclibc-g++ -DHAVE_CONFIG_H -I. -I. -I.   -I/aux2/src/openwrt/staging_dir/i386/usr/include -I/aux2/src/openwrt/staging_dir/i386/include   -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts  -I/aux2/src/openwrt/staging_dir/i386/usr/include -I/aux2/src/openwrt/staging_dir/i386/include  -fno-builtin -fno-rtti -c BlockList.cpp
i386-linux-uclibc-g++ -DHAVE_CONFIG_H -I. -I. -I.   -I/aux2/src/openwrt/staging_dir/i386/usr/include -I/aux2/src/openwrt/staging_dir/i386/include   -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts  -I/aux2/src/openwrt/staging_dir/i386/usr/include -I/aux2/src/openwrt/staging_dir/i386/include  -fno-builtin -fno-rtti -c Blocker_Linux.cpp
Blocker_Linux.cpp:27:20: error: libipq.h: No such file or directory
/aux2/src/openwrt/staging_dir/i386/usr/include/linux/netfilter.h:40: error: '__u32' does not name a type
/aux2/src/openwrt/staging_dir/i386/usr/include/linux/netfilter.h:41: error: '__be32' does not name a type
/aux2/src/openwrt/staging_dir/i386/usr/include/linux/netfilter.h:42: error: '__be32' does not name a type
Blocker_Linux.cpp: In function 'void* PG::BlockerThread(void*)':
Blocker_Linux.cpp:102: error: 'ipq_create_handle' was not declared in this scope
Blocker_Linux.cpp:109: error: 'IPQ_COPY_PACKET' was not declared in this scope
Blocker_Linux.cpp:109: error: 'ipq_set_mode' was not declared in this scope
Blocker_Linux.cpp:124: error: 'ipq_read' was not declared in this scope
Blocker_Linux.cpp:133: error: 'ipq_message_type' was not declared in this scope
Blocker_Linux.cpp:135: error: 'NLMSG_ERROR' was not declared in this scope
Blocker_Linux.cpp:137: error: 'ipq_get_msgerr' was not declared in this scope
Blocker_Linux.cpp:142: error: 'ipq_packet_msg_t' was not declared in this scope
Blocker_Linux.cpp:142: error: 'pkt' was not declared in this scope
Blocker_Linux.cpp:142: error: 'ipq_get_packet' was not declared in this scope
Blocker_Linux.cpp:187: error: 'ipq_set_verdict' was not declared in this scope
make[4]: *** [Blocker_Linux.o] Error 1
make[4]: Leaving directory `/aux2/src/openwrt/build_dir/i386/pglinux-1.5beta'
make[3]: *** [/aux2/src/openwrt/build_dir/i386/pglinux-1.5beta/.built] Error 2
make[3]: Leaving directory `/aux2/src/openwrt/feeds/packages/net/peerguardian'
make[2]: *** [package/feeds/packages/peerguardian/compile] Error 2
make[2]: Leaving directory `/aux2/src/openwrt'
make[1]: *** [/aux2/src/openwrt/staging_dir/i386/stamp/.package_compile] Error 2
make[1]: Leaving directory `/aux2/src/openwrt'
make: *** [world] Error 2

Attachments (0)

Change History (1)

comment:1 Changed 9 years ago by florian

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

Fixed with [13629].

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.