X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-qk0-f181.google.com (mail-qk0-f181.google.com [209.85.220.181]) by lists.alpinelinux.org (Postfix) with ESMTP id 77AD85C5DC3 for ; Sat, 10 Feb 2018 14:06:25 +0000 (GMT) Received: by mail-qk0-f181.google.com with SMTP id b204so1508931qkg.5 for ; Sat, 10 Feb 2018 06:06:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dereferenced-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=5C8TcBme9Qru5VIkEj4ahey3rwqpYoDEPs0BAmbQ0gQ=; b=k9F6sQiQTIBYqpLG8otbCieyqNu7uv9q0iN4t0BwTj41NbHc6evQ4fpkjD4BujhHMX CacJ4U1ksUI8IsrK2R27KakkDiE1glR9uIFh4tcZ8ns7EZFf/LC2eGERVizYyIXJPXts Wq/dD8aDeY2Kyy2gXi2AXBW+F70GyvkXqqv47yzIoq3ZIdT2IMu9qNHqpbejqJ7PBNVF u4KajkulJwKMYkTk2wqupIJk1g1NKbkczhCXg9SDJxeU6JXmc4d+zWQyP9fWxW9SasNi umIzjPCQlcFONg0/LT6WqB2rwhIwbDsANxqZilTQpJeTZiEnCAZU9JbXjvJ0PK2w1kSv bEoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=5C8TcBme9Qru5VIkEj4ahey3rwqpYoDEPs0BAmbQ0gQ=; b=cFaIgIIFBBJMARVcLFRKJIaICHbKhMNofuhikNkLTrdwN8kB0iSgfLjeHTzh5Gdca7 98zuBdWuU0rYsmd6q+hS6edn/CFq7TJkTLrZrqCuzXDsC1bxg5BOTddP4e+SLeXzAHRP W14hGad2Br7GEgEkHewpFsq0+3xpIlmWtKEKCoQ7iGp+Y8endyyl8Q9pcQr6DLCiHjVl aceOhF72XJW8lvKRI4N63YzZQUk/RlZVmUZb3JZsNDeDpaRnZaL3wX1DVq+E9yrhyB4e ZZe54iLFuGc2pOCWfo3LWGYGSuBVKBaZ8P8OsP1vC8ql2qQHz3B5TNE5PBE+U6DVSu3a eyqA== X-Gm-Message-State: APf1xPBIBfYP43Khme+oAWOZ1u8aVF9wUUQ+Rvqt1OXrvwcGDwF5vyNG f1p8DRQvsAZcfwOKqhTjqiV1bAXjTjt0MC1jeA/86w== X-Google-Smtp-Source: AH8x225UDeUBhRzx8IUwkNHY5gPb6GomJhjemckH4SVOfONt++c8L25ozYSkqaW891vNG6qv9E9L8GwvBEvp4CzPmKo= X-Received: by 10.55.191.65 with SMTP id p62mr9170093qkf.191.1518271585084; Sat, 10 Feb 2018 06:06:25 -0800 (PST) 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.200.39.100 with HTTP; Sat, 10 Feb 2018 06:06:24 -0800 (PST) In-Reply-To: References: From: William Pitcock Date: Sat, 10 Feb 2018 08:06:24 -0600 Message-ID: Subject: Re: [alpine-devel] abuild does not handle tags for makedepends To: Ferris Ellis Cc: alpine-dev Content-Type: text/plain; charset="UTF-8" Hello, On Sat, Feb 10, 2018 at 7:58 AM, Ferris Ellis wrote: > Hello, > > This is my first post to this group! So I apologize in advance if there's a > format I should be following and am not. > > I seem to have found a bug in abuild and went to file it but saw that > Github's clone of abuild currently has issues disabled. Thus I thought I'd > post it here. If there's somewhere else this should be filed please let me > know and I'm happy to do it :) > > Issue > > I am running Alpine 3.7 and working on packaging buildah > (https://github.com/projectatomic/buildah) for it. I added "go" to > makedepends with the line makedepends="go@community=1.9.2-r1" however when I > attempt to build the package I get the following error: > > ERROR: unsatisfiable constraints: > go-1.9.2-r1: > masked in: @community > > This seems to indicate that abuild isn't grabbing the tag. I thought maybe I > had formatted it wrong but when moving the tag to the end I get back the > following: > > ERROR: 'go=1.9.2-r1@community' is not a valid dependency, format is > name(@tag)([<>~=]version) That message is actually from apk-tools, not abuild, and in this particular case is misleading. What abuild does is attach a dependency set to a virtual package and then marks that virtual package as a "world dependency". Package dependencies themselves do not support tags, only "world dependencies," but if you add just "go" to makedepends I believe it will fall back to the @community repo. In general though, community is not meant to be masked, the point of using tags is to mask repos across versions, such as running a split stable-edge setup, or ensuring that adding packages from the "testing" repo requires explicit confirmation. Either way, community should normally be set up in the same way as main. William --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---