← All tasks
cppseladb/PcapPlusPlus #2233Not a task: not reproduced

Some CMake dependency modules not installed

envgap__seladb__PcapPlusPlus-2233

01 / FAILURE SIGNATURE

As reported upstream

The link interface of target "PcapPlusPlus::Pcap++" contains:
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
3efa8b871549eb369a0201ffd8bc2a61fc932d7f
Manifest
CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

seladb/PcapPlusPlus #2233 · read the original issue
### Bug description

**Describe the bug**
BPF and WinDivert cmake modules are not installed, causing configuration failures when trying to configure a project that will depend on PcapPlusPlus

**Code example to reproduce**
```bash
$ cmake .. -DPCAPPP_USE_XDP=ON && make && sudo make install

# from other project:
$ cmake ..
      CMake Error at /usr/local/lib/cmake/pcapplusplus/PcapPlusPlusTargets.cmake:86 (set_target_properties):
        The link interface of target "PcapPlusPlus::Pcap++" contains:
      
          BPF::BPF
      
        but the target was not found.  Possible reasons include:
      
          * There is a typo in the target name.
          * A find_package call is missing for an IMPORTED target.
          * An ALIAS target is missing.
```

**Expected behavior**
The CMake modules for these other dependencies should be installed as is already being done for PCAP, PF_RING, etc.


### PcapPlusPlus versions tested on

PcapPlusPlus master branch

### Other PcapPlusPlus version (if applicable)

_No response_

### Operating systems tested on

Linux

### Other operation systems (if applicable)

_No response_

### Compiler version

GCC 11.4.0

### Packet capture backend (if applicable)

_No response_
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]