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 error related to PM_PACKAGES_BUILD=pmp_build #78

Open
major12 opened this issue Apr 15, 2024 · 0 comments
Open

Build error related to PM_PACKAGES_BUILD=pmp_build #78

major12 opened this issue Apr 15, 2024 · 0 comments

Comments

@major12
Copy link

major12 commented Apr 15, 2024

My setup: portmaster-3.29_2 with PM_PACKAGES_BUILD=pmp_build in portmaster.rc

I was rebuilding installed ports and got error:

===> Configuring for jsoncpp-1.9.5
env: meson: No such file or directory
===> Script "configure" failed unexpectedly.
Please report the problem to [email protected] [maintainer] and attach the
"/usr/ports/devel/jsoncpp/work/jsoncpp-1.9.5/_build/meson-logs/meson-log.txt"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/jsoncpp

meson tool was installed as package by portmaster

===>>> Installing package from: /var/ports/packages/portmaster-download/meson-1.4.0.pkg
[resolver1] Installing meson-1.4.0...
pkg-static: Missing dependency 'python39'
[resolver1] Extracting meson-1.4.0: 100%

===>>> Installation of devel/meson (meson-1.4.0) succeeded

but either it failed to be installed or failed to run.
I do not have python39 installed, I use python310.

Probably meson (or other build dependency) should not be installed with "--accept-missing" here

if $PM_SU_CMD $PKG_CMD add --accept-missing --force ${ppd}/${latest_pv}.pkg; then

It should be better to fallback to compilation from ports is this situation.

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

No branches or pull requests

1 participant