Bug 527052 - review dep list
Summary: review dep list
Keywords:
Status: CLOSED DUPLICATE of bug 564018
Alias: None
Product: Fedora
Classification: Fedora
Component: couchdb
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Allisson Azevedo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-03 19:01 UTC by Rahul Sundaram
Modified: 2013-03-13 05:45 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-10-06 10:14:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rahul Sundaram 2009-10-03 19:01:59 UTC
Description of problem:

Why is libicu-devel, js and unixodbc needed? I think you should review the dependency list

Also refer to

http://mail.gnome.org/archives/desktop-devel-list/2009-October/msg00011.html


$ sudo yum install couchdb
Loaded plugins: presto, refresh-packagekit, remove-with-leaves
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package couchdb.i686 0:0.9.1-1.fc12 set to be updated
--> Processing Dependency: libicu-devel for package: couchdb-0.9.1-1.fc12.i686
--> Processing Dependency: libjs.so.1 for package: couchdb-0.9.1-1.fc12.i686
--> Processing Dependency: erlang for package: couchdb-0.9.1-1.fc12.i686
--> Running transaction check
---> Package erlang.i686 0:R13B-01.2.fc12 set to be updated
--> Processing Dependency: libodbc.so.2 for package: erlang-R13B-01.2.fc12.i686
---> Package js.i686 0:1.70-8.fc12 set to be updated
---> Package libicu-devel.i686 0:4.2.1-6.fc12 set to be updated
--> Running transaction check
---> Package unixODBC.i686 0:2.2.14-6.fc12 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package              Arch         Version                Repository       Size
================================================================================
Installing:
 couchdb              i686         0.9.1-1.fc12           rawhide         386 k
Installing for dependencies:
 erlang               i686         R13B-01.2.fc12         rawhide          36 M
 js                   i686         1.70-8.fc12            rawhide         346 k
 libicu-devel         i686         4.2.1-6.fc12           rawhide         500 k
 unixODBC             i686         2.2.14-6.fc12          rawhide         355 k

Transaction Summary
================================================================================
Install       5 Package(s)
Upgrade       0 Package(s)

Total download size: 38 M

Comment 1 Allisson Azevedo 2009-10-04 02:09:23 UTC
Hi,

Couchdb need %{_bindir}/icu-config for work, libicu-devel has this binary.

I followed this link: http://wiki.apache.org/couchdb/Installing_on_Fedora10 for specify dependencies.

unixODBC is picked up by rpmtools.

Comment 2 Rahul Sundaram 2009-10-04 16:06:09 UTC
You can own that directly instead of adding a dependency to -devel package which is not correct.  I am not sure that instructions are correct but I haven't done a full review.

Comment 3 Allisson Azevedo 2009-10-04 20:58:20 UTC
Please read https://bugzilla.redhat.com/show_bug.cgi?id=477570#c4

Comment 4 Peter Lemenkov 2009-10-05 05:16:35 UTC
unixODBC is a requirement for erlang.

Rahul, I'm sure, that depending on file from *-devel sub-package is the same as dependion on sub-package itself. However, adding *-devel as a requirement has advantages over adding only particular file from *-devel - if you add explicit dependency on particular file, then you'll force users to download filelists.sqlite and you'll increase installation time by resolving this dependency.

Comment 5 Peter Lemenkov 2009-10-05 05:21:16 UTC
As for bundled mochiweb - it's still not an issue until someone packaged mochiweb separately. And there is no official release of mochiweb yet, AFAIK.

Comment 6 Michael Schwendt 2009-10-05 07:22:31 UTC
> if you add explicit dependency on particular file, then you'll
> force users to download filelists.sqlite

No, not for files in "bin" paths. Those are covered by the primary metadata. However, couchdb would still pull in a *-devel afterall.

Comment 7 Peter Lemenkov 2009-10-06 10:14:43 UTC
Should be closed, I suppose.

Comment 8 Peter Lemenkov 2010-02-26 10:16:31 UTC

*** This bug has been marked as a duplicate of bug 564018 ***


Note You need to log in before you can comment on or make changes to this bug.