Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374567 - dev-ruby/rexical-1.0.5 fails to build docs
Summary: dev-ruby/rexical-1.0.5 fails to build docs
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 348510
  Show dependency tree
 
Reported: 2011-07-09 17:21 UTC by Ian Delaney (RETIRED)
Modified: 2011-07-11 19:16 UTC (History)
0 users

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


Attachments
the build log (build.log,2.12 KB, text/plain)
2011-07-09 17:25 UTC, Ian Delaney (RETIRED)
Details
my emerge --info (emerge.info,4.54 KB, text/plain)
2011-07-09 17:25 UTC, Ian Delaney (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Delaney (RETIRED) gentoo-dev 2011-07-09 17:21:09 UTC
testing for stable request for package.
Package loses its way building with use = docs

Reproducible: Always

Steps to Reproduce:
1. set use=doc
2. emerge package
3.


Expected Results:  
build

The essence:


 * Running compile phase for all ...
(in /mnt/gen2/tmpdir/portage/dev-ruby/rexical-1.0.5/work/all/rexical-1.0.5)
rake aborted!
no such file to load -- hoe
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2011-07-09 17:25:04 UTC
Created attachment 279525 [details]
the build log
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2011-07-09 17:25:58 UTC
Created attachment 279527 [details]
my emerge --info
Comment 3 Elijah "Armageddon" El Lazkani (amd64 AT) 2011-07-09 18:10:20 UTC
I tried to go through the steps Ian went through with various combinations and I can't seem to replicate this. It emerges without any problem here.
Comment 4 Hans de Graaff gentoo-dev Security 2011-07-09 19:04:08 UTC
With USE=doc rexical has a dependency on dev-ruby/hoe, so I'm not sure how this can happen. Can you provide the output of "emerge rexical"?
Comment 5 Ian Delaney (RETIRED) gentoo-dev 2011-07-09 19:35:02 UTC
(In reply to comment #4)
> With USE=doc rexical has a dependency on dev-ruby/hoe, so I'm not sure how this
> can happen. Can you provide the output of "emerge rexical"?

right:

archtester testuser # USE="doc test" emerge =dev-ruby/rexical-1.0.5 -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] virtual/ruby-test-unit-0-r2  RUBY_TARGETS="jruby ree18* ruby18*" 0 kB
[ebuild   R   ] dev-ruby/rexical-1.0.5  USE="doc test*" RUBY_TARGETS="jruby ree18 ruby18 (-ruby19%)" 0 kB

archtester testuser # USE="doc test" emerge =dev-ruby/rexical-1.0.5 

 * IMPORTANT: 7 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Starting parallel fetch
>>> Emerging (1 of 2) virtual/ruby-test-unit-0-r2
>>> Installing (1 of 2) virtual/ruby-test-unit-0-r2
>>> Emerging (2 of 2) dev-ruby/rexical-1.0.5
>>> Installing (2 of 2) dev-ruby/rexical-1.0.5
>>> Jobs: 2 of 2 complete                           Load avg: 0.75, 0.26, 0.19
>>> Auto-cleaning packages...


archtester testuser # eix hoe
[I] dev-ruby/hoe
     Available versions:  2.6.0-r1 2.8.0!t ~2.9.0 ~2.9.1 {doc ruby_targets_jruby ruby_targets_ree18 ruby_targets_ruby18 ruby_targets_ruby19 test}                                                     
     Installed versions:  2.8.0!t(02:49:07 10/07/11)(doc ruby_targets_jruby ruby_targets_ree18 ruby_targets_ruby18 -test)      

The wonders of gentoo!!!
Comment 6 Hans de Graaff gentoo-dev Security 2011-07-11 18:28:53 UTC
(In reply to comment #5)

> >>> Emerging (2 of 2) dev-ruby/rexical-1.0.5
> >>> Installing (2 of 2) dev-ruby/rexical-1.0.5

> The wonders of gentoo!!!

Am I correct to assume that the problem is now gone, although without a good explanation?
Comment 7 Ian Delaney (RETIRED) gentoo-dev 2011-07-11 19:00:50 UTC
I would say so.  Here is my best attempt.  The underlying cause may be the RUBY_TARGETS=.

Our new tester kind of shadowed my testing, but he did in a different ORDER.  Initially, I emerged the full list, set & unset test, and soon ended up with a never ending list of conflicts / circular dependencies.  I figured that it would have been better to emerge the content of the list one by one.  So I got our new tester to do exactly that.  [He was 'testing' alongside via text exchange in our irc channel]

After getting the full list to emerge with default use flags, I then added USE=doc to package 1; rexical.  I promptly got the failure.  So I filed.  Meanwhile new tester emerged rexical then shadowed adding use=doc.  He promptly told me I was "wrong" since it emerged.  Never mind impertinence; Seems he was right.  My entries for RUBY_TARGETS= were I believe different.  

For the remaining packages, I then managed, with much to-ing and fro-wing of test packages and flags and RUBY_TARGETS= settings, to emerge them with all alternate use flags.

I then found Comment 4.  On repeating emerge rexical with USE=doc, the settings I had arrived at by then saw it emerge. Package hoe is emerged, displayed via eix.  Voila.  
Our new tester has a magic touch!!

That said, the state at which I filed ticked all the boxes of a build failure with the build log recorded.

Clear??????????
Comment 8 Hans de Graaff gentoo-dev Security 2011-07-11 19:16:30 UTC
It sounds like something that wouldn't normally occur in the wild, so I'm closing the bug.