Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 437402 - app-office/libreoffice-bin-3.5.5.3 is blocked by app-office/libreoffice-l10n
Summary: app-office/libreoffice-bin-3.5.5.3 is blocked by app-office/libreoffice-l10n
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-06 13:54 UTC by MageSlayer
Modified: 2012-11-02 14:35 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MageSlayer 2012-10-06 13:54:10 UTC
Currently it is not possible to emerge because it requires app-office/libreoffice-l10n. 
app-office/libreoffice-l10n has only versions above 3.5.6. That means app-office/libreoffice-l10n tries to depend on libreoffice.

As a result app-office/libreoffice-bin-3.5.5.3 requires app-office/libreoffice-l10n-3.5.6, which requires libreoffice. And libreoffice blocks libreoffice-bin.

Reproducible: Always
Comment 1 jospezial 2012-10-06 23:01:47 UTC
There is no libreoffice* installed.
On my system app-office/libreoffice-l10n-3.5.6 does not depend on libreoffice if I try to emerge libroffice-bin.

Only if I try to emerge =libreoffice-l10n-3.5.6 then it wants to install libreoffice-3.5.6.2.

I think it is the correct behavior.


Please post the command you did and perhaps the output.
Here is mine:

emerge -vpD libreoffice-bin

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

Calculating dependencies  .. .. .. .... done!
[ebuild  N     ] app-text/libexttextcat-3.3.1  USE="-static-libs" 0 kB
[ebuild  N     ] sci-libs/ufconfig-3.7.0  USE="-static-libs" 0 kB
[ebuild  N     ] dev-db/unixODBC-2.3.1  USE="minimal -odbcmanual -static-libs" 0 kB
[ebuild  N     ] dev-libs/hyphen-2.8.6  USE="-static-libs" 0 kB
[ebuild  N     ] app-text/libwpd-0.9.6  USE="tools -doc {-test}" 0 kB
[ebuild  N     ] app-text/mythes-1.2.3  USE="-static-libs" 0 kB
[ebuild  N     ] app-text/libwpg-0.2.1  USE="-doc -static-libs" 0 kB
[ebuild  N     ] media-fonts/liberation-fonts-2.00.0-r1  USE="X -fontforge" 0 kB
[ebuild  N     ] media-fonts/libertine-ttf-5.1.3.20110615  USE="X" 0 kB
[ebuild  N     ] sci-libs/colamd-2.7.4  USE="-static-libs" 0 kB
[ebuild  N     ] sci-mathematics/lpsolve-5.5.2.0  USE="-static-libs" 0 kB
[ebuild     UD ] net-misc/curl-7.26.0 [7.27.0-r3] USE="idn ipv6 ssh ssl threads -ares% -kerberos -ldap -static-libs {-test} (-adns%) (-metalink%*) (-rtmp%*)" CURL_SSL="openssl -axtls -cyassl -gnutls -nss -polarssl" 0 kB
[ebuild  N     ] dev-java/libreadline-java-0.8.0-r3  USE="-doc -source" 76 kB
[ebuild  N     ] dev-java/junit-3.8.2-r1  USE="-doc -source" 0 kB
[ebuild  N     ] media-gfx/graphite2-1.1.3  USE="-perl {-test}" 0 kB
[ebuild  N     ] dev-java/lucene-analyzers-2.3.2  USE="-source" 4,495 kB
[ebuild  N     ] dev-java/ant-nodeps-1.8.4  0 kB
[ebuild  N     ] dev-java/tomcat-servlet-api-7.0.30  USE="-source" 0 kB
[ebuild  N     ] media-libs/libvisio-0.0.19  USE="-doc -static-libs" 0 kB
[ebuild  N     ] dev-cpp/libcmis-0.1.0-r1  USE="-static-libs {-test}" 0 kB
[ebuild  N     ] app-text/libwps-0.2.7  USE="-debug -doc -static-libs" 0 kB
[ebuild  N     ] dev-java/javacc-5.0-r1  USE="-doc -examples -source {-test}" 792 kB
[ebuild  N     ] java-virtuals/servlet-api-3.0-r1  0 kB
[ebuild  N     ] dev-java/bsh-2.0_beta4-r4  USE="readline -bsf -doc -source" 0 kB
[ebuild  N     ] dev-java/lucene-2.9.4  USE="-doc -source {-test}" 12,202 kB
[ebuild  N     ] app-office/libreoffice-bin-3.5.5.3  USE="cups java kde (-aqua) -debug -gnome" 79,698 kB
[ebuild  N     ] app-office/libreoffice-l10n-3.5.6  USE="-offlinehelp" LINGUAS="de -af -ar -as -ast -be -bg -bn -bo -br -brx -bs -ca -ca_XV -cs -cy -da -dgo -dz -el -en -en_GB -en_ZA -eo -es -et -eu -fa -fi -fr -ga -gd -gl -gu -he -hi -hr -hu -id -is -it -ja -ka -kk -km -kn -ko -kok -ks -ku -lb -lo -lt -lv -mai -mk -ml -mn -mni -mr -my -nb -ne -nl -nn -nr -nso -oc -om -or -pa_IN -pl -pt -pt_BR -ro -ru -rw -sa_IN -sat -sd -sh -si -sk -sl -sq -sr -ss -st -sv -sw_TZ -ta -te -tg -th -tn -tr -ts -tt -ug -uk -uz -ve -vi -xh -zh_CN -zh_TW -zu" 0 kB

