FS#15271 - [openswan] Build from ABS fails

Attached to Project: Arch Linux
Opened by CalimeroTeknik (Calimero) - Friday, 26 June 2009, 13:02 GMT
Last edited by Paul Mattal (paul) - Sunday, 08 November 2009, 01:34 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Compilation fails, the error part (the end) :

optionsfrom.c:34: error: conflicting types for 'getline'
/usr/include/stdio.h:651: note: previous declaration of 'getline' was here
keyblobtoid.c: In function 'keyblobtoid':
keyblobtoid.c:40: warning: pointer targets in passing argument 1 of 'datatot' differ in signedness
/tmp/yaourt-tmp-arch/abs-openswan/src/openswan-2.4.14/linux/include/openswan.h:235: note: expected 'const char *' but argument is of type 'const unsigned char *'
make[2]: *** [optionsfrom.o] Error 1
make[2]: *** Waiting for unfinished jobs....
kernel_alg.c: In function 'kernel_alg_proc_read':
kernel_alg.c:129: warning: 'sadb_alg.sadb_alg_reserved' may be used uninitialized in this function
kernel_alg.c:194: note: 'sadb_alg.sadb_alg_reserved' was declared here
make[2]: Leaving directory `/tmp/yaourt-tmp-arch/abs-openswan/src/openswan-2.4.14/lib/libopenswan'
make[1]: *** [programs] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-arch/abs-openswan/src/openswan-2.4.14/lib'
make: *** [programs] Error 1
==> ERROR: Build Failed.


Additional info:
* package version : 2.4.14


Steps to reproduce:
Build openswan from ABS.
This task depends upon

Closed by  Paul Mattal (paul)
Sunday, 08 November 2009, 01:34 GMT
Reason for closing:  Won't fix
Additional comments about closing:  openswan is no longer in core
Comment by Jens Pranaitis (jensp) - Saturday, 05 September 2009, 11:01 GMT
Here is a fixed PKGBUILD with a patch from Gentoo bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=271987
Comment by Thomas Dziedzic (tomd123) - Sunday, 08 November 2009, 00:42 GMT
I think this is an upstream issue, CVS has this problem also. (the new glibc is the root of these errors)
A new release came out 2.4.15 try that. Also I don't see openswan in core or extra :/

Loading...