[strongSwan] Centos6.5, building SS 5.1.1 or 5.1.2dr2 fails
Kimmo K
koippa at gmail.com
Wed Dec 18 16:53:05 CET 2013
Hello
I'm have built strongswan rpm's with mock in Centos 6.5 (2.6.32-431.el6.x86_64).
Building 5.1.0 works okay, but 5.1.1 or 5.1.2dr2 does not.
Any ideas, what should I do to get it to build?
Best Regards,
Kimmo
Mockbuild:
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../..
-I../../src/libstrongswan -DIPSEC_DIR=\"/usr/libexec/strongswan\"
-DIPSEC_LIB_DIR=\"/usr/lib/strongswan\"
-DPLUGINDIR=\"/usr/lib/strongswan/plugins\"
-DSTRONGSWAN_CONF=\"/etc/strongswan/strongswan.conf\" -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -include
/builddir/build/BUILD/strongswan-5.1.2dr2/config.h -MT
networking/tun_device.lo -MD -MP -MF networking/.deps/tun_device.Tpo
-c networking/tun_device.c -fPIC -DPIC -o
networking/.libs/tun_device.o
In file included from /usr/include/linux/if_tun.h:21,
from networking/tun_device.c:51:
/usr/include/linux/if_ether.h:125: error: expected
specifier-qualifier-list before '__be16'
In file included from networking/tun_device.c:51:
/usr/include/linux/if_tun.h:72: error: expected
specifier-qualifier-list before '__u16'
In file included from networking/tun_device.c:51:
/usr/include/linux/if_tun.h:86: error: expected
specifier-qualifier-list before '__u16'
make[5]: Leaving directory
`/builddir/build/BUILD/strongswan-5.1.2dr2/src/libstrongswan'
make[5]: *** [networking/tun_device.lo] Error 1
make[4]: Leaving directory
`/builddir/build/BUILD/strongswan-5.1.2dr2/src/libstrongswan'
make[3]: Leaving directory
`/builddir/build/BUILD/strongswan-5.1.2dr2/src/libstrongswan'
make[2]: Leaving directory `/builddir/build/BUILD/strongswan-5.1.2dr2/src'
make[1]: Leaving directory `/builddir/build/BUILD/strongswan-5.1.2dr2'
RPM build errors:
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.nKbNLP (%build)
Bad exit status from /var/tmp/rpm-tmp.nKbNLP (%build)
Child return code was: 1
EXCEPTION: Command failed. See logs for output.
# ['bash', '--login', '-c', 'rpmbuild -bb --target i386 --nodeps
builddir/build/SPECS/strongswan512.spec']
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/mockbuild/trace_decorator.py",
line 70, in trace
result = func(*args, **kw)
File "/usr/lib/python2.6/site-packages/mockbuild/util.py", line 359, in do
raise mockbuild.exception.Error, ("Command failed. See logs for
output.\n # %s" % (command,), child.returncode)
Error: Command failed. See logs for output.
# ['bash', '--login', '-c', 'rpmbuild -bb --target i386 --nodeps
builddir/build/SPECS/strongswan512.spec']
LEAVE do --> EXCEPTION RAISED
More information about the Users
mailing list