Total: 27 packages (1 downgrade, 26 new), Size of downloads: 97,260 kB
Comment 2 MageSlayer 2012-10-07 06:41:26 UTC
(In reply to comment #1)

The same for me - neither libreoffice, nor libreoffice-bin are installed.
Though:
$ cave resolve --lazy app-office/libreoffice-bin
Deciding: 2 steps

These are the actions I will take, in order:

n   app-office/libreoffice-l10n:0::gentoo 3.5.6 to ::installed
    "Translations for the Libreoffice suite."
    -offlinehelp LINGUAS: -af -ar -as -ast -be -bg -bn -bo -br -brx -bs -ca -ca_XV -cs -cy -da -de -dgo -dz -el en -en_GB -en_ZA -eo -es -et -e
u -fa -fi -fr -ga -gd -gl -gu -he -hi -hr -hu -id -is -it -ja -ka -kk -km -kn -ko -kok -ks -ku -lb -lo -lt -lv -mai -mk -ml -mn -mni -mr -my -n
b -ne -nl -nn -nr -nso -oc -om -or -pa_IN -pl -pt -pt_BR -ro ru -rw -sa_IN -sat -sd -sh -si -sk -sl -sq -sr -ss -st -sv -sw_TZ -ta -te -tg -th-
tn -tr -ts -tt -ug -uk -uz -ve -vi -xh -zh_CN -zh_TW -zu build_options: -optional_tests -trace work=tidyup                                    
    Reasons: app-office/libreoffice-bin-3.5.5.3:0::gentoo
    2.64 MBytes to download
u   app-text/libexttextcat:0::gentoo 3.3.1 to ::installed replacing 3.2.0
    -static-libs build_options: symbols=strip -optional_tests -trace work=tidyup
    Reasons: app-office/libreoffice-bin-3.5.5.3:0::gentoo
    964.91 kBytes to download
n   dev-cpp/libcmis:0.2::gentoo 0.1.0-r1 to ::installed
    "C++ client library for the CMIS interface"
    -static-libs (-test) build_options: symbols=strip (-optional_tests) -trace work=tidyup
    Reasons: app-office/libreoffice-bin-3.5.5.3:0::gentoo
n   app-office/libreoffice-bin:0::gentoo 3.5.5.3 to ::installed
    "LibreOffice, a full office productivity suite. Binary package."
    (-aqua) cups -debug -gnome -java -kde build_options: (-optional_tests) -trace work=tidyup
    Reasons: target
    71.65 MBytes to download

Total: 1 upgrades, 3 new installs, 75.23 MBytes to download

I encountered the following errors:

!   app-office/libreoffice
    Reasons: !app-office/libreoffice from app-office/libreoffice-bin-3.5.5.3:0::gentoo, app-office/libreoffice-l10n-3.5.6:0::gentoo
    Unsuitable candidates:
      * app-office/libreoffice-3.5.6.2:0::gentoo
        Did not meet !app-office/libreoffice, use existing if possible, installing to / (nothing is fine too) from !app-office/libreoffice from
 app-office/libreoffice-bin-3.5.5.3:0::gentoo                                                                                                 
      * app-office/libreoffice-3.6.2.2:0::gentoo
        Masked by keyword
            Keywords ~amd64 ~amd64-linux ~ppc ~x86 ~x86-linux
        Did not meet !app-office/libreoffice, use existing if possible, installing to / (nothing is fine too) from !app-office/libreoffice from
 app-office/libreoffice-bin-3.5.5.3:0::gentoo                                                                                                 
      * app-office/libreoffice-3.6.9999:0::gentoo
        Masked by keyword
            Keywords 
        Did not meet !app-office/libreoffice, use existing if possible, installing to / (nothing is fine too) from !app-office/libreoffice from
 app-office/libreoffice-bin-3.5.5.3:0::gentoo                                                                                                 
      * app-office/libreoffice-9999-r2:0::gentoo
        Masked by keyword
            Keywords 
        Did not meet !app-office/libreoffice, use existing if possible, installing to / (nothing is fine too) from !app-office/libreoffice from
 app-office/libreoffice-bin-3.5.5.3:0::gentoo

I reckon this might be because of the following directive in app-office/libreoffice-l10n ebuild.

RDEPEND+="
	|| (
		>=app-office/libreoffice-$(get_version_component_range 1-2 ${MY_PV})
		>=app-office/libreoffice-bin-$(get_version_component_range 1-2 ${MY_PV})
	)
"
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2012-10-10 12:57:33 UTC
The l10n requires this:
RDEPEND="|| ( >=lo-3.5 >=lo-bin-3.5 )"
# the dep is >= as we want to cover live version from time to time

the bin requires this:
PDEPEND="=app-office/libreoffice-l10n-3.5*"

So any ideas what is the problem for cave there?
Comment 4 MageSlayer 2012-10-11 17:49:43 UTC
(In reply to comment #3)
> So any ideas what is the problem for cave there?

Well. I am pretty sure the problem is with 

RDEPEND+="
	|| (
		>=app-office/libreoffice-$(get_version_component_range 1-2 ${MY_PV})
		>=app-office/libreoffice-bin-$(get_version_component_range 1-2 ${MY_PV})
	)
"

It causes a dependency on libreoffice-3.5.6 as libreoffice-bin-3.5.6 does not exist in portage.
I commented those lines in app-office/libreoffice-l10n-3.5.6 and libreoffice-bin emerged successfully.

So the problem is not in cave/paludis, but in the ebuild dependencies.
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2012-10-11 17:57:22 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > So any ideas what is the problem for cave there?
> 
> Well. I am pretty sure the problem is with 
> 
> RDEPEND+="
> 	|| (
> 		>=app-office/libreoffice-$(get_version_component_range 1-2 ${MY_PV})
> 		>=app-office/libreoffice-bin-$(get_version_component_range 1-2 ${MY_PV})
> 	)
> "
> 
> It causes a dependency on libreoffice-3.5.6 as libreoffice-bin-3.5.6 does
> not exist in portage.
> I commented those lines in app-office/libreoffice-l10n-3.5.6 and
> libreoffice-bin emerged successfully.
> 
> So the problem is not in cave/paludis, but in the ebuild dependencies.

Again what is the problem there
that code translated to what I said.

RDEPEND="|| ( >=lo-3.5 >=lo-bin-3.5 )"

Which is sattisfied by any darn version in cvs that starts newer than 3.5
Comment 6 MageSlayer 2012-10-11 18:16:30 UTC
(In reply to comment #5)

> Again what is the problem there
> that code translated to what I said.
> 
> RDEPEND="|| ( >=lo-3.5 >=lo-bin-3.5 )"
> 
> Which is sattisfied by any darn version in cvs that starts newer than 3.5

Looks like I am wrong here.
Changing RDEPEND to 
RDEPEND+="                                                                            || (                                                                                     >=app-office/libreoffice-bin-$(get_version_component_range 1-2 ${MY_PV})                                                                    
    >=app-office/libreoffice-$(get_version_component_range 1-2 ${MY_PV})                                                                        
)                                                                                 "
succeeds. So it seems cave has some troubles parsing || dependencies.
Sorry for noise.
I'll let me know about that.
Comment 7 Tomáš Chvátal (RETIRED) gentoo-dev 2012-11-02 14:35:47 UTC
Okey as it is paludis issue closing as cantfix for now.