ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Karavaev Pavel <pppd@yandex.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] flow-export в mysql
Date: Fri, 18 Jul 2008 11:18:38 +0500
Message-ID: <488035BE.1060609@yandex.ru> (raw)
In-Reply-To: <487F32EB.5000501@sakhalin.ru>

Dmitry Lebkov пишет:
> По-умолчанию пакет flow-tools собирается без поддержки SQL.
> Для работы с SQL вам необходимо пересобрать пакет с опциями
> '--with mysql' или '--with pgsql' (см. spec-файл пакета).
>
Спасибо за подсказку!
Следующие грабли: спотыкаюсь при наложении патча #21:

[metalsoft@alpha SPECS]$ rpm -bb --with mysql flow-tools.spec
Выполняется(%prep): /bin/sh -e /home/metalsoft/tmp/rpm-tmp.66187
+ umask 022
...
+ echo 'Patch #21 (flow-tools-0.68-alt-bug9607.patch):'
Patch #21 (flow-tools-0.68-alt-bug9607.patch):
+ /usr/bin/patch -p1
patching file src/flow-export.c
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n] y
Hunk #1 FAILED at 106.
Hunk #2 FAILED at 664.
Hunk #3 succeeded at 919 (offset 172 lines).
Hunk #4 FAILED at 1091.
Hunk #5 FAILED at 1342.
Hunk #6 FAILED at 1373.
Hunk #7 FAILED at 1436.
Hunk #8 FAILED at 1569.
7 out of 8 hunks FAILED -- saving rejects to file src/flow-export.c.rej
ошибка: Неверный код возврата из /home/metalsoft/tmp/rpm-tmp.6027 (%prep)


Ошибки сборки пакетов:
    Неверный код возврата из /home/metalsoft/tmp/rpm-tmp.6027 (%prep)
[metalsoft@alpha SPECS]$

Если наложение этого патча отключить, сборка завершается успешно.

PS: Собираю из пакета flow-tools-0.68-alt2.0.src.rpm


  reply	other threads:[~2008-07-18  6:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-17 11:34 Karavaev Pavel
2008-07-17 11:54 ` Dmitry Lebkov
2008-07-18  6:18   ` Karavaev Pavel [this message]
2008-07-17 11:57 ` Konstantin A. Lepikhov
2008-07-18  6:22   ` Karavaev Pavel

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=488035BE.1060609@yandex.ru \
    --to=pppd@yandex.ru \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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