First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 69292
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Robin Johnson <robbat2@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Richard Liu <richliu@techarea.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 69292 depends on: Show dependency tree
Bug 69292 blocks: 100698
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-10-28 09:50 0000
while install bridge-utils, if you don't install package "sysfsutils", 
it will curse compile error , and still install it.

resolve way is 
replace bridge-utils's DEPEND to 
DEPEND="virtual/libc
        sys-fs/sysfsutils"


Reproducible: Always
Steps to Reproduce:
1. emerge bridge-utils
2.
3.

Actual Results:  
Compile error and still install the package

------- Comment #1 From Robin Johnson 2005-04-28 01:32:15 0000 -------
this is being fixed for 1.0.6 now.

------- Comment #2 From Robin Johnson 2005-04-28 01:34:24 0000 -------
*** Bug 64900 has been marked as a duplicate of this bug. ***

------- Comment #3 From solar 2005-07-29 14:29:27 0000 -------
Robbat2 This is wrong. 
sysfsutils has nothing todo with creating bridges. 
This package needs to DEPEND only on os-headers to build and REDEPEND on nothing
more than virtual/libc for runtime.

------- Comment #4 From Robin Johnson 2005-07-29 17:04:12 0000 -------
solar: umm, have you actually LOOKED at the compile?
If it detects any libsysfs, it tries to compile against it.
even if it's an older version, which then causes the compile to fail.

I know it can compile without libsysfs on the system, but there is no direct way
to force it to not try  libsysfs at all for the broken case.

The RDEPEND on a new baselayout also exists for the specific reason that we do
not provide a seperate init script for bridges anymore, as you should be using
the new network framework (which deals with them properly).

------- Comment #5 From solar 2005-07-30 05:01:39 0000 -------
robbat2 the problem is that we have more than just 1 baselayout and
bridge-utils
is often one of the first packages that are added to most any embedded router.
Now when making use of the ROOT=/mnt/foo emerge -pv minimal_package_set we end 
up with the wrong baselayout and the extra sysfsutils where they should not be 
due to the bad/conflicting RDEPEND=

Please consider something more like.

-RDEPEND="virtual/libc
-       >=sys-fs/sysfsutils-1.0
-       >=sys-apps/baselayout-1.11.6"
-DEPEND="${RDEPEND} virtual/os-headers"
+RDEPEND="virtual/libc elibc_glibc? ( >=sys-apps/baselayout-1.11.6 )"
+DEPEND="${RDEPEND} >=sys-fs/sysfsutils-1.0 virtual/os-headers"

------- Comment #6 From solar 2005-07-30 05:54:03 0000 -------
Sorry as reported in bug #100698 comment #1 it actually pulls in sysfsutils, 
ncurses, readline, sysvinit, coreutils, bash, baselayout due to this change. 

------- Comment #7 From Robin Johnson 2005-07-30 09:49:31 0000 -------
I'll work on another solution, but I don't consider
RDEPEND="... elibc_glibc? ( >=sys-apps/baselayout-1.11.6 )" to be correct.
There is nothing to say you have to use glibc with baselayout. I have uclibc 
box with full baselayout too. You'll also have to ensure that your other 
baselayout code contains bridge support in the init scripts, since we don't 
provide an init script with bridge-utils anymore.

How about this as a compromise:
RDEPEND="virtual/libc virtual/baselayout"
DEPEND="${RDEPEND} sysfs? ( >=sys-fs/sysfsutils-1.0 ) virtual/os-headers =sys-
devel/autoconf-2.5*"

Autoconf is there so I can rebuild configure after removing the sysfs stuff 
from it.






------- Comment #8 From solar 2005-07-31 04:51:28 0000 -------
RDEPEND="virtual/libc virtual/baselayout"
DEPEND="${RDEPEND} sysfs? ( >=sys-fs/sysfsutils-1.0 ) virtual/os-headers
=sys-devel/autoconf-2.5*"

Your proposed change would work well.

uClibc(2005.0) shm # ROOT=/dev/shm/ emerge -p bridge-utils
[ebuild  N    ] sys-libs/uclibc-0.9.27  to /dev/shm/ 
[ebuild  N    ] sys-libs/ncurses-5.4.20050319  to /dev/shm/ 
[ebuild  N    ] sys-libs/readline-5.0-r2  to /dev/shm/ 
[ebuild  N    ] sys-apps/sysvinit-2.86  to /dev/shm/ 
[ebuild  N    ] sys-apps/coreutils-5.2.1-r6  to /dev/shm/ 
[ebuild  N    ] app-shells/bash-3.0-r12  to /dev/shm/ 
[ebuild  N    ] sys-apps/baselayout-1.11.13  to /dev/shm/ 
[ebuild  N    ] net-misc/bridge-utils-1.0.6-r2  to /dev/shm/ 

uClibc(2005.0) shm # ROOT=/dev/shm/ emerge -p baselayout-lite bridge-utils
[ebuild  N    ] sys-apps/baselayout-lite-1.0_pre1  to /dev/shm/ 
[ebuild  N    ] sys-libs/uclibc-0.9.27  to /dev/shm/ 
[ebuild  N    ] net-misc/bridge-utils-1.0.6-r2  to /dev/shm/ 

------- Comment #9 From Robin Johnson 2005-08-05 12:31:06 0000 -------
Solar: ok, it's in the tree now, with a patch to disable sysfs as needed.

First Last Prev Next    No search results available      Search page      Enter new bug