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-client-packages not working as expected #2557

Open
1 task done
arnaudmorin opened this issue Oct 17, 2023 · 2 comments
Open
1 task done

build-client-packages not working as expected #2557

arnaudmorin opened this issue Oct 17, 2023 · 2 comments
Assignees
Labels
bug Bug report

Comments

@arnaudmorin
Copy link

Description

I try to use build-client-packages to build deb package.

It seems, it's used somewhere (or by someone) with a docker builder here:
https://github.com/percona/pmm/blob/main/build/scripts/build-client-deb

But the script seems not the one in the repo (https://github.com/percona/pmm/blob/main/build/scripts/build-client-packages)
because running it with the same parameters exits with "There is no source for build"

bash /src/build/scripts/build-client-packages --builddir=/tmp/pmm --build_deb=1
...
There is no sources for build
+ exit 1

If I try to build using get_sources:

bash /src/build/scripts/build-client-packages --builddir=/tmp/pmm --build_deb=1 --get_sources=1
...
+ git clone https://github.com/Percona-Lab/pmm-submodules.git
fatal: destination path 'pmm-submodules' already exists and is not an empty directory.

Something is wrong, I suspect the script used is not the one in the repo

Expected Results

Building deb should work

Actual Results

Building deb is not working

Version

main branch.
I tested also 2.40.0, same

Steps to reproduce

No response

Relevant logs

No response

Code of Conduct

  • I agree to follow Percona Community Code of Conduct
@arnaudmorin
Copy link
Author

ping

@ademidoff
Copy link
Member

ademidoff commented Jan 25, 2024

@arnaudmorin Unfortunately, this script is only intended to run on our infrastructure :(

That said, we do have plans to make it possible for the community to build PMM locally, but we are not there yet :)

BTW, since we release deb packages as well, did you try to go that route? You can read more in our docs: https://docs.percona.com/percona-monitoring-and-management/setting-up/client/index.html#debian-based.

@ademidoff ademidoff assigned ademidoff and unassigned artemgavrilov Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug report
Projects
None yet
Development

No branches or pull requests

4 participants