Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14783 - emerge --usepkg or --useonlypkg doesnt take care of dependencies
Summary: emerge --usepkg or --useonlypkg doesnt take care of dependencies
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-30 11:49 UTC by Sven Vermeulen (RETIRED)
Modified: 2011-10-30 22:18 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 Sven Vermeulen (RETIRED) gentoo-dev 2003-01-30 11:49:18 UTC
User-Agent:       
Build Identifier: 

After creating binary packages for mod_php and all its dependencies, I tried
emerging it on another host:

~# emerge -B mod_php

This installed mod_php, but not its dependencies. Strange as it may sound, 

~# emerge -pu world

didn't show that the dependencies were needed. I had to emerge -B every single
dependencie, which makes it also enter all those dependencies in
/var/cache/edb/world which I don't want (so I had to remove those manually).

Reproducible: Always
Steps to Reproduce:
1. On host 1: "emerge -B mod_php libjpeg libxml2 freetype ..." (all dependencies)
2. Copy over to host 2
3. On host 2: "emerge -K mod_php -p" (wont show dependencies)
Actual Results:  
mod_php got installed, but dependencies didn't, so mod_php didn't work...

Expected Results:  
emerge also the dependencies

GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
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"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm arts avi crypt cups encode gif gpm gtk imlib jpeg libg++
mikmod mmx motif mpeg ncurses nls oggvorbis opengl pdflib png qtmt quicktime sdl
spell svga truetype xml2 xmms xv zlib gdbm berkdb slang readline tcpd libwww
perl python -X -gnome -gtk -kde -qt ssl pam php mysql -java apache2"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O3 -pipe"
CXXFLAGS="-march=athlon -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-01-30 17:02:07 UTC
Not a bug. It will never create it's dependancies. You cannot have portage
merge that way. Dependancies are called such because they must be merged
to build.