ALT Linux kernel packages development
 help / color / mirror / Atom feed
* [d-kernel] Что-то с макросами в kernel-build-tools-0.8-alt1
@ 2005-10-11 20:26 Alex Yustasov
  2005-10-11 20:36 ` Dmitry V. Levin
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Yustasov @ 2005-10-11 20:26 UTC (permalink / raw)
  To: ALT Linux kernel packages development

Здравствуйте.
Вот принес домой новый сизиф.
При сборке kernel-feat-swsusp в хашере
получаю пустой пакет и в out/logs. 

Components: hasher
Processing pkglists... hasher done
Processing srclists...  hasher done
Creating component releases... done
Updating global release file... done
Appending MD5Sum... hasher done
All your base are belong to us!!!
Preparing packages for installation...
strace-4.5.13-alt1
libstdc++3.4-3.4.4-alt1
rpm-utils-0.8.3-alt1
kernel-build-tools-0.8-alt1
error: Macro %s not found
  2<     (empty)
error: Macro %_src_list failed to expand
error: Macro %s not found
  2<     (empty)
skip

Что изменилось? Что нужно сделать?

-- 
    Alex Yustasov


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

* Re: [d-kernel] Что-то с макросами в kernel-build-tools-0.8-alt1
  2005-10-11 20:26 [d-kernel] Что-то с макросами в kernel-build-tools-0.8-alt1 Alex Yustasov
@ 2005-10-11 20:36 ` Dmitry V. Levin
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry V. Levin @ 2005-10-11 20:36 UTC (permalink / raw)
  To: ALT Linux kernel packages development

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

On Tue, Oct 11, 2005 at 11:26:47PM +0300, Alex Yustasov wrote:
> Здравствуйте.
> Вот принес домой новый сизиф.
> При сборке kernel-feat-swsusp в хашере
> получаю пустой пакет и в out/logs. 
> 
> Components: hasher
> Processing pkglists... hasher done
> Processing srclists...  hasher done
> Creating component releases... done
> Updating global release file... done
> Appending MD5Sum... hasher done
> All your base are belong to us!!!
> Preparing packages for installation...
> strace-4.5.13-alt1
> libstdc++3.4-3.4.4-alt1
> rpm-utils-0.8.3-alt1
> kernel-build-tools-0.8-alt1
> error: Macro %s not found
>   2<     (empty)
> error: Macro %_src_list failed to expand
> error: Macro %s not found
>   2<     (empty)
> skip
> 
> Что изменилось? Что нужно сделать?

1. Добавить kernel-build-tools в список сборочных зависимостей.
2. Зафиксить kernel-build-tools:

--- /etc/rpm/macros.d/kernel~
+++ /etc/rpm/macros.d/kernel
@@ -22,7 +22,7 @@
 
 %source() \
 Source%1: %2 \
-%global _src_list %_src_list %{?3:%3/}%(f="%2"; printf "%s" "${f##*/}") \
+%global _src_list %_src_list %{?3:%3/}%(f="%2"; printf "%%s" "${f##*/}")
\
 %nil
 
 %__touch       /bin/touch


-- 
ldv

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

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

end of thread, other threads:[~2005-10-11 20:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-11 20:26 [d-kernel] Что-то с макросами в kernel-build-tools-0.8-alt1 Alex Yustasov
2005-10-11 20:36 ` Dmitry V. Levin

ALT Linux kernel packages development

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/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-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
		devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
	public-inbox-index devel-kernel

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


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