#45257: Ruby warnings from library files that differ only by case of filename ----------------------+-------------------------------- Reporter: me@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: ruby lib | Port: ruby20 ----------------------+-------------------------------- It looks like there's at least one library file that shouldn't be there executing this code: {{{#!ruby #!/opt/local/bin/ruby -wU require "Digest" Digest::MD5.digest("!") }}} generates this output" {{{ /opt/local/lib/ruby2.0/2.0.0/digest.rb:4: warning: method redefined; discarding old const_missing /opt/local/lib/ruby2.0/2.0.0/Digest.rb:4: warning: previous definition of const_missing was here /opt/local/lib/ruby2.0/2.0.0/digest.rb:28: warning: method redefined; discarding old file /opt/local/lib/ruby2.0/2.0.0/Digest.rb:28: warning: previous definition of file was here /opt/local/lib/ruby2.0/2.0.0/digest.rb:35: warning: method redefined; discarding old base64digest /opt/local/lib/ruby2.0/2.0.0/Digest.rb:35: warning: previous definition of base64digest was here /opt/local/lib/ruby2.0/2.0.0/digest.rb:43: warning: method redefined; discarding old file /opt/local/lib/ruby2.0/2.0.0/Digest.rb:43: warning: previous definition of file was here /opt/local/lib/ruby2.0/2.0.0/digest.rb:62: warning: method redefined; discarding old base64digest /opt/local/lib/ruby2.0/2.0.0/Digest.rb:62: warning: previous definition of base64digest was here /opt/local/lib/ruby2.0/2.0.0/digest.rb:68: warning: method redefined; discarding old base64digest! /opt/local/lib/ruby2.0/2.0.0/Digest.rb:68: warning: previous definition of base64digest! was here /opt/local/lib/ruby2.0/2.0.0/digest.rb:86: warning: method redefined; discarding old Digest /opt/local/lib/ruby2.0/2.0.0/Digest.rb:86: warning: previous definition of Digest was here }}} `diff -qs` says `Files /opt/local/lib/ruby2.0/2.0.0/digest.rb and /opt/local/lib/ruby2.0/2.0.0/Digest.rb are identical` -- Ticket URL: <https://trac.macports.org/ticket/45257> MacPorts <http://www.macports.org/> Ports system for OS X