ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Андрей Черепанов" <cas@altlinux.ru>
To: omiliya@gmail.com,
	ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Несколько вопросов по сборке пакета
Date: Fri, 4 Dec 2009 14:47:52 +0300
Message-ID: <200912041447.53164.cas@altlinux.ru> (raw)
In-Reply-To: <hf95o6$e6r$1@ger.gmane.org>

3 декабря 2009 Andrei Kovtun написал:
> Пытаюсь разобраться со сборкой пакетов по мануалу
> http://www.altlinux.org/Краткое_руководство_по_сборке_пакета
> 
> Скачал тарбол с официального сайта, к примеру:
> awesome-3.4.2.tar.bz2
> 
> 1)  В каком каталоге обычно выполняют сборку?
В любой подготовленной хэшернице.
 
> 2)  В какой каталог поместить тарбол, чтобы потом сделать gear-update -c?
куда угодно. gear-update понимает полный путь к архиву

> 3)  в .gear/rules должно быть прописано расширение то же что у тарбола с
> исходниками?
> в моем случае:   tar.bz2: awesome
На ваше усмотрение. Можно оставить и дефолтовое.

> 4)  в спеке указывается то же расширение, что и у тарбола?
> в моем случае:   %name-%version.tar.bz2
Должно быть такое же, как в .gear/rules

> Спрашиваю об этом потому что, как не извращаюсь, все равно в конце концов
> получаю ошибку:
> error: File /usr/src/in/source/awesome-3.4.2.tar.bz2: No such file or
> directory
> Building target platforms: i586
> Building for target i586
> hsh-rebuild: pkg.tar: failed to create src.rpm file
А он там есть?


-- 
Андрей Черепанов
ALT Linux
cas@altlinux.ru

  parent reply	other threads:[~2009-12-04 11:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-03 20:06 Andrei Kovtun
2009-12-03 20:12 ` Hihin Ruslan
2009-12-03 21:12   ` Andrei Kovtun
2009-12-03 21:15     ` Dmitry V. Levin
2009-12-04 11:47 ` Андрей Черепанов [this message]
2009-12-04 12:11 ` Michael Shigorin
2009-12-04 12:12 ` Michael Shigorin

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=200912041447.53164.cas@altlinux.ru \
    --to=cas@altlinux.ru \
    --cc=omiliya@gmail.com \
    --cc=sisyphus@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 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