Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 621240 - sci-mathematics/octave-4.2.1 and app-text/texlive-2017 Version conflict
Summary: sci-mathematics/octave-4.2.1 and app-text/texlive-2017 Version conflict
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
: 621262 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-06-08 17:45 UTC by Juergen Rose
Modified: 2017-06-11 11:23 UTC (History)
4 users (show)

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


Attachments
The attached ebuild does not depend on texlive-genericrecommended but nevertheless works with the doc USE flag. (octave-4.2.1.ebuild,4.61 KB, text/plain)
2017-06-10 17:59 UTC, Juergen Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2017-06-08 17:45:57 UTC
'emerge -uvND --backtrack=30 --keep-going world' fails with:

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

  (dev-texlive/texlive-genericrecommended-2016:0/0::gentoo, ebuild scheduled for merge) pulled in by
    dev-texlive/texlive-genericrecommended required by (sci-mathematics/octave-4.2.1:0/4.2.1::gentoo, ebuild scheduled for merge)

  (dev-texlive/texlive-plaingeneric-2017:0/0::gentoo, ebuild scheduled for merge) pulled in by
    dev-texlive/texlive-plaingeneric required by (dev-tex/glossaries-4.12-r1:0/0::gentoo, ebuild scheduled for merge)
    dev-texlive/texlive-plaingeneric required by (dev-tex/latexdiff-1.2.0-r1:0/0::gentoo, ebuild scheduled for merge)
    dev-texlive/texlive-plaingeneric required by (virtual/texi2dvi-0:0/0::gentoo, ebuild scheduled for merge)
    >=dev-texlive/texlive-plaingeneric-2017 required by (dev-texlive/texlive-pstricks-2017:0/0::gentoo, ebuild scheduled for merge)
    >=dev-texlive/texlive-plaingeneric-2017 required by (app-text/texlive-2017:0/0::gentoo, ebuild scheduled for merge)
    dev-texlive/texlive-plaingeneric required by (app-text/jadetex-3.13-r7:0/0::gentoo, ebuild scheduled for merge)
Comment 1 Jonas Stein gentoo-dev 2017-06-09 00:08:05 UTC
Could you please provide your use flags regarding these packages?
Comment 2 Juergen Rose 2017-06-09 11:12:35 UTC
root@lynx:/etc(44)# emerge -pv1 =texlive-2017 octave

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

