ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] hasher build args
@ 2005-04-20  8:16 Grigory Batalov
  2005-04-20 10:02 ` Dmitry V. Levin
  0 siblings, 1 reply; 4+ messages in thread
From: Grigory Batalov @ 2005-04-20  8:16 UTC (permalink / raw)
  To: sisyphus

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

Попробовал собрать libarp со статическими библиотеками и вот
на что наткнулся:

$ hsh -v --build-args "--enable static" --repackage-source ~/hasher apr-0.9.5-alt0.4.src.rpm
...
initroot: created RPM build directory tree.
rebuild: changed working directory to `/home/bga/hasher'
rebuild: created rebuild script.
`/home/ALTLinux/updates/Master/2.4/SRPMS.updates/apr-0.9.5-alt0.4.src.rpm' -> `chroot/.in/apr-0.9.5-alt0.4.src.rpm'
rebuild: apr-0.9.5-alt0.4.src.rpm: sisyphus_check passed.
rebuild: apr-0.9.5-alt0.4.src.rpm: fetched build dependencies.
rebuild: apr-0.9.5-alt0.4.src.rpm: calculated build dependencies: 
error: failed build dependencies:
        glibc-devel-static   is needed by apr-0.9.5-alt0.4
Installing apr-0.9.5-alt0.4.src.rpm
Building target platforms: i586
Building for target i586
0.16user 0.01system 0:00.17elapsed 98%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (424major+268minor)pagefaults 0swaps
rebuild: rebuild of `apr-0.9.5-alt0.4.src.rpm' failed.


В apr.spec указано:

%def_disable static
%{?_enable_static:BuildPreReq: glibc-devel-static}

Видимо, поэтому изначально glibc-devel-static не втягивается
в chroot, а требуется только при сборке.

Это в hasher-1.0.12-alt0.M24.1. Можно ли это как-то решить?
(Не перепаковывая apr-0.9.5-alt0.4.src.rpm с %def_enable static)


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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-20  8:16 [sisyphus] hasher build args Grigory Batalov
2005-04-20 10:02 ` Dmitry V. Levin
2005-04-20 10:32   ` Grigory Batalov
2005-04-20 10:58     ` [sisyphus] " Michael Shigorin

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

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

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


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