ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: php-coder <php-coder@ngs.ru>
To: community@altlinux.ru
Subject: [Comm] Fluxbox × rpm
Date: Mon, 7 Jun 2004 11:30:56 +0700
Message-ID: <1462589123.20040607113056@ngs.ru> (raw)

0000100101011110100100101::07.06.2004::0110001001001000100111100100010

  Привет, Linuxоиды!

  Продолжаю свою попытку завернуть Fluxbox в RPM-пакет. По совету
  Andrey'a Rahmatullin'a подправил свой спек и вышло следующее:

  # Секция подготовки к сборке:
  %prep
  %setup # распаковывает исходники и делает cd

  # Секция сборки:
  %build
  %configure --with-x
  %make_build

  # Секция установки:
  %install
  %make_install
  %find_lang %name

  # Секция, в которой перечисляются файлы входящие в пакет:
  %files -f %name
  %_bindir/*
  %_man1dir/*
  %_datadir/%name

  Создал SRPM, но при попытке создать RPM вылетает с ошибкой:

  Выполняется(%install): /bin/sh -e /home/coder/tmp/rpm-tmp.84590
  + umask 022
  + /bin/mkdir -p /home/coder/RPM/BUILD
  + cd /home/coder/RPM/BUILD
  + /bin/chmod -Rf u+rwX -- /home/coder/tmp/fluxbox-buildroot
  + :
  + /bin/rm -rf -- /home/coder/tmp/fluxbox-buildroot
  + cd fluxbox-0.9.9
  + make 'INSTALL=/bin/install -p'
  ...
  + /usr/lib/rpm/find-lang fluxbox
  /usr/lib/rpm/find-lang: line 107: cd: /home/coder/tmp/fluxbox-buildroot: No such file or directory
  ошибка: Неверный код возврата из /home/coder/tmp/rpm-tmp.84590 (%install)
  Ошибки сборки пакетов:
      Неверный код возврата из /home/coder/tmp/rpm-tmp.84590 (%install)
  [coder@mycomp SPECS]$ echo $?
  1

  Помогите решить проблемку... Особенно странно, что в начале секции
  удаляется директория /home/coder/tmp/fluxbox-buildroot, а потом она
  вдруг оказывается нужна и ее не удается найти...
  Спасибо за помощь!!!

--
  С уважением, php-coder (mailto:php-coder[at]ngs[dot]ru)
  Registered Linux User #327594
  ALT Linux Master 2.2

010010010010010001010101100::Linux RuleZz!::10001001000100010001000111



             reply	other threads:[~2004-06-07  4:30 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-07  4:30 php-coder [this message]
2004-06-07  4:41 ` [Comm] Fluxbox ? rpm Alexey I. Froloff
2004-06-08  3:21   ` Re[2]: " php-coder
2004-06-08  4:02     ` Alexey I. Froloff
2004-06-09  6:39       ` Re[2]: " php-coder
2004-06-09  8:07         ` Alexey I. Froloff
2004-06-13 20:53           ` [Comm] " Michael Shigorin
2004-06-08  4:56     ` [Comm] " Andrey Rahmatullin
2004-06-10  5:50       ` Re[2]: " php-coder
2004-06-10  8:10         ` Andrey Rahmatullin
2004-06-13 14:02           ` Re[2]: [Comm] Fluxbox × rpm php-coder
2004-06-13 14:56             ` [Comm] Fluxbox в rpm Sergey Vlasov
2004-06-21  5:08               ` Re[2]: [Comm] Fluxbox × rpm php-coder
2004-06-13 20:51 ` [Comm] [JT] Re: Fluxbox ? rpm Michael Shigorin
2004-06-14 10:18     ` [Comm] [JT] Re: Fluxbox в rpm Michael Shigorin
2004-06-14 22:04       ` Mackiewicz Andrey

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=1462589123.20040607113056@ngs.ru \
    --to=php-coder@ngs.ru \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

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

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


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