X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail-ew0-f221.google.com (mail-ew0-f221.google.com [209.85.219.221]) by lists.alpinelinux.org (Postfix) with ESMTP id 49D8E360F71E for ; Wed, 3 Mar 2010 16:00:39 +0000 (UTC) Received: by ewy21 with SMTP id 21so34094ewy.25 for ; Wed, 03 Mar 2010 08:00:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=p8Jx53tAsqrEOrmefPIi6j7ABMGvn65ylO2QwjQXMRA=; b=ud/VhsBH2aJpzvwfsnsmyLTOQbUnvn1tRlxoLXDRkGxgDdgNwdeB1J+UpCaPAWAgMx taP7qI+Ix90IdynNtT7b6QjN9fTkcIwE7VFCBs0X940/RwQWJpLD3oz6iEdTEU+rX+30 Dgy0QkJsm27a0pAGr0tZH7LB6lVfBcmWbW3jE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=iZ0FAOe4qh9Be28oLuDYm9BS7uE6uvvmlfI1AF3RqZKQ7j5s++uHetNwWZ7RPwT0Wu lc3M3zE7e5Jox21WtdUYuQLGHRKusF6UvpbjD5K/+Uy/4vtCeHqFecN71mLQch9Qqoi9 qTwj5pt/GHsiEt2XXf8GxyOQEtDEe9JvaG8L4= X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.213.109.91 with SMTP id i27mr446936ebp.3.1267632038041; Wed, 03 Mar 2010 08:00:38 -0800 (PST) Date: Wed, 3 Mar 2010 17:00:38 +0100 Message-ID: <95408c821003030800t2ae1a592v44701f0880ec7733@mail.gmail.com> Subject: [alpine-devel] abuild problem with dependency tracing for kernels From: Natanael Copa To: Alpine Developers Content-Type: text/plain; charset=ISO-8859-1 Hi, I have an urgent problem which im not really sure how to solve. The problem is: * dahdi-linux-grsec has linux-grsec-dev=2.6.32.9-r1 as build dependency * abuild looks searches aports tree for the directory that has the linux-grsec-dev package (this is an awk script) * the testing/linux-grsec has version 2.6.32.8-r2 and is returned as the "owner" of linux-grsec * abuild enters testing/linux-grsec dir, builds it and returns to dahdi-linux-grsec * abuild tries to install all the built dependencies but fails to install linux-grsec-dev=2.6.32.9-r1 (existing in main) since only the linux-grsec in testting was built. I'm not realy sure how to solve this. I think longtime solution is move the build dependency tracing out from the shellcode and do that in lua and do it smarter. That will require a lua function to compare version numbers which ideally should be using libapk.so. But I need to do something pretty soon or delete testing/linux-grsec for now since the buildscripts are too stupid. Ideas? The core we are talking about is the deptrace() function in http://git.alpinelinux.org/cgit/abuild/tree/abuild.in -- Natanael Copa --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---