ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Ivan A. Melnikov" <iv@etersoft.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] Fwd: fuse-encfs-1.5.2-alt7: Sisyphus/x86_64 test rebuild failed [11]
Date: Mon, 10 May 2010 21:28:04 +0400
Message-ID: <20100510212804.1dfc8304@deimos.localdomain> (raw)
In-Reply-To: <20100510150056.GB31705@mw.office.seiros.ru>

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

В Mon, 10 May 2010 19:00:56 +0400
Денис Смирнов <mithraen@altlinux.ru> пишет:

> Можно ли пока просто собирать encfs со старым бустом? [...]

Такая возможность не предусмотрена, и предусмотреть её не так просто.
К тому же, была мечта вообще 1.43.0 протащить через shared task без
compat-пакета.

> Непересобираемость столь критичного для
> многих пакета -- это категорически неправильно.

Согласен.

В boost 1.43.0 version_type снова unsigned int, вроде бы, но версия
класса ограничена 8-ю битами (сравнивается с 256 в макросе
BOOST_CLASS_VERSION). Возможно, теперь удастся что-нибуть придумать с
этой стороны.

Правда, за неделю 1.43.0 вряд ли доберётся до Сизифа, поэтому предлагаю
использовать какой-нибудь хак, например тот, который в аттаче. Только
ещё раз проверьте (я проверял, но всё же), что формируются _ПРАВИЛЬНЫЕ_
конфиги, с version="20080816", а то мы получим жуткие проблемы обратной
совместимости...

-- 
WBR,
Ivan A. Melnikov

[-- Attachment #2: fuse-encfs-1.52-alt-hack-for-boost-1.42.patch --]
[-- Type: text/x-patch, Size: 504 bytes --]

diff --git a/fuse-encfs/encfs/FileUtils.cpp b/fuse-encfs/encfs/FileUtils.cpp
index 73a589f..5cac550 100644
--- a/fuse-encfs/encfs/FileUtils.cpp
+++ b/fuse-encfs/encfs/FileUtils.cpp
@@ -184,7 +184,7 @@ namespace boost
             cfg.assignKeyData(key, encodedSize);
             delete[] key;
 
-            if(version >= 20080816)
+            if(version >= boost::serialization::version_type(20080816))
             {
                 int saltLen;
                 ar >> make_nvp("saltLen", saltLen);

  reply	other threads:[~2010-05-10 17:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-09 22:32 ` Denis Smirnov
2010-05-10  7:39   ` Ivan A. Melnikov
2010-05-10 15:00     ` Денис Смирнов
2010-05-10 17:28       ` Ivan A. Melnikov [this message]
2010-05-11 14:05         ` Денис Смирнов
2010-05-11 14:47           ` Ivan A. Melnikov

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=20100510212804.1dfc8304@deimos.localdomain \
    --to=iv@etersoft.ru \
    --cc=devel@lists.altlinux.org \
    /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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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