ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] чья бага ?
@ 2008-04-21  9:23 Denis Klimov
  2008-04-21  9:34 ` Led
  0 siblings, 1 reply; 17+ messages in thread
From: Denis Klimov @ 2008-04-21  9:23 UTC (permalink / raw)
  To: devel

Добрый день. Опакечиваю owfs. При установке собранного пакета:

root@berloga ~ # apt-get install owfs-fs
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  owfs-fs: Depends: /etc/init.d(echo_failure) but it is not installable
           Depends: /etc/init.d(echo_success) but it is not installable
           Depends: /etc/init.d(killproc) but it is not installable
           Depends: /etc/init.d(status) but it is not installable
E: Broken packages

Причем:
root@berloga ~ # rpm -q --provides service
...
/etc/rc.d/init.d(echo_failure)
/etc/rc.d/init.d(echo_success)
/etc/rc.d/init.d(killproc)
/etc/rc.d/init.d(status)
...

Система - свежий Сизиф.
Почему в одном случае rc.d не хватает?

Секция %files в моем спеке такая:
%files fs
%_initdir/owfs
%config /etc/sysconfig/owfs
%_sbindir/owfs
%_man1dir/owfs.1*
%endif


--
Denis Klimov
zver@


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

* Re: [devel] чья бага ?
  2008-04-21  9:23 [devel] чья бага ? Denis Klimov
@ 2008-04-21  9:34 ` Led
  2008-04-21  9:39   ` Denis Klimov
  0 siblings, 1 reply; 17+ messages in thread
From: Led @ 2008-04-21  9:34 UTC (permalink / raw)
  To: ALT Linux Team development discussions

Monday, 21 April 2008 12:23:41 Denis Klimov написав:
> Добрый день. Опакечиваю owfs. При установке собранного пакета:
>
> root@berloga ~ # apt-get install owfs-fs
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
>
> Since you only requested a single operation it is extremely likely that
> the package is simply not installable and a bug report against
> that package should be filed.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
>   owfs-fs: Depends: /etc/init.d(echo_failure) but it is not installable
>            Depends: /etc/init.d(echo_success) but it is not installable
>            Depends: /etc/init.d(killproc) but it is not installable
>            Depends: /etc/init.d(status) but it is not installable
> E: Broken packages
>
> Причем:
> root@berloga ~ # rpm -q --provides service
> ...
> /etc/rc.d/init.d(echo_failure)
> /etc/rc.d/init.d(echo_success)
> /etc/rc.d/init.d(killproc)
> /etc/rc.d/init.d(status)

А что, отличий между /etc/init.d(echo_failure) 
и /etc/rc.d/init.d(echo_failure) не замечаете?

> ...
>
> Система - свежий Сизиф.
> Почему в одном случае rc.d не хватает?
>
> Секция %files в моем спеке такая:
> %files fs
> %_initdir/owfs
> %config /etc/sysconfig/owfs
> %_sbindir/owfs
> %_man1dir/owfs.1*
> %endif



-- 
Led


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

* Re: [devel] чья бага ?
  2008-04-21  9:34 ` Led
@ 2008-04-21  9:39   ` Denis Klimov
  2008-04-21  9:48     ` Led
  2008-04-21  9:48     ` [devel] " Alexey Tourbin
  0 siblings, 2 replies; 17+ messages in thread
From: Denis Klimov @ 2008-04-21  9:39 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Mon, 21 Apr 2008 12:34:26 +0300 Led wrote:

> А что, отличий между /etc/init.d(echo_failure) 
> и /etc/rc.d/init.d(echo_failure) не замечаете?
Именно что замечаю. в этом и дело.

почему find-requires при сборке моего пакета прописывает без rc.d ?

--
Denis Klimov 
zver


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

* Re: [devel] чья бага ?
  2008-04-21  9:39   ` Denis Klimov
