Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27259 - gnome-applets fails to compile with gcc 3.3.1
Summary: gnome-applets fails to compile with gcc 3.3.1
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-24 18:06 UTC by Kevin
Modified: 2003-09-28 05:29 UTC (History)
0 users

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


Attachments
emerge log of emerge gnome-applets with debugging turned on (gnome.log,105.96 KB, text/plain)
2003-08-26 07:39 UTC, Kevin
Details
emerge log of emerge gnome-applets with debugging turned on (gnome.log,105.96 KB, application/octet-stream)
2003-08-26 07:40 UTC, Kevin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin 2003-08-24 18:06:00 UTC
When I try to emerge gnome-applets-2.2.2 on a K6-400 using gcc-3.3.1, it can't
compile. Everything up to this stage went fine, meaning about half of the gnome
emerge (about 60 packages) and a source install from stage 1. The emerge process
first complained about not finding libpanelapplet-2.0.pc, which I should add to
my pkgconfig path. It seems to me that this very file should be installed by
gnome-applets itself. I then copied this file over from another K6 machine that
used gcc 3.2 and compiled it correctly. Then the build advances beyond that
point but it then bangs out when compiling the mixer applet.


Reproducible: Always
Steps to Reproduce:
1. Emerge gcc-3.3.1 on a fresh install.
2. Emerge X and gnome.
3. It does a crash and burn while compiling gnome-applets

Actual Results:  
mixer.c:1276: error: conflicting types for `atk_object_set_description'
/usr/include/atk-1.0/atk/atkobject.h:459: error: previous declaration of
`atk_object_set_description'
mixer.c:1276: warning: data definition has no type or storage class
mixer.c:1277: error: parse error before '}' token
make[3]: *** [mixer.o] Error 1
make[3]: *** Waiting for unfinished jobs....
Merging translations into GNOME_MixerApplet.server.
make[3]: Leaving directory
`/var/tmp/portage/gnome-applets-2.2.2/work/gnome-applets-2.2.2/mixer'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gnome-applets-2.2.2/work/gnome-applets-2.2.2/mixer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gnome-applets-2.2.2/work/gnome-applets-2.2.2'
make: *** [all-recursive-am] Error 2
 
!!! ERROR: gnome-base/gnome-applets-2.2.2 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure


Expected Results:  
It should have emerged gnome.

cdimage gnome-base # gcc-config -c
i586-pc-linux-gnu-3.3.1

cdimage / # emerge info
Portage 2.0.49 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.20-xfs-r2)
=================================================================
System uname: 2.4.20-xfs-r2 i586 AMD-K6(tm) 3D processor
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=k6-2 -O3 -pipe"
CHOST="i586-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=k6-2 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 oss 3dnow crypt cups encode foomaticdb gif gpm jpeg gnome libg++ libwww
mad mikmod mmx mpeg ncurses nls oggvorbis png quicktime sdl spell truetype xml2
xmms xv zlib gdbm berkdb slang readline X pam ssl perl python esd imlib gtk
opengl acpi acpi4linux cdr dga dvd imap ipv6 maildir mozilla offensive sasl usb
-apm -arts -avi -java -kde -motif -pdflib -qt -svga -tcpd"



cdimage / # emerge -p gnome
 
These are the packages that I would merge, in order:
 
Calculating dependencies ...done!
[ebuild  N    ] gnome-base/gnome-applets-2.2.2
[ebuild  N    ] gnome-extra/gconf-editor-0.4.1
[ebuild  N    ] gnome-base/gnome-session-2.2.2
[ebuild  N    ] gnome-extra/gnome-system-monitor-2.0.5
[ebuild  N    ] sys-apps/usbutils-0.11-r1
[ebuild  N    ] sys-apps/hotplug-20030501-r2
[ebuild  N    ] net-print/cups-1.1.19-r1
[ebuild  N    ] gnome-base/libgnomeprint-2.2.1.3
[ebuild  N    ] sys-apps/eject-2.0.12-r1
[ebuild  N    ] media-libs/libogg-1.0
[ebuild  N    ] media-libs/libvorbis-1.0-r4
[ebuild  N    ] net-ftp/curl-7.10.5-r1
[ebuild  N    ] media-libs/libao-0.8.3-r1
...
Comment 1 Spider (RETIRED) gentoo-dev 2003-08-25 03:33:14 UTC
ok, to get the log in order and see what its doing even further ahead, can you post this with
script gnome.log
MAKEOPTS="-j1" emerge -v --debug gnome

exit

and post the resulting "gnome.log" ?

It seems to be a partial problem with either the mixer or with ATK, and as gcc 3.3. is a bit nasty of it it may be related to a -pedantic (or defaulted pedantic) instead of anything "really wrong". If thats the case we just want to fix it in the build that fails and send notices to the upstream maintainer.  Or if it does indeed break in bad ways, we'll have to fix it :)

but as said, its hard to tell when we don't know the commands that are being run and so on.

Comment 2 foser (RETIRED) gentoo-dev 2003-08-25 03:48:12 UTC
i doubt this is a gcc-3.3.1 problem, i just compiled it with 3.3.1 without a hitch.

Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-08-25 13:25:48 UTC
Works fine here as well - I guess the most obvious thing that could break
it if not gcc, is atk.  What version do you have installed ?

$ epm -q atk
atk-1.2.4
Comment 4 Kevin 2003-08-26 07:39:37 UTC
Created attachment 16639 [details]
emerge log of emerge gnome-applets with debugging turned on
Comment 5 Kevin 2003-08-26 07:40:07 UTC
Created attachment 16640 [details]
emerge log of emerge gnome-applets with debugging turned on
Comment 6 Kevin 2003-08-26 07:40:44 UTC
Hope these attachments really work, bugzilla gave me a nice 400 message after attaching it... ?
Comment 7 Spider (RETIRED) gentoo-dev 2003-08-26 10:00:47 UTC
They worked
From the log it seems that something is strange in your setup (nothing new there perhaps) because the file "panel-applet.h" can't be found. that file is part of gnome-panel Which is depended on and found.

Can you please check that gnome-panel is installed correctly? 

spider@Darkmere> locate panel-applet.h
/usr/include/panel-2.0/panel-applet.h
spider@Darkmere> qpkg -f -v /usr/include/panel-2.0/panel-applet.h
gnome-base/gnome-panel-2.2.2.2


Preferrably also do emerge gnome-panel.
Comment 8 foser (RETIRED) gentoo-dev 2003-08-31 09:06:54 UTC
waiting for reply
Comment 9 Kevin 2003-09-07 10:42:06 UTC
Sorry I'm away from the machine at the moment, could take at least a week till I'm back home. I'll post the information then.
Comment 10 foser (RETIRED) gentoo-dev 2003-09-28 05:29:47 UTC
reclose