Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28422 - usepkg doesnt install required dependencies
Summary: usepkg doesnt install required dependencies
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-11 00:52 UTC by Christian Hoenig
Modified: 2011-10-30 22:17 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 Christian Hoenig 2003-09-11 00:52:22 UTC
I have a P1 router with gentoo installed and I install software on it by 
building packages on my big computer (using an image of the router 
installation) and then simply install them using --usepkg on the router.  
 
 Now I did an "emerge freeswan" on my big box and it first compiled 
dev-libs/gmp-4.1-r1 (which is a dep) and then net-misc/freeswan-1.99. Ok so 
far. After that I installed the package on the little one using "emerge 
freeswan --usepkg" but it only installed the freeswan stuff.  
 
An "emerge freeswan -pv" showed  
Calculating dependencies ...done!  
 [ebuild  N    ] dev-libs/gmp-4.1-r1  
 [ebuild   R   ] net-misc/freeswan-1.99  
 
but an "emerge freeswan --usepkg -pv" only showed 
Calculating dependencies ...done!  
 [binary   R   ] net-misc/freeswan-1.99  
 
This is the forums discussion about the problem 
http://forums.gentoo.org/viewtopic.php?p=514809 
 
Thanks, 
 
take care, have fun 
/christian 

Reproducible: Always
Steps to Reproduce:
1. build the freeswan package (and deps) without installing them 
2. emerge --usepkg freeswan 
 
Actual Results:  
portage will install ONLY the freeswan build without deps 

Expected Results:  
portage should first install the deps for freeswan, and then freeswan itself. 

Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 
2.4.20-gentoo-r6) 
================================================================= 
System uname: 2.4.20-gentoo-r6 i586 Pentium 75 - 200 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-mcpu=i586 -O2 -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 /var/bind" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-O2 -mcpu=i686 -pipe" 
DISTDIR="/mnt/data/gentoo/distfiles" 
FEATURES="autoaddcvs buildpkg ccache sandbox" 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/mnt/data/gentoo/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 oss apm arts avi crypt cups encode foomaticdb gif gpm imlib jpeg 
libg++ mad mikmod mmx motif mpeg ncurses nls oggvorbis opengl pdflib png 
quicktime sdl spell svga truetype xml2 xmms xv zlib gdbm berkdb slang readline 
tcpd pam libwww ssl perl python maildir -X -gtk -gnome -kde -alsa -qt -java 
ipv6 mysql"
Comment 1 Christian Hoenig 2003-09-11 09:33:53 UTC
OK,  
I knew, I missed something. I didn't think about RDEPEND <!=> DEPEND. 
 
So portage behaves exactly like it should. 
Sorry guys. 
 
take care, have fun 
/christian