From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#29088: Superseded package is not rebuild if native dependency changes Date: Tue, 31 Oct 2017 23:27:09 +0100 Message-ID: <87inevvtqa.fsf@gnu.org> References: <5bd582ba-60c7-f1bd-dad7-ae15c162a9d2@crazy-compilers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51478) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9f0w-0003IF-3W for bug-guix@gnu.org; Tue, 31 Oct 2017 18:28:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e9f0s-0002IL-54 for bug-guix@gnu.org; Tue, 31 Oct 2017 18:28:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36042) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e9f0s-0002IH-1S for bug-guix@gnu.org; Tue, 31 Oct 2017 18:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e9f0r-0000gH-NI for bug-guix@gnu.org; Tue, 31 Oct 2017 18:28:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <5bd582ba-60c7-f1bd-dad7-ae15c162a9d2@crazy-compilers.com> (Hartmut Goebel's message of "Tue, 31 Oct 2017 18:32:45 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Hartmut Goebel Cc: 29088@debbugs.gnu.org Hi, Hartmut Goebel skribis: > the package "gpgmepp" depends on native input "extra-cmake-modules". > However if the alter is changed, gpgmepp is not rebuild. > > How to reproduce > > git checkout master # important: without > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D29087 applied > > ./pre-inst-env guix build gpgmepp > > now apply http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D29087 > > ./pre-inst-env guix build extra-cmake-modules # the package changed > by patch 29087 > > ./pre-inst-env guix build gpgmepp > guix build: package 'gpgmepp' has been superseded by 'gpgme' > /gnu/store/ky8p7lllm9h9sv1zy0f742r1cc6qbd1l-gpgme-1.9.0 > > This does *not* rebuild gpgmepp, but simply return the old store-path. Superseded packages cannot be built/installed unwillingly. In the example above, what you built is =E2=80=9Cgpgme=E2=80=9D, not =E2=80=9Cgpgm= epp=E2=80=9D, which is why any changes to =E2=80=9Cgpgmepp=E2=80=9D had no effect. To force a build of the superseded package, you can run: guix build -e '(@ (gnu packages kde-frameworks) gpgmepp)' But again, the intended meaning of superseded packages is that they are superseded and must no longer be used. So to me this can be closed as =E2=80=9Cnot a bug.=E2=80=9D HTH! Ludo=E2=80=99.