Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 637646 - =sci-libs/vtk-7.1.0 has block issue when USE="web"
Summary: =sci-libs/vtk-7.1.0 has block issue when USE="web"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on: 612702
Blocks:
  Show dependency tree
 
Reported: 2017-11-16 06:50 UTC by Bernd
Modified: 2017-11-17 18:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,10.15 KB, text/plain)
2017-11-16 06:54 UTC, Bernd
Details
Patch to fix twisted issued (vtk-fix-twisted.patch,847 bytes, patch)
2017-11-16 06:56 UTC, Bernd
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd 2017-11-16 06:50:57 UTC
When I try to install vtk with the web USE flag enabled, vtk wants to pull in dev-python/twisted-core and dev-python/autobahn. Autobahn then wants to pull in dev-python/twisted. Twisted and twisted-core block each other.

artus /etc/portage # emerge -pv vtk::gentoo

These are the packages that would be merged, in order:

Calculating dependencies            ... done!    
[ebuild  N     ] dev-python/twisted-core-13.2.0::gentoo-git  USE="crypt gtk -serial" PYTHON_TARGETS="python2_7" 0 KiB
[ebuild   R    ] sci-libs/vtk-7.1.0::gentoo [7.1.0::gentoo-git] USE="R X boost doc ffmpeg gdal imaging java json kaapi odbc postgres python qt5 rendering tbb tcl theora tk views web xdmf2 -all-modules (-aqua) (-examples) (-mpi) -mysql -offscreen {-test}" PYTHON_TARGETS="python2_7" VIDEO_CARDS="nvidia" 0 KiB
[blocks B      ] dev-python/twisted ("dev-python/twisted" is blocking dev-python/twisted-core-13.2.0)
[blocks B      ] dev-python/twisted-core ("dev-python/twisted-core" is blocking dev-python/twisted-16.6.0-r3)

Total: 2 packages (1 new, 1 reinstall), Size of downloads: 0 KiB
Conflict: 2 blocks (2 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (dev-python/twisted-16.6.0-r3:0/0::gentoo-git, installed) pulled in by
    >=dev-python/twisted-16.0.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] (>=dev-python/twisted-16.0.0[python_targets_python2_7(-),python_targets_python3_4(-),python_targets_python3_5(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)]) required by (www-servers/tornado-4.4.2-r1:0/0::gentoo, installed)
    >=dev-python/twisted-16.6.0-r2[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] (>=dev-python/twisted-16.6.0-r2[python_targets_python2_7(-),python_targets_python3_4(-),python_targets_python3_5(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)]) required by (dev-python/autobahn-17.5.1-r2:0/0::gentoo-git, installed)

  (dev-python/twisted-core-13.2.0:0/0::gentoo-git, ebuild scheduled for merge) pulled in by
    dev-python/twisted-core[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),python_single_target_python2_7(+)] (dev-python/twisted-core[python_targets_python2_7(-),-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),python_single_target_python2_7(+)]) required by (sci-libs/vtk-7.1.0:0/0::gentoo, ebuild scheduled for merge)

By replacing the twisted-core dependency with twisted the package compiles on my machine, but I haven't done extended testing yet, whether there's any runtime issues.

Upon merging the package, bug #612702 still applies, so the fix proposed there, or another measure must be applied as well.
Comment 1 Bernd 2017-11-16 06:54:16 UTC
Created attachment 504474 [details]
emerge --info
Comment 2 Bernd 2017-11-16 06:56:04 UTC
Created attachment 504476 [details, diff]
Patch to fix twisted issued

Patch includes fix from #612702 as well
Comment 3 Larry the Git Cow gentoo-dev 2017-11-17 18:46:50 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c9f39647f523d4757bd0d7d8cf9d2abcf5648f1

commit 2c9f39647f523d4757bd0d7d8cf9d2abcf5648f1
Author:     Bernd Waibel <waebbl@gmail.com>
AuthorDate: 2017-11-16 07:04:07 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2017-11-17 18:39:23 +0000

    sci-libs/vtk: patch to use dev-python/twisted
    
    Depending on dev-python/twisted-core and dev-python/autobahn produces
    a block, because autobahn depends on dev-python/twisted.
    
    Closes: https://bugs.gentoo.org/637646
    Closes: https://bugs.gentoo.org/612702
    Package-Manager: Portage-2.3.14, Repoman-2.3.5
    Closes: https://github.com/gentoo/gentoo/pull/6200

 sci-libs/vtk/vtk-7.1.0.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)