Bug 253283

Summary: devel/llvm-devel: fails to install when multiple versions of python3 exist
Product: Ports & Packages Reporter: Tatsuki Makino <tatsuki_makino>
Component: Individual Port(s)Assignee: Brooks Davis <brooks>
Status: New ---    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (brooks)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248488
Description Flags
poudriere log none

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
 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.