Subject: Re: bug#33509: core-updates: arc-theme fails with "Invalid GNOME version: 3.24"

From: Efraim Flashner <[email-masked]>
Date: Mon, 26 Nov 2018 23:00:33 +0200

On Mon, Nov 26, 2018 at 12:55:15PM +0100, Björn Höfling wrote:
> On core-updates the package arc-theme fails:
> 
> starting phase `configure'
> source directory: "/tmp/guix-build-arc-theme-20170302.drv-0/arc-theme-20170302" 
> build directory: "/tmp/guix-build-arc-theme-20170302.drv-0/arc-theme-20170302"
> configure flags: ("CONFIG_SHELL=/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash
> configure: WARNING: unrecognized options: --enable-fast-install
> checking for a BSD-compatible install... /gnu/store/5s2nib1lrd2101bbrivcl17kjx1m
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /gnu/store/5s2nib1lrd2101bbrivcl17kjx1msp
> checking for gawk... gawk
> checking whether make sets $(MAKE)... no
> checking whether make supports nested variables... yes
> checking for pkg-config... /gnu/store/xyiyf12w4i7zf5g5b4ah0bi1mmd6i8xa-pkg-confi
> checking pkg-config is at least version 0.9.0... yes
> configure: error: Invalid GNOME version: 3.24
> 
> It seams that only GNOME versions until 3.22 are valid.
> 
> Nix has a workaround that sets the version down:
> 
> https://github.com/NixOS/nixpkgs/commit/165fa89762d7156bb3f2774cd3ff0d40cd0a9606
> 
> If I set the version hard to 3.22 the package builds again
> successfully:
> 
> -     '(#:phases
> +     '(#:configure-flags
> +       '("--with-gnome=3.22")
> +       #:phases
> 
> Is it legitimate to patch it like that or do we need more tests?
> 
> Björn
> 

I'd look into if you can use (version-major+minor (package-version gnome))
so it doesn't have to be updated.

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