Modify

Opened 7 years ago

Closed 6 years ago

Last modified 4 years ago

#9644 closed enhancement (obsolete)

openswan-2.6.33 does not build with linux-2.6.39 (trunk)

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: openswan vpn Cc:

Description

I'm attempting to build an image from trunk that includes openswan but it's failing. It appears from the openswan-2.6.34 change log that this is addressed in the newer level. Is it possible to update the openswan package to 2.6.34?

Attachments (2)

openswan-2-6-34.patch (14.8 KB) - added by heil 7 years ago.
openswan-2-6-34.patch
openswan-2.6.35.patch (17.1 KB) - added by heil 7 years ago.
openswan-2.6.35.patch

Download all attachments as: .zip

Change History (11)

comment:1 Changed 7 years ago by filipebteixeira@…

I am having the same problem. I tried to change the version of openswan in makefile to version 2.6.34 and the problem remains.

Changed 7 years ago by heil

openswan-2-6-34.patch

comment:2 follow-up: Changed 7 years ago by heil

Please try openswan-2-6-34.patch and maybe post your error log.

comment:3 in reply to: ↑ 2 Changed 7 years ago by anonymous

Replying to heil:

Please try openswan-2-6-34.patch and maybe post your error log.

Build log with patch in /feeds/packages/net/openswan/patches

. /home/x/trunk_asus/include/shell.sh; . /home/x/trunk_asus/include/shell.sh; gzip -dc /home/x/trunk_asus/dl/openswan-2.6.34.tar.gz | /bin/tar -C /home/x/trunk_asus/build_dir/linux-brcm47xx/openswan-2.6.34/.. -xf -

Applying ./patches/110-scripts.patch using plaintext:
patching file programs/loggerfix
patching file programs/_plutorun/_plutorun.in
patching file programs/_realsetup/_realsetup.in

Applying ./patches/120-no_manpages.patch using plaintext:
patching file programs/_confread/Makefile
patching file programs/pluto/Makefile

Applying ./patches/130-compat_net_dev_ops.patch using plaintext:
patching file linux/include/openswan/ipsec_kversion.h
Hunk #1 succeeded at 393 (offset 6 lines).