@ 2008-04-21  9:48     ` Led
  2008-04-21  9:53       ` Denis Klimov
  2008-04-21  9:48     ` [devel] " Alexey Tourbin
  1 sibling, 1 reply; 17+ messages in thread
From: Led @ 2008-04-21  9:48 UTC (permalink / raw)
  To: ALT Linux Team development discussions

Monday, 21 April 2008 12:39:56 Denis Klimov написав:
> On Mon, 21 Apr 2008 12:34:26 +0300 Led wrote:
> > А что, отличий между /etc/init.d(echo_failure)
> > и /etc/rc.d/init.d(echo_failure) не замечаете?
>
> Именно что замечаю. в этом и дело.
>
> почему find-requires при сборке моего пакета прописывает без rc.d ?

Трудно сказать, не видя %_initdir/owfs

-- 
Led

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

* Re: [devel] чья бага ?
  2008-04-21  9:39   ` Denis Klimov
  2008-04-21  9:48     ` Led
@ 2008-04-21  9:48     ` Alexey Tourbin
  2008-04-21  9:51       ` Denis Klimov
  1 sibling, 1 reply; 17+ messages in thread
From: Alexey Tourbin @ 2008-04-21  9:48 UTC (permalink / raw)
  To: ALT Linux Team development discussions

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

On Mon, Apr 21, 2008 at 03:39:56PM +0600, Denis Klimov wrote:
> On Mon, 21 Apr 2008 12:34:26 +0300 Led wrote:
> 
> > А что, отличий между /etc/init.d(echo_failure) 
> > и /etc/rc.d/init.d(echo_failure) не замечаете?
> Именно что замечаю. в этом и дело.
> 
> почему find-requires при сборке моего пакета прописывает без rc.d ?

Потому что файл запакован без rc.d.
Используйте макрос %_initdir.

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

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

* Re: [devel] чья бага ?
  2008-04-21  9:48     ` [devel] " Alexey Tourbin
@ 2008-04-21  9:51       ` Denis Klimov
  2008-04-21  9:55         ` Alexey Tourbin
  0 siblings, 1 reply; 17+ messages in thread
From: Denis Klimov @ 2008-04-21  9:51 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Mon, 21 Apr 2008 13:48:30 +0400 Alexey Tourbin wrote:

> Потому что файл запакован без rc.d.
> Используйте макрос %_initdir.

Алексей, я ведь специально в первом письме указал свою секцию %files

> Секция %files в моем спеке такая:
> %files fs
> %_initdir/owfs
> %config /etc/sysconfig/owfs
> %_sbindir/owfs
> %_man1dir/owfs.1*

т.е. %_initdir используется

--
Denis Klimov 
zver


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

* Re: [devel] чья бага ?
  2008-04-21  9:48     ` Led
@ 2008-04-21  9:53       ` Denis Klimov
  2008-04-21 10:00         ` Led
  0 siblings, 1 reply; 17+ messages in thread
From: Denis Klimov @ 2008-04-21  9:53 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Mon, 21 Apr 2008 12:48:04 +0300 Led wrote:

> Трудно сказать, не видя %_initdir/owfs
Пожайлуйста: http://pastebin.ca/991756

--
Denis Klimov 
zver


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

* Re: [devel] чья бага ?
  2008-04-21  9:51       ` Denis Klimov
@ 2008-04-21  9:55         ` Alexey Tourbin
  2008-04-21 10:14           ` Denis Klimov
  0 siblings, 1 reply; 17+ messages in thread
From: Alexey Tourbin @ 2008-04-21  9:55 UTC (permalink / raw)
  To: ALT Linux Team development discussions

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

