From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#27467: Xfce broken, because it propagates two different versions of gtk+ Date: Mon, 26 Jun 2017 13:14:51 +0200 Message-ID: <87injjknkk.fsf@elephly.net> References: <87tw36fert.fsf@netris.org> <874lv59hn7.fsf@gnu.org> <87h8z4ig01.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPRzx-00058M-Bw for bug-guix@gnu.org; Mon, 26 Jun 2017 07:16:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dPRzu-0003f9-1x for bug-guix@gnu.org; Mon, 26 Jun 2017 07:16:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:35410) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dPRzt-0003f3-Uu for bug-guix@gnu.org; Mon, 26 Jun 2017 07:16:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dPRzt-00084g-ND for bug-guix@gnu.org; Mon, 26 Jun 2017 07:16:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87h8z4ig01.fsf@netris.org> 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: Mark H Weaver Cc: 27467@debbugs.gnu.org Mark H Weaver writes: > ludo@gnu.org (Ludovic Courtès) writes: > >> Mark H Weaver skribis: >> >>> I just tried to update my GuixSD system to commit >>> c57b56722f6c167c5a285f47802047de85a356ae on master. "guix system build" >>> failed with the following error: >>> >>> guix system: error: profile contains conflicting entries for gtk+:out >>> guix system: error: first entry: gtk+@2.24.31:out /gnu/store/901ify6fr2zlr2y2acpvlqr8lygmwj98-gtk+-2.24.31 >>> guix system: error: ... propagated from exo@0.10.3 >>> guix system: error: ... propagated from xfce@4.12.0 >>> guix system: error: second entry: gtk+@3.22.15:out /gnu/store/fhqaljm8cf78irhqjbrm8n0ri1k2cznm-gtk+-3.22.15 >>> guix system: error: ... propagated from libxfce4ui@4.12.0 >>> guix system: error: ... propagated from garcon@0.4.0 >>> guix system: error: ... propagated from xfce@4.12.0 >> >> I just tried and Exo builds fine with GTK+3, so I would think this >> reference to GTK+2 was a mistake. Can you check if it works fine for >> you with this change? > > After changing Exo to use Gtk+3, I get this: > > guix system: error: profile contains conflicting entries for gtk+:out > guix system: error: first entry: gtk+@2.24.31:out /gnu/store/0m9hpckvamd048zgsrhx1dx2s5hrg1qk-gtk+-2.24.31 > guix system: error: ... propagated from libxfce4ui@4.12.0 > guix system: error: ... propagated from garcon@0.4.0 > guix system: error: ... propagated from xfce@4.12.0 > guix system: error: second entry: gtk+@3.22.15:out /gnu/store/hc090rjjka3r9spvzl7yn5hcc2xgrgdh-gtk+-3.22.15 > guix system: error: ... propagated from libxfce4ui@4.12.0 > guix system: error: ... propagated from garcon@0.4.0 > guix system: error: ... propagated from xfce@4.12.0 libxfce4ui propagates both gtk+@3 and gtk+@2. There is no conflict between these two versions of gtk, because they are installed into separate sub-directories under $prefix/lib. How should we handle exceptions like this? Should packages get a new property that would allow them to specify that they do not conflict with a certain variant? -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net