Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946409 - net-wireless/kismet-2022.08.1-r2 fails to compile: kis_external.h:221:18: error: io_service in namespace boost::asio does not name a type
Summary: net-wireless/kismet-2022.08.1-r2 fails to compile: kis_external.h:221:18: err...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords: PATCH
: 947996 (view as bug list)
Depends on:
Blocks: boost-1.87
  Show dependency tree
 
Reported: 2024-12-14 07:53 UTC by Agostino Sarubbo
Modified: 2025-02-23 21:13 UTC (History)
2 users (show)

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


Attachments
build.log.xz (build.log.xz,24.22 KB, application/x-xz)
2024-12-14 07:53 UTC, Agostino Sarubbo
Details
kismet-2022-08-R1-boost-1.87.0-asio.patch (kismet-2022-08-R1-boost-1.87.0-asio.patch,12.01 KB, patch)
2025-01-12 16:35 UTC, Attila Tóth
Details | Diff
Patch for kismet 2023-07-R1 against boost 1.87 (kismet-2023-07-R1-boost-1.87.0-asio.patch,13.17 KB, patch)
2025-02-23 15:34 UTC, satmd
Details | Diff
kismet-2023-07-R1-boost-1.87.0-asio.patch (kismet-2023-07-R1-boost-1.87.0-asio.patch,13.63 KB, patch)
2025-02-23 21:02 UTC, Attila Tóth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-12-14 07:53:30 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-wireless/kismet-2022.08.1-r2 fails to compile.
Discovered on: amd64 (internal ref: gcc15_tinderbox)
System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-12-14 07:53:31 UTC
Created attachment 913984 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2024-12-14 07:53:31 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any
libnm (the NetworkManager control library) was not found (or it was disabled). 
kis_external.h:221:18: error: ‘io_service’ in namespace ‘boost::asio’ does not name a type; did you mean ‘use_service’?
Comment 3 Attila Tóth 2025-01-12 16:35:59 UTC
Created attachment 916405 [details, diff]
kismet-2022-08-R1-boost-1.87.0-asio.patch

Proposed changes, please review & test
Comment 4 Andreas Sturmlechner gentoo-dev 2025-01-31 15:50:37 UTC
*** Bug 947996 has been marked as a duplicate of this bug. ***
Comment 5 satmd 2025-02-23 15:33:26 UTC
I have adapted the mentioned patch to kismet-2023-07-R1.
Comment 6 satmd 2025-02-23 15:34:04 UTC
Created attachment 919744 [details, diff]
Patch for kismet 2023-07-R1 against boost 1.87

- Patch applies cleanly
- Compiles successfully
Comment 7 satmd 2025-02-23 19:25:46 UTC
Be careful with my patch!

I'm noticing null pointer kernel exceptions with kismet on 6.13. which I have not found out if those are from the patched kismet or a kernel bug.
Comment 8 Attila Tóth 2025-02-23 21:02:38 UTC
Created attachment 919782 [details, diff]
kismet-2023-07-R1-boost-1.87.0-asio.patch

That was my take on kismet-2023-07-R1
Comment 9 Attila Tóth 2025-02-23 21:13:28 UTC
(In reply to Attila Tóth from comment #8)
> Created attachment 919782 [details, diff] [details, diff]
> kismet-2023-07-R1-boost-1.87.0-asio.patch
> 
> That was my take on kismet-2023-07-R1

Only there is a difference in the last hunk of gpsgpsd_v3.cc: results vs endpoints.
Testing is necessary before adoption.