On Mon, Apr 21, 2008 at 03:51:30PM +0600, Denis Klimov wrote:
> On Mon, 21 Apr 2008 13:48:30 +0400 Alexey Tourbin wrote:
> 
> > Потому что файл запакован без rc.d.
> > Используйте макрос %_initdir.
> 
> Алексей, я ведь специально в первом письме указал свою секцию %files
> 
> > Секция %files в моем спеке такая:
> > %files fs
> > %_initdir/owfs
> > %config /etc/sysconfig/owfs
> > %_sbindir/owfs
> > %_man1dir/owfs.1*
> 
> т.е. %_initdir используется

Тогда пришлите мне nosrc.rpm и URL тарболла
rpmbuild -bs --nosource 0 *.spec

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

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

* Re: [devel] чья бага ?
  2008-04-21  9:53       ` Denis Klimov
@ 2008-04-21 10:00         ` Led
  2008-04-21 10:25           ` Denis Klimov
  0 siblings, 1 reply; 17+ messages in thread
From: Led @ 2008-04-21 10:00 UTC (permalink / raw)
  To: ALT Linux Team development discussions

Monday, 21 April 2008 12:53:56 Denis Klimov написав:
> On Mon, 21 Apr 2008 12:48:04 +0300 Led wrote:
> > Трудно сказать, не видя %_initdir/owfs
>
> Пожайлуйста: http://pastebin.ca/991756

А где вот это
WITHOUT_RC_COMPAT=1
потеряли?

-- 
Led

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

* Re: [devel] чья бага ?
  2008-04-21  9:55         ` Alexey Tourbin
@ 2008-04-21 10:14           ` Denis Klimov
  2008-04-21 10:40             ` Alexey Tourbin
  0 siblings, 1 reply; 17+ messages in thread
From: Denis Klimov @ 2008-04-21 10:14 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Mon, 21 Apr 2008 13:55:47 +0400 Alexey Tourbin wrote:

> Тогда пришлите мне nosrc.rpm и URL тарболла
> rpmbuild -bs --nosource 0 *.spec
> 

Отправил.

--
Denis Klimov 
zver


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

* Re: [devel] чья бага ?
  2008-04-21 10:00         ` Led
@ 2008-04-21 10:25           ` Denis Klimov
  2008-04-21 14:45             ` [devel] [initscripts] " Michael Shigorin
  0 siblings, 1 reply; 17+ messages in thread
From: Denis Klimov @ 2008-04-21 10:25 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Mon, 21 Apr 2008 13:00:54 +0300 Led wrote:

> А где вот это
> WITHOUT_RC_COMPAT=1
> потеряли?
> 
Гм, этот инит-скрипт из сырцов..  Добавил эту строчку.. ничего не
изменилось.

--
Denis Klimov 
zver


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

* Re: [devel] чья бага ?
  2008-04-21 10:14           ` Denis Klimov
@ 2008-04-21 10:40             ` Alexey Tourbin
  2008-04-21 11:02               ` Denis Klimov
  0 siblings, 1 reply; 17+ messages in thread
From: Alexey Tourbin @ 2008-04-21 10:40 UTC (permalink / raw)
  To: ALT Linux Team development discussions

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

On Mon, Apr 21, 2008 at 04:14:40PM +0600, Denis Klimov wrote:
> > Тогда пришлите мне nosrc.rpm и URL тарболла
> > rpmbuild -bs --nosource 0 *.spec
> 
> Отправил.

Во-первых, пакет в хешере не собирается.  Выкладывайте тогда весь
src.rpm, который у Вас собирается (или публикуйте gear-репозиторий).

Во-вторых, после нескольких хаков, пакет удалось собрать, и эти
анметы у меня не воспроизводятся.

$ rpm -qpR ~/RPM/RPMS/owfs-fs-2.7p4-alt1.athlon.rpm |grep init
/etc/rc.d/init.d(echo_failure)  
/etc/rc.d/init.d(echo_success)  
/etc/rc.d/init.d(killproc)  
/etc/rc.d/init.d(status)  
/etc/rc.d/init.d/functions  
$

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

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

