Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED][PALUDIS]: how to install libreoffice using paludis?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
are
Apprentice
Apprentice


Joined: 03 Jan 2006
Posts: 188

PostPosted: Mon Apr 02, 2012 1:59 am    Post subject: [SOLVED][PALUDIS]: how to install libreoffice using paludis? Reply with quote

Code:
sudo cave resolve libreoffice -L "*/*" --lazy


Code:
These are the actions I will take, in order:

n   app-text/libexttextcat:0::gentoo 3.2.0 to ::installed
    "Library implementing N-gram-based text categorization"
    -static-libs build_options: symbols=split -optional_tests -trace -preserve_work
    Reasons: app-office/libreoffice
    844.20 kBytes to download
n   app-crypt/mhash:0::gentoo 0.9.9.9-r1 to ::installed
    "library providing a uniform interface to a large number of hash algorithms"
    -static-libs build_options: symbols=split -optional_tests -trace -preserve_work
    Reasons: dev-libs/rasqal
n   dev-util/mdds:0::gentoo 0.5.3-r1 to ::installed
    "A collection of multi-dimensional data structure and indexing algorithm"
    build_options: symbols=split -optional_tests -trace -preserve_work
    Reasons: app-office/libreoffice
    89.89 kBytes to download
n   app-text/libwps:0::gentoo 0.2.4 to ::installed
    "Microsoft Works file word processor format import filter library"
    -debug -doc -static-libs build_options: symbols=split -optional_tests -trace -preserve_work
    Reasons: app-office/libreoffice
    265.41 kBytes to download
n   app-text/mythes:0::gentoo 1.2.2 to ::installed
    "A simple thesaurus for Libreoffice"
    -static-libs build_options: symbols=split -optional_tests -trace -preserve_work
    Reasons: app-office/libreoffice
    4.68 MBytes to download
n   media-libs/sampleicc:0::gentoo 1.6.6 to ::installed
    "C++ library for reading, writing, manipulating, and applying ICC profiles"
    -static-libs build_options: symbols=split -optional_tests -trace -preserve_work
    Reasons: app-office/libreoffice
    645.45 kBytes to download
n   sci-libs/ufconfig:0::gentoo 3.7.0 to ::installed
    "Common configuration scripts for the SuiteSparse libraries"
    -static-libs build_options: symbols=split -optional_tests -trace -preserve_work
    Reasons: sci-libs/colamd
    8.36 kBytes to download
n   media-libs/raptor:2::gentoo 2.0.7 to ::installed [cycle 1]
    "The RDF Parser Toolkit"
    curl -debug -json -static-libs unicode build_options: symbols=split -optional_tests -trace -preserve_work
    Reasons: !<media-libs/raptor-1.4.21-r1 from media-libs/raptor, dev-libs/rasqal, dev-libs/redland
    1.57 MBytes to download
    Self dependent (already met)
n   dev-libs/rasqal:0::gentoo 0.9.28 to ::installed
    "library that handles Resource Description Framework (RDF)"
    crypt -doc -gmp mhash pcre -static-libs xml (-test) build_options: symbols=split -optional_tests -trace -preserve_work
    Reasons: dev-libs/redland
    1.44 MBytes to download
n   dev-cpp/libcmis:0::gentoo 0.1.0 to ::installed
    "C++ client library for the CMIS interface"
    -static-libs (-test) build_options: symbols=split (-optional_tests) -trace -preserve_work
    Reasons: app-office/libreoffice
    364.68 kBytes to download
n   dev-util/cppunit:0::gentoo 1.12.1-r1 to ::installed
    "C++ port of the famous JUnit framework for unit testing"
    -doc -examples -static-libs build_options: symbols=split -optional_tests -trace -preserve_work
    Reasons: app-office/libreoffice
    744.92 kBytes to download
n   media-libs/libvisio:0::gentoo 0.0.15 to ::installed
    "Library parsing the visio documents"
    -doc -static-libs build_options: symbols=split -optional_tests -trace -preserve_work
    Reasons: app-office/libreoffice
    310.29 kBytes to download