Calculating dependencies... done!
[ebuild     U  ] app-text/texlive-core-2017::gentoo [2016-r5::gentoo] USE="X doc luajittex tk xetex -cjk -source" 0 KiB
...
[ebuild  N     ] sci-mathematics/octave-4.2.1:0/4.2.1::gentoo  USE="X curl doc fftw glpk gnuplot gui hdf5 imagemagick java opengl portaudio postscript qhull qrupdate readline sndfile sparse zlib -graphicsmagick -openssl -static-libs" 0 KiB
Comment 3 Juergen Rose 2017-06-09 11:16:42 UTC
octave-4.2.1.ebuild depends via doc USE flag on 		dev-texlive/texlive-genericrecommended .
Comment 4 gerion 2017-06-09 23:58:42 UTC
*** Bug 621262 has been marked as a duplicate of this bug. ***
Comment 5 Juergen Rose 2017-06-10 17:59:48 UTC
Created attachment 475934 [details]
The attached ebuild does not depend on texlive-genericrecommended but nevertheless works with the doc USE flag.
Comment 6 David Seifert gentoo-dev 2017-06-10 18:04:53 UTC
(In reply to Juergen Rose from comment #5)
> Created attachment 475934 [details]
> The attached ebuild does not depend on texlive-genericrecommended but
> nevertheless works with the doc USE flag.

Are you sure you've upgraded texlive? texlive contains hard (!!) blockers, which currently still require manual user intervention to solve.
Comment 7 gerion 2017-06-10 18:29:30 UTC
@Juergen Rose: If I see it right, the attached ebuild only removes the line, so this merges. But I assume, that you have still texlive installed and also have texlive-plaingeneric installed.

The question is, whether octave without texlive-plaingeneric (which seems to replace texlive-genericrecommended) and the doc useflag enabled works as wanted or if texlive-plaingeneric is the new dependency.

@David Seifert: It is possible to install texlive 2017 without any user interaction, if you have disabled the doc useflag in octave and remerge octave before. The upgrade uninstall some other texlive packages (at least with the packages I have installed).
Comment 8 Juergen Rose 2017-06-10 18:32:18 UTC
(In reply to David Seifert from comment #6)
> (In reply to Juergen Rose from comment #5)
> > Created attachment 475934 [details]
> > The attached ebuild does not depend on texlive-genericrecommended but
> > nevertheless works with the doc USE flag.
> 
> Are you sure you've upgraded texlive? texlive contains hard (!!) blockers,
> which currently still require manual user intervention to solve.

I thought that I have the current texlive:

root@lynx:/root(43)# qlist -Iv texlive
app-text/texlive-2017
app-text/texlive-core-2017-r1
dev-texlive/texlive-basic-2017
dev-texlive/texlive-bibtexextra-2017
dev-texlive/texlive-fontsextra-2017
dev-texlive/texlive-fontsrecommended-2017
dev-texlive/texlive-fontutils-2017
dev-texlive/texlive-formatsextra-2017
dev-texlive/texlive-langcyrillic-2017
dev-texlive/texlive-langenglish-2017
dev-texlive/texlive-langfrench-2017
dev-texlive/texlive-langgerman-2017
dev-texlive/texlive-latex-2017
dev-texlive/texlive-latexextra-2017
dev-texlive/texlive-latexrecommended-2017
dev-texlive/texlive-mathscience-2017
dev-texlive/texlive-metapost-2017
dev-texlive/texlive-pictures-2017
dev-texlive/texlive-plaingeneric-2017
dev-texlive/texlive-pstricks-2017
dev-texlive/texlive-xetex-2017

root@lynx:/root(44)# qlist -Iv texlive-genericrecommended

root@lynx:/root(45)# emerge -v1 octave

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

Calculating dependencies... done!
[ebuild   R    ] sci-mathematics/octave-4.2.1:0/4.2.1::local  USE="X curl doc fftw glpk gnuplot gui hdf5 imagemagick java opengl portaudio postscript qhull qrupdate readline sndfile sparse zlib -graphicsmagick -openssl -static-libs" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sci-mathematics/octave-4.2.1::local
 * octave-4.2.1.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                        [ ok ]
 * Using: icedtea-7
...

This comes succesfully to the end. I can start octave and access the documentation:

ose@lynx:/home/rose/Txt/lectures/BIC/Studienkolleg/2017(9)$ octave --no-gui -V
GNU Octave, version 4.2.1
Copyright (C) 2017 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-pc-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/get-involved.html

Read http://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

executing commands from /usr/share/octave/site/m/startup/octaverc ... done.
executing commands from /usr/share/octave/4.2.1/m/startup/octaverc ... done.

octave:1> doc
octave:2>
Comment 9 Juergen Rose 2017-06-10 18:33:18 UTC
(In reply to gerion from comment #7)
> @Juergen Rose: If I see it right, the attached ebuild only removes the line,
> so this merges. But I assume, that you have still texlive installed and also
> have texlive-plaingeneric installed.
> 
> The question is, whether octave without texlive-plaingeneric (which seems to
> replace texlive-genericrecommended) and the doc useflag enabled works as
> wanted or if texlive-plaingeneric is the new dependency.

You are right.
Comment 10 Alexis Ballier gentoo-dev 2017-06-11 11:23:04 UTC
should be fixed now, thanks

commit 80ad06020a3f76ef0e6b76cb6507351674632a52 (HEAD -> master, origin/master, origin/HEAD)
Author: Alexis Ballier <aballier@gentoo.org>
Date:   Sun Jun 11 13:22:01 2017 +0200

    sci-mathematics/octave: Adapt deps for texlive 2017, bug #621240