* Re: [devel] чья бага ?
  2008-04-21 10:40             ` Alexey Tourbin
@ 2008-04-21 11:02               ` Denis Klimov
  2008-04-21 11:26                 ` Alexey Tourbin
  0 siblings, 1 reply; 17+ messages in thread
From: Denis Klimov @ 2008-04-21 11:02 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Mon, 21 Apr 2008 14:40:59 +0400 Alexey Tourbin wrote:

> On Mon, Apr 21, 2008 at 04:14:40PM +0600, Denis Klimov wrote:
> > > Тогда пришлите мне nosrc.rpm и URL тарболла
> > > rpmbuild -bs --nosource 0 *.spec
> > 
> > Отправил.
> 
> Во-первых, пакет в хешере не собирается.  Выкладывайте тогда весь
> src.rpm, который у Вас собирается (или публикуйте gear-репозиторий).
> 
> Во-вторых, после нескольких хаков, пакет удалось собрать, и эти
> анметы у меня не воспроизводятся.
> 
> $ rpm -qpR ~/RPM/RPMS/owfs-fs-2.7p4-alt1.athlon.rpm |grep init
> /etc/rc.d/init.d(echo_failure)  
> /etc/rc.d/init.d(echo_success)  
> /etc/rc.d/init.d(killproc)  
> /etc/rc.d/init.d(status)  
> /etc/rc.d/init.d/functions  
> $
> 

выложил в git
http://git.altlinux.org/people/zver/packages/?p=owfs.git;a=summary

еще раз перепроверил у себя

zver@berloga develop/owfs/alt % rpm -qpR ~/hasher/repo/i586/RPMS.hasher/owfs-fs-2.7p4-alt1.i586.rpm |grep init
/etc/init.d(echo_failure)
/etc/init.d(echo_success)
/etc/init.d(killproc)
/etc/init.d(status)
/etc/rc.d/init.d/functions

--
Denis Klimov 
zver


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

* Re: [devel] чья бага ?
  2008-04-21 11:02               ` Denis Klimov
@ 2008-04-21 11:26                 ` Alexey Tourbin
  2008-04-21 12:04                   ` Denis Klimov
  0 siblings, 1 reply; 17+ messages in thread
From: Alexey Tourbin @ 2008-04-21 11:26 UTC (permalink / raw)
  To: ALT Linux Team development discussions

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

On Mon, Apr 21, 2008 at 05:02:37PM +0600, Denis Klimov wrote:
> выложил в git
> http://git.altlinux.org/people/zver/packages/?p=owfs.git;a=summary
> 
> еще раз перепроверил у себя
> 
> zver@berloga develop/owfs/alt % rpm -qpR ~/hasher/repo/i586/RPMS.hasher/owfs-fs-2.7p4-alt1.i586.rpm |grep init
> /etc/init.d(echo_failure)
> /etc/init.d(echo_success)
> /etc/init.d(killproc)
  ^^^^^^^^^^^^^^^^^^^^^
> /etc/init.d(status)
> /etc/rc.d/init.d/functions

112.69user 42.24system 2:17.13elapsed 112%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+9794353minor)pagefaults 0swaps
/.out/owfs-fs-2.7p4-alt1.x86_64.rpm: forbidden requires: /etc/rc.d/init.d(killproc)
ERROR: you have problems with package dependencies
/.out/owfs-httpd-2.7p4-alt1.x86_64.rpm: forbidden requires: /etc/rc.d/init.d(killproc)
ERROR: you have problems with package dependencies
/.out/owfs-ftpd-2.7p4-alt1.x86_64.rpm: forbidden requires: /etc/rc.d/init.d(killproc)
ERROR: you have problems with package dependencies
/.out/owfs-server-2.7p4-alt1.x86_64.rpm: forbidden requires: /etc/rc.d/init.d(killproc)
ERROR: you have problems with package dependencies
hsh-rebuild: pkg.tar: sisyphus_check failed.

