← All tasks
cppnasa/fprime #5990Not a task: not reproduced

DpZLibCompressor is included despite not having zlib

envgap__nasa__fprime-5990

01 / FAILURE SIGNATURE

As reported upstream

fprime-hpsc-linux-reference/fprime-hpsc-linux-reference/lib/fprime/Svc/DpZLibCompressor/DpZLibCompressor.hpp:12:10: fatal error: 'zlib.h' file not found
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
198092c8f2f58a89e2922404bddf4b68eaaa3dbb
Manifest
Svc/DpCompressProc/CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

nasa/fprime #5990 · read the original issue
| | |
|:---|:---|
|**_F´ Version_**| v4.3.0 |
|**_Affected Component_**|  DpZLibCompressor |
---
## Problem Description

DpZLibCompressor is added to builds on machines with zlib.so but don't have zlib-devel installed. I get this build error

```
fprime-hpsc-linux-reference/fprime-hpsc-linux-reference/lib/fprime/Svc/DpZLibCompressor/DpZLibCompressor.hpp:12:10: fatal error: 'zlib.h' file not found
   12 | #include <zlib.h>
```

## Context / Environment

```
Operating System: Linux
CPU Architecture: x86_64
Platform: Linux-4.18.0-553.124.1.el8_10.x86_64-x86_64-with-glibc2.28
Python version: 3.13.3
CMake version: 3.26.0
Pip version: 26.2.1
Pip packages:
    fprime-tools==4.3.0
    fprime-gds==4.3.0
    fprime-fpp==3.3.0
Project submodules:
```

## How to Reproduce

1. Build deployment on a machine that has libz.so installed but not zlib-devel

## Expected Behavior

DpZLibCompressor is not included in builds that don't support libz.so and zlib.h 
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
[]