Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 840547

Summary: net-misc/grive-0.5.2_pre20211128 - /.../Syncer.hh: error: unique_ptr in namespace std does not name a template type
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Christoph Junghans (RETIRED) <junghans>
Status: RESOLVED FIXED    
Severity: normal CC: ionen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 839906    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
net-misc:grive-0.5.2_pre20211128:20220424-072731.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-04-24 07:28:34 UTC
too long lines were shrinked:

[5/59] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DHAVE
FAILED: libgrive/CMakeFiles/grive.dir/src/base/Syncer.cc.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DHAVE_BFD -D
In file included from /var/tmp/portage/net-misc/grive-0.5.2_pre20211128/work/grive-0.5.2_pre20211128/libgrive/src/base/Syncer.cc:20:
/var/tmp/portage/net-misc/grive-0.5.2_pre20211128/work/grive-0.5.2_pre20211128/libgrive/src/base/Syncer.hh:58:22: error: unique_ptr’ in namespace std’ does not name a template type
   58 |         virtual std::unique_ptr<Feed> GetFolders() = 0;
      |                      ^~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j4-20220422-150005

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-12.0.1 *
clang/llvm (if any):
clang version 14.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.1
Python 3.9.12
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit 67138b49ce257cf9f23b9e698e3ccedd51733237
Merge: 2f6ca13e5ebe 8cf1e2be6fed
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Apr 24 03:03:08 2022 +0000

    Merge updates from master

emerge -qpvO net-misc/grive
[ebuild  N    ] net-misc/grive-0.5.2_pre20211128
Comment 1 Toralf Förster gentoo-dev 2022-04-24 07:28:35 UTC
Created attachment 774055 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-24 07:28:37 UTC
Created attachment 774058 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-04-24 07:28:38 UTC
Created attachment 774061 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-04-24 07:28:39 UTC
Created attachment 774064 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-04-24 07:28:40 UTC
Created attachment 774067 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-24 07:28:41 UTC
Created attachment 774070 [details]
net-misc:grive-0.5.2_pre20211128:20220424-072731.log
Comment 7 Toralf Förster gentoo-dev 2022-04-24 07:28:42 UTC
Created attachment 774073 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-19 03:10:31 UTC
ping
Comment 9 Christoph Junghans (RETIRED) gentoo-dev 2022-05-20 04:52:15 UTC
Sorry the delay, I think we already package the latest master version, so unless somebody has a patch, there is no easy fix.

Most likely GDrive will stop working in October, due the Google's OOB deprecation, so I am not sure if it's worth investing a lot of time.
Comment 10 Ionen Wolkens gentoo-dev 2022-05-20 05:06:29 UTC
fwiw the unique_ptr gcc12 issues are just a missing #include <memory>, assuming there's not more issues beyond that
Comment 11 Larry the Git Cow gentoo-dev 2022-05-21 15:55:14 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=733f7602278ced39413767a3a3d95d3f86abc633

commit 733f7602278ced39413767a3a3d95d3f86abc633
Author:     Christoph Junghans <junghans@gentoo.org>
AuthorDate: 2022-05-21 15:54:44 +0000
Commit:     Christoph Junghans <junghans@gentoo.org>
CommitDate: 2022-05-21 15:55:07 +0000

    net-misc/grive: fix gcc-12 build
    
    Closes: https://bugs.gentoo.org/840547
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Christoph Junghans <junghans@gentoo.org>

 net-misc/grive/files/363.patch                   | 21 ++++++++++++++
 net-misc/grive/grive-0.5.2_pre20211128-r1.ebuild | 37 ++++++++++++++++++++++++
 2 files changed, 58 insertions(+)