all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#33509: core-updates: arc-theme fails with "Invalid GNOME version: 3.24"
@ 2018-11-26 11:55 Björn Höfling
  2018-11-26 21:00 ` Efraim Flashner
  0 siblings, 1 reply; 8+ messages in thread
From: Björn Höfling @ 2018-11-26 11:55 UTC (permalink / raw)
  To: 33509

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

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



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#33509: core-updates: arc-theme fails with "Invalid GNOME version: 3.24"
  2018-11-26 11:55 bug#33509: core-updates: arc-theme fails with "Invalid GNOME version: 3.24" Björn Höfling
@ 2018-11-26 21:00 ` Efraim Flashner
  2018-11-27 15:07   ` Björn Höfling
  0 siblings, 1 reply; 8+ messages in thread
From: Efraim Flashner @ 2018-11-26 21:00 UTC (permalink / raw)
  To: Björn Höfling; +Cc: 33509

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

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   <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 --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#33509: core-updates: arc-theme fails with "Invalid GNOME version: 3.24"
  2018-11-26 21:00 ` Efraim Flashner
@ 2018-11-27 15:07   ` Björn Höfling
  2018-11-27 16:06     ` Efraim Flashner
  2018-11-27 22:36     ` Ricardo Wurmus
  0 siblings, 2 replies; 8+ messages in thread
From: Björn Höfling @ 2018-11-27 15:07 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 33509

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

On Mon, 26 Nov 2018 23:00:33 +0200
Efraim Flashner <efraim@flashner.co.il> wrote:

> 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.
> 
> 

Hi Efraim,

I don't know what you mean with "so it doesn't have to be updated"? I
mean changing the package definition is an update?

Also, I don't know what your intention with "version-major+minor" is?
On core-updates the current version of gnome is "3.24.3".
Then (version-major+minor gnome-version) would still evaluate to 3.24,
which IS too big, 3.22 is the maximum accepted version. 

Let me explain a bit more: With adding "--with-gnome=3.22" we are
pretending the configure-script that we will use gnome-3.22, although
we still use the latest version (To be precise, we use gtk+, but that
seams to report the gnome-version with pkg-config). 

This version number is then used to search in the directory

/tmp/guix-build-arc-theme-20170302.drv-0/arc-theme-20170302/common/gtk-3.0

the matching "major.minor" version, choosing the right theme.

3.22 is already symlinking to 3.20, and that is the highest available
real directory.

So we might get wrong look&feel here, because it is not adapted to
GNOME 3.24. But there is no further development upstream anyway. If it
doesn't look totally malformed, we can use it like that. My disk is a
bit full, I can't do a vm-image with it currently.

Björn


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#33509: core-updates: arc-theme fails with "Invalid GNOME version: 3.24"
  2018-11-27 15:07   ` Björn Höfling
@ 2018-11-27 16:06     ` Efraim Flashner
  2018-11-27 22:36     ` Ricardo Wurmus
  1 sibling, 0 replies; 8+ messages in thread
From: Efraim Flashner @ 2018-11-27 16:06 UTC (permalink / raw)
  To: Björn Höfling; +Cc: 33509

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

On Tue, Nov 27, 2018 at 04:07:45PM +0100, Björn Höfling wrote:
> On Mon, 26 Nov 2018 23:00:33 +0200
> Efraim Flashner <efraim@flashner.co.il> wrote:
> 
> > 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.
> > 
> > 
> 
> Hi Efraim,
> 
> I don't know what you mean with "so it doesn't have to be updated"? I
> mean changing the package definition is an update?
> 
> Also, I don't know what your intention with "version-major+minor" is?
> On core-updates the current version of gnome is "3.24.3".
> Then (version-major+minor gnome-version) would still evaluate to 3.24,
> which IS too big, 3.22 is the maximum accepted version. 
> 
> Let me explain a bit more: With adding "--with-gnome=3.22" we are
> pretending the configure-script that we will use gnome-3.22, although
> we still use the latest version (To be precise, we use gtk+, but that
> seams to report the gnome-version with pkg-config). 
> 
> This version number is then used to search in the directory
> 
> /tmp/guix-build-arc-theme-20170302.drv-0/arc-theme-20170302/common/gtk-3.0
> 
> the matching "major.minor" version, choosing the right theme.
> 
> 3.22 is already symlinking to 3.20, and that is the highest available
> real directory.
> 
> So we might get wrong look&feel here, because it is not adapted to
> GNOME 3.24. But there is no further development upstream anyway. If it
> doesn't look totally malformed, we can use it like that. My disk is a
> bit full, I can't do a vm-image with it currently.
> 
> Björn
> 

I see, I misunderstood and thought we were hardcoding 3.22 based on the
version of gnome, not based on the version string the configure script
is looking for.


