From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [core-updates]: cycle detected in the references of ...gtk+-3.20.9-bin Date: Thu, 13 Oct 2016 22:03:34 +0200 Message-ID: <87twcg9fu1.fsf@gnu.org> References: <20161013052447.GA26607@jasmine> <87mvi8uv74.fsf@member.fsf.org> 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]:38972) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bumEA-0003tW-Gi for guix-devel@gnu.org; Thu, 13 Oct 2016 16:03:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bumE6-0000nf-6X for guix-devel@gnu.org; Thu, 13 Oct 2016 16:03:41 -0400 In-Reply-To: <87mvi8uv74.fsf@member.fsf.org> (=?utf-8?B?IuWui+aWh+atpiIn?= =?utf-8?B?cw==?= message of "Thu, 13 Oct 2016 23:26:07 +0800") 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: =?utf-8?B?5a6L5paH5q2m?= Cc: guix-devel@gnu.org iyzsong@member.fsf.org (=E5=AE=8B=E6=96=87=E6=AD=A6) skribis: > 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/dsnckvh133ndivnnbspg2yz= iqmlg1c4p-gtk+-3.20.9/lib"... >> validating RUNPATH of 10 binaries in "/gnu/store/28mzpkx23h4cnrhc2ijkp46= hiiz06na0-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/dsnckvh133ndivnnbspg2yziqmlg= 1c4p-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/dsnckvh133ndivnnbspg2yziqmlg1c4= p-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/28mzpkx23h4cnrhc2ijkp46h= iiz06na0-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-pro= file.drv': 1 dependencies couldn't be built >> killing process 31697 >> cannot build derivation `/gnu/store/0id6isvf9ljkgx7kf58w5mnhwh805apl-sys= tem.drv': 1 dependencies couldn't be built >> guix system: error: build failed: build of `/gnu/store/0id6isvf9ljkgx7kf= 58w5mnhwh805apl-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/28mzpkx23h4cnrhc2i= jkp46hiiz06na0-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/dsnckvh133ndivnnbs= pg2yziqmlg1c4p-gtk+-3.20.9 >> /gnu/store/dsnckvh133ndivnnbspg2yziqmlg1c4p-gtk+-3.20.9/share/applicatio= ns/gtk3-demo.desktop:Exec=3D/gnu/store/28mzpkx23h4cnrhc2ijkp46hiiz06na0-gtk= +-3.20.9-bin/bin/gtk3-demo >> /gnu/store/dsnckvh133ndivnnbspg2yziqmlg1c4p-gtk+-3.20.9/share/applicatio= ns/gtk3-widget-factory.desktop:Exec=3D/gnu/store/28mzpkx23h4cnrhc2ijkp46hii= z06na0-gtk+-3.20.9-bin/bin/gtk3-widget-factory >> /gnu/store/dsnckvh133ndivnnbspg2yziqmlg1c4p-gtk+-3.20.9/share/applicatio= ns/gtk3-icon-browser.desktop:Exec=3D/gnu/store/28mzpkx23h4cnrhc2ijkp46hiiz0= 6na0-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. Good catch! > 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.) That should work. You can post the patch here so we can test, if you want. Thanks in advance. :-) Ludo=E2=80=99.