Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30520 - 'emerge goats' fails after gnome-2.4 upgrade
Summary: 'emerge goats' fails after gnome-2.4 upgrade
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-06 16:57 UTC by John Ross Hunt
Modified: 2003-10-09 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 John Ross Hunt 2003-10-06 16:57:55 UTC
# qpkg -nc -I -v libgnomeprint
gnome-base/libgnomeprint-2.4.0
gnome-base/libgnomeprintui-2.4.0
gnome-base/libgnomeprint-1.116.1
gnome-base/libgnomeprintui-1.116.0

# emerge -p goats
 
These are the packages that I would merge, in order:
 
Calculating dependencies ...done!
[ebuild     UD] gnome-base/libgnomeprintui-2.2.1.3 [2.4.0]
[ebuild  N    ] x11-misc/goats-2.2

Reproducible: Always
Steps to Reproduce:
1. upgrade to gnome-2.4
2. try to emerge goats
3. see build crash during libgnomeui downgrade



Portage 2.0.49-r7 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.20-gentoo-r7)
=================================================================
System uname: 2.4.20-gentoo-r7 i686 Pentium III (Katmai)
distcc 2.10 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
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"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -Wno-deprecated"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox ccache distcc"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
http://gentoo.mirrors.pair.com http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
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="x86 foomaticdb libg++ mad quicktime gdbm berkdb arts tetex svga ggi ruby
gtk qt kde motif ldap -3dnow aalib alsa apm avi bonobo bots cdr crypt cups curl
dedicated dga doc dvb dvd encode esd evo faad gb gd gif gnome gnomedb gphoto2
gpm gtk2 gtkhtml guile i8x0 imlib -ipv6 jack java joystick jpeg kerberos krb4
ladcca lcms libgda libwww maildir mbox mikmod mmx mng mozilla mpeg nas ncurses
nls oci8 odbc offensive ofx oggvorbis openal opengl oss pam pda pdflib perl
plotutils png ppds python readline samba scanner sdl slang slp snmp sox spell
sqlite sse ssl tcltk tcpd tiff truetype type1 usb v4l vim-with-x wmf wxwindows X
xml xml2 xmms xv xvid zlib"
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2003-10-08 14:19:52 UTC
what do you mean by crash? do you have any console output?

goats works with libgnomeprintui-2.4, so i've fixed the dep in the ebuild.
it should not need to downgrade libgnomeprintui anymore.
Comment 2 John Ross Hunt 2003-10-08 22:21:35 UTC
The goats ebuild downgrades libgnomeprintui as a dependency, but not libgnomeprint.
 Consequently, the libgnomeprintui ebuild crashes because it's dependency
(a downgraded libgnomeprint) isn't met.

Perhaps the pre-2.4 libgnomeprintui ebuild needs a check for the correct
version of libgnomeprint?

Sorry for the confusion.  I should have been more specific regarding the
crash.
Comment 3 foser (RETIRED) gentoo-dev 2003-10-09 05:59:42 UTC
how do you mean crash ?

maybe we should make the dep in libgnomeprint ui stricter to =<pack>* instead
of >=
Comment 4 John Ross Hunt 2003-10-09 07:41:53 UTC
Crash as in, "the compile fails because a library dependency isn't met".
Pre-2.4 libgnomeprintui will not compile if libgnomeprint-2.4 is installed.
 I believe your suggested fix is correct.
Comment 5 John Ross Hunt 2003-10-09 07:59:59 UTC
Sorry about not providing console output of the crash.  I assumed the bug
was an obvious one.  Probably the libgnomeprintui ebuild should contain:

RDEPEND="=gnome-base/libgnomeprint-${PV}*"

Instead of:

RDEPEND=">=gnome-base/libgnomeprint-${PV}*"
Comment 6 foser (RETIRED) gentoo-dev 2003-10-09 14:16:41 UTC
crash i think of segfaults etc. Ebuilds can fail, i don't consider it 'crashing'

anyway, i fixed the deps as proposed to be on the safe side.

Thanks for your report.