Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 163505 - net-firewall/ipsec-tools-0.6.3 doesn't compile with rc5 USE flag (-Werror)
Summary: net-firewall/ipsec-tools-0.6.3 doesn't compile with rc5 USE flag (-Werror)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Peter Johanson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-23 22:51 UTC by Ortwin Glueck
Modified: 2007-04-21 11:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ortwin Glueck 2007-01-23 22:51:39 UTC
If the rc5 USE flag is enabled I get the following compile error:

if 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\" -O2 -march=nocona -fomit-frame-pointer -pipe  -Wall -Werror -Wno-unused -MT logger.o -MD -MP -MF ".deps/logger.Tpo" -c -o logger.o logger.c; \
        then mv -f ".deps/logger.Tpo" ".deps/logger.Po"; else rm -f ".deps/logger.Tpo"; exit 1; fi
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\" -O2 -march=nocona -fomit-frame-pointer -pipe  -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_rc5_encrypt':
./crypto_openssl.c:1388: warning: pointer targets in passing argument 3 of 'RC5_32_set_key' differ in signedness
./crypto_openssl.c:1396: warning: pointer targets in passing argument 1 of 'RC5_32_cbc_encrypt' differ in signedness
./crypto_openssl.c:1396: warning: pointer targets in passing argument 2 of 'RC5_32_cbc_encrypt' differ in signedness
./crypto_openssl.c:1396: warning: pointer targets in passing argument 5 of 'RC5_32_cbc_encrypt' differ in signedness
./crypto_openssl.c: In function 'eay_rc5_decrypt':
./crypto_openssl.c:1409: warning: pointer targets in passing argument 3 of 'RC5_32_set_key' differ in signedness
./crypto_openssl.c:1417: warning: pointer targets in passing argument 1 of 'RC5_32_cbc_encrypt' differ in signedness
./crypto_openssl.c:1417: warning: pointer targets in passing argument 2 of 'RC5_32_cbc_encrypt' differ in signedness
./crypto_openssl.c:1417: warning: pointer targets in passing argument 5 of 'RC5_32_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 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ipsec-tools-0.6.3.ebuild, line 50:   Called die

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


Reproducible: Always

Steps to Reproduce:
1. USE="rc5" emerge ipsec-tools
Comment 1 Ortwin Glueck 2007-01-23 22:54:38 UTC
same for the idea USE flag
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-01-23 22:54:50 UTC
Retarded -Werror...
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-01-23 22:55:08 UTC
Post your emerge --info
Comment 4 Ortwin Glueck 2007-01-24 09:13:16 UTC
Sorry, no idea what -Werror is. I am not a C developer.

emerge --info

Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18.6 i686)
=================================================================
System uname: 2.6.18.6 i686 Intel(R) Core(TM)2 CPU         T7600  @ 2.33GHz
Gentoo Base System version 1.12.6
Last Sync: Tue, 23 Jan 2007 01:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig metadata-transfer sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/"
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gollum.odi.ch/gentoo-portage"
USE="x86 X X509 a52 aac acpi alsa alsa_cards_hda-intel alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol amr apache2 asf audacious bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cddb cdparanoia cdr cli cracklib crypt css cups dbus dga divx dlloader dri dvd dvdr dvdread elibc_glibc emboss encode exscalibar fam ffmpeg fftw firefox flac ftp gdbm gif gmedia gpm gstreamer gtk gtk2 hal hfs hpn ibam iconv idn ieee1394 input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics ipod ipv6 irda isight java javascript jce jpeg kde kernel_linux lame lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text ldap libvisual linguas_de linguas_en logitech-mouse logrotate mad maildir mikmod mmx mozdevelop mozsvg mp3 mp4 mpeg mpeg2 mplayer msn multicall mysql ncurses network nls no-old-linux nodrm nptl nptlonly nsplugin ogg opengl pam pcre pdf perl png ppds pppd python qt3 qt4 quicktime rdesktop readline real realmedia reflection sasl scanner sdl session slp smp sms speex spf spl sse sse2 ssl subversion svg tcpd theora thunderbird tiff tk truetype truetype-fonts type1 type1-fonts udev unicode urandom usb userland_GNU userlocales utempter v4l v4l2 vcd video_cards_fbdev video_cards_fglrx video_cards_radeon video_cards_vesa visualization vorbis wifi win32codecs wmp x264 xcomposite xine xinerama xml xorg xosd xscreensaver xv xvid zeroconf zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 5 Daniel Black (RETIRED) gentoo-dev 2007-04-21 11:36:56 UTC
fixed in later versions.