ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Как выключить strip при сборке
@ 2010-05-24  6:49 Eugene Prokopiev
  2010-05-24  7:09 ` Andrey Rahmatullin
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Eugene Prokopiev @ 2010-05-24  6:49 UTC (permalink / raw)
  To: Devel

Здравствуйте!

При сборке одного чужого src.rpm (для принтеров Canon PIXMA) после
решения всех проблем с зависимостями получаю:

strip:/usr/src/tmp/cnijfilter-common-buildroot/usr/lib/bjlib/cifip2200.bscc:
File format not recognized
install: strip process terminated abnormally
error: Bad exit status from /usr/src/tmp/rpm-tmp.75655 (%install)

В архиве нашлись целых 2 способа отключить strip - %set_strip_method
none и rpmbuild -ba --enable debug <specfile>, но оба не работают - в
итоге снова File format not recognized

-- 
С уважением,
Прокопьев Евгений

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [devel] Как выключить strip при сборке
  2010-05-24  6:49 [devel] Как выключить strip при сборке Eugene Prokopiev
@ 2010-05-24  7:09 ` Andrey Rahmatullin
  2010-05-24 17:34 ` Grigory Batalov
  2010-05-24 20:29 ` Grigory Batalov
  2 siblings, 0 replies; 5+ messages in thread
From: Andrey Rahmatullin @ 2010-05-24  7:09 UTC (permalink / raw)
  To: devel

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

On Mon, May 24, 2010 at 10:49:22AM +0400, Eugene Prokopiev wrote:
> strip:/usr/src/tmp/cnijfilter-common-buildroot/usr/lib/bjlib/cifip2200.bscc:
> File format not recognized
> install: strip process terminated abnormally
> error: Bad exit status from /usr/src/tmp/rpm-tmp.75655 (%install)
                                                          ^^^^^^^^

> В архиве нашлись целых 2 способа отключить strip - %set_strip_method
> none и rpmbuild -ba --enable debug <specfile>, но оба не работают - в
> итоге снова File format not recognized
Эти стрипы выполняются не в %install, по-моему. Так что смотреть в
%install.

-- 
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(6):

> А если я опакечу xephem (планетарий) и к нему звездный каталог
> xephem-usno?  Каталог 6Гбайт (в архиве наверно 2 Гб будет).
> Можно в Сизиф его?  Шутка. :-))))
Действительно шутка - incoming ведь тоже квотирован. :)
		-- ldv in sisyphus@

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [devel] Как выключить strip при сборке
  2010-05-24  6:49 [devel] Как выключить strip при сборке Eugene Prokopiev
  2010-05-24  7:09 ` Andrey Rahmatullin
@ 2010-05-24 17:34 ` Grigory Batalov
  2010-05-24 20:29 ` Grigory Batalov
  2 siblings, 0 replies; 5+ messages in thread
From: Grigory Batalov @ 2010-05-24 17:34 UTC (permalink / raw)
  To: devel

On Mon, 24 May 2010 10:49:22 +0400
Eugene Prokopiev wrote:

> При сборке одного чужого src.rpm (для принтеров Canon PIXMA) после
> решения всех проблем с зависимостями получаю:
> 
> strip:/usr/src/tmp/cnijfilter-common-buildroot/usr/lib/bjlib/cifip2200.bscc:
> File format not recognized
> install: strip process terminated abnormally
> error: Bad exit status from /usr/src/tmp/rpm-tmp.75655 (%install)
> 
> В архиве нашлись целых 2 способа отключить strip - %set_strip_method
> none и rpmbuild -ba --enable debug <specfile>, но оба не работают - в
> итоге снова File format not recognized

Попробуй
%add_strip_skiplist /usr/lib/bjlib/cifip2200.bscc


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [devel] Как выключить strip при сборке
  2010-05-24  6:49 [devel] Как выключить strip при сборке Eugene Prokopiev
  2010-05-24  7:09 ` Andrey Rahmatullin
  2010-05-24 17:34 ` Grigory Batalov
@ 2010-05-24 20:29 ` Grigory Batalov
  2010-05-24 20:39   ` Dmitry V. Levin
  2 siblings, 1 reply; 5+ messages in thread
From: Grigory Batalov @ 2010-05-24 20:29 UTC (permalink / raw)
  To: devel

On Mon, 24 May 2010 10:49:22 +0400
Eugene Prokopiev wrote:

> При сборке одного чужого src.rpm (для принтеров Canon PIXMA) после
> решения всех проблем с зависимостями получаю:
> 
> strip:/usr/src/tmp/cnijfilter-common-buildroot/usr/lib/bjlib/cifip2200.bscc:
> File format not recognized
> install: strip process terminated abnormally
> error: Bad exit status from /usr/src/tmp/rpm-tmp.75655 (%install)
> 
> В архиве нашлись целых 2 способа отключить strip - %set_strip_method
> none и rpmbuild -ba --enable debug <specfile>, но оба не работают - в
> итоге снова File format not recognized

Попробуй
%add_strip_skiplist /usr/lib/bjlib/cifip2200.bscc


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [devel] Как выключить strip при сборке
  2010-05-24 20:29 ` Grigory Batalov
@ 2010-05-24 20:39   ` Dmitry V. Levin
  0 siblings, 0 replies; 5+ messages in thread
From: Dmitry V. Levin @ 2010-05-24 20:39 UTC (permalink / raw)
  To: ALT Devel discussion list

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

On Tue, May 25, 2010 at 12:29:14AM +0400, Grigory Batalov wrote:
> On Mon, 24 May 2010 10:49:22 +0400
> Eugene Prokopiev wrote:
> 
> > При сборке одного чужого src.rpm (для принтеров Canon PIXMA) после
> > решения всех проблем с зависимостями получаю:
> > 
> > strip:/usr/src/tmp/cnijfilter-common-buildroot/usr/lib/bjlib/cifip2200.bscc:
> > File format not recognized
> > install: strip process terminated abnormally
> > error: Bad exit status from /usr/src/tmp/rpm-tmp.75655 (%install)
> > 
> > В архиве нашлись целых 2 способа отключить strip - %set_strip_method
> > none и rpmbuild -ba --enable debug <specfile>, но оба не работают - в
> > итоге снова File format not recognized
> 
> Попробуй
> %add_strip_skiplist /usr/lib/bjlib/cifip2200.bscc

Штатные методы управления (%set_strip_method, %add_strip_skiplist) не
повлияют на вызов "install -s", используемый непосредственно в секции
%install.  Уберите этот "-s".


-- 
ldv

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-05-24 20:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-24  6:49 [devel] Как выключить strip при сборке Eugene Prokopiev
2010-05-24  7:09 ` Andrey Rahmatullin
2010-05-24 17:34 ` Grigory Batalov
2010-05-24 20:29 ` Grigory Batalov
2010-05-24 20:39   ` Dmitry V. Levin

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

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

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


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