Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 474678 - sci-libs/gdal-1.10.0-r1: Installation of a regular file is blocked by a directory: '/usr/lib64/ruby/site_ruby/1.8/x86_64-linux/gdal'
Summary: sci-libs/gdal-1.10.0-r1: Installation of a regular file is blocked by a direc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords: PATCH
: 497146 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-06-25 07:01 UTC by Ulrich Müller
Modified: 2014-01-27 00:20 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gdal-1.10.0-ruby-makefile.patch (gdal-1.10.0-ruby-makefile.patch,444 bytes, patch)
2013-06-25 07:04 UTC, Ulrich Müller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2013-06-25 07:01:29 UTC
>>> Installing (1 of 1) sci-libs/gdal-1.10.0-r1
 * 
 * Installation of a regular file is blocked by a directory:
 *   '/usr/lib64/ruby/site_ruby/1.8/x86_64-linux/gdal'
 * This file will be merged with a different name:
 *   '/usr/lib64/ruby/site_ruby/1.8/x86_64-linux/gdal.backup.0000'
 * 

The ebuild already has a workaround for ruby 1.9, but for ruby 1.8 the collision still happens.
Comment 1 Ulrich Müller gentoo-dev 2013-06-25 07:04:39 UTC
Created attachment 351872 [details, diff]
gdal-1.10.0-ruby-makefile.patch

The problem is in RubyMakefile.mk which doesn't create $(DESTDIR)$(INSTALL_DIR) in D when $(INSTALL_DIR) exists in the live system. Attached patch should fix it.
Comment 2 Aaron W. Swenson gentoo-dev 2013-06-25 11:21:02 UTC
(In reply to Ulrich Müller from comment #1)
> Created attachment 351872 [details, diff] [details, diff]
> gdal-1.10.0-ruby-makefile.patch
> 
> The problem is in RubyMakefile.mk which doesn't create
> $(DESTDIR)$(INSTALL_DIR) in D when $(INSTALL_DIR) exists in the live system.
> Attached patch should fix it.

Is this in addition to the existing Ruby patch, or to replace the existing Ruby patch?
Comment 3 Ulrich Müller gentoo-dev 2013-06-25 12:15:53 UTC
(In reply to Aaron W. Swenson from comment #2)
> Is this in addition to the existing Ruby patch, or to replace the existing
> Ruby patch?

In addition.
Comment 4 Aaron W. Swenson gentoo-dev 2013-06-26 00:38:58 UTC
*gdal-1.10.0-r2 (26 Jun 2013)

  26 Jun 2013; Aaron W. Swenson <titanofold@gentoo.org> -gdal-1.10.0-r1.ebuild,
  +gdal-1.10.0-r2.ebuild, +files/gdal-1.10.0-ruby-makefile.patch:
  Fix bug 474678. Thanks Ulrich Müller.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2014-01-07 16:17:01 UTC
*** Bug 497146 has been marked as a duplicate of this bug. ***
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2014-01-07 16:17:19 UTC
(In reply to Aaron W. Swenson from comment #4)
> *gdal-1.10.0-r2 (26 Jun 2013)
> 
>   26 Jun 2013; Aaron W. Swenson <titanofold@gentoo.org>
> -gdal-1.10.0-r1.ebuild,
>   +gdal-1.10.0-r2.ebuild, +files/gdal-1.10.0-ruby-makefile.patch:
>   Fix bug 474678. Thanks Ulrich Müller.

This never happened?
Comment 7 Aaron W. Swenson gentoo-dev 2014-01-27 00:20:56 UTC
*gdal-1.10.1 (26 Jan 2014)

  26 Jan 2014; Aaron W. Swenson <titanofold@gentoo.org>
  +files/gdal-1.10.0-ruby-makefile.patch, +gdal-1.10.1.ebuild:
  Fix bug 493236: Depend on Perl conditionally. Thanks Nikoli.
  Fix bug 492338: Version bump. Thanks Stephan Litterst.
  Fix bug 483074: Convert to python-r1 to support multiple Pythons. Thanks
                  Ian Stakenvicius.
  Fix bug 466114: Append -lisqlite3 to LIBS. Thanks cmuelle8.
  Fix bug 482888: Modify poppler dependency to have a minimum
                  version (>=0.24.3).
  Fix bug 490048: Add dev-libs/libpcre and dev-libs/libxml2 to RDEPEND
  Fix bug 489224: Add sub-slot operator to trigger rebuild when poppler or
                  Perl is updated. Thanks Nikoli.
  Fix bug 490046: Resolved by sci-libs/gdal version bump.
  Fix bug 474678: Really include the patch this time.