From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 20 Apr 2005 12:16:21 +0400 From: Grigory Batalov To: sisyphus@altlinux.ru Message-Id: <20050420121621.5005fab5.bga@altlinux.ru> Organization: ALT Linux Team X-Mailer: Sylpheed version 0.9.10 (GTK+ 1.2.10; i586-alt-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at tepkom.ru with clamav Subject: [sisyphus] hasher build args X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2005 08:16:26 -0000 Archived-At: List-Archive: Здрвствуйте! Попробовал собрать 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)