НЕ ВОСПРОИЗВОДИТСЯ.

$ hsh --clean
$ hsh --init
???
$ hsh-run -- ls -l /etc/init.d
???
$ hsh-run --rooter -- rpm -Vv service
???
$

что говорят?

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

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

* Re: [devel] чья бага ?
  2008-04-21 11:26                 ` Alexey Tourbin
@ 2008-04-21 12:04                   ` Denis Klimov
  0 siblings, 0 replies; 17+ messages in thread
From: Denis Klimov @ 2008-04-21 12:04 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Mon, 21 Apr 2008 15:26:43 +0400 Alexey Tourbin wrote:


> /.out/owfs-fs-2.7p4-alt1.x86_64.rpm: forbidden requires: /etc/rc.d/init.d(killproc)
> ERROR: you have problems with package dependencies

Пофиксил это и зависимости стали как надо.. Видимо у меня собралось как
то раз с кривыми зависимостями, а потом я по невнимательности смотрел
зависимости этого же rpm файла. Всем большое спасибо. Буду дальше
работать.

--
Denis Klimov 
zver


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

* [devel] [initscripts] Re: чья бага ?
  2008-04-21 10:25           ` Denis Klimov
@ 2008-04-21 14:45             ` Michael Shigorin
  2008-04-21 15:11               ` Igor Zubkov
  0 siblings, 1 reply; 17+ messages in thread
From: Michael Shigorin @ 2008-04-21 14:45 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Mon, Apr 21, 2008 at 04:25:31PM +0600, Denis Klimov wrote:
> Гм, этот инит-скрипт из сырцов..

Как правило, полезен для подсматривания при переписывании.
Начиная с ALT Linux 2.3, у нас внедряется start-stop-daemon
-- и это нигде толком не задокументировано, кроме рассылок,
насколько понимаю:

http://lists.altlinux.org/pipermail/devel/2003-April/011856.html
http://lists.altlinux.org/pipermail/sisyphus/2003-May/127008.html

PS: тут рядом сообщают, что в F9 перебрались на upstart.
Возможно, документировать в некоторым смысле поздно?

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


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

* Re: [devel] [initscripts] Re: чья бага ?
  2008-04-21 14:45             ` [devel] [initscripts] " Michael Shigorin
@ 2008-04-21 15:11               ` Igor Zubkov
  0 siblings, 0 replies; 17+ messages in thread
From: Igor Zubkov @ 2008-04-21 15:11 UTC (permalink / raw)
  To: ALT Linux Team development discussions

21.04.08, Michael Shigorin написал(а):
>  PS: тут рядом сообщают, что в F9 перебрались на upstart.

У меня Fedora-9-Alpha, что-то не видно. Надо свежую дёрнуть. Там много
чего весёлого есть.

>  Возможно, документировать в некоторым смысле поздно?

Я и без документации справился написать init script для pommed.

-- 
icesik

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

end of thread, other threads:[~2008-04-21 15:11 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-21  9:23 [devel] чья бага ? Denis Klimov
2008-04-21  9:34 ` Led
2008-04-21  9:39   ` Denis Klimov
2008-04-21  9:48     ` Led
2008-04-21  9:53       ` Denis Klimov
2008-04-21 10:00         ` Led
2008-04-21 10:25           ` Denis Klimov
2008-04-21 14:45             ` [devel] [initscripts] " Michael Shigorin
2008-04-21 15:11               ` Igor Zubkov
2008-04-21  9:48     ` [devel] " Alexey Tourbin
2008-04-21  9:51       ` Denis Klimov
2008-04-21  9:55         ` Alexey Tourbin
2008-04-21 10:14           ` Denis Klimov
2008-04-21 10:40             ` Alexey Tourbin
2008-04-21 11:02               ` Denis Klimov
2008-04-21 11:26                 ` Alexey Tourbin
2008-04-21 12:04                   ` Denis Klimov

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