|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Dmitry Pryanishnikov 2:464/36 08 Sep 2004 11:58:17 To : Vladimir Kurtukov Subject : Re: portupgrade problem -------------------------------------------------------------------------------- This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-547785163-1094633695=:64391 Content-Type: TEXT/PLAIN; CHARSET=koi8-r; FORMAT=flowed Content-Transfer-Encoding: 8BIT Content-ID: <20040908115507.K64391@atlantis.atlantis.dp.ua> Привет! On Wed, 8 Sep 2004, Vladimir Kurtukov wrote: > Hello Anton. > > 07 Sep 04 21:53, you wrote to you: > > AVY>> #portupgrade portaudit > AVY>> [Failed `Inappropriate file type or format'] [Updating the > AVY>> portsdb <format:bdb1_btree> in /usr/ports ... - 11736 port > AVY>> entries > AVY>> found .........1000.........2000.........3000.........4000...... > AVY>> ...5000..... ....6000.........7000.........8000..../usr/local/li > AVY>> b/ruby/site_ruby/1. 8/portsdb.rb:587: [BUG] Bus Error ruby 1.8.2 > AVY>> (2004-07-29) [i386-freebsd5] > > AY> Ошибка оказывается в ruby > AY> http://www.freebsd.org/cgi/query-pr.cgi?pr=66222 Точнее, таки в bdb1 (т.е. в ruby18-bdb1-0.2.2 или скорее всего в коде, реализующем bdb1 в libc). > мне помог порт portindex. там есть утиль portindexdb, которая быстро и > без падений делает нужную базу Это все workarounds. Правильно полечить работу pkgtools проще всего, установив порт databases/ruby-bdb и переключившись на него вот так (проверено, работает): -------------------------------------------------------------------------- Date: Tue, 07 Sep 2004 19:46:17 -0400 From: Mike Edenfield <kutulu@kutulu.org> To: ports@freebsd.org Subject: Re: portsdb and ruby bug on 4-STABLE > 1.) Install the databases/ruby-bdb port. > > 2.) Set an environment variable PORTS_DBDRIVER to bdb-btree (or bdb_hash) > > This will change the portsdb's database backend from the libc-builtin bdb1 to > a later berkeley db (you can set which one via the WITH_BDB_VER switch in the > ruby-bdb port). > > You can also change the driver for pkgdb by setting PKG_DBDRIVER. IMO, this is the best solution so far. So I would like to mention that the easiest way to do this would be to add the following lines to your /usr/local/etc/pkgtools.conf: ENV['PORTS_DBDRIVER'] = 'bdb_btree' ENV['PKG_DBDRIVER'] = 'bdb_btree' This way, all of the package tools will always see the replacement driver, regardless of the state of the environment when you run them :) --Mike -------------------------------------------------------------------------- Sincerely, Dmitry -- Atlantis ISP, System Administrator e-mail: dmitry@atlantis.dp.ua nic-hdl: LYNX-RIPE --0-547785163-1094633695=:64391-- --- ifmail v.2.14.os-p7 * Origin: Atlantis ISP (2:464/36@fidonet) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/245218b8a8bdf.html, оценка из 5, голосов 10
|