ports/107660: rubygem-rails: wrong RUN_DEPENDS if WITH_MEMCACHE_CLIENT enabled
Robert Gogolok
gogo at cs.uni-sb.de
Sun Jan 7 19:10:14 UTC 2007
>Number: 107660
>Category: ports
>Synopsis: rubygem-rails: wrong RUN_DEPENDS if WITH_MEMCACHE_CLIENT enabled
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 07 19:10:13 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Robert Gogolok
>Release: FreeBSD 6.1
>Organization:
http://www.robert-gogolok.de
>Environment:
FreeBSD desktop.gogolok.de 6.1-SECURITY FreeBSD 6.1-SECURITY #0: Mon Dec 4 07:53:55 UTC 2006 root at builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
>Description:
When WITH_MEMCACHE_CLIENT is enabled and databases/rubygem-memcache-client already installed, the port www/rubygem-rails will fail to recognize that databases/rubygem-memcache-client is already installed.
/usr/ports/www/rubygem-rails/ > sudo make install
===> Installing for rubygem-rails-1.1.6_1
===> rubygem-rails-1.1.6_1 depends on executable in : rake - found
===> rubygem-rails-1.1.6_1 depends on file: /usr/local/lib/ruby/gems/1.8/specifications/activesupport-1.3.1.gemspec - found
===> rubygem-rails-1.1.6_1 depends on file: /usr/local/lib/ruby/gems/1.8/specifications/activerecord-1.14.4.gemspec - found
===> rubygem-rails-1.1.6_1 depends on file: /usr/local/lib/ruby/gems/1.8/specifications/actionpack-1.12.5.gemspec - found
===> rubygem-rails-1.1.6_1 depends on file: /usr/local/lib/ruby/gems/1.8/specifications/actionmailer-1.2.5.gemspec - found
===> rubygem-rails-1.1.6_1 depends on file: /usr/local/lib/ruby/gems/1.8/specifications/actionwebservice-1.1.6.gemspec - found
===> rubygem-rails-1.1.6_1 depends on file: /usr/local/bin/ruby18 - found
===> rubygem-rails-1.1.6_1 depends on file: /usr/local/bin/gem - found
===> rubygem-rails-1.1.6_1 depends on file: /usr/local/bin/ruby18 - found
===> rubygem-rails-1.1.6_1 depends on file: /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd6/fcgi.so - found
===> rubygem-rails-1.1.6_1 depends on file: /usr/local/lib/ruby/gems/1.8/specifications/memcache-client-1.0.3.gemspec - not found
===> Verifying install for /usr/local/lib/ruby/gems/1.8/specifications/memcache-client-1.0.3.gemspec in /usr/ports/databases/rubygem-memcache-client
===> Installing for rubygem-memcache-client-1.2.0
===> rubygem-memcache-client-1.2.0 depends on executable in : rake - found
===> rubygem-memcache-client-1.2.0 depends on executable in : sow - found
===> rubygem-memcache-client-1.2.0 depends on file: /usr/local/bin/gem - found
===> rubygem-memcache-client-1.2.0 depends on executable in : rake - found
===> rubygem-memcache-client-1.2.0 depends on executable in : sow - found
===> rubygem-memcache-client-1.2.0 depends on file: /usr/local/bin/gem - found
===> Generating temporary packing list
===> Checking if databases/rubygem-memcache-client already installed
===> rubygem-memcache-client-1.2.0 is already installed
You may wish to ``make deinstall'' and install this port again
by ``make reinstall'' to upgrade it properly.
If you really wish to overwrite the old port of databases/rubygem-memcache-client
without deleting it first, set the variable "FORCE_PKG_REGISTER"
in your environment or the "make install" command line.
*** Error code 1
Stop in /usr/ports/databases/rubygem-memcache-client.
*** Error code 1
Stop in /usr/ports/www/rubygem-rails.
>How-To-Repeat:
set WITH_MEMCACHE_CLIENT=yes
$ cd /usr/ports/www/rubygem-rails
$ sudo make install
$ sudo make deinstall
$ sudo make install # will fail
>Fix:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/rubygem-rails/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile»·3 Dec 2006 01:36:02 -0000»1.11
+++ Makefile»·7 Jan 2007 18:56:36 -0000
@@ -49,7 +49,7 @@
.endif
.if defined(WITH_MEMCACHE_CLIENT)
-RUN_DEPENDS+=»·${LOCALBASE}/${SPEC_DIR}/memcache-client-1.0.3.gemspec:${PORTSDIR}/databases/rubygem-memcache-client
+RUN_DEPENDS+=»·${LOCALBASE}/${SPEC_DIR}/memcache-client-1.2.0.gemspec:${PORTSDIR}/databases/rubygem-memcache-client
.endif
.include "${PORTSDIR}/devel/ruby-gems/Makefile.common"
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list