ALT Linux kernel packages development
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux kernel packages development <devel-kernel@altlinux.ru>
Subject: Re: [d-kernel] Что-то с макросами в kernel-build-tools-0.8-alt1
Date: Wed, 12 Oct 2005 00:36:24 +0400
Message-ID: <20051011203624.GA5363@basalt.office.altlinux.org> (raw)
In-Reply-To: <20051011202647.GA2651@yust.work>

[-- 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 --]

      reply	other threads:[~2005-10-11 20:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-11 20:26 Alex Yustasov
2005-10-11 20:36 ` Dmitry V. Levin [this message]

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=20051011203624.GA5363@basalt.office.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel-kernel@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 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