-- 
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 --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#33509: core-updates: arc-theme fails with "Invalid GNOME version: 3.24"
  2018-11-27 15:07   ` Björn Höfling
  2018-11-27 16:06     ` Efraim Flashner
@ 2018-11-27 22:36     ` Ricardo Wurmus
  2018-11-27 23:24       ` Björn Höfling
  1 sibling, 1 reply; 8+ messages in thread
From: Ricardo Wurmus @ 2018-11-27 22:36 UTC (permalink / raw)
  To: Björn Höfling; +Cc: 33509


Hi Björn,

> So we might get wrong look&feel here, because it is not adapted to
> GNOME 3.24. But there is no further development upstream anyway. If it
> doesn't look totally malformed, we can use it like that. My disk is a
> bit full, I can't do a vm-image with it currently.

This is only going to get worse as we already have a later version of
GNOME in a branch, which is just waiting for the core-updates merge.

If the package sees no further development we may want to drop it.  What
do you think?

--
Ricardo

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#33509: core-updates: arc-theme fails with "Invalid GNOME version: 3.24"
  2018-11-27 22:36     ` Ricardo Wurmus
@ 2018-11-27 23:24       ` Björn Höfling
  2018-11-28 23:53         ` Björn Höfling
  0 siblings, 1 reply; 8+ messages in thread
From: Björn Höfling @ 2018-11-27 23:24 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 33509

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

On Tue, 27 Nov 2018 23:36:49 +0100
Ricardo Wurmus <rekado@elephly.net> wrote:

> Hi Björn,
> 
> > So we might get wrong look&feel here, because it is not adapted to
> > GNOME 3.24. But there is no further development upstream anyway. If
> > it doesn't look totally malformed, we can use it like that. My disk
> > is a bit full, I can't do a vm-image with it currently.  
> 
> This is only going to get worse as we already have a later version of
> GNOME in a branch, which is just waiting for the core-updates merge.
> 
> If the package sees no further development we may want to drop it.
> What do you think?

I have no opinion about that package. I don't know it, I just saw that
compile-error on core-updates and tried to fix it.

With your question, I double checked that this is really dead and found
in the bug tracker a link to a new, active fork:

https://github.com/NicoHood/arc-theme

They claim they are Arch/Debian/Ubuntu maintainers. I can try to prepare
a patch for that.

In the meantime, I try to test it. Do you know how to do that? Is
installing the package enough, and then running gnome-tweak-tool? Or
does it have to go into system-packages?

Björn

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#33509: core-updates: arc-theme fails with "Invalid GNOME version: 3.24"
  2018-11-27 23:24       ` Björn Höfling
@ 2018-11-28 23:53         ` Björn Höfling
  2018-12-06 17:36           ` Maxim Cournoyer
  0 siblings, 1 reply; 8+ messages in thread
From: Björn Höfling @ 2018-11-28 23:53 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 33509

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

On Wed, 28 Nov 2018 00:24:15 +0100
Björn Höfling <bjoern.hoefling@bjoernhoefling.de> wrote:

> With your question, I double checked that this is really dead and
> found in the bug tracker a link to a new, active fork:
> 
> https://github.com/NicoHood/arc-theme
> 

Patch submitted as:

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=33546

Björn

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#33509: core-updates: arc-theme fails with "Invalid GNOME version: 3.24"
  2018-11-28 23:53         ` Björn Höfling
@ 2018-12-06 17:36           ` Maxim Cournoyer
  0 siblings, 0 replies; 8+ messages in thread
From: Maxim Cournoyer @ 2018-12-06 17:36 UTC (permalink / raw)
  To: Björn Höfling; +Cc: 33509-done

Björn Höfling <bjoern.hoefling@bjoernhoefling.de> writes:

> On Wed, 28 Nov 2018 00:24:15 +0100
> Björn Höfling <bjoern.hoefling@bjoernhoefling.de> wrote:
>
>> With your question, I double checked that this is really dead and
>> found in the bug tracker a link to a new, active fork:
>> 
>> https://github.com/NicoHood/arc-theme
>> 
>
> Patch submitted as:
>
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=33546
>
> Björn

Tested OK and merged. Thank you :-)

Maxim

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-12-06 17:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-26 11:55 bug#33509: core-updates: arc-theme fails with "Invalid GNOME version: 3.24" Björn Höfling
2018-11-26 21:00 ` Efraim Flashner
2018-11-27 15:07   ` Björn Höfling
2018-11-27 16:06     ` Efraim Flashner
2018-11-27 22:36     ` Ricardo Wurmus
2018-11-27 23:24       ` Björn Höfling
2018-11-28 23:53         ` Björn Höfling
2018-12-06 17:36           ` Maxim Cournoyer

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.