Skip to content

[fix][client-cpp] Restore pulsar/Version.h for the dev package#572

Open
dwarburt wants to merge 1 commit intoapache:mainfrom
BadgerTechnologies:restore-Version-h-header
Open

[fix][client-cpp] Restore pulsar/Version.h for the dev package#572
dwarburt wants to merge 1 commit intoapache:mainfrom
BadgerTechnologies:restore-Version-h-header

Conversation

@dwarburt
Copy link
Copy Markdown

Fixes #570

Motivation

My application using pulsar-client-cpp reads the version number to generate some diagnostic logs. This worked fine when I was building pulsar-client-cpp from source, but I've switched to building against the debian packages and the build failed when pulsar/Version.h was missing.

Modifications

The debian packaging scripts grab the headers from the source archive but the Version.h is generated from a template (Version.h.in) and so it is not present in the source archive. I've added a couple of file copy commands to make sure the file makes it into the final package.

Verifying this change

  • Make sure that the change passes the CI checks.

(Please pick either of the following options)

This change is a trivial rework / code cleanup without any test coverage.

Documentation

  • doc-required

  • doc-not-needed
    The documentation already states this header will be present

  • doc

  • doc-complete

@BewareMyPower BewareMyPower added this to the 4.2.0 milestone Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Debian development package missing Version.h

2 participants