Modify

Opened 4 years ago

Closed 4 years ago

#15553 closed defect (fixed)

strongSwan Failing on BuildBot

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: Cc:

Description

Looks like the strongSwan build is failing on all architectures.

From my own digging, the offending lines in the compile log are below:

Making all in plugins/kernel_pfroute
make[7]: Entering directory `/mnt/dl/slave/x86/build/build_dir/target-i386_i486_uClibc-0.9.33.2/strongswan-5.1.1/src/libhydra/plugins/kernel_pfroute'
depbase=`echo kernel_pfroute_plugin.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
	/bin/bash ../../../../libtool  --tag=CC   --mode=compile i486-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I../../../..  -I../../../../src/include -I../../../../src/libstrongswan -I../../../../src/libhydra -I/mnt/dl/slave/x86/build/staging_dir/target-i386_i486_uClibc-0.9.33.2/usr/include -I/mnt/dl/slave/x86/build/staging_dir/target-i386_i486_uClibc-0.9.33.2/include -I/mnt/dl/slave/x86/build/staging_dir/toolchain-i386_i486_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/mnt/dl/slave/x86/build/staging_dir/toolchain-i386_i486_gcc-4.8-linaro_uClibc-0.9.33.2/include -I/mnt/dl/slave/x86/build/staging_dir/target-i386_i486_uClibc-0.9.33.2/usr/include/ClearSilver -rdynamic -Os -pipe -march=i486 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable  -include /mnt/dl/slave/x86/build/build_dir/target-i386_i486_uClibc-0.9.33.2/strongswan-5.1.1/config.h -MT kernel_pfroute_plugin.lo -MD -MP -MF $depbase.Tpo -c -o kernel_pfroute_plugin.lo kernel_pfroute_plugin.c &&\
	mv -f $depbase.Tpo $depbase.Plo
OpenWrt-libtool: compile:  i486-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/include -I../../../../src/libstrongswan -I../../../../src/libhydra -I/mnt/dl/slave/x86/build/staging_dir/target-i386_i486_uClibc-0.9.33.2/usr/include -I/mnt/dl/slave/x86/build/staging_dir/target-i386_i486_uClibc-0.9.33.2/include -I/mnt/dl/slave/x86/build/staging_dir/toolchain-i386_i486_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/mnt/dl/slave/x86/build/staging_dir/toolchain-i386_i486_gcc-4.8-linaro_uClibc-0.9.33.2/include -I/mnt/dl/slave/x86/build/staging_dir/target-i386_i486_uClibc-0.9.33.2/usr/include/ClearSilver -rdynamic -Os -pipe -march=i486 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -include /mnt/dl/slave/x86/build/build_dir/target-i386_i486_uClibc-0.9.33.2/strongswan-5.1.1/config.h -MT kernel_pfroute_plugin.lo -MD -MP -MF .deps/kernel_pfroute_plugin.Tpo -c kernel_pfroute_plugin.c  -fPIC -DPIC -o .libs/kernel_pfroute_plugin.o
depbase=`echo kernel_pfroute_net.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
	/bin/bash ../../../../libtool  --tag=CC   --mode=compile i486-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I../../../..  -I../../../../src/include -I../../../../src/libstrongswan -I../../../../src/libhydra -I/mnt/dl/slave/x86/build/staging_dir/target-i386_i486_uClibc-0.9.33.2/usr/include -I/mnt/dl/slave/x86/build/staging_dir/target-i386_i486_uClibc-0.9.33.2/include -I/mnt/dl/slave/x86/build/staging_dir/toolchain-i386_i486_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/mnt/dl/slave/x86/build/staging_dir/toolchain-i386_i486_gcc-4.8-linaro_uClibc-0.9.33.2/include -I/mnt/dl/slave/x86/build/staging_dir/target-i386_i486_uClibc-0.9.33.2/usr/include/ClearSilver -rdynamic -Os -pipe -march=i486 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable  -include /mnt/dl/slave/x86/build/build_dir/target-i386_i486_uClibc-0.9.33.2/strongswan-5.1.1/config.h -MT kernel_pfroute_net.lo -MD -MP -MF $depbase.Tpo -c -o kernel_pfroute_net.lo kernel_pfroute_net.c &&\
	mv -f $depbase.Tpo $depbase.Plo
OpenWrt-libtool: compile:  i486-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/include -I../../../../src/libstrongswan -I../../../../src/libhydra -I/mnt/dl/slave/x86/build/staging_dir/target-i386_i486_uClibc-0.9.33.2/usr/include -I/mnt/dl/slave/x86/build/staging_dir/target-i386_i486_uClibc-0.9.33.2/include -I/mnt/dl/slave/x86/build/staging_dir/toolchain-i386_i486_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/mnt/dl/slave/x86/build/staging_dir/toolchain-i386_i486_gcc-4.8-linaro_uClibc-0.9.33.2/include -I/mnt/dl/slave/x86/build/staging_dir/target-i386_i486_uClibc-0.9.33.2/usr/include/ClearSilver -rdynamic -Os -pipe -march=i486 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -include /mnt/dl/slave/x86/build/build_dir/target-i386_i486_uClibc-0.9.33.2/strongswan-5.1.1/config.h -MT kernel_pfroute_net.lo -MD -MP -MF .deps/kernel_pfroute_net.Tpo -c kernel_pfroute_net.c  -fPIC -DPIC -o .libs/kernel_pfroute_net.o
kernel_pfroute_net.c:19:23: fatal error: net/if_dl.h: No such file or directory
 #include <net/if_dl.h>
                       ^
compilation terminated.
make[7]: *** [kernel_pfroute_net.lo] Error 1

Unfortunately, I'm not savvy enough to fix this. :(

Attachments (0)

Change History (6)

comment:1 Changed 4 years ago by anonymous

The kernel-pfroute plugin should not be enabled. It won't work on Linux.

comment:2 Changed 4 years ago by nbd

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

fixed in r40514

comment:3 Changed 4 years ago by anonymous

  • Resolution fixed deleted
  • Status changed from closed to reopened

still failing

comment:4 Changed 4 years ago by nbd

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

forgot to commit one more patch. fixed in r40522

comment:5 Changed 4 years ago by edy@…

  • Resolution fixed deleted
  • Status changed from closed to reopened

Since Strongswan 5.1.2 the configuration was changed.
If load_modular = yes ist set ( which is the default ) charon will not start
if /etc/strongswan.d/charon directory with all needed modules is missing.

We need to create that directory and copy all files that are needed.

Kind regards

Edy

comment:6 Changed 4 years ago by nbd

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

fixed in r40524

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.