kismetwireless / homebrew-kismet

Kismet Homebrew Formulae
GNU General Public License v2.0
2 stars 1 forks source link

Error with Homebrew installation - Protobuf version issue #5

Open inspiredearth opened 5 days ago

inspiredearth commented 5 days ago

Hi there,

I tried installing via Homebrew.

Everything went fine until the actual installation process ...

==> Installing kismetwireless/kismet/kismet
==> ./configure --disable-silent-rules --enable-wifi-coconut --enable-bladerf --disable-python-tools --with-openssl=/opt/homebrew/opt/openssl@3
==> make install
Last 15 lines from /Users/jonathan/Library/Logs/Homebrew/kismet/02.make:
make[1]: *** [protobuf_c/kismet.pb-c.h] Error 1
make[1]: *** [protobuf_c/linuxbluetooth.pb-c.h] Error 1
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1719691668.785499 3326459 command_line_interface.cc:1552] Built-in generator --c_out specifies a maximum edition PROTO3 which is not the protoc maximum 2023.
make[1]: *** [protobuf_c/eventbus.pb-c.h] Error 1
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1719691668.790647 3326475 command_line_interface.cc:1552] Built-in generator --c_out specifies a maximum edition PROTO3 which is not the protoc maximum 2023.
make[1]: *** [protobuf_c/kismet.pb-c.c] Error 1
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1719691668.797632 3326481 command_line_interface.cc:1552] Built-in generator --c_out specifies a maximum edition PROTO3 which is not the protoc maximum 2023.
make[1]: *** [protobuf_c/datasource.pb-c.c] Error 1
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1719691668.805498 3326497 command_line_interface.cc:1552] Built-in generator --c_out specifies a maximum edition PROTO3 which is not the protoc maximum 2023.
make[1]: *** [protobuf_c/linuxbluetooth.pb-c.c] Error 1
make: *** [install] Error 2

According to ChatGPT this is due to a Protobuf version mismatch. It appears the Kismet package installation requires a lower maximum Protobuf version than the one I have (which is the latest, according to what’s available via Homebrew).

My system has libprotoc 27.1 installed.

This is on macOS 14.5.

Any suggestions?

kismetwireless commented 5 days ago

This is addressed in the git version; you'll need to use that recipe.

That said, recent changes in protobufs have broken many things in many places, and it will have to be phased out in future revisions.

On Saturday, June 29th, 2024 at 4:21 PM, Inspired Earth @.***> wrote:

Hi there,

I tried installing via Homebrew.

Everything went fine until the actual installation process ...

==> Installing kismetwireless/kismet/kismet ==> ./configure --disable-silent-rules --enable-wifi-coconut --enable-bladerf --disable-python-tools @. ==> make install Last 15 lines from /Users/jonathan/Library/Logs/Homebrew/kismet/02.make: make[1]: [protobuf_c/kismet.pb-c.h] Error 1 make[1]: [protobuf_c/linuxbluetooth.pb-c.h] Error 1 WARNING: All log messages before absl::InitializeLog() is called are written to STDERR E0000 00:00:1719691668.785499 3326459 command_line_interface.cc:1552] Built-in generator --c_out specifies a maximum edition PROTO3 which is not the protoc maximum 2023. make[1]: [protobuf_c/eventbus.pb-c.h] Error 1 WARNING: All log messages before absl::InitializeLog() is called are written to STDERR E0000 00:00:1719691668.790647 3326475 command_line_interface.cc:1552] Built-in generator --c_out specifies a maximum edition PROTO3 which is not the protoc maximum 2023. make[1]: [protobuf_c/kismet.pb-c.c] Error 1 WARNING: All log messages before absl::InitializeLog() is called are written to STDERR E0000 00:00:1719691668.797632 3326481 command_line_interface.cc:1552] Built-in generator --c_out specifies a maximum edition PROTO3 which is not the protoc maximum 2023. make[1]: [protobuf_c/datasource.pb-c.c] Error 1 WARNING: All log messages before absl::InitializeLog() is called are written to STDERR E0000 00:00:1719691668.805498 3326497 command_line_interface.cc:1552] Built-in generator --c_out specifies a maximum edition PROTO3 which is not the protoc maximum 2023. make[1]: [protobuf_c/linuxbluetooth.pb-c.c] Error 1 make: [install] Error 2

According to ChatGPT this is due to a Protobuf version mismatch.

My system has libprotoc 27.1 installed.

This is on macOS 14.5.

Any suggestions?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>