Project

General

Profile

Actions

Bug #951

closed

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

Added by svoop (Sven Schwyn) about 15 years ago. Updated almost 13 years ago.

Status:
Closed
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 1 (0 open1 closed)

Related to Ruby master - Bug #1002: r21312 causes test failures on RubyGemsCloseddrbrain (Eric Hodel)01/12/2009Actions
Actions #1

Updated by yugui (Yuki Sonoda) about 15 years ago

  • Target version set to 1.9.1 RC2

=begin

=end

Actions #2

Updated by nobu (Nobuyoshi Nakada) about 15 years ago

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

=begin
Applied in changeset r21312.
=end

Actions #3

Updated by luislavena (Luis Lavena) about 15 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

Actions #4

Updated by nobu (Nobuyoshi Nakada) about 15 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

Actions #5

Updated by luislavena (Luis Lavena) about 15 years ago

=begin
On Mon, Jan 5, 2009 at 7:57 AM, Nobuyoshi Nakada 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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0