all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: shtwzrd <shtwzrd@protonmail.com>
Cc: 39402@debbugs.gnu.org
Subject: bug#39402: set-xorg-configuration pulls in unsupported packages on target architecture
Date: Tue, 4 Feb 2020 13:05:21 +0200	[thread overview]
Message-ID: <20200204110521.GD19864@E5400> (raw)
In-Reply-To: <dOWsk4AfvoJ9U7lG8bVVoOCYSHopzMQg1lumTuIHBOlCcUO8_qBj5CCl-Qzjnm8C65vp58N5CC7i61L_3t8wFMvjGE3vZr7mewthFbCpO6A=@protonmail.com>

[-- Attachment #1: Type: text/plain, Size: 2258 bytes --]

On Mon, Feb 03, 2020 at 01:22:16AM +0000, shtwzrd via Bug reports for GNU Guix wrote:
> Howdy :),
> 
> I've found that the `set-xorg-configuration` service ends up pulling in `xf86-video-intel` as a dependency. But `xf86-video-intel` fails to build, with:
> 
> ```
> 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: UXA requested as default, but is not enabled
> command "/gnu/store/iql3p5zvz0nwcsckdpywdkqxccx95ygx-bash-minimal-5.0.7/bin/bash" "./configure" "CONFIG_SHELL=/gnu/store/iql3p5zvz0nwcsckdpywdkqxccx95ygx-bash-minimal-5.0.7/bin/bash" "SHELL=/gnu/store/iql3p5zvz0nwcsckdpywdkqxccx95ygx-bash-minimal-5.0.7/bin/bash" "--prefix=/gnu/store/grlry4nmhxmb2ahlbpzdvyy33wgnh87h-xf86-video-intel-2.99.917-15.f66d395" "--enable-fast-install" "--build=aarch64-unknown-linux-gnu" "--with-default-accel=uxa" 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.

Can you share your config? We might be able to work around it for now.

> 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 potential fix?

That sounds like a good long-term solution, to only include modules
which are appropriate for that architecture.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2020-02-04 11:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-03  1:22 bug#39402: set-xorg-configuration pulls in unsupported packages on target architecture shtwzrd via Bug reports for GNU Guix
2020-02-04 11:05 ` Efraim Flashner [this message]
2020-02-08  9:30   ` shtwzrd via Bug reports for GNU Guix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200204110521.GD19864@E5400 \
    --to=efraim@flashner.co.il \
    --cc=39402@debbugs.gnu.org \
    --cc=shtwzrd@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.