Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45323 - build of gnome-base/nautilus-2.4.2 failed.
Summary: build of gnome-base/nautilus-2.4.2 failed.
Status: RESOLVED DUPLICATE of bug 45391
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-21 15:46 UTC by Brian Magnuson
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 Brian Magnuson 2004-03-21 15:46:17 UTC
Compiler error when building nautilus.  If it's helpful I recently upgraded gtk+ to 2.4

Reproducible: Always
Steps to Reproduce:
1. emerge =gnome-base/nautilus-2.4.2
2.
3.

Actual Results:  
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../cut-n-paste-code -pthread
-DORBIT2=1 -I/usr/include/eel-2 -I/usr/include/gconf/2 -I/usr/include/gtk-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libart-2.0
-I/usr/include/libgnome-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libxml2
-I/usr/include/gail-1.0 -I/usr/include/libglade-2.0 -I/usr/include/orbit-2.0
-I/usr/include/bonobo-activation-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include
-I/usr/include/freetype2 -I/usr/include/libbonobo-2.0
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/libbonoboui-2.0
-I/usr/include/librsvg-2 -I/usr/include/libgsf-1
-I/usr/include/gnome-desktop-2.0 -I/usr/include/startup-notification-1.0
-I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DVERSION=\"2.4.2\"
-DNAUTILUS_DATADIR=\"/usr/share/nautilus\" -DDATADIR=\"/usr/share\"
-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED
-DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -march=athlon-xp -O3 -pipe
-falign-functions=64 -funroll-loops -falign-loops=5 -falign-jumps=5
-Wp,-MD,.deps/fm-properties-window.pp -c fm-properties-window.c  -fPIC -DPIC -o
fm-properties-window.lo
fm-properties-window.c:1388: error: syntax error before '*' token
fm-properties-window.c: In function `synch_groups_menu':
fm-properties-window.c:1399: error: `option_menu' undeclared (first use in this
function)
fm-properties-window.c:1399: error: (Each undeclared identifier is reported only
once
fm-properties-window.c:1399: error: for each function it appears in.)
fm-properties-window.c:1400: error: `file' undeclared (first use in this function)
fm-properties-window.c: At top level:
fm-properties-window.c:1443: error: syntax error before '*' token
fm-properties-window.c: In function `attach_option_menu':
fm-properties-window.c:1450: warning: assignment makes pointer from integer
without a cast
fm-properties-window.c:1466: warning: return makes pointer from integer without
a cast
fm-properties-window.c: At top level:
fm-properties-window.c:1469: error: syntax error before '*' token
fm-properties-window.c: In function `attach_group_menu':
fm-properties-window.c:1474: error: `GtkOptionMenu' undeclared (first use in
this function)
fm-properties-window.c:1474: error: `option_menu' undeclared (first use in this
function)
fm-properties-window.c: At top level:
fm-properties-window.c:1561: error: syntax error before '*' token
fm-properties-window.c: In function `synch_user_menu':
fm-properties-window.c:1572: error: `option_menu' undeclared (first use in this
function)
fm-properties-window.c:1573: error: `file' undeclared (first use in this function)
fm-properties-window.c: In function `attach_owner_menu':
fm-properties-window.c:1621: error: `GtkOptionMenu' undeclared (first use in
this function)
fm-properties-window.c:1621: error: `option_menu' undeclared (first use in this
function)
fm-properties-window.c: In function `create_permissions_page':
fm-properties-window.c:2815: error: `GtkOptionMenu' undeclared (first use in
this function)
fm-properties-window.c:2815: error: `group_menu' undeclared (first use in this
function)
make[3]: *** [fm-properties-window.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/var/tmp/portage/nautilus-2.4.2/work/nautilus-2.4.2/src/file-manager'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/nautilus-2.4.2/work/nautilus-2.4.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/nautilus-2.4.2/work/nautilus-2.4.2'
make: *** [all-recursive-am] Error 2

!!! ERROR: gnome-base/nautilus-2.4.2 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure


Expected Results:  
Installed succesfully

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.3)
=================================================================
System uname: 2.6.3 i686 AMD Athlon(tm)
Gentoo Base System version 1.4.3.13p1
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -falign-functions=64 -funroll-loops
-falign-loops=5 -falign-jumps=5"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/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/ /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -falign-functions=64 -funroll-loops
-falign-loops=5 -falign-jumps=5"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://www.ibiblio.org/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aalib acpi acpi4linux alsa arts avi berkdb bonobo cdr crypt cups dga dvd
dvdr encode esd foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile
hbci imlib ipv6 java jpeg kde kerberos ldap libg++ libwww mad maildir mikmod
motif mozilla moznocompose moznoirc moznomail mpeg ncurses nls nptl ofx
oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba
scanner sdl slang spell sse ssl svga tcltk tcpd tetex truetype usb x86 xml xml2
xmms xv zlib"
Comment 1 foser (RETIRED) gentoo-dev 2004-03-22 02:55:42 UTC
another one of the DEPRECATED builds.. should be easy to fix
Comment 2 Brian Magnuson 2004-03-22 08:09:25 UTC
So I noticed that with an "emerge -up nautilus" that portage would downgrade gnome-icon-theme to 1.0.9 *after* upgrading nautilus.   That's pretty odd by itself, but I figured I'd give it a try.  How an icon package would change anything is beyond me but... it does.  Now when I try to upgrade nautilus it still fails but now looks like bug 45391.
Comment 3 Loz Hygate 2004-03-24 12:50:33 UTC
I get the same problem; albeit on a machine that I've haven't upgraded for about six months. What did the comment about being a DEPRECATED build mean? Is nautilus replaced by something else? Or should 2.6.0 be unmasked already?
Comment 4 Spider (RETIRED) gentoo-dev 2004-03-24 14:29:43 UTC
no, the DEPRECATED in this case is because nautilus has 

-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED
-DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED 

in it, and gtk+ 2.4 has deprecated even more functions, some of which nautilus 2.4 uses... This means that nautilus wasn't forwards compatible with their configure settings.. *cough*
Comment 5 foser (RETIRED) gentoo-dev 2004-04-25 10:48:48 UTC
i think this got fixed already

*** This bug has been marked as a duplicate of 45391 ***