ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:49416] make check: missing psych
@ 2012-11-16 12:58 Ramkumar Ramachandra
  2012-11-16 13:44 ` [ruby-core:49418] " Luis Lavena
  0 siblings, 1 reply; 7+ messages in thread
From: Ramkumar Ramachandra @ 2012-11-16 12:58 UTC (permalink / raw
  To: ruby-core

Hi,

When I run `make check`, I get a bunch of errors indicating that
"psych" is missing.  What is going on?

-- 8< --
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_command_manager.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_commands_pristine_command.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_commands_unpack_command.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_specification.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_commands_dependency_command.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_platform.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_commands_push_command.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_commands_server_command.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_commands_uninstall_command.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_package_tar_input.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_commands_stale_command.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_package_tar_writer.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_silent_ui.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_gem_path_searcher.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_ext_configure_builder.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_dependency_list.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_package_tar_reader.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_path_support.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_commands_sources_command.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_package_tar_output.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_kernel.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_commands_outdated_command.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_commands_help_command.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_dependency.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_security.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_remote_fetcher.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_requirement.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_commands_cleanup_command.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_commands_which_command.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_commands_fetch_command.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_command.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_gemcutter_utilities.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_commands_contents_command.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_dependency_installer.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_package_task.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_format.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_installer.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_commands_environment_command.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_commands_query_command.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_install_update_options.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_ext_rake_builder.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_stream_ui.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_builder.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_commands_update_command.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_local_remote_options.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_spec_fetcher.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_text.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_version_option.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_source_index.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_package_tar_header.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_package_tar_reader_entry.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_commands_lock_command.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_commands_install_command.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_config_file.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_commands_owner_command.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_uninstaller.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_commands_specification_command.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_gem_runner.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_commands_check_command.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_indexer.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_ext_ext_conf_builder.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_commands_list_command.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_commands_build_command.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_server.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_validator.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_commands_cert_command.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_version.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_config.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_doc_manager.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rubygems/test_gem_commands_generate_index_command.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/xmlrpc/test_parser.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/rdoc/test_rdoc_rubygems_hook.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_struct.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_psych.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_parser.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_scalar.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/visitors/test_emitter.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/visitors/test_depth_first.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/visitors/test_to_ruby.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/visitors/test_yaml_tree.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_coder.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_class.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_engine_manager.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_object_references.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_yamlstore.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_json_tree.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_yaml.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_hash.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_exception.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_omap.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_alias_and_anchor.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_nil.rb: cannot
load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_merge_keys.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_encoding.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_serialize_subclasses.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_boolean.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_deprecated.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_emitter.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_stream.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/json/test_stream.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_to_yaml_properties.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_object.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/nodes/test_enumerable.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/handlers/test_recorder.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_null.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_yamldbm.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_tainted.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_string.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_date_time.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_numeric.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_tree_builder.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_scalar_scanner.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_set.rb: cannot
load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_document.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_symbol.rb:
cannot load such file -- psych
/home/likewise-open/ANT/ramkum/src/ruby/test/psych/test_array.rb:
cannot load such file -- psych

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:49418] Re: make check: missing psych
  2012-11-16 12:58 [ruby-core:49416] make check: missing psych Ramkumar Ramachandra
@ 2012-11-16 13:44 ` Luis Lavena
  2012-11-16 14:12   ` [ruby-core:49419] " Ramkumar Ramachandra
  0 siblings, 1 reply; 7+ messages in thread
From: Luis Lavena @ 2012-11-16 13:44 UTC (permalink / raw
  To: ruby-core

On Fri, Nov 16, 2012 at 9:58 AM, Ramkumar Ramachandra
<artagnon@gmail.com> wrote:
> Hi,
>
> When I run `make check`, I get a bunch of errors indicating that
> "psych" is missing.  What is going on?
>

psych is the new YAML engine for Ruby 2.0, you need libyaml installed
so pysch can be compiled and used by RubyGems.
-- 
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:49419] Re: make check: missing psych
  2012-11-16 13:44 ` [ruby-core:49418] " Luis Lavena
@ 2012-11-16 14:12   ` Ramkumar Ramachandra
  2012-11-16 15:07     ` [ruby-core:49425] " Shota Fukumori (sora_h)
  0 siblings, 1 reply; 7+ messages in thread
