Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 211840

Summary: www-client/kazehakase-0.5.2 GCC 4.3 patch
Product: Gentoo Linux Reporter: Harald van Dijk (RETIRED) <truedfx>
Component: [OLD] GCC PortingAssignee: MATSUU Takuto (RETIRED) <matsuu>
Status: RESOLVED FIXED    
Severity: normal CC: nakano
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: kazehakase-gcc43.patch

Description Harald van Dijk (RETIRED) gentoo-dev 2008-02-28 21:51:55 UTC
kazehakase fails to configure properly when using GCC 4.3, because it performs one check by enabling -Werror -Wconversion to see if a particular warning is produced. Firstly, this warning is not produced with these options with GCC 4.3 (the flag is now -Wsign-conversion), and secondly, -Wconversion now enables other warnings, which become errors due to -Werror, and cause more bad configure results. This patch gets rid of the -W* options entirely, and takes a different approach in the configure check.

ebuild modifications are needed to regenerate autoconf, and because of that I'll attach the diff to $PORTDIR/www-client/kazehakase, not directly the diff to the source.

Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.3.0-rc1, glibc-2.7-r1, 2.6.24-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Timestamp of tree: Wed, 27 Feb 2008 23:00:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.5.1-r5
sys-apps/baselayout: 2.0.0_rc6-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -g"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -g"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="assume-digests autopatch cvs distlocks installsources metadata-transfer multilib-strict notitles parallel-fetch sandbox sfperms sign splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://216.165.129.135/"
INSTALL_MASK="/var/www"
LANG="en_GB.UTF-8"
LDFLAGS="-Xlinker --as-needed"
LINGUAS="*"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/etc/portage/overlay/hiyuh /etc/portage/overlay/linamh /etc/portage/overlay/nouveau /etc/portage/overlay /var/cvs/gentoo-x86"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac accessibility acl acpi ads alsa async bidi bindist bitmap-fonts boost bzip2 cddb cdparanoia chm cjk cli cracklib crypt curl cvs debugger demo disk-partition divx dri dvd ffmpeg filepicker firefox flac fortran ftp gcc-libffi gif gmp gnustep gpg gtk htmlhandbook iconv inotify ipv6 isdnlog ithreads jpeg kde ldap lesstif libffi mad mbox midi mikmod mmx mmxext mozdevelop mp3 mudflap ncurses nls nocxx nptl nptlonly objc objc++ ogg opengl pam pango pdf perl pg-intdatetime pic png postgres pppd quicktime readline realmedia reflection rtc samba sdl session spl sqlite sqlite3 sse sse2 ssl subversion svg swat tcpd teletext tetex theora threads timidity tordns truetype truetype-fonts type1-fonts unicode urandom v4l v4l2 vorbis wmp x86 xcomposite xim xml xorg xscreensaver zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="*" USERLAND="GNU" VIDEO_CARDS="vesa nv nouveau"
Unset:  CPPFLAGS, CTARGET, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Harald van Dijk (RETIRED) gentoo-dev 2008-02-28 21:53:19 UTC
Created attachment 144904 [details, diff]
kazehakase-gcc43.patch
Comment 2 MATSUU Takuto (RETIRED) gentoo-dev 2008-02-29 15:43:20 UTC
fixed in kazehakase-0.5.3