Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 730950 - net-wireless/kismet-2020.04.3 : kis_net_microhttpd.cc: error: invalid conversion from int (*)(void*, MHD_Connection*, const char*,
Summary: net-wireless/kismet-2020.04.3 : kis_net_microhttpd.cc: error: invalid convers...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-05 16:12 UTC by Toralf Förster
Modified: 2020-12-04 16:08 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.26 KB, text/plain)
2020-07-05 16:12 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,209.33 KB, text/plain)
2020-07-05 16:12 UTC, Toralf Förster
Details
environment (environment,126.92 KB, text/plain)
2020-07-05 16:13 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.71 KB, application/x-bzip)
2020-07-05 16:13 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.72 KB, application/x-bzip)
2020-07-05 16:13 UTC, Toralf Förster
Details
net-wireless:kismet-2020.04.3:20200705-154951.log (net-wireless:kismet-2020.04.3:20200705-154951.log,39.40 KB, text/plain)
2020-07-05 16:13 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,33.26 KB, application/x-bzip)
2020-07-05 16:13 UTC, Toralf Förster
Details
kismet-2020-04-R3_libmicrohttpd-0.9.71_MHD-Result.patch (kismet-2020-04-R3_libmicrohttpd-0.9.71_MHD-Result.patch,9.89 KB, patch)
2020-07-07 19:34 UTC, Attila Tóth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-07-05 16:12:52 UTC
x86_64-pc-linux-gnu-g++ -std=gnu++17 -O2 -pipe -march=native -fno-diagnostics-color  -Wall -g -I.  -pipe -march=native -fno-diagnostics-color  -pthread  -DKS_STR_ENCODING_NONE  -c kis_net_microhttpd.cc -o kis_net_microhttpd.cc.o
kis_net_microhttpd.cc: In member function ‘int kis_net_httpd::start_httpd()’:
kis_net_microhttpd.cc:485:17: error: invalid conversion from ‘int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, size_t*, void**)’ {aka ‘int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)’} to ‘MHD_AccessHandlerCallback’ {aka ‘MHD_Result (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)’} [-fpermissive]
  485 |                 &http_request_handler, this,
      |                 ^~~~~~~~~~~~~~~~~~~~~
      |                 |

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-20200701-092333

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python3.6 (fallback)
  [5]   python2.7 (fallback)
  [6]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.44.1
  [2]   rust-1.44.1 *
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sun 05 Jul 2020 03:05:26 PM UTC

emerge -qpvO net-wireless/kismet
[ebuild  N    ] net-wireless/kismet-2020.04.3  USE="pcre suid -libusb -lm-sensors -networkmanager -rtlsdr (-selinux) -ubertooth -udev" PYTHON_SINGLE_TARGET="python3_7 -python3_6 -python3_8"
Comment 1 Toralf Förster gentoo-dev 2020-07-05 16:12:55 UTC
Created attachment 647816 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-07-05 16:12:59 UTC
Created attachment 647818 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-07-05 16:13:02 UTC
Created attachment 647820 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-07-05 16:13:05 UTC
Created attachment 647822 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-07-05 16:13:08 UTC
Created attachment 647824 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-07-05 16:13:11 UTC
Created attachment 647826 [details]
net-wireless:kismet-2020.04.3:20200705-154951.log
Comment 7 Toralf Förster gentoo-dev 2020-07-05 16:13:13 UTC
Created attachment 647828 [details]
temp.tbz2
Comment 8 Attila Tóth 2020-07-07 15:02:58 UTC
Related:
https://bugs.gentoo.org/730400
Comment 9 Attila Tóth 2020-07-07 19:34:42 UTC
Created attachment 648282 [details, diff]
kismet-2020-04-R3_libmicrohttpd-0.9.71_MHD-Result.patch

I'm afraid to show my workaround, but I don't want to keep this patch for myself. It is what it is, please don't judge me.
Comment 10 Rick Farina (Zero_Chaos) gentoo-dev 2020-12-04 16:08:17 UTC
obsolete, new version is stable and should work as expected