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

Bug 840209

Summary: net-libs/davix-0.7.6 - /.../davix_hooks_impl.hpp: error: redefinition of void Davix::hookDefine(HookList&, const HookType&) [with
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Guilherme Amadio <amadio>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 887529    
Bug Blocks: 839906    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
net-libs:davix-0.7.6:20220422-155352.log.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-04-22 15:56:51 UTC
/var/tmp/portage/net-libs/davix-0.7.6/work/davix-0.7.6/include/davix/hooks/davix_hooks_impl.hpp: At global scope:
/var/tmp/portage/net-libs/davix-0.7.6/work/davix-0.7.6/include/davix/hooks/davix_hooks_impl.hpp:66:43: error: RequestPreSendHook’ does not name a type
   66 | inline void hookDefine(HookList &c, const RequestPreSendHook & hook){
      |                                           ^~~~~~~~~~~~~~~~~~
/var/tmp/portage/net-libs/davix-0.7.6/work/davix-0.7.6/include/davix/hooks/davix_hooks_impl.hpp:66:13: error: redefinition of void Davix::hookDefine(HookList&, const HookType&) [with HookType = int]’
   66 | inline void hookDefine(HookList &c, const RequestPreSendHook & hook){
      |             ^~~~~~~~~~

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.3.0
 [2] x86_64-pc-linux-gnu-12.0.1 *
clang/llvm (if any):
/usr/lib/llvm/14
14.0.1
Python 3.9.12
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.60.0 *
php cli:

  HEAD of ::gentoo
commit 35c62c5dca7e970902e65d9b018a1dd9e651d9c9
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Apr 22 15:34:14 2022 +0000

    2022-04-22 15:34:13 UTC

emerge -qpvO net-libs/davix
[ebuild  N    ] net-libs/davix-0.7.6  USE="ipv6 -doc -test -tools"
Comment 1 Toralf Förster gentoo-dev 2022-04-22 15:56:52 UTC
Created attachment 773294 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-22 15:56:53 UTC
Created attachment 773297 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-04-22 15:56:54 UTC
Created attachment 773300 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-04-22 15:56:56 UTC
Created attachment 773303 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-04-22 15:56:56 UTC
Created attachment 773306 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-22 15:56:57 UTC
Created attachment 773309 [details]
net-libs:davix-0.7.6:20220422-155352.log.bz2
Comment 7 Toralf Förster gentoo-dev 2022-04-22 15:56:58 UTC
Created attachment 773312 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-19 03:10:19 UTC
Fedora have 0.6.1 but HOMEPAGE seems dead. No idea if new version fixes it or not though
Comment 9 Guilherme Amadio gentoo-dev 2022-05-19 08:27:26 UTC
Hi, davix is actively developed. However, the main maintainer has moved on and there were some big changes upstream to replace libneon with libcurl, so I've been holding off updating to 0.8.0 because of issues related to that:

- https://github.com/cern-fts/davix/issues/77
- https://github.com/cern-fts/davix/issues/78
- https://github.com/cern-fts/davix/issues/80
- https://github.com/cern-fts/davix/issues/81
- https://github.com/cern-fts/davix/issues/93

I will try again with 0.8.1 to see if tests were fixed. If yes, I will add the new version to the tree. If sci-physics/root has problems with davix 0.8.x, I think it may be better to hold on a little longer.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-21 04:32:24 UTC
Alright. GCC 12 will be unleashed into ~arch possibly end of this week.
Comment 11 Larry the Git Cow gentoo-dev 2022-09-19 12:11:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c3112a75d4776c1082827174bd42415da15cf9a

commit 2c3112a75d4776c1082827174bd42415da15cf9a
Author:     Guilherme Amadio <amadio@gentoo.org>
AuthorDate: 2022-09-19 10:15:26 +0000
Commit:     Guilherme Amadio <amadio@gentoo.org>
CommitDate: 2022-09-19 12:11:14 +0000

    net-libs/davix: version bump to 0.8.3
    
    Closes: https://bugs.gentoo.org/763645
    Closes: https://bugs.gentoo.org/831849
    Closes: https://bugs.gentoo.org/840209
    Closes: https://bugs.gentoo.org/861473
    
    Signed-off-by: Guilherme Amadio <amadio@gentoo.org>

 net-libs/davix/Manifest                            |  1 +
 net-libs/davix/davix-0.8.3.ebuild                  | 88 ++++++++++++++++++++++
 .../davix/files/davix-0.8.3-enable-ctest.patch     | 25 ++++++
 3 files changed, 114 insertions(+)