Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16102 - media-gfx/eog needs updated bonobo or fails to compile
Summary: media-gfx/eog needs updated bonobo or fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-20 15:58 UTC by Denys Duchier
Modified: 2003-03-16 14:16 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 Denys Duchier 2003-02-20 15:58:16 UTC
somehow the GNOME 2.2 dependencies don't seem to be quite there yet. 
I already have an older emerge of gnome.  I was trying to update this installation. 
when I was at work, at used emerge -f to download what I needed using our highspeed 
connection. when I tried to emerge gnome at home, it bombed in eog with the following 
error message: 
 
Eog.h:136:18: warning: no newline at end of file 
Eog.h:134:1: unterminated #if 
Eog.h:128:1: unterminated #if 
Eog.h:5:1: unterminated #ifndef 
Eog-skels.c:10: parse error before '*' token 
Eog-skels.c:19: parse error before ')' token 
Eog-skels.c:26: parse error before '*' token 
Eog-skels.c:30: parse error before ')' token 
Eog-skels.c:37: parse error before '*' token 
Eog-skels.c:40: parse error before '*' token 
Eog-skels.c:48: parse error before '*' token 
Eog-skels.c: In function `get_skel_small_GNOME_EOG_Image': 
Eog-skels.c:52: `opname' undeclared (first use in this function) 
.... 
 
after looking at the offending file, I guessed that I should attempt to emerge bonobo. 
I did this, then emerged eog with no trouble. 
 
so I guess that (1) there is a dependency missing for eog, (2) there is certainly a dependency 
missing for gnome (shouldn't it have WANTED to update bonobo? it certainly didn't download 
it, and didn't try to install it before getting to eog) 

Reproducible: Always
Steps to Reproduce:
1. ahem... have an older gnome installation 
2. try to emerge eog (for me this happened during an emerge of gnome for updating) 
3. 
Actual Results:  
the emerge bombed 

Expected Results:  
it should have emerged bonobo (updated) first 

Portage 2.0.47-r2 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2) 
================================================================= 
System uname: 2.4.19-gentoo-r9 i686 Intel(R) Pentium(R) III Mobile CPU      1200MHz 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config 
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ 
/usr/share/texmf/tex/platex/config/ /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="" 
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg ncurses 
nls pdflib png qtmt quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline 
arts tetex bonobo svga tcltk java guile mysql X sdl gpm tcpd pam libwww ssl perl python esd 
imlib oggvorbis gnome gtk qt kde motif opengl dvd" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" 
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" 
ACCEPT_KEYWORDS="x86" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="sandbox ccache"
Comment 1 foser (RETIRED) gentoo-dev 2003-02-20 17:34:16 UTC
we use the lowest possible dep as specified by the package. This can be incorrect sometimes, but it's hardly our fault and we fix it and file a bug upstream if we find out.

So you say you had to update libbonobo or did you update libbonoboui or even bonobo-activation, you don't mention exact details.

gnome does btw update libbonobo to the latest version, you could've checked out the ebuild and seen for yourself. But the install order depends on other things, so it is possible that eog with an incorrect dep gets merged before libbonobo (which in this case isn't what we wanted).
Comment 2 Denys Duchier 2003-02-20 19:29:40 UTC
don't be so defensive.  I am reporting this issue to help improve gentoo's ebuilds. 
obviously, this is no longer an issue for me since I fixed it :-)  I reported what I 
experienced as accurately as I could. 
 
I did not manually update libbonobo*, if I had I would have said so in my report. 
I am not sure whether bonobo-activation was updated prior to the problem I reported 
occured.  I am however fairly sure that it was included in the list of packages that 
needed updating.  I only manually emerged the bonobo package and then retried eog 
and then it worked. That's exactly what I reported. 
 
The problem occurred while I emerged gnome.  I also stated that in my report.  I 
mentioned all the details that I had. I know what I am doing. I have contributed 
ebuilds. There is a problem.  I don't want to debug it, it wasn't that big a deal for 
me.  It will be for others. 
Comment 3 Denys Duchier 2003-02-20 19:37:48 UTC
in case this is any help.  I just noticed that libbonoboui just finished emerging. 
This is hours after the problem I reported.  So I guess this dependency comes 
up rather late.  No idea whether that's relevant, but you mentioned the library. 
Comment 4 foser (RETIRED) gentoo-dev 2003-03-16 14:16:08 UTC
fixed the bonobo deps in 2.2.1 to be on the safe side.