Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150581 - app-office/gbib-0.1.3_rc1 fails to compile w/ gcc-4 because of -fwritable-strings
Summary: app-office/gbib-0.1.3_rc1 fails to compile w/ gcc-4 because of -fwritable-str...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482 gnome1-removal
  Show dependency tree
 
Reported: 2006-10-09 07:55 UTC by Kai
Modified: 2006-12-03 03:36 UTC (History)
1 user (show)

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 Kai 2006-10-09 07:55:05 UTC
gbib-0.1.3_rc1 fails to compile on my athlon. The following error is reported
...
checking for gnome-config... /usr/bin/gnome-config
updating cache ./config.cache
creating ./config.status
creating Makefile
creating gbib.spec
creating intl/Makefile
creating po/Makefile.in
creating config.h
c++ -c -g -DLIBDIR=\"/usr/share/gbib\" -DPACKAGE=\"gbib\" -DPREFIX=\"/usr\" -fwritable-strings -traditional -Wcast-qual -Wwrite-strings -funsigned-char -I. -I./intl -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include bibentry.C
c++ -c -g -DLIBDIR=\"/usr/share/gbib\" -DPACKAGE=\"gbib\" -DPREFIX=\"/usr\" -fwritable-strings -traditional -Wcast-qual -Wwrite-strings -funsigned-char -I. -I./intl -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include bibfiles.C
cc1plus: error: unrecognized command line option "-fwritable-strings"
make: *** [bibentry.o] Error 1
make: *** Waiting for unfinished jobs....
cc1plus: error: unrecognized command line option "-fwritable-strings"
make: *** [bibfiles.o] Error 1

!!! ERROR: app-office/gbib-0.1.3_rc1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  gbib-0.1.3_rc1.ebuild, line 32:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

here is my emerge info

Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-reiser4-r4 i686)
=================================================================
System uname: 2.6.17-reiser4-r4 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.5
Last Sync: Sun, 08 Oct 2006 13:50:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -mfpmath=sse -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon-xp -mfpmath=sse -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.swin.edu.au/gentoo/ "
LANG="en_AU.UTF-8"
LC_ALL="en_AU.UTF-8"
LDFLAGS="-Wl,-O2 -Wl,--enable-new-dtags -Wl,--sort-common -s"
LINGUAS="en_AU en_GB en"
MAKEOPTS="-j2"
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://router/gentoo-portage"
USE="x86 3dnow X a52 aac acl acpi alsa audiofile bash-completion bindist boundschecking bzip2 cdparanoia cdr cups dbus dga directfb dts dvd dvdr dvdread elibc_glibc encode exif fbcon ffmpeg fftw firefox flac fortran ftp gif ginac gphoto2 gpm gtk gtk2 hal ieee1394 imagemagick imap input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 java javascript jpeg jpeg2k kernel_linux ldap libwww linguas_en linguas_en_AU linguas_en_GB lm_sensors mad maildir mbox mikmod mime mmap mmx mng mp3 mpeg msn nls nptl nsplugin offensive ogg openal opengl pdf perl plotutils png posix ppds python quicktime readline samba sasl scanner sdl sharedmem sndfile sockets sox spell sse ssl startup-notification svg svga szip tcpd tetex theora threads tiff truetype unicode usb userland_GNU vcd video_cards_nvidia videos vorbis wifi win32codecs wmf xine xml xml2 xosd xpm xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS

I suspect it is that gcc-4 does not have the fwritable-strings option. although I have not confirmed it (mostly because I am not sure how). It used to compile fine on gcc-3.4.6 but I don't have gcc-3 installed anymore.
Comment 1 Evil Compile Person 2006-11-13 04:31:32 UTC
same here
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-12-03 03:36:01 UTC
This has been package.masked for gnome-1 removal -> WONTFIX.