Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[xchat-gnome] Problème de compilation => bug 246990 (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
superman2001
Apprentice
Apprentice


Joined: 09 Dec 2004
Posts: 157
Location: Tubize (Belgique)

PostPosted: Thu Nov 13, 2008 9:12 pm    Post subject: [xchat-gnome] Problème de compilation => bug 246990 (réso Reply with quote

Bonsoir,

Lors de l'emerge de xchat-gnome-0.24.1, j'obtiens ce genre de message :
emerge xchat-gnome wrote:
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I./.. -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGCONF_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED -DGNOME_VFS_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_DEPRECATED -DORBIT2=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -pthread -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -fgnu89-inline -O3 -march=prescott -pipe -falign-functions=4 -fprefetch-loop-arrays -fomit-frame-pointer -MT autoaway_la-gscreensaver.lo -MD -MP -MF .deps/autoaway_la-gscreensaver.Tpo -c gscreensaver.c -fPIC -DPIC -o .libs/autoaway_la-gscreensaver.o
cc1: error: unrecognized command line option "-fgnu89-inline"
cc1: error: unrecognized command line option "-fgnu89-inline"
cc1: error: unrecognized command line option "-fgnu89-inline"
make[3]: *** [autoaway_la-autoaway.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [autoaway_la-gscreensaver.lo] Error 1
make[3]: *** [autoaway_la-xscreensaver.lo] Error 1
make[3]: Leaving directory `/tmp/paludis/net-irc-xchat-gnome-0.24.1/work/xchat-gnome-0.24.1/plugins/autoaway'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/paludis/net-irc-xchat-gnome-0.24.1/work/xchat-gnome-0.24.1/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/paludis/net-irc-xchat-gnome-0.24.1/work/xchat-gnome-0.24.1'
make: *** [all] Error 2

Je n'ai rien trouvé pour résoudre ce problème.
Que faudrait-il faire? Patcher tous les Makefile pour enlever ce flag? Patcher gcc pour qu'il l'accepte?

Merci d'avance pour vos réponses.


Last edited by superman2001 on Sat Nov 15, 2008 10:19 pm; edited 1 time in total
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1677
Location: 127.0.0.1

PostPosted: Thu Nov 13, 2008 10:43 pm    Post subject: Reply with quote

Salut,

emerge --info stp.

Edit : Solution : passe à gcc4 : bug #246464.
Back to top
View user's profile Send private message
superman2001
Apprentice
Apprentice


Joined: 09 Dec 2004
Posts: 157
Location: Tubize (Belgique)

PostPosted: Fri Nov 14, 2008 11:25 pm    Post subject: Reply with quote

Oups, un oubli.

Voici :
emerge --info wrote:
Portage 2.2_rc14 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r2 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r2-i686-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-glibc2.0
Timestamp of tree: Thu, 02 Oct 2008 18:45:04 +0000
distcc 3.0 i686-pc-linux-gnu [disabled]
app-shells/bash: 3.2_p33
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python: 2.4.4-r15, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.3.0-r1
sys-apps/sandbox: 1.2.18.1-r3
sys-devel/autoconf: 2.13, 2.63
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=prescott -pipe -falign-functions=4 -fprefetch-loop-arrays -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -march=prescott -pipe -falign-functions=4 -fprefetch-loop-arrays -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.ovh.net/gentoo-distfiles/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo "
LANG="fr_FR.UTF_8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode x86 xorg 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 mmap_emul 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comme on peut le voir, j'ai gcc-4.1.2.
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1677
Location: 127.0.0.1

PostPosted: Sat Nov 15, 2008 9:21 am    Post subject: Reply with quote

superman2001 wrote:

Comme on peut le voir, j'ai gcc-4.1.2.

Pas de chance, c'est à partir de gcc-4.1.3 que ce paramètre apparait.
Quote:
+This option is accepted by GCC versions 4.1.3 and up.

Donc, downgrade xchat-gnome, et ouvre un bug, que cette condition soit au moins inscrite dans l'ebuild.
Back to top
View user's profile Send private message
superman2001
Apprentice
Apprentice


Joined: 09 Dec 2004
Posts: 157
Location: Tubize (Belgique)

PostPosted: Sat Nov 15, 2008 10:18 pm    Post subject: Reply with quote

Voilà qui est fait : Bug 246990
Merci pour l'info.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum