ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Cc: Ivan Zakharyaschev <imz@altlinux.org>
Subject: Re: [sisyphus] Ошибки в distribute
Date: Fri, 10 Sep 2004 00:35:33 +0400
Message-ID: <20040909203533.GA18243@basalt.office.altlinux.org> (raw)
In-Reply-To: <200409100013.43691.lav@altlinux.ru>

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

On Fri, Sep 10, 2004 at 12:13:43AM +0400, Vitaly Lipatov wrote:
> On Thursday 09 September 2004 22:34, Ilya wrote:
> 
> > /usr/bin/distribute: line 433: let: totalsize += : syntax
> > error: operand expected (error token is " ")
> Попробуйте такой патч:
> --- distribute.old  2002-12-18 16:48:27 +0300
> +++ distribute  2004-09-10 00:12:44 +0400
> @@ -239,7 +239,7 @@
>     trap failed ERR
>     set -o errexit
>     zeroDelimited "$@" | xargs -0 --no-run-if-empty \
> -       stat --dereference --format='%s' --
> +       stat --dereference --format='%s ' --
>     #set +o errexit
>      }
>  fi
> @@ -253,6 +253,15 @@

В Сизифе летом кардинально обновился пакет coreutils.
Поведение утилиты stat, как вы видите, изменилось
(/usr/share/doc/coreutils-5.3.0/ChangeLog.bz2):

2004-04-04  Jim Meyering  <jim@meyering....>

        A specified format is no longer automatically newline terminated.
        If you want a newline at the end of your format, use `\n'.
        * src/stat.c (print_it): Don't print a newline at the end of
        every format.
        (do_statfs): Add a newline at end of each default format string.

Виталий, предложенный вами патч, насколько я понимаю, будет работать как с
прежними версиями coreutils, так и с нынешней.  Так что, поскольку автор
пакета distribute не реагирует, приложите его и сделайте NMU.


-- 
ldv

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

      reply	other threads:[~2004-09-09 20:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-09 18:34 Ilya
2004-09-09 19:39 ` Vitaly Lipatov
2004-09-09 22:34   ` Ilya
2004-09-10  7:34     ` Vitaly Lipatov
2004-09-09 20:13 ` Vitaly Lipatov
2004-09-09 20:35   ` Dmitry V. Levin [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=20040909203533.GA18243@basalt.office.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=imz@altlinux.org \
    --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