From: Ramkumar Ramachandra @ 2012-11-16 14:12 UTC (permalink / raw
  To: ruby-core

Luis Lavena wrote:
> On Fri, Nov 16, 2012 at 9:58 AM, Ramkumar Ramachandra
> <artagnon@gmail.com> wrote:
>> Hi,
>>
>> When I run `make check`, I get a bunch of errors indicating that
>> "psych" is missing.  What is going on?
>>
>
> psych is the new YAML engine for Ruby 2.0, you need libyaml installed
> so pysch can be compiled and used by RubyGems.

I see.  Hm, I have the package "libyaml" installed on my Ubuntu
system, but it still complains about missing psych.  What am I
missing?

Thanks.

Ram

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:49425] Re: make check: missing psych
  2012-11-16 14:12   ` [ruby-core:49419] " Ramkumar Ramachandra
@ 2012-11-16 15:07     ` Shota Fukumori (sora_h)
  2012-11-16 15:54       ` [ruby-core:49433] " Ramkumar Ramachandra
  0 siblings, 1 reply; 7+ messages in thread
From: Shota Fukumori (sora_h) @ 2012-11-16 15:07 UTC (permalink / raw
  To: ruby-core

Hi,

On Fri, Nov 16, 2012 at 11:12 PM, Ramkumar Ramachandra
<artagnon@gmail.com> wrote:
> I see.  Hm, I have the package "libyaml" installed on my Ubuntu
> system, but it still complains about missing psych.  What am I
> missing?

http://packages.ubuntu.com/search?keywords=libyaml-dev
is libyaml-dev installed?

you need libyaml-dev, not only libyaml.

-- 
Shota Fukumori a.k.a. @sora_h - http://sorah.jp/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:49433] Re: make check: missing psych
  2012-11-16 15:07     ` [ruby-core:49425] " Shota Fukumori (sora_h)
@ 2012-11-16 15:54       ` Ramkumar Ramachandra
  2012-11-16 19:27         ` [ruby-core:49455] " Shota Fukumori (sora_h)
  0 siblings, 1 reply; 7+ messages in thread
From: Ramkumar Ramachandra @ 2012-11-16 15:54 UTC (permalink / raw
  To: ruby-core

Shota Fukumori (sora_h) wrote:
> On Fri, Nov 16, 2012 at 11:12 PM, Ramkumar Ramachandra
> <artagnon@gmail.com> wrote:
>> I see.  Hm, I have the package "libyaml" installed on my Ubuntu
>> system, but it still complains about missing psych.  What am I
>> missing?
>
> http://packages.ubuntu.com/search?keywords=libyaml-dev
> is libyaml-dev installed?
>
> you need libyaml-dev, not only libyaml.

Ah, thanks; works now.  However, I'm able to build and install `ruby`
without `libyaml-dev`, and the resulting `gem` executable is broken.
Isn't that a bug?

Ram

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:49455] Re: make check: missing psych
  2012-11-16 15:54       ` [ruby-core:49433] " Ramkumar Ramachandra
@ 2012-11-16 19:27         ` Shota Fukumori (sora_h)
  2012-11-16 21:25           ` [ruby-core:49456] " Eric Hodel
  0 siblings, 1 reply; 7+ messages in thread
From: Shota Fukumori (sora_h) @ 2012-11-16 19:27 UTC (permalink / raw
  To: ruby-core

Hi,

On Sat, Nov 17, 2012 at 12:54 AM, Ramkumar Ramachandra
<artagnon@gmail.com> wrote:
> Ah, thanks; works now.  However, I'm able to build and install `ruby`
> without `libyaml-dev`, and the resulting `gem` executable is broken.
> Isn't that a bug?
>
> Ram

rubygems' test fails because it expects "psych" (libyaml binding) exists,
but gem command seems not broken (It outputs message like "please
install libyaml and build ruby again").

@drbrain what do you think about psych LoadError in gem's test?

-- 
Shota Fukumori a.k.a. @sora_h - http://sorah.jp/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:49456] Re: make check: missing psych
  2012-11-16 19:27         ` [ruby-core:49455] " Shota Fukumori (sora_h)
@ 2012-11-16 21:25           ` Eric Hodel
  0 siblings, 0 replies; 7+ messages in thread
From: Eric Hodel @ 2012-11-16 21:25 UTC (permalink / raw
  To: ruby-core

On Nov 16, 2012, at 11:27 AM, "Shota Fukumori (sora_h)" <sorah@tubusu.net> wrote:
> On Sat, Nov 17, 2012 at 12:54 AM, Ramkumar Ramachandra
> <artagnon@gmail.com> wrote:
>> Ah, thanks; works now.  However, I'm able to build and install `ruby`
>> without `libyaml-dev`, and the resulting `gem` executable is broken.
>> Isn't that a bug?
>> 
>> Ram
> 
> rubygems' test fails because it expects "psych" (libyaml binding) exists,
> but gem command seems not broken (It outputs message like "please
> install libyaml and build ruby again").
> 
> @drbrain what do you think about psych LoadError in gem's test?

It's impossible to install gems without a YAML interpreter, so I think the LoadError is OK.

Aaron is trying to embed libyaml in psych, so maybe that will fix these errors.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-11-16 21:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-16 12:58 [ruby-core:49416] make check: missing psych Ramkumar Ramachandra
2012-11-16 13:44 ` [ruby-core:49418] " Luis Lavena
2012-11-16 14:12   ` [ruby-core:49419] " Ramkumar Ramachandra
2012-11-16 15:07     ` [ruby-core:49425] " Shota Fukumori (sora_h)
2012-11-16 15:54       ` [ruby-core:49433] " Ramkumar Ramachandra
2012-11-16 19:27         ` [ruby-core:49455] " Shota Fukumori (sora_h)
2012-11-16 21:25           ` [ruby-core:49456] " Eric Hodel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).