Skip to content

Build error related to PM_PACKAGES_BUILD=pmp_build #78

@major12

Description

@major12

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions