Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298466 - dev-ruby/json-1.2.0-r1 fails to build with USE="doc"
Summary: dev-ruby/json-1.2.0-r1 fails to build with USE="doc"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-26 21:27 UTC by Tobias Heinlein (RETIRED)
Modified: 2009-12-26 21:33 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Heinlein (RETIRED) gentoo-dev 2009-12-26 21:27:32 UTC
[ebuild   R   ] dev-ruby/json-1.2.0-r1  USE="doc* -test" RUBY_TARGETS="ruby18 (-jruby) (-ruby19)" 0 kB                                                          

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] 

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-ruby/json-1.2.0-r1
 * json-1.2.0.gem RMD160 SHA1 SHA256 size ;-) ...                        [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
 * CPV:  dev-ruby/json-1.2.0-r1                                                
 * REPO: gentoo                                                                
 * USE:  amd64 doc elibc_glibc kernel_linux multilib ruby_targets_ruby18 userland_GNU                                                                           
>>> Unpacking source...                                                         
 * Running unpack phase for all ...                                             
 * Unpacking .gem file... ...                                             [ ok ]
/var/tmp/portage/dev-ruby/json-1.2.0-r1/work/all/json-1.2.0 /var/tmp/portage/dev-ruby/json-1.2.0-r1/work/all /var/tmp/portage/dev-ruby/json-1.2.0-r1/work/all /var/tmp/portage/dev-ruby/json-1.2.0-r1/work                                      
 * Unpacking data.tar.gz ...                                              [ ok ]
>>> Source unpacked in /var/tmp/portage/dev-ruby/json-1.2.0-r1/work             
>>> Preparing source in /var/tmp/portage/dev-ruby/json-1.2.0-r1/work ...        
 * Running prepare phase for all ...                                            
 * Running source copy phase for ruby18 ...                                     
>>> Source prepared.                                                            
>>> Configuring source in /var/tmp/portage/dev-ruby/json-1.2.0-r1/work ...      
>>> Source configured.                                                          
>>> Compiling source in /var/tmp/portage/dev-ruby/json-1.2.0-r1/work ...        
 * Running compile phase for ruby18 ...                                         
(in /var/tmp/portage/dev-ruby/json-1.2.0-r1/work/ruby18/json-1.2.0)             
GNU Make 3.81                                                                   
Copyright (C) 2006  Free Software Foundation, Inc.                              
This is free software; see the source for copying conditions.                   
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A             
PARTICULAR PURPOSE.                                                             

This program built for x86_64-pc-linux-gnu
Ragel State Machine Compiler version 6.6 Dec 2009
Copyright (c) 2001-2009 by Adrian Thurston       
Ragel State Machine Compiler version 6.6 Dec 2009
Copyright (c) 2001-2009 by Adrian Thurston       
rake-compiler must be configured first to enable cross-compilation
rake-compiler must be configured first to enable cross-compilation
cd ext/json/ext/parser                                            
/usr/bin/ruby18 extconf.rb                                        
checking for ruby/st.h... no                                      
checking for st.h... yes                                          
checking for re.h... yes                                          
creating Makefile                                                 
gmake                                                             
x86_64-pc-linux-gnu-gcc -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I/usr/lib64/ruby/1.8/x86_64-linux -I. -DHAVE_ST_H -DHAVE_RE_H    -fPIC -march=native -O2 -pipe -fno-strict-aliasing  -fPIC  -Wall  -c unicode.c                                 
x86_64-pc-linux-gnu-gcc -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I/usr/lib64/ruby/1.8/x86_64-linux -I. -DHAVE_ST_H -DHAVE_RE_H    -fPIC -march=native -O2 -pipe -fno-strict-aliasing  -fPIC  -Wall  -c parser.c                                  
x86_64-pc-linux-gnu-gcc -shared -o parser.so unicode.o parser.o -L. -L/usr/lib64 -Wl,-R/usr/lib64 -L. -Wl,-O1 -rdynamic -Wl,-export-dynamic    -Wl,-R -Wl,/usr/lib64 -L/usr/lib64 -lruby18  -lrt -ldl -lcrypt -lm   -lc                         
cd -                                                                            
cp ext/json/ext/parser/parser.so ext/json/ext                                   
cd ext/json/ext/generator                                                       
/usr/bin/ruby18 extconf.rb                                                      
checking for ruby/st.h... no                                                    
checking for st.h... yes                                                        
checking for ruby/encoding.h... no                                              
creating Makefile                                                               
gmake                                                                           
x86_64-pc-linux-gnu-gcc -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I/usr/lib64/ruby/1.8/x86_64-linux -I. -DHAVE_ST_H    -fPIC -march=native -O2 -pipe -fno-strict-aliasing  -fPIC  -Wall  -c unicode.c                                             
x86_64-pc-linux-gnu-gcc -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I/usr/lib64/ruby/1.8/x86_64-linux -I. -DHAVE_ST_H    -fPIC -march=native -O2 -pipe -fno-strict-aliasing  -fPIC  -Wall  -c generator.c                                           
x86_64-pc-linux-gnu-gcc -shared -o generator.so unicode.o generator.o -L. -L/usr/lib64 -Wl,-R/usr/lib64 -L. -Wl,-O1 -rdynamic -Wl,-export-dynamic    -Wl,-R -Wl,/usr/lib64 -L/usr/lib64 -lruby18  -lrt -ldl -lcrypt -lm   -lc                   
cd -                                                                            
cp ext/json/ext/generator/generator.so ext/json/ext                             
 * Running compile phase for all ...                                            
(in /var/tmp/portage/dev-ruby/json-1.2.0-r1/work/all/json-1.2.0)                
GNU Make 3.81                                                                   
Copyright (C) 2006  Free Software Foundation, Inc.                              
This is free software; see the source for copying conditions.                   
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A             
PARTICULAR PURPOSE.                                                             

This program built for x86_64-pc-linux-gnu
Ragel State Machine Compiler version 6.6 Dec 2009
Copyright (c) 2001-2009 by Adrian Thurston       
Ragel State Machine Compiler version 6.6 Dec 2009
Copyright (c) 2001-2009 by Adrian Thurston
rake-compiler must be configured first to enable cross-compilation
rake-compiler must be configured first to enable cross-compilation
rake aborted!
Don't know how to build task 'rdoc'

(See full trace by running task with --trace)
 * ERROR: dev-ruby/json-1.2.0-r1 failed:
 *   failed to (re)build documentation
 *
 * Call stack:
 *     ebuild.sh, line   48:  Called src_compile
 *   environment, line 2773:  Called ruby-ng_src_compile
 *   environment, line 2546:  Called _ruby_invoke_environment 'all' 'all_ruby_compile'
 *   environment, line  331:  Called all_ruby_compile
 *   environment, line  373:  Called all_fakegem_compile
 *   environment, line  342:  Called die
 * The specific snippet of code:
 *           rake ${RUBY_FAKEGEM_TASK_DOC} || die "failed to (re)build documentation";
 *
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-12-26 21:33:05 UTC
Thanks, fixed.