n   sci-libs/colamd:0::gentoo 2.7.4 to ::installed
    "Column approximate minimum degree ordering algorithm"
    -static-libs build_options: symbols=split (-optional_tests) -trace -preserve_work
    Reasons: sci-mathematics/lpsolve
    53.95 kBytes to download
n   sci-mathematics/lpsolve:0::gentoo 5.5.2.0 to ::installed
    "Mixed Integer Linear Programming (MILP) solver"
    -static-libs build_options: symbols=split -optional_tests -trace -preserve_work
    Reasons: app-office/libreoffice
n   dev-libs/redland:0::gentoo 1.0.15 to ::installed
    "High-level interface for the Resource Description Framework"
    berkdb -iodbc -mysql -odbc -postgres sqlite ssl -static-libs xml build_options: symbols=split -optional_tests -trace -preserve_work
    Reasons: app-office/libreoffice
    1.53 MBytes to download
n   dev-db/unixODBC:0::gentoo 2.3.1 to ::installed
    "A complete ODBC driver manager"
    minimal -odbcmanual -static-libs build_options: symbols=split -optional_tests -trace -preserve_work
    Reasons: app-office/libreoffice
    1.73 MBytes to download
[color=red]n   virtual/ooo:0::gentoo 0 to ::installed
    "Virtual for OpenOffice.org/LibreOffice"
    build_options: symbols=split -optional_tests -trace -preserve_work
    Reasons: app-office/libreoffice-l10n[/color]
n   media-fonts/liberation-fonts:0::gentoo 1.07.2 to ::installed
    "A GPL-2 Helvetica/Times/Courier replacement TrueType font set, courtesy of Red Hat"
    X fontforge build_options: symbols=split -optional_tests -trace -preserve_work
    Reasons: app-office/libreoffice
    2.79 MBytes to download
n   media-fonts/libertine-ttf:0::gentoo 5.1.3.20110615 to ::installed
    "OpenType fonts from the Linux Libertine Open Fonts Project"
    X build_options: symbols=split -optional_tests -trace -preserve_work
    Reasons: app-office/libreoffice
    15.05 MBytes to download
n   app-office/libreoffice:0::gentoo 3.5.2.2 to ::installed [cycle 2]
    "LibreOffice, a full office productivity suite."
    (-aqua) -binfilter branding cups dbus -eds -gnome -graphite -gstreamer gtk -java -jemalloc -kde -mysql -nlpsolver -nsplugin -odk opengl -pdfimport -postgres svg -vba -webdav xmlsec (-test) build_options: symbols=split -optional_tests -trace -preserve_work
    Reasons: target, !=app-office/libreoffice-3.4.9999-r1 from app-office/libreoffice-l10n, !=app-office/libreoffice-9999-r1 from app-office/libreoffice-l10n, app-office/libreoffice-l10n
    112.36 MBytes to download
    In run dependency cycle with: app-office/libreoffice:0, app-office/libreoffice-l10n:0 in dependency cycle with app-office/libreoffice:0, app-office/libreoffice-l10n:0
n   app-office/libreoffice-l10n:0::gentoo 3.5.1-r1 to ::installed [cycle 2]
    "Translations for the Libreoffice suite."
    -offlinehelp -templates 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 -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 build_options: -optional_tests -trace -preserve_work
    Reasons: app-office/libreoffice
    9.65 MBytes to download

Total: 21 new installs, 154.05 MBytes to download


Code:
[color=red]I encountered the following errors:

!   app-office/libreoffice-bin
    Reasons: !app-office/libreoffice-bin from app-office/libreoffice, virtual/ooo
    Unsuitable candidates:
      * app-office/libreoffice-bin-3.3.1:0::layman (in ::wish)
        Masked by unavailable (In a repository which is unavailable)
        Did not meet !app-office/libreoffice-bin, use existing if possible, installing to / (nothing is fine too) from !app-office/libreoffice-bin from app-office/libreoffice
      * app-office/libreoffice-bin-3.3.4:0::gentoo
        Did not meet !app-office/libreoffice-bin, use existing if possible, installing to / (nothing is fine too) from !app-office/libreoffice-bin from app-office/libreoffice
      * app-office/libreoffice-bin-3.4.3-r2:0::layman (in ::scrill)
        Masked by unavailable (In a repository which is unavailable)
        Did not meet !app-office/libreoffice-bin, use existing if possible, installing to / (nothing is fine too) from !app-office/libreoffice-bin from app-office/libreoffice
      * app-office/libreoffice-bin-3.4.5.2-r1:0::gentoo
        Did not meet !app-office/libreoffice-bin, use existing if possible, installing to / (nothing is fine too) from !app-office/libreoffice-bin from app-office/libreoffice[/color]


Why, how to resolve?
Is it related to virtual/ooo, pulled before libreoffice itself?

PS: is it just me, or is paludis more often failing/problematic these days? I really liked the program once, but these days it gives me a lot of headache often...


Last edited by are on Mon Apr 02, 2012 3:37 am; edited 1 time in total
Back to top
View user's profile Send private message
are
Apprentice
Apprentice


Joined: 03 Jan 2006
Posts: 188

PostPosted: Mon Apr 02, 2012 2:24 am    Post subject: Reply with quote

putting app-office/libreoffice-bin into /etc/paludis/package_mask.conf worked around, still I do not understand why such tricks are necessary.

Now, what nonsense is this:

libreoffice-3.5.2.2> * Checking for at least 6 gibibytes disk space at [ !! ]
Back to top
View user's profile Send private message
are
Apprentice
Apprentice


Joined: 03 Jan 2006
Posts: 188

PostPosted: Mon Apr 02, 2012 2:44 am    Post subject: Reply with quote

From the ebuild:

Code:
pkg_pretend() {
   local pgslot

   if [[ ${MERGE_TYPE} != binary ]]; then
      CHECKREQS_MEMORY="512M"
      CHECKREQS_DISK_BUILD="6G"
      check-reqs_pkg_pretend

      if [[ $(gcc-major-version) -lt 4 ]]; then
         eerror "Compilation with gcc older than 4.0 is not supported"
         die "Too old gcc found."
      fi
   fi

   # ensure pg version
   if use postgres; then
       pgslot=$(postgresql-config show)
       if [[ ${pgslot//.} < 90 ]] ; then
          eerror "PostgreSQL slot must be set to 9.0 or higher."
         eerror "    postgresql-config set 9.0"
         die "PostgreSQL slot is not set to 9.0 or higher."
       fi
   fi
}


Who writes such nonsense, even if I have 6GB at the time of initial call, it means nothing for the time of the compilation. Give a warning on the requirement and let gcc properly fail running out of disk space later. This 'check" introduces more problems than it solves!

But, now:

Code:
sudo cave resolve libreoffice -L "*/*" --lazy --skip-phase pretend


still shows:

Code:
Executing pretend actions: 19 of 21
libreoffice-3.5.2.2>  * Checking for at least 512 mebibytes RAM ...      [ ok ]
libreoffice-3.5.2.2>  * Checking for at least 6 gibibytes disk space at  [ !! ]
libreoffice-3.5.2.2>
libreoffice-3.5.2.2>  * Couldn't determine disk space, skipping...


what is going wrong here? Why pretend is still executed despite the SKIP?
Back to top
View user's profile Send private message
are
Apprentice
Apprentice


Joined: 03 Jan 2006
Posts: 188

PostPosted: Mon Apr 02, 2012 3:36 am    Post subject: Reply with quote

/etc/paludis/bashrc
Code:
SKIP_FUNCTIONS="test pretend"


finally worked. Thank you board :D
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Sat Apr 07, 2012 2:53 am    Post subject: Reply with quote

Regarding libreoffice vs. libreoffice-bin, you can use the "-F" switch in "cave resolve" -- see the man page. This resolves the blocker that arises from the ambiguity in virtual/ooo .
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum