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

Bug 690266

Summary: net-proxy/havp-0.92a-r2 : clamlibscanner.cpp:207:61: error: invalid conversion from int to cl_scan_options* [-fpermissive]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-proxy:havp-0.92a-r2:20190719-212144.log
temp.tbz2
ebuild and patches for havp 0.93

Description Toralf Förster gentoo-dev 2019-07-20 06:58:05 UTC
x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -DHAVE_CONFIG_H -c -o clamlibscanner.o clamlibscanner.cpp
clamlibscanner.cpp: In member function ‘virtual std::string ClamLibScanner::Scan(const char*)’:
clamlibscanner.cpp:207:61: error: invalid conversion from ‘int’ to ‘cl_scan_options*’ [-fpermissive]
  207 |     int ret = cl_scanfile(FileName, &virname, NULL, engine, scanopts);
      |                                                             ^~~~~~~~
      |                                                             |

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-libressl-20190717-053737

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.1.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.36.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.12.0 [icedtea-bin-8]
2)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
  [2]   jamvm 

emerge -qpvO net-proxy/havp
[ebuild  N    ] net-proxy/havp-0.92a-r2  USE="clamav ssl"
Comment 1 Toralf Förster gentoo-dev 2019-07-20 06:58:08 UTC
Created attachment 583688 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-07-20 06:58:11 UTC
Created attachment 583690 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-07-20 06:58:14 UTC
Created attachment 583692 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-07-20 06:58:18 UTC
Created attachment 583694 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-07-20 06:58:21 UTC
Created attachment 583696 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-07-20 06:58:23 UTC
Created attachment 583698 [details]
net-proxy:havp-0.92a-r2:20190719-212144.log
Comment 7 Toralf Förster gentoo-dev 2019-07-20 06:58:27 UTC
Created attachment 583700 [details]
temp.tbz2
Comment 8 Jan Psota 2019-08-04 08:37:35 UTC
Havp-0.93 compiles. I did not test, how it works! (yet)

Ebuild changes:
1. line 10:
-SRC_URI="http://www.server-side.de/download/${P}.tar.gz"
+SRC_URI="http://www.havp.org/download/${P}.tar.gz"

2. remove/comment out second patch, line 28:
-"${FILESDIR}"/${PN}-0.92a-pkg-config-libclamav.patch
Comment 9 Graham E 2019-11-10 10:55:42 UTC
Hi.

I thought there was a ebuild file for havp-0.93, but I cannot find it any more.

I've created a new ebuild for 0.93, with the associated patches if you want to test it. I'm using it at the moment, and it seems to be working well.

havp-0.93.tgz
Comment 10 Graham E 2019-11-10 10:56:55 UTC
Created attachment 595636 [details]
ebuild and patches for havp 0.93