Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45782 - erroneous error from emerge
Summary: erroneous error from emerge
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-26 01:16 UTC by Voltron Rex
Modified: 2004-04-09 18:29 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 Voltron Rex 2004-03-26 01:16:44 UTC
Greetings

I'm trying to emerge a masked package but emerge isn't working, as far as I know, correctly.

I've already merged the masked gstreamer-0.8.0
Now this:

ACCEPT_KEYWORDS="~x86" emerge /usr/portage/media-libs/gst-plugins/gst-plugins-0.8.0-r1.ebuild

give this result:
!!! all ebuilds that could satisfy "=media-libs/gst-plugins-0.8.0*" have been masked.
!!! possible candidates are:
- media-libs/gst-plugins-0.8.0-r1 (masked by: package.mask)
!!!    (dependency required by "media-libs/gst-plugins-0.8.0-r1" [ebuild])

!!! Error calculating dependencies. Please correct.

If I add --nodeps to the emerge command, it's OK. Note that there is no mention of dependency on something else. --nodeps was just a lucky guess on my part.

My emerge info:

ortage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.20-gentoo-r10)
=================================================================
System uname: 2.4.20-gentoo-r10 i686 AMD Athlon(TM) XP 1800+
Gentoo Base System version 1.4.3.13
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dfx 3dnow X acpi apache2 apm arts avi cdr crypt cups dga directfb dvd emacs encode gdbm gif gphoto2 gtk gtk2 gtkhtml imlib java jpeg kerberos mad mikmod mmx motif mozilla mpeg mpeg4 ncurses nls oggvorbis opengl oss pam pda pdflib plotutils png quicktime readline sdl spell sse ssl svga tcltk tcpd truetype usb x86 xml xml2 xmms xv zlib"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-03-26 02:05:05 UTC
Why do you think it's not working correctly?  It says that the package is
masked by package.mask

In fact, that version of gst-plugins is in package.mask as well. emerging
things by pointing directly at the ebuild file is not the recommended method.
You should just specify the category/package that you want.

So you would do: emerge media-libs/gst-plugins

Comment 2 Voltron Rex 2004-03-26 02:25:41 UTC
Hi

I understand that it's extra-masked and that I should avoid it; however that's not possible in my situation.

What I see as not working properly is that emerge should give an error that implies --nodeps should be used to overcome the problem. The error given is confusing, in my opinion, as is the workaround.

To me, a 'dependency' means 'something else must be installed.' But portage apppears to be saying, "X must be installed in order to install X"
Comment 3 Masatomo Nakano (RETIRED) gentoo-dev 2004-04-09 18:29:25 UTC
gst-plugins-0.8.0-r1.ebuild depends itself in gst-plugins eclass.
so the error message is correct.