Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190593 - emerge dev-libs/g-wrap-1.9.6-r3 fails with gcc-4.2 due to -Werror
Summary: emerge dev-libs/g-wrap-1.9.6-r3 fails with gcc-4.2 due to -Werror
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Scheme Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-29 02:06 UTC by Austin McKinley
Modified: 2007-08-29 17:34 UTC (History)
0 users

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


Attachments
proposed g-wrap-1.9.6-r3 ebuild's diff (g-wrap-1.9.6-r3-ebuild.diff,416 bytes, patch)
2007-08-29 15:47 UTC, Panagiotis Christopoulos (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Austin McKinley 2007-08-29 02:06:13 UTC
emerging dev-libs/g-wrap-1.9.6-r3 as a dependency of gnucash-2.0.5. build error follows:

cc1: warnings being treated as errors
In file included from /usr/include/glib-2.0/glib/gstring.h:32,
                 from /usr/include/glib-2.0/glib/giochannel.h:32,
                 from /usr/include/glib-2.0/glib.h:47,
                 from gw-glib.c:5:
/usr/include/glib-2.0/glib/gutils.h:277: warning: C99 inline functions are not supported; using GNU89
/usr/include/glib-2.0/glib/gutils.h:277: warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute
/usr/include/glib-2.0/glib/gutils.h:291: warning: C99 inline functions are not supported; using GNU89
/usr/include/glib-2.0/glib/gutils.h:304: warning: C99 inline functions are not supported; using GNU89
/usr/include/glib-2.0/glib/gutils.h:322: warning: C99 inline functions are not supported; using GNU89
/usr/include/glib-2.0/glib/gutils.h:330: warning: C99 inline functions are not supported; using GNU89
/usr/include/glib-2.0/glib/gutils.h:347: warning: C99 inline functions are not supported; using GNU89
/usr/include/glib-2.0/glib/gutils.h:356: warning: C99 inline functions are not supported; using GNU89
make[4]: *** [libgw_guile_gw_glib_la-gw-glib.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/dev-libs/g-wrap-1.9.6-r3/work/g-wrap-1.9.6/guile/g-wrap/gw'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-libs/g-wrap-1.9.6-r3/work/g-wrap-1.9.6/guile/g-wrap'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-libs/g-wrap-1.9.6-r3/work/g-wrap-1.9.6/guile'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/g-wrap-1.9.6-r3/work/g-wrap-1.9.6'
make: *** [all] Error 2
 * 
 * ERROR: dev-libs/g-wrap-1.9.6-r3 failed.


Reproducible: Always

Steps to Reproduce:
1. emerge g-wrap on an amd64 box
Comment 1 Marijn Schouten (RETIRED) gentoo-dev 2007-08-29 10:08:48 UTC
Please provide information.
Comment 2 Austin McKinley 2007-08-29 11:50:01 UTC
(In reply to comment #1)
> Please provide information.
> 

austin@niu ~ $ emerge --info
Portage 2.1.3.7 (default-linux/amd64/2007.0/desktop, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r1 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Tue, 28 Aug 2007 22:00:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17.50.0.18
sys-devel/gcc-config: 1.4.0-r1
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-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/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="en_US.UTF-8"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 arts berkdb bitmap-fonts cairo caps cdr cjk cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gpm gstreamer gtk hal iconv imap ipod ipv6 isdnlog jpeg kde kerberos ldap mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection ruby sdl session smp spell spl sqlite3 sse sse2 ssl startup-notification svg swig tcpd threads tiff truetype truetype-fonts type1-fonts unicode vorbis xcomposite xml xorg xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" 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="nvidia vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Marijn Schouten (RETIRED) gentoo-dev 2007-08-29 12:09:50 UTC
Right, it fails with gcc-4.2 but not with gcc-4.1.2.
Comment 4 Panagiotis Christopoulos (RETIRED) gentoo-dev 2007-08-29 15:47:25 UTC
Created attachment 129545 [details, diff]
proposed g-wrap-1.9.6-r3 ebuild's diff

disabled -Werror, for the time...
Comment 5 Marijn Schouten (RETIRED) gentoo-dev 2007-08-29 17:34:44 UTC
thanks Panagiotis, should be fixed now.