Project

General

Profile

Bug #951

"make DESTDIR=... install" creates dirs outside DESTDIR

Added by svoop (Sven Schwyn) about 11 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
ruby -v:
Backport:
[ruby-core:20990]

Description

=begin
While working on the Ruby 1.9 ebuilds for Gentoo Prefix on Mac, I came across the following oddity.

With 1.9.1-pre2 the installation to a DESTDIR is not working as expected. While all files are installed correctly below the DESTDIR, one empty directory is created below the filesystem root:

/usr/lib/ruby/site_ruby/1.9.1/i686-darwin9/

Although not dramatic, this renegade directory triggers a QA error by the Gentoo installer which causes the installation to fail altogether.

I've tried to track down the offending line of code (most likely in instruby.rb), but couldn't find it.
=end


Related issues

Related to Ruby master - Bug #1002: r21312 causes test failures on RubyGemsClosed01/12/2009Actions

History

#1

Updated by yugui (Yuki Sonoda) about 11 years ago

  • Target version set to 1.9.1 RC2

=begin

=end

#2

Updated by nobu (Nobuyoshi Nakada) about 11 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r21312.
=end

#3

Updated by luislavena (Luis Lavena) about 11 years ago

=begin
Mr. Nobuyoshi,

Checking the changes introduced in lib/rubygems.rb (Gem.find_home and others), you removed the code that lookup for user profile using ENV and rely on expansion of "~"

I believe those changes are only valid for 1.9, correct?

I'll like to point that those couldn't be backported to rubygems repository, since in 1.8, on Windows, that doesn't work.
=end

#4

Updated by nobu (Nobuyoshi Nakada) about 11 years ago

=begin
Hi,

At Sun, 4 Jan 2009 23:32:30 +0900,
Luis Lavena wrote in [ruby-core:21112]:

Checking the changes introduced in lib/rubygems.rb
(Gem.find_home and others), you removed the code that lookup
for user profile using ENV and rely on expansion of "~"

I believe those changes are only valid for 1.9, correct?

And 1.8.7. Also, it's backported to 1.8.6 at patchlevel 127.

I'll like to point that those couldn't be backported to
rubygems repository, since in 1.8, on Windows, that doesn't
work.

It may not be safe for 1.8.6, indeed.

--
Nobu Nakada

=end

#5

Updated by luislavena (Luis Lavena) about 11 years ago

=begin
On Mon, Jan 5, 2009 at 7:57 AM, Nobuyoshi Nakada nobu@ruby-lang.org wrote:

Hi,

At Sun, 4 Jan 2009 23:32:30 +0900,
Luis Lavena wrote in [ruby-core:21112]:

Checking the changes introduced in lib/rubygems.rb
(Gem.find_home and others), you removed the code that lookup
for user profile using ENV and rely on expansion of "~"

I believe those changes are only valid for 1.9, correct?

And 1.8.7. Also, it's backported to 1.8.6 at patchlevel 127.

Great

I'll like to point that those couldn't be backported to
rubygems repository, since in 1.8, on Windows, that doesn't
work.

It may not be safe for 1.8.6, indeed.

Cool,

Eagerly looking to move most developments to 1.9

Thank you Mr. Nakada.

--
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

=end

Also available in: Atom PDF