<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>100698</bug_id>
          
          <creation_ts>2005-07-29 05:55 0000</creation_ts>
          <short_desc>emerging wireless-tools pulls in a load of other junk under gentoo-embedded</short_desc>
          <delta_ts>2005-07-30 01:47:51 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>69292</dependson>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>dag@bakke.com</reporter>
          <assigned_to>mobile@gentoo.org</assigned_to>
          <cc>embedded@gentoo.org</cc>
    
    <cc>henrik@brixandersen.dk</cc>

      

      
          <long_desc isprivate="0">
            <who>dag@bakke.com</who>
            <bug_when>2005-07-29 05:55:19 0000</bug_when>
            <thetext>Pulling bridge-utils pulls
sysfsutils,ncurses,readline,sysvinit,coreutils,bash,baselayout.

solar helped me fix this by suggesting 
14:25 &lt;@solar&gt; RDEPEND=&quot;&quot;
14:25 &lt;@solar&gt; DEPEND=&quot;${RDEPEND} virtual/os-headers&quot;

in both ebuilds. Which appears to work for me.


Reproducible: Always
Steps to Reproduce:
0. chroot into gentoo-embedded development fs
1. mkdir /tmp/junk
2. ROOT=/tmp/junk emerge -pv bridge-utils wireless-tools


Actual Results:  
Long list of packagenames I don&apos;t want in my custom root fs appears on screen

Expected Results:  
These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] net-misc/bridge-utils-1.0.6-r2  to /tmp/junk/ 0 kB 
[ebuild  N    ] net-wireless/wireless-tools-27-r1  to /tmp/junk/ (-nls) 0 kB 

dagb-home / # ROOT=/usr/src/soekris CFLAGS=&quot;-march=i386 -Os -pipe
-fomit-frame-pointer&quot; USE=&quot;-X -pam -gtk -nls -gpm -tcpd -berkdb -gdbm
make-symlinks savedconfig ssl&quot; emerge info          
Portage 2.0.51.22-r2 (uclibc/x86/2.4, gcc-3.3.5-20050130, uclibc-0.9.27-r0,
2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i386-gentoo-linux-uclibc&quot;
CFLAGS=&quot;-march=i386 -Os -pipe -fomit-frame-pointer&quot;
CHOST=&quot;i386-gentoo-linux-uclibc&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-Os -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig distlocks nodoc noinfo noman sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 make-symlinks ncurses readline savedconfig ssl uclibc zlib userland_GNU
kernel_linux elibc_uclibc&quot;
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dag@bakke.com</who>
            <bug_when>2005-07-29 05:56:21 0000</bug_when>
            <thetext>Filed on solar&apos;s request.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>solar@gentoo.org</who>
            <bug_when>2005-07-29 14:43:16 0000</bug_when>
            <thetext>wireless-tools updated. 
Waiting a day or so for feedback from robbat2 on bug #69292 before fixing it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2005-07-29 15:08:27 0000</bug_when>
            <thetext>uhh, the baselayout DEPEND was in there for a valid reason ... wireless-tools +
older baselayouts wont work properly

this is a transient thing ... once baselayout has been in stable for a while we
can take the DEPEND back out</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>solar@gentoo.org</who>
            <bug_when>2005-07-29 16:33:50 0000</bug_when>
            <thetext>wireless-tools itself does not need to depend on any version of 
baselayout to function. They are low level system tools. Simply because
1 virtual/baselayout happens to have support for iwconfig/iwpriv/etc 
does not directly make wireless-tools directly depend on a baselayout to 
function.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>henrik@brixandersen.dk</who>
            <bug_when>2005-07-29 17:31:57 0000</bug_when>
            <thetext>Solar: In the future, do not touch any ebuilds maintained by me without
contacting me first. That DEPEND was put in there for a reason.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>solar@gentoo.org</who>
            <bug_when>2005-07-29 20:23:39 0000</bug_when>
            <thetext>Sorry brix I generally only have to touch things when they are broken. The best
way to ensure that I wont have to touch a package you maintain is to ensure you
 don&apos;t cause breakage in other things. In the past you and the formation of the 
wifi herd have always indicated that I was pretty free to commit on those pkgs.
I even added myself to the metadata.xml to make it clear my role in that pkg.

In both of the cases reported here the DEPENDS are/were clearly wrong 
as outlined in comment #4. The core package has not changed functionality so 
it&apos;s a Q/A fix for a silly oversight.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>henrik@brixandersen.dk</who>
            <bug_when>2005-07-30 01:47:51 0000</bug_when>
            <thetext>While the DEPEND on baselayout is temporary to avoid confusion amongst our users
and will be removed at a later point, I have added a proper fix for this issue: 

    !elibc_uclibc? ( &gt;=sys-apps/baselayout-1.11.13 )

The bridge-utils issue is handled in bug #69292.
</thetext>
          </long_desc>
      
    </bug>

</bugzilla>