Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jan 2024 19:26:23 +0000
From:      Lexi Winter <lexi@le-fay.org>
To:        freebsd-python@freebsd.org
Cc:        freebsd-ports@freebsd.org, jbo@freebsd.org
Subject:   USES=python3.10+ and RUN_DEPENDS
Message-ID:  <Za1v3ztvbLwQDdYj@ilythia.eden.le-fay.org>

next in thread | raw e-mail | index | archive | help

--Q2WS0AVBYc0X94Fn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

hi all,

i'm trying to port an application that requires Python 3.10+ or later,
while the default Python is still 3.9.

this is my Makefile: https://git.sr.ht/~lw/freebsd-ports/tree/sublime-music/item/audio/py-sublime-music/Makefile

running poudriere testport initially produces several messages like
this, one for each port in RUN_DEPENDS:

[00:02:48] Ignoring devel/py-dateutil@py310 | py310-dateutil-2.8.2: Unknown flavor 'py310', possible flavors: py39
[00:02:48] Ignoring databases/py-peewee@py310 | py310-peewee-3.15.0: Unknown flavor 'py310', possible flavors: py39
[00:02:48] Ignoring devel/py-dataclasses-json@py310 | py310-dataclasses-json-0.5.9: Unknown flavor 'py310', possible flavors: py39

it then installs python310 to build the port, but later fails like this:

=======================<phase: run-depends    >============================
===== env: DEVELOPER_MODE=yes USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   py310-sublime-music-0.12.0 depends on package: py310-gobject3>0 - not found
===>   py310-sublime-music-0.12.0 depends on package: /packages/All/py310-gobject3-3.42.2.pkg - not found
===>   USE_PACKAGE_DEPENDS_ONLY set - not building missing dependency from source
*** Error code 1

could someone please explain what i'm doing wrong here?

	thanks, lw.

--Q2WS0AVBYc0X94Fn
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGzBAABCAAdFiEEuwt6MaPcv/+Mo+ftDHqbqZ41x5kFAmWtb9wACgkQDHqbqZ41
x5n/xgv/eWB2lZMZI5jhf6JXCRhrWKf+G+xY+IpEG8m3D2uwTL8dbjzuJUu8fzoK
8Pzv0SYXbmZjwZYvpORRuig1knpUTAwUMHbwA2NbZ41SnPIJHvTMD0EQECJ9s0Kg
JFbduMsIx6KAHMB1g38RwElyanZm3/JbHAguio4dMeGCbjTZDqtOsS5hrqLxEw5D
LtXAaGmmhNHQm6hrVLuuOntsnx8QEiQEgkp9T5AEuosol24SdpE0GC3SGtykF6aA
e9sZyQW0Zugqzoc3Owa2yYCiw3idsrZqVQ/Fq+sMPqY/pHbLN7M3akObYNV7Bstg
rHeZEd1WlXAiWuqKHqaeBkj4j/w+qMS9EIBrWtcNb1e8QoMQHpF3O7OJW7Ru1oo1
WBQNZOzNj6L8w4hxbTBPNLfI2Q0cuPJgLm3r5/L3hJIWDjFOCRzBXlxp3UFx4pRM
Fei49cWJjQx+mYcUzFC9XTTl2E/jmKgsgU1/tUcTu9Lw3i73CaIMSP/6ukddZvb2
0xGBPnnJ
=gi14
-----END PGP SIGNATURE-----

--Q2WS0AVBYc0X94Fn--



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