From mboxrd@z Thu Jan 1 00:00:00 1970 From: iyzsong@member.fsf.org (=?utf-8?B?5a6L5paH5q2m?=) Subject: Re: [core-updates]: cycle detected in the references of ...gtk+-3.20.9-bin Date: Thu, 13 Oct 2016 23:26:07 +0800 Message-ID: <87mvi8uv74.fsf@member.fsf.org> References: <20161013052447.GA26607@jasmine> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49883) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buhu0-0005j5-JT for guix-devel@gnu.org; Thu, 13 Oct 2016 11:26:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1buhtv-0002gB-O3 for guix-devel@gnu.org; Thu, 13 Oct 2016 11:26:36 -0400 Received: from mail.openmailbox.org ([62.4.1.34]:49841) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buhtv-0002fU-IZ for guix-devel@gnu.org; Thu, 13 Oct 2016 11:26:31 -0400 In-Reply-To: <20161013052447.GA26607@jasmine> (Leo Famulari's message of "Thu, 13 Oct 2016 01:24:47 -0400") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Leo Famulari Cc: guix-devel@gnu.org Leo Famulari writes: > On core-updates, from 6671ce93 (gnu: ath9k-htc-firmware: Update binutils > patch for binutils 2.27), I can't build gtk+@3.20 because the daemon > finds a cycle in the references: > > ------ > starting phase `validate-runpath' > validating RUNPATH of 17 binaries in "/gnu/store/dsnckvh133ndivnnbspg2yziqmlg1c4p-gtk+-3.20.9/lib"... > validating RUNPATH of 10 binaries in "/gnu/store/28mzpkx23h4cnrhc2ijkp46hiiz06na0-gtk+-3.20.9-bin/bin"... > phase `validate-runpath' succeeded after 0.2 seconds > starting phase `validate-documentation-location' > phase `validate-documentation-location' succeeded after 0.0 seconds > starting phase `delete-info-dir-file' > phase `delete-info-dir-file' succeeded after 0.0 seconds > starting phase `patch-dot-desktop-files' > adjusting 3 '.desktop' files in "/gnu/store/dsnckvh133ndivnnbspg2yziqmlg1c4p-gtk+-3.20.9/share/applications" > phase `patch-dot-desktop-files' succeeded after 0.0 seconds > starting phase `compress-documentation' > compressing documentation in '/gnu/store/dsnckvh133ndivnnbspg2yziqmlg1c4p-gtk+-3.20.9/share/man' with "gzip" and flags ("--best" "--no-name") > phase `compress-documentation' succeeded after 0.0 seconds > cycle detected in the references of `/gnu/store/28mzpkx23h4cnrhc2ijkp46hiiz06na0-gtk+-3.20.9-bin' > cannot build derivation `/gnu/store/8mpv03c557g56q1vmym53pm0apxj6p30-gtk-icon-themes.drv': 1 dependencies couldn't be built > cannot build derivation `/gnu/store/wd7lz1x2jqfj1z46872fc2lh5ga13gzx-profile.drv': 1 dependencies couldn't be built > killing process 31697 > cannot build derivation `/gnu/store/0id6isvf9ljkgx7kf58w5mnhwh805apl-system.drv': 1 dependencies couldn't be built > guix system: error: build failed: build of `/gnu/store/0id6isvf9ljkgx7kf58w5mnhwh805apl-system.drv' failed > ------ > > And here are the references. I didn't check if there were any in the doc > output since I didn't see it in the build log. > > ------ > $ grep -r dsnckvh133ndivnnbspg2yziqmlg1c4p /gnu/store/28mzpkx23h4cnrhc2ijkp46hiiz06na0-gtk+-3.20.9-bin > Binary file /gnu/store/28mzpkx23h4cnrhc2ijkp46hiiz06na0-gtk+-3.20.9-bin/bin/gtk-query-immodules-3.0 matches > Binary file /gnu/store/28mzpkx23h4cnrhc2ijkp46hiiz06na0-gtk+-3.20.9-bin/bin/gtk3-demo-application matches > Binary file /gnu/store/28mzpkx23h4cnrhc2ijkp46hiiz06na0-gtk+-3.20.9-bin/bin/gtk-builder-tool matches > Binary file /gnu/store/28mzpkx23h4cnrhc2ijkp46hiiz06na0-gtk+-3.20.9-bin/bin/gtk-query-settings matches > Binary file /gnu/store/28mzpkx23h4cnrhc2ijkp46hiiz06na0-gtk+-3.20.9-bin/bin/gtk3-icon-browser matches > Binary file /gnu/store/28mzpkx23h4cnrhc2ijkp46hiiz06na0-gtk+-3.20.9-bin/bin/gtk-update-icon-cache matches > Binary file /gnu/store/28mzpkx23h4cnrhc2ijkp46hiiz06na0-gtk+-3.20.9-bin/bin/gtk3-widget-factory matches > Binary file /gnu/store/28mzpkx23h4cnrhc2ijkp46hiiz06na0-gtk+-3.20.9-bin/bin/gtk3-demo matches > Binary file /gnu/store/28mzpkx23h4cnrhc2ijkp46hiiz06na0-gtk+-3.20.9-bin/bin/gtk-launch matches > Binary file /gnu/store/28mzpkx23h4cnrhc2ijkp46hiiz06na0-gtk+-3.20.9-bin/bin/gtk-encode-symbolic-svg matches > $ grep -r 28mzpkx23h4cnrhc2ijkp46hiiz06na0 /gnu/store/dsnckvh133ndivnnbspg2yziqmlg1c4p-gtk+-3.20.9 > /gnu/store/dsnckvh133ndivnnbspg2yziqmlg1c4p-gtk+-3.20.9/share/applications/gtk3-demo.desktop:Exec=/gnu/store/28mzpkx23h4cnrhc2ijkp46hiiz06na0-gtk+-3.20.9-bin/bin/gtk3-demo > /gnu/store/dsnckvh133ndivnnbspg2yziqmlg1c4p-gtk+-3.20.9/share/applications/gtk3-widget-factory.desktop:Exec=/gnu/store/28mzpkx23h4cnrhc2ijkp46hiiz06na0-gtk+-3.20.9-bin/bin/gtk3-widget-factory > /gnu/store/dsnckvh133ndivnnbspg2yziqmlg1c4p-gtk+-3.20.9/share/applications/gtk3-icon-browser.desktop:Exec=/gnu/store/28mzpkx23h4cnrhc2ijkp46hiiz06na0-gtk+-3.20.9-bin/bin/gtk3-icon-browser > ------ > > It works if I remove the 'bin' output from gtk+@3. Oh, I added the 'bin' output to gtk+ without moving its desktop files. And now the 'patch-dot-desktop-files' phase in gnu-build-system gives absolute paths to desktop files, so it fails with cycle references. Move all the 3 desktop files into 'bin' output should work. (I could patch that next day, but won't be able to test it due to slow substitute/download/build speed though.)