Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 279513 - [patch] Missing dependency on dev-ruby/rack in dev-ruby/actionpack
Summary: [patch] Missing dependency on dev-ruby/rack in dev-ruby/actionpack
Status: RESOLVED DUPLICATE of bug 278680
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-28 20:57 UTC by Michal Hrusecky
Modified: 2009-07-28 21:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
add dev-ruby/rack as a dep to stable ebuild (actionpack-2.3.2.ebuild.patch,279 bytes, patch)
2009-07-28 21:18 UTC, James Earl Spahlinger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Hrusecky 2009-07-28 20:57:59 UTC
dev-ruby/actionpack depends on dev-ruby/rack but it isn't listed as dependency in ebuild

Reproducible: Always

Steps to Reproduce:
1.Don't have dev-ruby/rack installed
2.Try to install dev-ruby/actionpack

Actual Results:  
# emerge dev-ruby/rails
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 5) dev-ruby/actionpack-2.3.3
 * actionpack-2.3.3.gem RMD160 SHA1 SHA256 size ;-) ...                                                                           [ ok ]
 * checking ebuild checksums ;-) ...                                                                                              [ ok ]
 * checking auxfile checksums ;-) ...                                                                                             [ ok ]
 * checking miscfile checksums ;-) ...                                                                                            [ ok ]
>>> Unpacking source...
>>> Source unpacked in /home/tmp/portage/dev-ruby/actionpack-2.3.3/work
>>> Compiling source in /home/tmp/portage/dev-ruby/actionpack-2.3.3/work ...
>>> Source compiled.
>>> Test phase [not enabled]: dev-ruby/actionpack-2.3.3

>>> Install actionpack-2.3.3 into /home/tmp/portage/dev-ruby/actionpack-2.3.3/image/ category dev-ruby
 * Installing for ruby18...
ERROR:  Error installing /home/tmp/portage/dev-ruby/actionpack-2.3.3/distdir/actionpack-2.3.3:
        actionpack requires rack (~> 1.0.0, runtime)
 * 
 * ERROR: dev-ruby/actionpack-2.3.3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 2499:  Called gems_src_install
 *             environment, line 1413:  Called die
 * The specific snippet of code:
 *           /usr/bin/${ruby_version} /usr/bin/gem install ${GEM_SRC} --version ${PV} ${myconf} --local --install-dir "${D}/${GEMSDIR}" --sandbox-fix --no-user-install || die "gem (>=1.3.0) install failed";
 *  The die message:
 *   gem (>=1.3.0) install failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/dev-ruby:actionpack-2.3.3:20090728-204828.log'.
 * The ebuild environment file is located at '/home/tmp/portage/dev-ruby/actionpack-2.3.3/temp/environment'.
 * 

>>> Failed to emerge dev-ruby/actionpack-2.3.3, Log file:

>>>  '/var/log/portage/dev-ruby:actionpack-2.3.3:20090728-204828.log'

 * Messages for package dev-ruby/actionpack-2.3.3:

 * 
 * ERROR: dev-ruby/actionpack-2.3.3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 2499:  Called gems_src_install
 *             environment, line 1413:  Called die
 * The specific snippet of code:
 *           /usr/bin/${ruby_version} /usr/bin/gem install ${GEM_SRC} --version ${PV} ${myconf} --local --install-dir "${D}/${GEMSDIR}" --sandbox-fix --no-user-install || die "gem (>=1.3.0) install failed";
 *  The die message:
 *   gem (>=1.3.0) install failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/dev-ruby:actionpack-2.3.3:20090728-204828.log'.
 * The ebuild environment file is located at '/home/tmp/portage/dev-ruby/actionpack-2.3.3/temp/environment'.
 * 

Expected Results:  
>>> Emerging (1 of 5) dev-ruby/actionpack-2.3.3
 * actionpack-2.3.3.gem RMD160 SHA1 SHA256 size ;-) ...                                                                           [ ok ]
 * checking ebuild checksums ;-) ...                                                                                              [ ok ]
 * checking auxfile checksums ;-) ...                                                                                             [ ok ]
 * checking miscfile checksums ;-) ...                                                                                            [ ok ]
>>> Unpacking source...
>>> Source unpacked in /home/tmp/portage/dev-ruby/actionpack-2.3.3/work
>>> Compiling source in /home/tmp/portage/dev-ruby/actionpack-2.3.3/work ...
>>> Source compiled.
>>> Test phase [not enabled]: dev-ruby/actionpack-2.3.3

>>> Install actionpack-2.3.3 into /home/tmp/portage/dev-ruby/actionpack-2.3.3/image/ category dev-ruby
 * Installing for ruby18...
Successfully installed actionpack-2.3.3
1 gem installed
>>> Completed installing actionpack-2.3.3 into /home/tmp/portage/dev-ruby/actionpack-2.3.3/image/
Comment 1 James Earl Spahlinger 2009-07-28 21:18:50 UTC
Created attachment 199479 [details, diff]
add dev-ruby/rack as a dep to stable ebuild

latest stable ebuild: actionpack-2.3.2.ebuild does not have rack listed as a dependency, but the latest testing ebuild actionpack-2.3.3.ebuild does. Attached is a patch to apply to the 2.3.2.ebuild
Comment 2 Alex Legler (RETIRED) archtester gentoo-dev Security 2009-07-28 21:25:24 UTC
Thanks for the patch, but that has already been fixed a couple of days ago. Sync your trees, people. :)

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