Skip to content

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

Merged
BewareMyPower merged 1 commit intoapache:mainfrom
BadgerTechnologies:restore-Version-h-header
May 6, 2026
Merged

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

Conversation

@dwarburt
Copy link
Copy Markdown
Contributor

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
@BewareMyPower BewareMyPower merged commit ab39c37 into apache:main May 6, 2026
22 of 26 checks passed
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