Bug 240429 - devel/llvm80 depends on python3.6
Summary: devel/llvm80 depends on python3.6
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: powerpc Any
: --- Affects Only Me
Assignee: Brooks Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-09 00:11 UTC by Dennis Clarke
Modified: 2019-09-16 11:59 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Clarke 2019-09-09 00:11:37 UTC
Similar to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239619

On 13.0-CURRENT r351523 llvm80 fails as a dependency of 
graphics/wayland-protocols where we see : 

.
.
.
 install  -m 0644  unstable/pointer-gestures/pointer-gestures-unstable-v1.xml '/usr/ports/graphics/wayland-protocols/work/stage/usr/local/share/wayland-protocols/unstable/pointer-gestures'
====> Compressing man pages (compress-man)
===>  Installing for wayland-protocols-1.17
===>  Checking if wayland-protocols is already installed
===>   Registering installation for wayland-protocols-1.17 as automatic
Installing wayland-protocols-1.17...
===>   mesa-libs-18.3.2_1 depends on package: wayland-protocols>=1.8 - found
===>   Returning to build of mesa-libs-18.3.2_1
===>   mesa-libs-18.3.2_1 depends on file: /usr/local/libdata/pkgconfig/pthread-stubs.pc - found
===>   mesa-libs-18.3.2_1 depends on executable: bison - found
===>   mesa-libs-18.3.2_1 depends on executable: msgfmt - found
===>   mesa-libs-18.3.2_1 depends on executable: gmake - found
===>   mesa-libs-18.3.2_1 depends on package: pkgconf>=1.3.0_1 - found
===>   mesa-libs-18.3.2_1 depends on file: /usr/local/bin/python2.7 - found
===>   mesa-libs-18.3.2_1 depends on package: llvm80>=3.9.0_4 - not found
===>  llvm80-8.0.1_3 needs Python 3.6 at least, but 2.7 was specified.
*** Error code 1

Stop.
make[18]: stopped in /usr/ports/devel/llvm80
*** Error code 1

Stop.
make[17]: stopped in /usr/ports/graphics/mesa-libs
*** Error code 1

Stop.
make[16]: stopped in /usr/ports/graphics/mesa-libs
*** Error code 1

Stop.
make[15]: stopped in /usr/ports/graphics/cairo
*** Error code 1

Stop.
make[14]: stopped in /usr/ports/graphics/cairo
*** Error code 1

Stop.
make[13]: stopped in /usr/ports/devel/gobject-introspection
*** Error code 1

Stop.
make[12]: stopped in /usr/ports/net/avahi-app
*** Error code 1

Stop.
make[11]: stopped in /usr/ports/print/cups
*** Error code 1

Stop.
make[10]: stopped in /usr/ports/print/cups
*** Error code 1

Stop.
make[9]: stopped in /usr/ports/print/ghostscript9-agpl-base
*** Error code 1

Stop.
make[8]: stopped in /usr/ports/print/ghostscript9-agpl-base
*** Error code 1

Stop.
make[7]: stopped in /usr/ports/textproc/groff
*** Error code 1

Stop.
make[6]: stopped in /usr/ports/textproc/groff
*** Error code 1

Stop.
make[5]: stopped in /usr/ports/graphics/graphviz
*** Error code 1

Stop.
make[4]: stopped in /usr/ports/graphics/graphviz
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/devel/doxygen
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/devel/doxygen
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/lang/ruby25
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/ruby25
hydra# 

Thus it fails the build and install of lang/ruby25 which is
needed for ports-mgmt/portupgrade 2.4.16.

So this is a show stopper.

There is no make.conf on this machine : 

hydra# ls -lapb /etc/make.conf 
ls: /etc/make.conf: No such file or directory
hydra# 

Meanwhile on 12.0-RELEASE-p10 FreeBSD amd64 we see : 

vesta# uname -apKU
FreeBSD vesta 12.0-RELEASE-p10 FreeBSD 12.0-RELEASE-p10 GENERIC  amd64 amd64 1200086 1200086
vesta# 
vesta# cat /etc/make.conf 
DEFAULT_VERSIONS+=ssl=openssl111
DEFAULT_VERSIONS+=perl5=5.28
DEFAULT_VERSIONS+=python=3.7
vesta# 

Here multiple flavours of Python need to co-exist in order for various
packages to work : 

