ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Николай <tuxmail@hotbox.ru>
To: community@altlinux.ru
Subject: [Comm] Re[2]: Ошибки при создании RPM... или первые признаки отчаяния :( Помогите!
Date: Wed, 23 Oct 2002 20:33:56 +0400
Message-ID: <715246171.20021023203356@hotbox.ru> (raw)
In-Reply-To: <200210222002.46729.kosha@Kp.ru>

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

Всем здрасте и помогите пожалуйста!

Tuesday, October 22, 2002, 8:02:46 PM, Korshunov Ilya wrote:

KI> Вы присутсвуете в групах rpm и кажется rpminst ? 
KI> И ещё ..права на /usr/src/RPM 
KI> drwxrwxr-x    6 root     rpm           144 Cен 24 09:43 RPM

В группу rpm я себя давно внес, atmsk я не зря читал, про rpminst
ничего не знаю, поэтому я себя туда не добавлял, сегодня исправил
права на дерево /usr/src/RPM по вашему совету chown -R root:rpm /usr/src/RPM,
результат то же :(

[prickle@ming SPECS]$ rpm -ba unace.spec
Выполняется(%prep): /bin/sh -e /var/tmp/rpm-tmp.67626
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf UnAce-2.2
+ echo 'Source #0 (UnAce-2.2.tar.gz):'
Source #0 (UnAce-2.2.tar.gz):
+ /bin/gzip -dc /usr/src/RPM/SOURCES/UnAce-2.2.tar.gz
+ /bin/tar -xvvf -
drwxr-xr-x prickle/prickle   0 2002-10-22 19:22:07 UnAce-2.2/
/bin/tar: UnAce-2.2: Cannot mkdir: Permission denied
-rwxr-xr-x prickle/prickle 421496 2002-05-09 12:59:45 UnAce-2.2/unace
/bin/tar: UnAce-2.2/unace: Cannot open: No such file or directory
/bin/tar: Error exit delayed from previous errors
ошибка: Неверный код возврата из /var/tmp/rpm-tmp.67626 (%prep)

Ошибки сборки пакетов:
    Неверный код возврата из /var/tmp/rpm-tmp.67626 (%prep)



Признаться мне кажется я уже никогда не создам пакет.
Попробовал по книжечке Junior'a собрать ms-ttf-1.0, результат


[prickle@ming SPECS]$ rpm -ba ms-ttf.spec
Выполняется(%prep): /bin/sh -e /var/tmp/rpm-tmp.81230
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf ms-ttf-1.0
+ echo 'Source #0 (ms-ttf-1.0.tar.gz):'
Source #0 (ms-ttf-1.0.tar.gz):
+ /bin/gzip -dc /usr/src/RPM/SOURCES/ms-ttf-1.0.tar.gz
+ /bin/tar -xvvf -
drwxr-xr-x root/root         0 2002-10-23 18:40:51 ms-ttf-1.0/
/bin/tar: ms-ttf-1.0: Cannot mkdir: Permission denied
-rwxrwxrwx root/root     70640 2000-03-27 00:07:46 ms-ttf-1.0/cristal.ttf
/bin/tar: ms-ttf-1.0/cristal.ttf: Cannot open: No such file or directory
-rwxrwxrwx root/root    200684 1999-05-05 22:22:00 ms-ttf-1.0/ariali.ttf
/bin/tar: ms-ttf-1.0/ariali.ttf: Cannot open: No such file or directory
-rwxrwxrwx root/root    273020 1999-05-05 22:22:00 ms-ttf-1.0/arial.ttf
/bin/tar: ms-ttf-1.0/arial.ttf: Cannot open: No such file or directory
-rwxrwxrwx root/root    322824 1999-05-05 22:22:00 ms-ttf-1.0/times.ttf
/bin/tar: ms-ttf-1.0/times.ttf: Cannot open: No such file or directory
-rwxrwxrwx root/root    284560 1999-05-05 22:22:00 ms-ttf-1.0/arialbd.ttf
/bin/tar: ms-ttf-1.0/arialbd.ttf: Cannot open: No such file or directory
-rwxrwxrwx root/root    221756 1999-05-05 22:22:00 ms-ttf-1.0/arialbi.ttf
/bin/tar: ms-ttf-1.0/arialbi.ttf: Cannot open: No such file or directory
-rwxrwxrwx root/root    241972 1999-05-05 22:22:00 ms-ttf-1.0/timesi.ttf
/bin/tar: ms-ttf-1.0/timesi.ttf: Cannot open: No such file or directory
-rwxrwxrwx root/root    326072 1999-05-05 22:22:00 ms-ttf-1.0/timesbd.ttf
/bin/tar: ms-ttf-1.0/timesbd.ttf: Cannot open: No such file or directory
-rwxrwxrwx root/root    233892 1999-05-05 22:22:00 ms-ttf-1.0/timesbi.ttf
/bin/tar: ms-ttf-1.0/timesbi.ttf: Cannot open: No such file or directory
/bin/tar: Error exit delayed from previous errors
ошибка: Неверный код возврата из /var/tmp/rpm-tmp.81230 (%prep)

Ошибки сборки пакетов:
    Неверный код возврата из /var/tmp/rpm-tmp.81230 (%prep)


ЭТО ПОЛНЫЙ АБЗАЦ!
Что я делаю не так??
Может я tar'ом чего-то не то делаю (мой вариант это "tar -c название
директории"
Линуксоиды помогите!!! А то это уже начинает становиться моей идеей фикс.
    
-- 
С уважением Николай.


------------------
Get free mailbox 20 Mb at http://www.hotbox.ru

  parent reply	other threads:[~2002-10-23 16:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-22 15:56 [Comm] Ошибки при создании RPM Николай
2002-10-22 16:02 ` Korshunov Ilya
2002-10-23  7:22   ` [Comm] Re[2]: " Nick
2002-10-23 16:33   ` Николай [this message]
2002-10-23 16:40     ` [Comm] Re[2]: Ошибки при создании RPM... или первые признаки отчаяния :( Помогите! Korshunov Ilya
2002-10-24  8:12       ` [Comm] Re[2]: " Nick
2002-10-24 20:57       ` [Comm] Re[4]: " Николай

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=715246171.20021023203356@hotbox.ru \
    --to=tuxmail@hotbox.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