Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 690266 - net-proxy/havp-0.92a-r2 : clamlibscanner.cpp:207:61: error: invalid conversion from int to cl_scan_options* [-fpermissive]
Summary: net-proxy/havp-0.92a-r2 : clamlibscanner.cpp:207:61: error: invalid conversio...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-20 06:58 UTC by Toralf Förster
Modified: 2019-11-10 10:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.09 KB, text/plain)
2019-07-20 06:58 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,87.97 KB, text/plain)
2019-07-20 06:58 UTC, Toralf Förster
Details
environment (environment,103.28 KB, text/plain)
2019-07-20 06:58 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.66 KB, application/x-bzip)
2019-07-20 06:58 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,3.60 KB, application/x-bzip)
2019-07-20 06:58 UTC, Toralf Förster
Details
net-proxy:havp-0.92a-r2:20190719-212144.log (net-proxy:havp-0.92a-r2:20190719-212144.log,9.55 KB, text/plain)
2019-07-20 06:58 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,26.08 KB, application/x-bzip)
2019-07-20 06:58 UTC, Toralf Förster
Details
ebuild and patches for havp 0.93 (havp-0.93.tgz,3.96 KB, application/x-compressed-tar)
2019-11-10 10:56 UTC, Graham E
Details

Note You need to log in before you can comment on or make changes to this bug.
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