ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: sisyphus@altlinux.ru
Subject: [sisyphus] Re: проблема с subversion
Date: Fri, 25 Mar 2005 20:43:22 +0300
Message-ID: <20050325174322.GH7612@solemn.turbinal.org> (raw)
In-Reply-To: <d84f9e0205032423511a17df6f@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1868 bytes --]

On Fri, Mar 25, 2005 at 10:51:34AM +0300, Ivan Evtuhovich wrote:
> svn: Commit failed (details follow):
> svn: Unable to open an ra_local session to URL
> svn: Unable to open repository 'file:///home/vanya/subversion/balance'
> svn: Berkeley DB error while opening environment for filesystem
> /home/vanya/subversion/db:
> DB_VERSION_MISMATCH: Database environment version mismatch
> svn: bdb: Program version 4.3 doesn't match environment version
> 
> Я понимаю, почему это так, но вот как безболезненно откатиться назад,
> чтобы хотя бы dump сделать, я не догадался.
> 
> Кто-нибудь знает решение это проблемы?

Иногда бинари слишком жестко проверяют версии библиотек, с которыми они
были слинкованы на стадии компиляции.  Вообще говоря, это самодеятельность,
которая страхует разве что авторов зависимого софта от некомпетентных
баг-репортов, которые шлют пользователи без башни.  С другой стороны,
тех, кто без башни -- есть куда послать, а это вроде как хорошо.

Вот последний патч, приложенный к perl-BerkeleyDB:

libberkeleydb-perl (0.26-3) unstable; urgency=high

  * Patched to work with all patchlevels of libdb, thanks to Brendan O'Dea.
    (Closes: #290988)

 -- Marco d'Itri <md@linux.it>  Wed, 19 Jan 2005 01:47:23 +0100

--- libberkeleydb-perl-0.26.orig/BerkeleyDB.xs
+++ libberkeleydb-perl-0.26/BerkeleyDB.xs
@@ -3894,7 +3894,7 @@
     (void)db_version(&Major, &Minor, &Patch) ;
     /* Check that the versions of db.h and libdb.a are the same */
     if (Major != DB_VERSION_MAJOR || Minor != DB_VERSION_MINOR
-                || Patch != DB_VERSION_PATCH)
+		)
         croak("\nBerkeleyDB needs compatible versions of libdb & db.h\n\tyou have db.h version %d.%d.%d and libdb version %d.%d.%d\n",
                 DB_VERSION_MAJOR, DB_VERSION_MINOR, DB_VERSION_PATCH,
                 Major, Minor, Patch) ;


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

      parent reply	other threads:[~2005-03-25 17:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-25  7:51 ` [sisyphus] " Ivan Evtuhovich
2005-03-25 17:21   ` [OT] " Alexey Voinov
2005-03-25 17:43   ` Alexey Tourbin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050325174322.GH7612@solemn.turbinal.org \
    --to=at@altlinux.ru \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git