From mboxrd@z Thu Jan 1 00:00:00 1970 From: shtwzrd via Bug reports for GNU Guix Subject: bug#39402: set-xorg-configuration pulls in unsupported packages on target architecture Date: Mon, 03 Feb 2020 01:22:16 +0000 Message-ID: Reply-To: shtwzrd , shtwzrd Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:47966) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iyQS7-0005or-65 for bug-guix@gnu.org; Sun, 02 Feb 2020 20:23:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iyQS6-0005ZV-5G for bug-guix@gnu.org; Sun, 02 Feb 2020 20:23:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34799) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iyQS6-0005Z5-1O for bug-guix@gnu.org; Sun, 02 Feb 2020 20:23:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iyQS5-0002Kv-TU for bug-guix@gnu.org; Sun, 02 Feb 2020 20:23:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:47832) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iyQRV-0005g4-7w for bug-guix@gnu.org; Sun, 02 Feb 2020 20:22:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iyQRT-0004UD-Kt for bug-guix@gnu.org; Sun, 02 Feb 2020 20:22:24 -0500 Received: from mail-40135.protonmail.ch ([185.70.40.135]:37401) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iyQRT-0004Ks-EB for bug-guix@gnu.org; Sun, 02 Feb 2020 20:22:23 -0500 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-mx.org@gnu.org Sender: "bug-Guix" To: 39402@debbugs.gnu.org Howdy :), I've found that the `set-xorg-configuration` service ends up pulling in `xf= 86-video-intel` as a dependency. But `xf86-video-intel` fails to build, wit= h: ``` checking whether to include UXA support... no checking whether to include SNA support... auto checking for xvmc dri2proto x11 x11-xcb xcb-dri2 xcb-aux libdrm_intel... no checking whether to include XvMC support... no checking which acceleration method to use by default... configure: error: U= XA requested as default, but is not enabled command "/gnu/store/iql3p5zvz0nwcsckdpywdkqxccx95ygx-bash-minimal-5.0.7/bin= /bash" "./configure" "CONFIG_SHELL=3D/gnu/store/iql3p5zvz0nwcsckdpywdkqxccx= 95ygx-bash-minimal-5.0.7/bin/bash" "SHELL=3D/gnu/store/iql3p5zvz0nwcsckdpyw= dkqxccx95ygx-bash-minimal-5.0.7/bin/bash" "--prefix=3D/gnu/store/grlry4nmhx= mb2ahlbpzdvyy33wgnh87h-xf86-video-intel-2.99.917-15.f66d395" "--enable-fast= -install" "--build=3Daarch64-unknown-linux-gnu" "--with-default-accel=3Duxa= " failed with status 1 ``` What's more, the package definition for xf86-video-intel contains this: ``` (supported-systems ;; This driver is only supported on Intel systems. (filter (lambda (system) (or (string-prefix? "i686-" system) (string-prefix? "x86_64-" system))) %supported-systems)) ``` So it seems like it's a bug that it currently gets included on non i686 and= x86_64 targets. Even if I supply a modules field in set-xorg-configuration where I exclude = `xf86-video-intel`, guix still tries to build it. The only reference to `xf86-video-intel` is its inclusion in %default-xorg-= modules -- would making the contents of that list target-aware be a potenti= al fix?