Bug 246487

Summary: textproc/[py-sphinx|py-sphinx18]: Conflicts when not using Poudriere
Product: Ports & Packages Reporter: Danilo G. Baio <dbaio>
Component: Individual Port(s)Assignee: Danilo G. Baio <dbaio>
Status: Closed FIXED    
Severity: Affects Many People CC: brooks, dim
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on: 246500    
Bug Blocks:    
Attachments:
Description Flags
llvm80-sphinx.patch
none
llvm-all-sphinx.patch none

Description Danilo G. Baio freebsd_committer freebsd_triage 2020-05-15 16:45:16 UTC
Report: https://lists.freebsd.org/pipermail/freebsd-ports/2020-May/118535.html

An attempt to compile x11/xorg on a new installation of 12.1 on a Pi3B resulted in a
conflict:

===>  Installing for py37-sphinx18-1.8.5_1,1
===>  Checking if py37-sphinx18 is already installed
===>   Registering installation for py37-sphinx18-1.8.5_1,1 as automatic
Installing py37-sphinx18-1.8.5_1,1...
pkg-static: py37-sphinx18-1.8.5_1,1 conflicts with py37-sphinx-3.0.2,1 (installs files into the same place).  Problematic file: /usr/local/bin/sphinx-apidoc-3.7
Comment 1 Danilo G. Baio freebsd_committer freebsd_triage 2020-05-15 16:48:20 UTC
(In reply to Danilo G. Baio from comment #0)

llvm* ports are using sphinx18 for building DOCS, we can go with two paths here:

- Check and update this dependency from textproc/sphinx18 (v.1.8.X)
  to textproc/sphinx (v3.0.X).

- Remove DOCS option on devel/llvm* ports (Makefile OPTIONS_DEFINE)
Comment 2 Dimitry Andric freebsd_committer freebsd_triage 2020-05-15 20:01:11 UTC
Yeah I'm seeing this too. Newer llvm versions should have no problems building their docs with sphinx 3, but maybe the older ones do. It's unfortunate the two sphinx versions cannot coexist.
Comment 3 Danilo G. Baio freebsd_committer freebsd_triage 2020-05-15 21:37:28 UTC
Created attachment 214537 [details]
llvm80-sphinx.patch

dim@ brooks@:

This fixes devel/llvm80.

https://bugs.llvm.org/show_bug.cgi?id=41789
Comment 4 Danilo G. Baio freebsd_committer freebsd_triage 2020-05-16 00:45:27 UTC
Created attachment 214540 [details]
llvm-all-sphinx.patch

This is my ongoing patch, at least llvm80 and llvm60 are ok, I need to wait for all the builds now.
Comment 5 Dimitry Andric freebsd_committer freebsd_triage 2020-05-16 16:12:37 UTC
It turns out llvm90 needs this too. Not sure about llvm-devel, or any upcoming llvm100 port.
Comment 6 Danilo G. Baio freebsd_committer freebsd_triage 2020-05-16 17:05:44 UTC
Comment on attachment 214540 [details]
llvm-all-sphinx.patch

patch on bug 246500
Comment 7 Danilo G. Baio freebsd_committer freebsd_triage 2020-06-01 11:37:20 UTC
Closing, I didn't see any other issue like this.