Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure: pkgsCross.aarch64-multiplatform.kismet #276165

Closed
pete3n opened this issue Dec 22, 2023 · 2 comments
Closed

Build failure: pkgsCross.aarch64-multiplatform.kismet #276165

pete3n opened this issue Dec 22, 2023 · 2 comments
Labels
0.kind: build failure A package fails to build

Comments

@pete3n
Copy link
Contributor

pete3n commented Dec 22, 2023

Steps To Reproduce

Steps to reproduce the behavior:

  1. build .#pkgsCross.aarch64-multiplatform.kismet

Build log

If withPython is the default true, build fails with:

       > checking python3 module: setuptools... no
       > configure: error: Missing python setuptools, if you would like to build without python entirely, use --disable-python-tools, otherwise install python setuptools for your python version

If withPython is false, build fails with:

       > ./configure: line 11058: pkg-config: command not found
       > ./configure: line 11059: pkg-config: command not found
       > checking for libpcap... yes
       > ./configure: line 11159: pkg-config: command not found
       > ./configure: line 11160: pkg-config: command not found
       > checking for protobuf... yes
       > checking for protoc... no
       > configure: error: missing google libprotobuf protoc compiler

If pkg-config binary path is set to aarch64 emulated binaries with:

  preConfigure = '' 
    export PATH=${pkg-config}/bin/:$PATH 
  ''; 

Then the build fails with:

       > checking for protoc... no
       > configure: error: missing google libprotobuf protoc compiler

If the protobuf compiler paths are set to the aarch64 emulated binaries with:

  configureFlags = [                       
    "--disable-wifi-coconut"  # Until https://github.com/kismetwireless/kismet/issues/478
    "--with-protoc=${protobuf}/bin/protoc"
    "--with-protocc=${protobufc}/bin/protoc-c" 

Then the build succeeds.

Additional context

Notify maintainers

No maintainers in metadata, but: @hughobrien @NickCao

Metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.0-20-amd64, Debian GNU/Linux, 11 (bullseye), nobuild`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.19.2`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.66, NixOS, 23.11 (Tapir), 23.11.1697.781e2a9797ec`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `"nixos-23.11, nixos-unstable"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Add a 👍 reaction to issues you find important.

@pete3n pete3n added the 0.kind: build failure A package fails to build label Dec 22, 2023
@hughobrien
Copy link
Contributor

hughobrien commented Dec 23, 2023

Thanks for tagging me. I don't have an ARM machine to test on, and given the relatively little attention this port gets I'm inclined to take your PR as is. Is there particular concern you have regarding it?

Discussion ongoing in the linked PR

@NickCao
Copy link
Member

NickCao commented Dec 23, 2023

Fixed by #276038

@NickCao NickCao closed this as completed Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
None yet
Development

No branches or pull requests

3 participants