Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 325695

Summary: Please stabilize dev-ruby/json-1.4.3-r1
Product: Gentoo Linux Reporter: Hans de Graaff <graaff>
Component: New packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED FIXED    
Severity: enhancement Keywords: STABLEREQ
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 312547    
Bug Blocks: 321043    

Description Hans de Graaff gentoo-dev Security 2010-06-26 11:54:20 UTC
This version of json has been in the tree for a month and fixes a problem with all older versions where the optimized compiled version would never be used, in addition to the upstream bug fixes and improvements.

This bug supersedes bug 316883 for those arches who have not stabled that version yet.
Comment 1 Pacho Ramos gentoo-dev 2010-06-27 15:56:12 UTC
This needs jruby stable also
Comment 2 Christoph Mende (RETIRED) gentoo-dev 2010-06-29 10:22:06 UTC
amd64 stable
Comment 3 Andreas Schürch gentoo-dev 2010-06-29 12:26:14 UTC
It fails the tests on x86...

* Running test phase for ruby18 ...                                                                                  
(in /var/tmp/portage/dev-ruby/json-1.4.3-r1/work/ruby18/json-1.4.3)                                                   
WARNING: rake-compiler is not installed. You will not be able to build the json gem until you install it.             
GNU Make 3.81  

dev-ruby/rake-compiler is keyworded and has a long list of other dependent, keyworded packages for USE="test"....   

Anyhow.. with rake-compiler(USE="-test") i get

* Running test phase for ruby18 ...                                                                                  
(in /var/tmp/portage/dev-ruby/json-1.4.3-r1/work/ruby18/json-1.4.3)                                                   
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 i686-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-compiler must be configured first to enable cross-compilation
rake-compiler must be configured first to enable cross-compilation
/usr/bin/ruby18 -S testrb ./tests/test_json.rb ./tests/test_json_rails.rb ./tests/test_json_encoding.rb ./tests/test_json_unicode.rb ./tests/test_json_addition.rb ./tests/test_json_fixtures.rb ./tests/test_json_generate.rb              
Loaded suite [./tests/test_json.rb, ./tests/test_json_rails.rb, ./tests/test_json_encoding.rb, ./tests/test_json_unicode.rb, ./tests/test_json_addition.rb, ./tests/test_json_fixtures.rb, ./tests/test_json_generate.rb]                   
Started                                                                                                               
................................/lib/json/pure/parser.rb:196: warning: Float 23456789012E666 out of range             
............F..                                                                                                       
Finished in 1.422973 seconds.                                                                                         

  1) Failure:
test_symbol(TC_JSONRails) [./tests/test_json_rails.rb:142]:
<"\"foo\""> expected but was                               
<"{\"json_class\":\"Symbol\",\"s\":\"foo\"}">.             

46 tests, 1913 assertions, 1 failures, 0 errors
rake aborted!                                  
Command failed with status (1): [/usr/bin/ruby18 -S testrb ./tests/test_jso...]
/var/tmp/portage/dev-ruby/json-1.4.3-r1/work/ruby18/json-1.4.3/Rakefile:44:in `myruby'
         
Comment 4 Markus Meier gentoo-dev 2010-07-15 20:07:47 UTC
x86 stable (test failure isn't a regression), thanks Andreas
Comment 5 Raúl Porcel (RETIRED) gentoo-dev 2010-07-24 17:00:45 UTC
ia64/sparc stable
Comment 6 Brent Baude (RETIRED) gentoo-dev 2010-09-28 18:38:52 UTC
ppc done
Comment 7 Brent Baude (RETIRED) gentoo-dev 2010-09-29 21:34:49 UTC
ppc64 done; closing as last arch