Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15450 - nautilus-2.2.0.2 doesn't build without optimization
Summary: nautilus-2.2.0.2 doesn't build without optimization
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Aron Griffis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-10 15:31 UTC by Aron Griffis (RETIRED)
Modified: 2003-02-11 09:59 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 Aron Griffis (RETIRED) gentoo-dev 2003-02-10 15:31:50 UTC
Trying to build nautilus (on alpha, but that doesn't matter) with CFLAGS=-g.
It breaks on the following line in src/nautilus-server-connect.c

        setlocale (LC_ALL, "");

The problem is that LC_ALL isn't defined.  It comes from <locale.h> which 
is normally included by <libintl.h>, but inside #ifdef __OPTIMIZE__

I think this should be fixed in Nautilus since it should be getting LC_ALL
from <locale.h> instead of depending on the definition from <libintl.h>.

Reproducible: Always
Steps to Reproduce:
1. CFLAGS=-g emerge nautilus
Actual Results:  
I sighed.

Expected Results:  
Nautilus should have built, and trumpets should have announced its arrival.

Portage 2.0.46-r9 (default-alpha-1.4, gcc-3.2.2, glibc-2.3.1-r3)
=================================================================
System uname: 2.4.19 alpha EV67
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/local/tmp"
PORTDIR_OVERLAY=""
USE="alpha crypt cups encode gif jpeg libg++ mikmod ncurses nls oss pdflib png
qt qtmt quicktime sdl spell truetype xml2 xmms xv zlib gnome-libs gdbm berkdb
readline tetex bonobo tcltk java guile ruby X gpm tcpd pam libwww ssl perl
python imlib oggvorbis gnome gtk motif opengl mozilla -arts -esd -kde -slang ev6"
COMPILER="gcc3"
CHOST="alpha-unknown-linux-gnu"
CFLAGS="-mcpu=ev67 -g -pipe"
CXXFLAGS="-mcpu=ev67 -g -pipe"
ACCEPT_KEYWORDS="alpha ~alpha"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox noclean noauto ccache"
Comment 1 foser (RETIRED) gentoo-dev 2003-02-10 16:41:37 UTC
you reporting this upstream yourself ?

i'd like to see a patch for it.
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2003-02-10 17:08:23 UTC
Yeah, I'll report this upstream.  I'll patch it in our tree until a new
version is available that fixes the problem.
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2003-02-10 17:58:48 UTC
I've pushed this upstream...

http://bugzilla.gnome.org/show_bug.cgi?id=105756
Comment 4 Aron Griffis (RETIRED) gentoo-dev 2003-02-11 09:59:40 UTC
This is fixed in our ebuild via the same patch I pushed upstream.