bug#52791: nextcloud-client not building on master

2021-12-26 Thread Brice Waegeneire
Hello Nicholas,

Nicholas von Klitzing  writes:

> Updating the package to 3.2.0 (the version where the PR was merged) solves
> the issue. This patch is attached.
>
> I'll see if I get to updating it to 3.4.1

> * gnu/packages/sync.scm (nextcloud-client): Update to 3.2.0.
> ---
>  gnu/packages/sync.scm | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Thank you for fixing that failing build, pushed as
27eb4ac9f506f9f06061d79548de5da53ac03bfa.

If you want to update it to it's latestet version, don't forget to run "guix
lint" on it and add your copyright to the file if it's a non trivial change.

Cheers,
- Brice





bug#52791: nextcloud-client not building on master

2021-12-25 Thread Nicholas von Klitzing
Hello Guix,

nextcloud-client has been broken in recent updates to guix and is no longer 
building:

https://ci.guix.gnu.org/build/238676/details

All the errors are in the form of
```
/tmp/guix-build-nextcloud-client-3.1.3.drv-0/build/src/gui/nextcloud_autogen/YCDLW3T4OG/qrc_theme.cpp
In file included from 
/gnu/store/qqs98rxwjrji6aaf6dqwp7q4m545g2sn-glib-2.70.0/include/glib-2.0/glib/glib-typeof.h:39,
 from 
/gnu/store/qqs98rxwjrji6aaf6dqwp7q4m545g2sn-glib-2.70.0/include/glib-2.0/glib/gatomic.h:28,
 from 
/gnu/store/qqs98rxwjrji6aaf6dqwp7q4m545g2sn-glib-2.70.0/include/glib-2.0/glib/gthread.h:32,
 from 
/gnu/store/qqs98rxwjrji6aaf6dqwp7q4m545g2sn-glib-2.70.0/include/glib-2.0/glib/gasyncqueue.h:32,
 from 
/gnu/store/qqs98rxwjrji6aaf6dqwp7q4m545g2sn-glib-2.70.0/include/glib-2.0/glib.h:32,
 from 
/tmp/guix-build-nextcloud-client-3.1.3.drv-0/source/src/gui/cloudproviders/cloudprovidermanager.cpp:16:
/gnu/store/vakvgvrb839igv16jkif4lmx11d25jqb-gcc-10.3.0/include/c++/type_traits:56:3:
 error: template with C linkage
   56 |   template
  |   ^~~~
/tmp/guix-build-nextcloud-client-3.1.3.drv-0/source/src/gui/cloudproviders/cloudprovidermanager.cpp:15:1:
 note: ?extern "C"? linkage started here
   15 | extern "C" {
  | ^~
```

They see to be directly related to an issue patched in more recent versions of 
Nextcloud Desktop:

https://github.com/nextcloud/desktop/pull/2972

Kind regards,
Nicholas von Klitzing