From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia@riseup.net Subject: bug#32208: Unable to update git when git:send-email is installed Date: Thu, 19 Jul 2018 03:46:50 -0700 Message-ID: <9676268e1dd72c90e79eda7b6976a2f2@riseup.net> 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]:39303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fg6Tg-0006f0-AF for bug-guix@gnu.org; Thu, 19 Jul 2018 06:48:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fg6Ta-0002lN-CI for bug-guix@gnu.org; Thu, 19 Jul 2018 06:48:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:42524) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fg6Ta-0002lI-7t for bug-guix@gnu.org; Thu, 19 Jul 2018 06:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fg6Ta-0003FG-00 for bug-guix@gnu.org; Thu, 19 Jul 2018 06:48:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fg6SW-0006ce-Jx for bug-guix@gnu.org; Thu, 19 Jul 2018 06:46:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fg6ST-0002Qr-A8 for bug-guix@gnu.org; Thu, 19 Jul 2018 06:46:56 -0400 Received: from mx1.riseup.net ([198.252.153.129]:48191) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fg6SS-0002QN-T0 for bug-guix@gnu.org; Thu, 19 Jul 2018 06:46:53 -0400 Received: from piha.riseup.net (piha-pn.riseup.net [10.0.1.163]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 34C361A0B84 for ; Thu, 19 Jul 2018 03:46:51 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by piha.riseup.net with ESMTPSA id 132D54434D for ; Thu, 19 Jul 2018 03:46:51 -0700 (PDT) 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: 32208@debbugs.gnu.org I think I just found a bug in guix package -u. I am unable to run the updated package after running the upgrade. sdb1@antelope ~/guix$ echo $PATH /var/guix/profiles/per-user/sdb1/guix-profile/bin:/var/guix/profiles/per-= user/sdb1/guix-profile/sbin:/var/guix/profiles/per-user/sdb1/guix-profile= /bin:/run/setuid-programs:/home/sdb1/.config/guix/current/bin:/home/sdb1/= .guix-profile/bin:/home/sdb1/.guix-profile/sbin:/run/current-system/profi= le/bin:/run/current-system/profile/sbin sdb1@antelope ~/guix$ guix package -u git=20 The following package will be upgraded: git:send-email 2.17.1 =E2=86=92 2.18.0 /gnu/store/pvj35w3xlfvxdw3gljxxba2xjm2v7958-git-2.18.0-send-email but after completion: sdb1@antelope ~$ git --version git version 2.17.1 the store item referenced only has the binary "git-send-email" sdb1@antelope ~$ ls /gnu/store/pvj35w3xlfvxdw3gljxxba2xjm2v7958-git-2.18.0-send-email/libexec= /git-core/ git-send-email .git-send-email-real =20 sdb1@antelope ~/guix$ which git /home/sdb1/.guix-profile/bin/git sdb1@antelope ~$ ls -l .guix-profile/bin/git lrwxrwxrwx 5 root root 62 1 jan 1970 .guix-profile/bin/git -> /gnu/store/hkfz9sxs1yjdrlvk39r0rxcsj527p16k-git-2.17.1/bin/git even though guix package -l says it should be 2.18: Generation 5 jul 19 2018 12:14:42 (current) + git 2.18.0 send-email /gnu/store/pvj35w3xlfvxdw3gljxxba2xjm2v7958-git-2.18.0-send-email - git 2.17.1 send-email /gnu/store/ah77q40a2nrmgw7qnqcacyppl41xps5i-git-2.17.1-send-email maybe the problem is that I installed "git:send-email" but updated "git". The bug is that guix proceedes to NOT do the right thing instead of giving me an error fails to do the right thing (updating the underlying git-package): sdb1@antelope ~$ guix package -r git -i git:send-email "The following package will be upgraded: git:send-email 2.18.0 =E2=86=92 2.18.0 /gnu/store/pvj35w3xlfvxdw3gljxxba2xjm2v7958-git-2.18.0-send-email nothing to be done" but this worked: sdb1@antelope ~$ guix package -r git -i git The following package will be installed: git 2.18.0 /gnu/store/w9qwlwpfmhkyj6rqk3rvkk1a89vmymqf-git-2.18.0 substitute: updating substitutes from 'https://berlin.guixsd.org'... 100.0% The following derivations will be built: /gnu/store/hh7bs2hz2h0hawq9qsrccvk8pja149hy-profile.drv /gnu/store/vynsfjq4mv08x59k2vbmx7hb1jbpppqs-info-dir.drv /gnu/store/sim58vlfdp2zx7alijvkafaldjj83g5r-xdg-desktop-database.drv /gnu/store/n8liqny6zz734ichp3w7d766c3nscr38-glib-schemas.drv /gnu/store/l5qydihsz0i8q2ki5wknzdl7ykcnayqf-ca-certificate-bundle.drv /gnu/store/biir628353vfbq7ydh558gxc7z1sn5yf-xdg-mime-database.drv /gnu/store/9wf0jf75smvldh2z6fplwxqv7gsbfa9q-fonts-dir.drv /gnu/store/2mmpdphq5ggj7s9rzfqj1d928fxr53sg-gtk-icon-themes.drv /gnu/store/1r5ml5wwpfhv579p6rx2ljmd4dqv18vn-gtk-im-modules.drv /gnu/store/ih49xrl1kyfb2rf51inq9gd5fbmfibaf-manual-database.drv Creating manual page database... 15940 entries processed in 17.5 s warning: collision encountered: =20 /gnu/store/lk12iv40hr5gm02vc66mbffwlypgx2vp-mesa-17.3.8/lib/libwayland-eg= l.la =20 /gnu/store/92gviwsrivbrv9s65f7h7g83xjb3ycqd-wayland-1.15.0/lib/libwayland= -egl.la warning: choosing /gnu/store/lk12iv40hr5gm02vc66mbffwlypgx2vp-mesa-17.3.8/lib/libwayland-eg= l.la warning: collision encountered: =20 /gnu/store/lk12iv40hr5gm02vc66mbffwlypgx2vp-mesa-17.3.8/lib/pkgconfig/way= land-egl.pc =20 /gnu/store/92gviwsrivbrv9s65f7h7g83xjb3ycqd-wayland-1.15.0/lib/pkgconfig/= wayland-egl.pc warning: choosing /gnu/store/lk12iv40hr5gm02vc66mbffwlypgx2vp-mesa-17.3.8/lib/pkgconfig/way= land-egl.pc warning: collision encountered: =20 /gnu/store/nq42qbl3rsazn9bgdxsahadg8a5mcjwn-xdg-desktop-database/share/ap= plications/mimeinfo.cache =20 /gnu/store/mkkxsw4q4qla3q4yhc7w00z366jizizx-baobab-3.28.0/share/applicati= ons/mimeinfo.cache warning: choosing /gnu/store/nq42qbl3rsazn9bgdxsahadg8a5mcjwn-xdg-desktop-database/share/ap= plications/mimeinfo.cache 26 packages in profile sdb1@antelope ~$ git --version git version 2.18.0 sdb1@antelope ~$ which git /var/guix/profiles/per-user/sdb1/guix-profile/bin/git now I have: Generation 5 jul 19 2018 12:14:42 + git 2.18.0 send-email /gnu/store/pvj35w3xlfvxdw3gljxxba2xjm2v7958-git-2.1= 8.0-send-email - git 2.17.1 send-email /gnu/store/ah77q40a2nrmgw7qnqcacyppl41xps5i-git-2.1= 7.1-send-email Generation 6 jul 19 2018 12:37:30 (current) + git 2.18.0 out /gnu/store/w9qwlwpfmhkyj6rqk3rvkk1a89vmymqf-git-2.18.0 --=20 Cheers=20 Swedebugia