vesta# pkg query %t\ %n\ %v\ %o | grep ' py'
1563108377 py27-Babel 2.7.0 devel/py-babel
1563108983 py27-CommonMark 0.9.0 textproc/py-CommonMark
1563108381 py27-Jinja2 2.10.1 devel/py-Jinja2
1563108344 py27-MarkupSafe 1.1.1 textproc/py-MarkupSafe
1563108462 py27-alabaster 0.7.6 textproc/py-alabaster
1563108721 py27-asn1crypto 0.24.0 devel/py-asn1crypto
1563108908 py27-certifi 2019.6.16 security/py-certifi
1563108694 py27-cffi 1.12.3 devel/py-cffi
1563108631 py27-chardet 3.0.4_1 textproc/py-chardet
1563108869 py27-cryptography 2.6.1 security/py-cryptography
1563108573 py27-cython 0.29_1 lang/cython
1563108394 py27-docutils 0.14_4 textproc/py-docutils
1563108848 py27-enum34 1.1.6 devel/py-enum34
1564157550 py27-funcsigs 1.0.2 devel/py-funcsigs
1563108981 py27-future 0.17.1_1 devel/py-future
1563108643 py27-idna 2.8 dns/py-idna
1563108862 py27-ipaddress 1.0.22 net/py-ipaddress
1567909816 py27-olefile 0.46 devel/py-olefile
1563108883 py27-openssl 18.0.0 security/py-openssl
1567909819 py27-pillow 6.0.0_2 graphics/py-pillow
1563108692 py27-pycparser 2.19 devel/py-pycparser
1563108435 py27-pygments 2.4.1 textproc/py-pygments
1563108896 py27-pysocks 1.7.0 net/py-pysocks
1563108580 py27-pystemmer 1.3.0_2 textproc/py-pystemmer
1563108629 py27-pytest-runner 2.11.1 devel/py-pytest-runner
1563108372 py27-pytz 2019.1,1 devel/py-pytz
1563108986 py27-recommonmark 0.5.0_1 textproc/py-recommonmark
1563108910 py27-requests 2.21.0 www/py-requests
1563106344 py27-setuptools 41.0.1 devel/py-setuptools
1563108626 py27-setuptools_scm 3.3.3 devel/py-setuptools_scm
1563108406 py27-six 1.12.0 devel/py-six
1563108939 py27-sphinx 1.6.5_2,1 textproc/py-sphinx
1563108449 py27-sphinx_rtd_theme 0.4.3 textproc/py-sphinx_rtd_theme
1563108420 py27-sphinxcontrib-websupport 1.1.2 textproc/py-sphinxcontrib-websupport
1567909796 py27-tkinter 2.7.16_6 x11-toolkits/py-tkinter
1567884884 py27-typing 3.7.4 devel/py-typing
1563108909 py27-urllib3 1.22,1 net/py-urllib3
1563105361 py37-Babel 2.7.0 devel/py-babel
1567905477 py37-CommonMark 0.9.0 textproc/py-CommonMark
1563105365 py37-Jinja2 2.10.1 devel/py-Jinja2
1563105221 py37-MarkupSafe 1.1.1 textproc/py-MarkupSafe
1563105673 py37-alabaster 0.7.6 textproc/py-alabaster
1563106164 py37-asn1crypto 0.24.0 devel/py-asn1crypto
1567885100 py37-beaker 1.11.0 www/py-beaker
1563106264 py37-certifi 2019.6.16 security/py-certifi
1563106110 py37-cffi 1.12.3 devel/py-cffi
1563106019 py37-chardet 3.0.4_1 textproc/py-chardet
1563106170 py37-cryptography 2.6.1 security/py-cryptography
1563105941 py37-cython 0.29_1 lang/cython
1567884368 py37-docutils 0.15.2 textproc/py-docutils
1567905475 py37-future 0.17.1_1 devel/py-future
1563106037 py37-idna 2.8 dns/py-idna
1567884036 py37-imagesize 1.1.0 graphics/py-imagesize
1563200820 py37-libxml2 2.9.9 textproc/py-libxml2
1567897677 py37-mako 1.0.14 textproc/py-mako
1564160295 py37-olefile 0.46 devel/py-olefile
1567884847 py37-openssl 19.0.0 security/py-openssl
1567885059 py37-pillow 6.0.0_2 graphics/py-pillow
1563102907 py37-ply 3.11 devel/py-ply
1563106104 py37-pycparser 2.19 devel/py-pycparser
1563105645 py37-pygments 2.4.1 textproc/py-pygments
1563106248 py37-pysocks 1.7.0 net/py-pysocks
1563105959 py37-pystemmer 1.3.0_2 textproc/py-pystemmer
1563106015 py37-pytest-runner 2.11.1 devel/py-pytest-runner
1567883968 py37-pytz 2019.2,1 devel/py-pytz
1567905480 py37-recommonmark 0.5.0_1 textproc/py-recommonmark
1563106266 py37-requests 2.21.0 www/py-requests
1567882554 py37-setuptools 41.2.0 devel/py-setuptools
1563106013 py37-setuptools_scm 3.3.3 devel/py-setuptools_scm
1563105611 py37-six 1.12.0 devel/py-six
1567884919 py37-snowballstemmer 1.2.1 textproc/py-snowballstemmer
1563106293 py37-sphinx 1.6.5_2,1 textproc/py-sphinx
1563105660 py37-sphinx_rtd_theme 0.4.3 textproc/py-sphinx_rtd_theme
1563105628 py37-sphinxcontrib-websupport 1.1.2 textproc/py-sphinxcontrib-websupport
1564160259 py37-tkinter 3.7.4_6 x11-toolkits/py-tkinter
1563106250 py37-urllib3 1.22,1 net/py-urllib3
1563106337 python27 2.7.16_1 lang/python27
1564855429 python36 3.6.9 lang/python36
1564157202 python37 3.7.4 lang/python37

What really is needed for llvm80 and in turn ports-mgmt/portupgrade and
is there a plan to sort out this Python version disaster ?


-- 
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional
Comment 1 Brooks Davis freebsd_committer 2019-09-09 13:16:02 UTC
At a guess the system this is failing on has no python3 version installed as python was installed prior to the DEFAULT_VERSION change to 3.6.  I don't know why the dependency system what I'd expect and installing lang/python36 here.
Comment 2 Alfredo Dal'Ava Júnior 2019-09-09 16:26:41 UTC
This is similar to: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237795 and there's discussion there.