Bug 253283 - devel/llvm-devel: fails to install when multiple versions of python3 exist
Summary: devel/llvm-devel: fails to install when multiple versions of python3 exist
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Brooks Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-06 02:28 UTC by Tatsuki Makino
Modified: 2021-05-04 03:36 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (brooks)


Attachments
poudriere log (287.62 KB, application/x-xz)
2021-03-15 03:46 UTC, Tatsuki Makino
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tatsuki Makino 2021-02-06 02:28:31 UTC
Installation fails in an environment where python37 and python38 are installed and "make -C /usr/ports/devel/llvm-devel/ -V PYTHON3_DEFAULT" is 3.7.

===>  Installing for llvm-devel-12.0.d20201027                                  
===>  Checking if llvm-devel is already installed                               
===>   Registering installation for llvm-devel-12.0.d20201027 as automatic      
pkg-static: Unable to access file /var/tmp/ports/work/usr/ports/devel/llvm-devel
/work/stage/usr/local/llvm-devel/lib/python3.7/site-packages/lldb/__init__.py:No
 such file or directory

The stage contains work/stage/usr/local/llvm-devel/lib/python3.8/site-packages/lldb.
It does not occur in devel/llvm11.
Comment 1 Tatsuki Makino 2021-03-15 03:46:35 UTC
Created attachment 223279 [details]
poudriere log

If a log-like FETCH_DEPENDS=python3.8:lang/python38 is written to /usr/local/etc/poudriere.d/make.conf, it can be easily reproduced by poudriere.
Comment 2 Tatsuki Makino 2021-05-04 03:36:30 UTC
Since the default version of python is now 3.8, this will not be reproducible for a while.
Until now, graphics/blender has USES=python:3.8, so there was an environment where python37 and python38 were installed at the same time.
If a port with USES=python:3.9 appears, it is expected to reproduce again.