Bug 124813 - net-firewall/ipsec-tools-0.6.3 fail (gcc4 and -Werror)
Bug#: 124813 Product:  Gentoo Linux Version: 2005.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: latexer@gentoo.org Reported By: hetfield666@gmail.com
Component: Ebuilds
URL: 
Summary: net-firewall/ipsec-tools-0.6.3 fail (gcc4 and -Werror)
Keywords:  
Status Whiteboard: 
Opened: 2006-03-03 08:51 0000
Description:   Opened: 2006-03-03 08:51 0000
touble with gcc4


i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../libipsec  
-D_GNU_SOURCE -include ./src/include-glibc/glibc-bugs.h -I./src/include-glibc
-I./src/include-glibc  -I./../../src/racoon/missing -D_GNU_SOURCE -include
../../src/include-glibc/glibc-bugs.h -I../../src/include-glibc
-I../../src/include-glibc -DSYSCONFDIR=\"/etc\"
-DADMINPORTDIR=\"/var/lib/racoon\" -O3 -mtune=pentium3 -march=pentium3 -pipe
-fomit-frame-pointer -mmmx -msse -ffast-math  -Wall -Werror -Wno-unused
-DEAYDEBUG -o crypto_openssl_test.o -c ./crypto_openssl.c
cc1: warnings being treated as errors
./crypto_openssl.c: In function ‘eay_idea_encrypt’:
./crypto_openssl.c:1290: warning: pointer targets in passing argument 1 of
‘idea_set_encrypt_key’ differ in signedness
./crypto_openssl.c:1298: warning: pointer targets in passing argument 1 of
‘idea_cbc_encrypt’ differ in signedness
./crypto_openssl.c:1298: warning: pointer targets in passing argument 2 of
‘idea_cbc_encrypt’ differ in signedness
./crypto_openssl.c:1298: warning: pointer targets in passing argument 5 of
‘idea_cbc_encrypt’ differ in signedness
./crypto_openssl.c: In function ‘eay_idea_decrypt’:
./crypto_openssl.c:1310: warning: pointer targets in passing argument 1 of
‘idea_set_encrypt_key’ differ in signedness
./crypto_openssl.c:1319: warning: pointer targets in passing argument 1 of
‘idea_cbc_encrypt’ differ in signedness
./crypto_openssl.c:1319: warning: pointer targets in passing argument 2 of
‘idea_cbc_encrypt’ differ in signedness
./crypto_openssl.c:1319: warning: pointer targets in passing argument 5 of
‘idea_cbc_encrypt’ differ in signedness
make[3]: *** [crypto_openssl_test.o] Error 1
make[3]: Leaving directory
`/var/tmp/portage/ipsec-tools-0.6.3/work/ipsec-tools-0.6.3/src/racoon'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/ipsec-tools-0.6.3/work/ipsec-tools-0.6.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/ipsec-tools-0.6.3/work/ipsec-tools-0.6.3'
make: *** [all] Error 2

!!! ERROR: net-firewall/ipsec-tools-0.6.3 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_compile
  ebuild.sh, line 971:   Called src_compile

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if
relevant.

------- Comment #1 From Mark Loeser 2006-04-03 10:13:21 0000 -------
latexer: so, how do you feel about patching the configure script/Makefile so it
doesn't add Werror, since this is probably going to continue to break with
every GCC upgrade, and under other conditions we haven't thought of yet :)

------- Comment #2 From Peter Johanson (RETIRED) 2006-04-19 20:49:04 0000 -------
Fixed in the 0.6.5 bump. Thanks for the report.