Applying ./patches/140-generated_autoconf.patch using plaintext:
patching file linux/net/ipsec/ipsec_ocf.c
Hunk #1 FAILED at 15.
1 out of 1 hunk FAILED -- saving rejects to file linux/net/ipsec/ipsec_ocf.c.rej
patching file linux/net/ipsec/pfkey_v2_ext_process.c
Hunk #1 FAILED at 19.
1 out of 1 hunk FAILED -- saving rejects to file linux/net/ipsec/pfkey_v2_ext_process.c.rej
patching file linux/net/ipsec/version.in.c
Hunk #1 FAILED at 15.
1 out of 1 hunk FAILED -- saving rejects to file linux/net/ipsec/version.in.c.rej
patching file linux/net/ipsec/ipsec_ipcomp.c
Hunk #1 FAILED at 13.
1 out of 1 hunk FAILED -- saving rejects to file linux/net/ipsec/ipsec_ipcomp.c.rej
patching file linux/net/ipsec/radij.c
Hunk #1 FAILED at 53.
1 out of 1 hunk FAILED -- saving rejects to file linux/net/ipsec/radij.c.rej
patching file linux/net/ipsec/ipsec_mast.c
Hunk #1 FAILED at 17.
1 out of 1 hunk FAILED -- saving rejects to file linux/net/ipsec/ipsec_mast.c.rej
patching file linux/net/ipsec/ipsec_xmit.c
Hunk #1 FAILED at 21.
1 out of 1 hunk FAILED -- saving rejects to file linux/net/ipsec/ipsec_xmit.c.rej
patching file linux/net/ipsec/ipsec_ipip.c
Hunk #1 FAILED at 13.
1 out of 1 hunk FAILED -- saving rejects to file linux/net/ipsec/ipsec_ipip.c.rej
patching file linux/net/ipsec/ipsec_snprintf.c
Hunk #1 FAILED at 18.
1 out of 1 hunk FAILED -- saving rejects to file linux/net/ipsec/ipsec_snprintf.c.rej
patching file linux/net/ipsec/ipsec_xform.c
Hunk #1 FAILED at 16.
1 out of 1 hunk FAILED -- saving rejects to file linux/net/ipsec/ipsec_xform.c.rej
patching file linux/net/ipsec/alg/ipsec_alg_cryptoapi.c
patching file linux/net/ipsec/aes/ipsec_alg_aes.c
Hunk #1 FAILED at 21.
1 out of 1 hunk FAILED -- saving rejects to file linux/net/ipsec/aes/ipsec_alg_aes.c.rej
patching file linux/net/ipsec/ipsec_proc.c
Hunk #1 FAILED at 18.
1 out of 1 hunk FAILED -- saving rejects to file linux/net/ipsec/ipsec_proc.c.rej
patching file linux/net/ipsec/ipcomp.c
Hunk #1 FAILED at 18.
1 out of 1 hunk FAILED -- saving rejects to file linux/net/ipsec/ipcomp.c.rej
patching file linux/net/ipsec/ipsec_sa.c
Hunk #1 FAILED at 18.
1 out of 1 hunk FAILED -- saving rejects to file linux/net/ipsec/ipsec_sa.c.rej
patching file linux/net/ipsec/des/ipsec_alg_3des.c
Hunk #1 FAILED at 18.
1 out of 1 hunk FAILED -- saving rejects to file linux/net/ipsec/des/ipsec_alg_3des.c.rej
patching file linux/net/ipsec/ipsec_radij.c
Hunk #1 FAILED at 15.
1 out of 1 hunk FAILED -- saving rejects to file linux/net/ipsec/ipsec_radij.c.rej
patching file linux/net/ipsec/ipsec_rcv.c
Hunk #1 FAILED at 20.
1 out of 1 hunk FAILED -- saving rejects to file linux/net/ipsec/ipsec_rcv.c.rej
patching file linux/net/ipsec/ipsec_esp.c
Hunk #1 FAILED at 13.
1 out of 1 hunk FAILED -- saving rejects to file linux/net/ipsec/ipsec_esp.c.rej
patching file linux/net/ipsec/ipsec_life.c
Hunk #1 FAILED at 30.
1 out of 1 hunk FAILED -- saving rejects to file linux/net/ipsec/ipsec_life.c.rej
patching file linux/net/ipsec/ipsec_alg.c
Hunk #1 FAILED at 18.
1 out of 1 hunk FAILED -- saving rejects to file linux/net/ipsec/ipsec_alg.c.rej
patching file linux/net/ipsec/pfkey_v2.c
Hunk #1 FAILED at 22.
1 out of 1 hunk FAILED -- saving rejects to file linux/net/ipsec/pfkey_v2.c.rej
patching file linux/net/ipsec/ipsec_tunnel.c
Hunk #1 FAILED at 20.
1 out of 1 hunk FAILED -- saving rejects to file linux/net/ipsec/ipsec_tunnel.c.rej
patching file linux/include/openswan/ipsec_kversion.h
Hunk #1 FAILED at 43.
1 out of 1 hunk FAILED -- saving rejects to file linux/include/openswan/ipsec_kversion.h.rej
patching file linux/include/openswan/ipsec_rcv.h
Hunk #1 FAILED at 36.
1 out of 1 hunk FAILED -- saving rejects to file linux/include/openswan/ipsec_rcv.h.rej
patching file linux/net/ipsec/ipsec_ocf.h
Hunk #1 FAILED at 18.
1 out of 1 hunk FAILED -- saving rejects to file linux/net/ipsec/ipsec_ocf.h.rej
patching file linux/net/ipsec/ipsec_ah.c
Hunk #1 FAILED at 13.
1 out of 1 hunk FAILED -- saving rejects to file linux/net/ipsec/ipsec_ah.c.rej
patching file linux/net/ipsec/pfkey_v2_parser.c
Hunk #1 FAILED at 22.
1 out of 1 hunk FAILED -- saving rejects to file linux/net/ipsec/pfkey_v2_parser.c.rej
patching file linux/net/ipsec/ipsec_init.c
Hunk #1 FAILED at 18.
1 out of 1 hunk FAILED -- saving rejects to file linux/net/ipsec/ipsec_init.c.rej
patching file linux/net/ipsec/ipsec_alg_cryptoapi.c
Hunk #1 FAILED at 27.
1 out of 1 hunk FAILED -- saving rejects to file linux/net/ipsec/ipsec_alg_cryptoapi.c.rej
patching file linux/include/ocf-compat.h
Hunk #1 FAILED at 34.
1 out of 1 hunk FAILED -- saving rejects to file linux/include/ocf-compat.h.rej
Patch failed! Please fix ./patches/140-generated_autoconf.patch!
make[3]: * /home/x/trunk_asus/build_dir/linux-brcm47xx/openswan-2.6.34/.prepared_08255e8086287b22a1c06b20bdd4669b Error 1
make[3]: Leaving directory `/home/x/trunk_asus/feeds/packages/net/openswan'
make[2]:
* [package/feeds/packages/openswan/compile] Error 2
make[2]: Leaving directory `/home/x/trunk_asus'
make[1]: * /home/x/trunk_asus/staging_dir/target-mipsel_uClibc-0.9.32/stamp/.package_compile Error 2
make[1]: Leaving directory `/home/x/trunk_asus'
make:
* [world] Error 2

comment:4 follow-up: Changed 7 years ago by heil

please go to /feeds/ and apply the patch with patch -p0 < /patchtopatch/openswan-2-6-34.patch
The patch changes the Makefile and removes patches/140-generated_autoconf.patch wich seems not to be necessary any more.

comment:5 in reply to: ↑ 4 Changed 7 years ago by anonymous

Replying to heil:

please go to /feeds/ and apply the patch with patch -p0 < /patchtopatch/openswan-2-6-34.patch
The patch changes the Makefile and removes patches/140-generated_autoconf.patch wich seems not to be necessary any more.

Worked for me. Thanks.

comment:6 Changed 7 years ago by anonymous

Openswan still fails to build in trunk, applying the patch suggested here solves the problem and openswan builds.

So why not just add the patch to trunk ?

comment:7 Changed 7 years ago by heil

you may also try the attached patch to bump to version 2.6.35.

Changed 7 years ago by heil

openswan-2.6.35.patch

comment:8 Changed 6 years ago by nico

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

Updated to 2.6.37 in r28739

comment:9 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

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.