Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Feb 2004 10:07:37 +0200
From:      Ion-Mihai Tetcu <itetcu@apropo.ro>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/Mk bsd.ruby.mk ports/lang/ruby16 Makefile pkg-plist ports/lang/ruby16-shim-ruby18 Makefile pkg-plist ports/lang/ruby16_static Makefile pkg-plist ports/lang/ruby18	Makefile pkg-plist
Message-ID:  <20040227100737.2a5b9659@it.buh.cameradicommercio.ro>
In-Reply-To: <20040226204417.GF5915@xor.obsecurity.org>
References:  <200402261920.i1QJK9DA070598@repoman.freebsd.org> <20040226204417.GF5915@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 26 Feb 2004 12:44:17 -0800
Kris Kennaway <kris@obsecurity.org> wrote:

> On Thu, Feb 26, 2004 at 11:20:09AM -0800, Akinori MUSHA wrote:
> > knu         2004/02/26 11:20:09 PST

[..]

> >     1) Reinstall portupgrade manually (and ruby 1.8 will be
> >     installed)
> >           pkg_delete portupgrade-\*
> >           (cd /usr/ports/sysutils/portupgrade; make install clean)
> >   
> >     2) Reinstall everything that depends on ruby 1.6 (to use ruby
> >     1.8)
> >           portupgrade -fr lang/ruby16
> >   
> >     3) Reinstall ruby 1.8 (because the previous step kills symlinks)
> >           portupgrade -f lang/ruby18
> >   
> >     4) Deinstall ruby 1.6 stuff (if you are paranoia)
> >           pkg_deinstall -ri lang/ruby16
> 
> This should be documented in CHANGES since it's almost certain to
> generate support questions.

lang/ruby16-shim-ruby18 brings in ruby 1.6 again  :))

Would it be safe to pkd_delete ruby16-shim-ruby18 since is it "set of
Ruby modules to provide Ruby 1.8 functionalities" ?

===>  Cleaning for ruby-1.6.8.2003.10.15_1
--->  Cleaning out obsolete shared libraries
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 384 packages found (-0 +1) . done]
** Package name changed from 'ruby-shim-ruby18' (lang/ruby16-shim-ruby18) to 'ruby16-shim-ruby18' (lang/ruby16-shim-ruby18).
--->  Reinstalling 'ruby-shim-ruby18-1.8.1.p3' (lang/ruby16-shim-ruby18)
--->  Building '/usr/ports/lang/ruby16-shim-ruby18'
===>  Cleaning for ruby-1.6.8.2003.10.15_1
===>  Cleaning for ruby16-shim-ruby18-1.8.1.p3

>>
And ruby-bdb1-0.2.1 fails installing rdoc; I had to make -DNOPORTDOCS
install on this one.

--->  Reinstalling 'ruby-bdb1-0.2.1' (databases/ruby-bdb1)
OK? [yes] y
--->  Build of databases/ruby-bdb1 started at: Fri, 27 Feb 2004 09:43:43
+0200
--->  Building '/usr/ports/databases/ruby-bdb1'
===>  Cleaning for ruby-1.8.1_2
===>  Cleaning for ruby18-bdb1-0.2.1
===>  Extracting for ruby18-bdb1-0.2.1
>> Checksum OK for ruby/bdb1-0.2.1.tar.gz.
===>   ruby18-bdb1-0.2.1 depends on file: /usr/local/bin/ruby18 - found
===>  Patching for ruby18-bdb1-0.2.1
===>   ruby18-bdb1-0.2.1 depends on file: /usr/local/bin/ruby18 - found
===>   ruby18-bdb1-0.2.1 depends on file: /usr/local/bin/ruby18 - found
===>  Configuring for ruby18-bdb1-0.2.1
===>  Running extconf.rb to configure
[..]
cc -shared -Wl,-soname,bdb1.so -L"/usr/local/lib" -L"/usr/local/lib" -o
bdb1.so bdb1.o delegate.o recnum.o  -lruby18  -lcrypt -lm   -lc
cd /usr/ports/databases/ruby-bdb1/work/bdb1-0.2.1; /usr/bin/env
SHELL=/bin/sh PORTOBJFORMAT=elf PREFIX=/usr/local LOCALBASE=/usr/local
X11BASE=/usr/X11R6 MOTIFLIB="-L/usr/X11R6/lib -lXm -lXp"
LIBDIR="/usr/lib" CFLAGS="-O -pipe -march=athlon-xp" CXXFLAGS="-O -pipe
-march=athlon-xp" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install 
-s -o root -g wheel -m 555"  BSD_INSTALL_SCRIPT="install  -o root -g
wheel -m 555"  BSD_INSTALL_DATA="install  -o root -g wheel -m 444" 
BSD_INSTALL_MAN="install  -o root -g wheel -m 444" make -f Makefile 
rdoc
rdoc: not found
*** Error code 127 (ignored)
--->  Updating dependency info
--->  Modifying /var/db/pkg/portupgrade-20040208/+CONTENTS
--->  Uninstallation of ruby-bdb1-0.2.1 started at: Fri, 27 Feb 2004
09:44:15 +0200
--->  Fixing up dependencies before creating a package
--->  Backing up the old version
--->  Uninstalling the old version
--->  Deinstalling 'ruby-bdb1-0.2.1'
pkg_delete: package 'ruby-bdb1-0.2.1' is required by these other packages and may not be deinstalled (but I'll delete it anyway):
portupgrade-20040208
pkg_delete: file '/usr/local/share/examples/ruby/bdb1/tmp' doesn't really exist
pkg_delete: unable to completely remove directory '/usr/local/share/examples/ruby/bdb1/tmp'
pkg_delete: couldn't entirely delete package (perhaps the packing listis incorrectly specified?)
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 383 packages found (-1 +0) (...) done]
--->  Uninstallation of ruby-bdb1-0.2.1 ended at: Fri, 27 Feb 2004 09:44:24 +0200 (consumed 00:00:08)
--->  Installation of databases/ruby-bdb1 started at: Fri, 27 Feb 2004 09:44:24 +0200
--->  Installing the new version via the port
===>  Installing for ruby18-bdb1-0.2.1
===>   ruby18-bdb1-0.2.1 depends on file: /usr/local/bin/ruby18 - found
===>   Generating temporary packing list
[..]
/bin/cp -R /usr/ports/databases/ruby-bdb1/work/bdb1-0.2.1/docs/*.html /usr/local/share/doc/ruby18/bdb1/
/bin/cp -R /usr/ports/databases/ruby-bdb1/work/bdb1-0.2.1/docs/*.rd /usr/local/share/doc/ruby18/bdb1/
/bin/cp -R /usr/ports/databases/ruby-bdb1/work/bdb1-0.2.1/docs/doc /usr/local/share/doc/ruby18/bdb1/
cp: /usr/ports/databases/ruby-bdb1/work/bdb1-0.2.1/docs/doc: No such file or directory
*** Error code 1


-- 
IOnut
Unregistered ;) FreeBSD user



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040227100737.2a5b9659>