Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Mar 2023 19:13:10 +0100
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Charlie Li <vishwin@FreeBSD.org>
Cc:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: b883eac8e32d - main - devel/meson: enable FLAVORs
Message-ID:  <cz5f-gnrd-wny@FreeBSD.org>
In-Reply-To: <202303111636.32BGavvS071833@gitrepo.freebsd.org> (Charlie Li's message of "Sat, 11 Mar 2023 16:36:57 GMT")
References:  <202303111636.32BGavvS071833@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Charlie Li <vishwin@FreeBSD.org> writes:

> -BUILD_DEPENDS=	meson>=0.63.3:devel/meson \
> +BUILD_DEPENDS=	meson:devel/meson@${PY_FLAVOR} \

Looks non-deterministic as "meson" maybe provided by default flavor
instead of the requested (via FLAVOR + USES=python -> PY_FLAVOR) e.g.,

  $ pkg install meson
  $ make clean all FLAVOR=py310 BUILD_ALL_PYTHON_FLAVORS=y -C devel/meson-python
  [...]
  ===>  Building for py310-meson-python-0.12.1
  * Getting build dependencies for wheel...

  ERROR Missing dependencies:
          meson>=0.63.3
  *** Error code 1

> +.if ${PYTHON_VER} != ${PYTHON_DEFAULT}
> +PKGNAMESUFFIX=	${PYTHON_PKGNAMESUFFIX}
> +.endif

Avoiding USE_PYTHON=concurrent without hiding non-module files?

  $ pkg install meson
  $ pkg install meson-py311
  [...]
  Checking integrity... done (1 conflicting)
    - meson-py311-1.0.1 conflicts with meson-1.0.1 on /usr/local/bin/meson
  Checking integrity... done (0 conflicting)
  The following 4 package(s) will be affected (of 0 checked):

  Installed packages to be REMOVED:
          meson: 1.0.1
  [...]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cz5f-gnrd-wny>