From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 72F981395E2 for ; Tue, 29 Nov 2016 09:53:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5A550E0BE1; Tue, 29 Nov 2016 09:53:46 +0000 (UTC) Received: from mail-wj0-f193.google.com (mail-wj0-f193.google.com [209.85.210.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C3FAEE0BC1 for ; Tue, 29 Nov 2016 09:53:45 +0000 (UTC) Received: by mail-wj0-f193.google.com with SMTP id jb2so17381870wjb.3 for ; Tue, 29 Nov 2016 01:53:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=21/lwb1opqOi+ykQLGYHVYVfRchXEKJMp/9NzgHYde4=; b=A8beIdlf/mlGLptarMbK/5qCCT8pZw/ELtwEocqCgdnry431dGO1K55vKnk2qmxo5s e8Wl2lh2udQv4QxpHPlNOyKGh1CIkJSNMumy+5pSNM+XIpw+bBmMkzwhmu3+PZLOO13q fgh+wZxKdeVrROzDH7hgewRDzHejMMGqyiIwreLUOB297o4ZfN8F7YWFYkBX39D7gEHj LpElykQs82O9E4l0RJN0x+csL8R22vGz0I86xIaPjZNRR62NWRjAJGJBet4GVWuHHaL5 Pag74/HsKOhf4a5FbvAKGnVZaSXmk35Huw0qZbD6MrfWXKMRRWR81IfoX9+QxJY+92b8 7hrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=21/lwb1opqOi+ykQLGYHVYVfRchXEKJMp/9NzgHYde4=; b=N2x6tVtHenpmK3QZvl4ukJ9CYC/mIXOJ46IcwRpCOYzQ3syQ12xSXMg6lr7MyKRdmR apRYu27MPJDdsijNBwQGTUZ369xWet0RkZdwsm945TAJFdX8b8nW2ZzwkKofPQg+bHaJ 33eHmTzxTNaz5H18JKOVxR8N/n+0r4IaqZPbTeyi42TZ4vLUaADMTjjP6H5OG+xUZ06p klOfrIOlyFi0Ab4PdXsUKPJOFLY1D6DwHW1DR5wtGdI8Hl/2S1soqJQXVwv0Zfzea3dN +U3soBlb0BqyFHnm8UmBvn5urkhPgJ8SiyZnNsynGnZgx++RbV8KJYcOAZrmrSs7xr9g fhJQ== X-Gm-Message-State: AKaTC00wkq/CMrOXMBTDspK90CWA1K/Uw1wM+nAx54dnQ+5o93YMN9GulslPNiyJFp93Kg== X-Received: by 10.194.124.100 with SMTP id mh4mr25829588wjb.154.1480413224280; Tue, 29 Nov 2016 01:53:44 -0800 (PST) Received: from [172.20.0.40] ([196.212.62.210]) by smtp.googlemail.com with ESMTPSA id dj5sm66950368wjb.34.2016.11.29.01.53.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Nov 2016 01:53:43 -0800 (PST) Subject: Re: [gentoo-user] Re: USE flag question (not total newbie) To: gentoo-user@lists.gentoo.org References: <20161129012827.14326.2F5C2D91@matica.foolinux.mooo.com> <0EFFA239-32FA-4AE7-8DB6-7484250BD5E9@stellar.eclipse.co.uk> <20161129020950.15561.30AFAB04@matica.foolinux.mooo.com> From: Alan McKinnon Message-ID: <7eec2d4f-72de-fa56-3893-bb47f54d61e9@gmail.com> Date: Tue, 29 Nov 2016 11:51:56 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: <20161129020950.15561.30AFAB04@matica.foolinux.mooo.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 38c4babf-6988-4b60-b199-617fe900cdce X-Archives-Hash: faf5fa1fcd348284a258c7245a6109ae On 29/11/2016 04:15, Ian Zimmerman wrote: > On 2016-11-29 01:55, Stroller wrote: > >>> [ebuild R ] dev-db/sqlitebrowser-3.8.0 USE="-qt5 {-test} (-qt4%*)" >>> >>> Does this mean the package will be rebuilt without any qt support at >>> all? Why? >> >> No, I believe it means that the _option_ to enable or disable qt4 has >> been removed. > > Well - notice the 'R'. So the package (or at least the version, see > below) has not been changed since last time. > >> It could be that the package is always compiled with qt4, or that it's >> always disabled, or that `make` detects it automatically. The best >> things to look at are the ebuild and the changelog. > > There is no changelog for this package :-( > > In the ebuild, the only occurrence of the string "qt4" is: > > src_prepare() { > # https://github.com/qingfengxia/qhexedit still bundled > # x11-libs/qscintilla[qt4?,qt5?] still bundled > # ^^^^ > find libs/{antlr-2.7.7,qcustomplot-source} -delete || die > cmake-utils_src_prepare > } > > I don't think this is responsible for the emerge output. > > Is it possible for the ebuild to change (in particular, for USE flags to > be removed) without a change in version number? > Yes. It's quite common to have a change in an ebuild that makes no difference at all to the files on disk if it's already emerged. Bumping the version in that case forces a rebuild everywhere to give exactly the same result = not good. If the package is not already merged on a given machine, then a new install simply does what it should. Suppose you had a situation where a package had qt4 in USE but because of the way it works it's not actually possible to install it without qt4. Merging it with USE=qt4 would always proceed, and with USE=-qt4 would always error out (you can get to this state gradually over time) In that case, removing the flag entirely from USE would make zero difference where the package is already installed, so no version bump is needed. All this depends on the judgement of the ebuild maintainer -- Alan McKinnon alan.mckinnon@gmail.com