Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 890020 - net-wireless/kismet-2023.07.1 fails to compile (DASH-SYSTEM): kis_external.h:51:10: fatal error: kismet.pb.h: No such file or directory
Summary: net-wireless/kismet-2023.07.1 fails to compile (DASH-SYSTEM): kis_external.h:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords:
: 890022 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-01-07 08:14 UTC by Agostino Sarubbo
Modified: 2024-04-07 06:17 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,80.33 KB, text/plain)
2023-01-07 08:14 UTC, Agostino Sarubbo
Details

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

Issue: net-wireless/kismet-2022.08.1-r1 fails to compile (DASH-SYSTEM).
Discovered on: amd64 (internal ref: dash_tinderbox)

NOTE:
(DASH-SYSTEM) in the summary means that the bug was found on a machine that runs /bin/sh as dash but this bug MAY or MAY NOT BE related to dash.
Comment 1 Agostino Sarubbo gentoo-dev 2023-01-07 08:14:55 UTC
Created attachment 847766 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-01-07 08:14:56 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


/bin/sh: 1: -I: not found
kis_external.h:51:10: fatal error: protobuf_cpp/kismet.pb.h: No such file or directory
libnm (the NetworkManager control library) was not found (or it was disabled). 
kis_external.h:51:10: fatal error: protobuf_cpp/kismet.pb.h: No such file or directory
Comment 3 Rick Farina (Zero_Chaos) gentoo-dev 2023-02-22 17:18:23 UTC
*** Bug 890022 has been marked as a duplicate of this bug. ***
Comment 4 Rick Farina (Zero_Chaos) gentoo-dev 2023-02-22 20:58:35 UTC
this looks more to me like dev-libs/protobuf-c wasn't satisfied or should be moved to BDEPEND?  Any thoughts?
Comment 5 Agostino Sarubbo gentoo-dev 2024-03-16 07:52:48 UTC
dash_tinderbox has reproduced this issue with version 2023.07.1 - Updating summary.
Comment 6 Eli Schwartz 2024-04-05 05:12:44 UTC
Just discovered this while trying to reproduce an entirely different bug. This package is... badly broken when you install `app-alternatives/sh[dash]`.

The resulting avalanche of errors *looks* like protoc isn't installed, even though it actually is.

Submitted upstream PR to solve it.
Comment 7 Larry the Git Cow gentoo-dev 2024-04-07 06:17:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55ba652f60fdd2504542f71b0b3ebcec3c8e0723

commit 55ba652f60fdd2504542f71b0b3ebcec3c8e0723
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-04-05 06:17:29 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-04-07 06:16:13 +0000

    net-wireless/kismet: Add patch to fix bashisms in configure
    
    Submitted upstream. Not added to live ebuild because I hope it will soon
    be integrated...
    
    Closes: https://bugs.gentoo.org/890020
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 ...c-bashism-fix-critical-existence-failure-.patch | 280 +++++++++++++++++++++
 net-wireless/kismet/kismet-2023.07.1.ebuild        |  10 +-
 2 files changed, 286 insertions(+), 4 deletions(-)