Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 356477 - app-office/libreoffice-3.3.1: build fails because of librasqal.so.1 cannot be found
Summary: app-office/libreoffice-3.3.1: build fails because of librasqal.so.1 cannot be...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-25 21:17 UTC by Franz Trischberger
Modified: 2011-02-26 22:11 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 Franz Trischberger 2011-02-25 21:17:47 UTC
The build of libreoffice-3.3.1 failed with the following error:

Entering /var/tmp/paludis/app-office-libreoffice-3.3.1/work/libreoffice-build-3.3.1.2/build/libreoffice-3.3.1.2/unoxml/source/rdf

Making:    all_unordf.dpslo
Compiling: unoxml/unxlngx6.pro/misc/unordf_dflt_version.c
Compiling: unoxml/source/rdf/CBlankNode.cxx
Compiling: unoxml/source/rdf/CURI.cxx
Compiling: unoxml/source/rdf/CLiteral.cxx
Compiling: unoxml/source/rdf/librdf_repository.cxx
Compiling: unoxml/source/rdf/librdf_services.cxx
Making:    libunordflx.so
: ERROR: librasqal.so.1: cannot open shared object file: No such file or directory

dev-libs/rasqal install a librasqal.so.2. How can i make libreoffice compile?

I am running amd64.

==================================

# cave info libreoffice
Package Manager Information:
    Package Name              paludis
    Package Version           0.58.5
    Build Date                2011-02-20T16:41:26+0100
    Built with CXX            x86_64-pc-linux-gnu-g++ 4.4.5
    Built with CXXFLAGS        -march=amdfam10 -O2 -pipe -pedantic
    Built with LDFLAGS        -Wl,-O1 -Wl,--as-needed

Environment Information:
    Format                    paludis
    Config dir                /etc/paludis
    Root                      /
    System Root               /
    World file                /var/db/pkg/world

Repository installed-virtuals:
    format                    installed_virtuals
    root                      /

Repository virtuals:
    format                    virtuals

Repository gentoo:
    format                    e
    location                  /usr/portage
    builddir                  /var/tmp/paludis
    cache                     /usr/portage/metadata/cache
    distdir                   /usr/paludis/distfiles
    eapi_when_unknown         0
    eapi_when_unspecified     0
    eclassdirs                /usr/portage/eclass
    layout                    traditional
    names_cache               /usr/portage/.cache/names
    newsdir                   /usr/portage/metadata/news
    profile_eapi_when_unspecified 0
    profile_layout            traditional
    profiles                  /etc/make.profile
    securitydir               /usr/portage/metadata/glsa
    setsdir                   /usr/portage/sets
    sync                      rsync://rsync.de.gentoo.org/gentoo-portage
    sync_options              
    use_manifest              use
    write_cache               /var/cache/paludis/metadata
    Package information
        app-admin/eselect-compiler (none)
        app-shells/bash       4.1_p9
        dev-java/java-config  2.1.11-r3
        dev-lang/python       2.6.5-r3 3.1.2-r4
        dev-util/ccache       3.1.4
        dev-util/cmake        2.8.4
        dev-util/confcache    (none)
        sys-apps/baselayout   2.0.1-r1
        sys-apps/openrc       0.7.0
        sys-apps/sandbox      2.4
        sys-devel/autoconf    2.13 2.65-r1
        sys-devel/automake    1.10.3 1.11.1 1.9.6-r3
        sys-devel/binutils    2.20.1-r1
        sys-devel/gcc         4.4.5
        sys-devel/gcc-config  1.4.1
        sys-devel/libtool     2.2.10
        sys-devel/make        3.81-r2
        virtual/os-headers    2.6.36.1 (for sys-kernel/linux-headers::installed)

Repository kde:
    format                    e
    location                  /var/paludis/repositories/kde
    builddir                  /var/tmp/paludis
    cache                     /var/empty
    distdir                   /usr/paludis/distfiles
    eapi_when_unknown         0
    eapi_when_unspecified     0
    eclassdirs                /usr/portage/eclass  /var/paludis/repositories/kde/eclass
    layout                    traditional
    master_repository         gentoo
    names_cache               /var/paludis/repositories/kde/.cache/names
    newsdir                   /var/paludis/repositories/kde/metadata/news
    profile_eapi_when_unspecified 0
    profile_layout            traditional
    profiles                  /etc/make.profile
    securitydir               /var/paludis/repositories/kde/metadata/glsa
    setsdir                   /var/paludis/repositories/kde/sets
    sync                      git://git.overlays.gentoo.org/proj/kde.git
    sync_options              
    use_manifest              use
    write_cache               /var/cache/paludis/metadata

Repository installed:
    format                    vdb
    location                  /var/db/pkg
    builddir                  /var/tmp/paludis
    eapi_when_unknown         0
    names_cache               /var/db/pkg/.cache/names
    provides_cache            /var/db/pkg/.cache/provides
    root                      /

Repository local:
    format                    e
    location                  /usr/local/portage
    builddir                  /var/tmp/paludis
    cache                     /var/empty
    distdir                   /usr/paludis/distfiles
    eapi_when_unknown         0
    eapi_when_unspecified     0
    eclassdirs                /usr/portage/eclass
    layout                    traditional
    master_repository         gentoo
    names_cache               /usr/local/portage/.cache/names
    newsdir                   /usr/local/portage/metadata/news
    profile_eapi_when_unspecified 0
    profile_layout            traditional
    profiles                  /etc/make.profile
    securitydir               /usr/local/portage/metadata/glsa
    setsdir                   /usr/local/portage/sets
    sync                      
    sync_options              
    use_manifest              use
    write_cache               /var/cache/paludis/metadata

Repository oss-overlay:
    format                    e
    location                  /var/paludis/repositories/oss-overlay
    builddir                  /var/tmp/paludis
    cache                     /var/empty
    distdir                   /usr/paludis/distfiles
    eapi_when_unknown         0
    eapi_when_unspecified     0
    eclassdirs                /usr/portage/eclass  /var/paludis/repositories/oss-overlay/eclass
    layout                    traditional
    master_repository         gentoo
    names_cache               /var/paludis/repositories/oss-overlay/.cache/names
    newsdir                   /var/paludis/repositories/oss-overlay/metadata/news
    profile_eapi_when_unspecified 0
    profile_layout            traditional
    profiles                  /etc/make.profile
    securitydir               /var/paludis/repositories/oss-overlay/metadata/glsa
    setsdir                   /var/paludis/repositories/oss-overlay/sets
    sync                      hg+http://hg.atheme.org/users/majeru/portage-overlay/
    sync_options              
    use_manifest              use
    write_cache               /var/cache/paludis/metadata

Extra Information for app-office/libreoffice-3.3.1:0::gentoo:
        >>> Running ebuild phase killold as paludisbuild:paludisbuild...
        >>> Starting builtin_killold
        >>> Done builtin_killold
        >>> Completed ebuild phase killold
        >>> Running ebuild phases initmisc infovars as paludisbuild:paludisbuild...
        >>> Starting builtin_initmisc
        >>> Done builtin_initmisc
        >>> Starting builtin_infovars
        ACCEPT_KEYWORDS=amd64
        CBUILD=x86_64-pc-linux-gnu
        CFLAGS=-march=amdfam10 -O2 -pipe
        CHOST=x86_64-pc-linux-gnu
        CONFIG_PROTECT= 
        CONFIG_PROTECT_MASK= 
        CPPFLAGS=
        CTARGET=
        CXXFLAGS=-march=amdfam10 -O2 -pipe
        DISTDIR=/usr/paludis/distfiles
        FEATURES=
        FFLAGS=
        GENTOO_MIRRORS=
        INSTALL_MASK=
        LANG=
        LC_ALL=C
        LDFLAGS=-Wl,-O1 -Wl,--as-needed
        LINGUAS=de
        MAKEOPTS=-j1
        PORTAGE_COMPRESS=
        PORTAGE_COMPRESS_FLAGS=
        PORTAGE_CONFIGROOT=
        PORTAGE_RSYNC_EXTRA_OPTS=
        PORTAGE_RSYNC_OPTS=
        PORTAGE_TMPDIR=/var/tmp/paludis
        PORTDIR=/usr/portage
        PORTDIR_OVERLAY=
        SYNC=
        USE=bash-completion cups dbus gstreamer java kde ldap opengl amd64 alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mmap_emul alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2_modules_actions apache2_modules_alias apache2_modules_auth_basic apache2_modules_authn_alias apache2_modules_authn_anon apache2_modules_authn_dbm apache2_modules_authn_default apache2_modules_authn_file apache2_modules_authz_dbm apache2_modules_authz_default apache2_modules_authz_groupfile apache2_modules_authz_host apache2_modules_authz_owner apache2_modules_authz_user apache2_modules_autoindex apache2_modules_cache apache2_modules_cgi apache2_modules_cgid apache2_modules_dav apache2_modules_dav_fs apache2_modules_dav_lock apache2_modules_deflate apache2_modules_dir apache2_modules_disk_cache apache2_modules_env apache2_modules_expires apache2_modules_ext_filter apache2_modules_file_cache apache2_modules_filter apache2_modules_headers apache2_modules_include apache2_modules_info apache2_modules_log_config apache2_modules_logio apache2_modules_mem_cache apache2_modules_mime apache2_modules_mime_magic apache2_modules_negotiation apache2_modules_rewrite apache2_modules_setenvif apache2_modules_speling apache2_modules_status apache2_modules_unique_id apache2_modules_userdir apache2_modules_usertrack apache2_modules_vhost_alias cameras_ptp2 collectd_plugins_df collectd_plugins_interface collectd_plugins_irq collectd_plugins_load collectd_plugins_memory collectd_plugins_rrdtool collectd_plugins_swap collectd_plugins_syslog elibc_glibc gpsd_protocols_aivdm gpsd_protocols_ashtech gpsd_protocols_earthmate gpsd_protocols_evermore gpsd_protocols_fv18 gpsd_protocols_garmin gpsd_protocols_garmintxt gpsd_protocols_gpsclock gpsd_protocols_itrax gpsd_protocols_mtk3301 gpsd_protocols_navcom gpsd_protocols_nmea gpsd_protocols_ntrip gpsd_protocols_oceanserver gpsd_protocols_oldstyle gpsd_protocols_oncore gpsd_protocols_rtcm104v2 gpsd_protocols_rtcm104v3 gpsd_protocols_sirf gpsd_protocols_superstar2 gpsd_protocols_timing gpsd_protocols_tnt gpsd_protocols_tripmate gpsd_protocols_tsip gpsd_protocols_ubx input_devices_evdev input_devices_wacom kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text linguas_de php_targets_php5-3 ruby_targets_ruby18 sane_backends_epson sane_backends_epson2 userland_GNU video_cards_fbdev video_cards_nv video_cards_nvidia xtables_addons_account xtables_addons_chaos xtables_addons_condition xtables_addons_delude xtables_addons_dhcpmac xtables_addons_fuzzy xtables_addons_geoip xtables_addons_iface xtables_addons_ipmark xtables_addons_ipp2p xtables_addons_ipset xtables_addons_ipv4options xtables_addons_length2 xtables_addons_logmark xtables_addons_lscan xtables_addons_pknock xtables_addons_psd xtables_addons_quota2 xtables_addons_rawnat xtables_addons_steal xtables_addons_sysrq xtables_addons_tarpit xtables_addons_tee amd64 
        >>> Done builtin_infovars
        >>> Completed ebuild phases initmisc infovars
        >>> Running ebuild phase tidyup as paludisbuild:paludisbuild...
        >>> Starting builtin_tidyup
        rm -fr /var/tmp/paludis/app-office-libreoffice-3.3.1-info
        >>> Done builtin_tidyup
        >>> Completed ebuild phase tidyup

==========================================

# cave show rasqal
* dev-libs/rasqal
    ::gentoo                  0.9.17* (0.9.19)K (0.9.24)KR {:0}
    ::installed               0.9.17 {:0}
    dev-libs/rasqal-0.9.17:0::installed
    Description               library that handles Resource Description Framework (RDF)
    Homepage                  http://librdf.org/rasqal/
    From repositories         gentoo
    Installed time            Wed Apr 21 10:41:35 CEST 2010
    Installed using           paludis-0.46.0
    License                   Apache-2.0 GPL-2 LGPL-2.1
    Use flags                 (-gmp) (pcre) (xml) (-test) build_options: -trace 
    dev-libs/rasqal-0.9.17:0::gentoo
    Description               library that handles Resource Description Framework (RDF)
    Homepage                  http://librdf.org/rasqal/
    Herds                     sound
    Use flags                 -gmp pcre xml (-test) build_options: (-optional_tests) split strip -trace -preserve_work

Reproducible: Always
Comment 1 Franz Trischberger 2011-02-25 22:39:34 UTC
Hmmm... redland had a not resolved Dependency on librasqal.so.1.
My steps:
1) sync
2) update world
3) cave fix-linkage
4) cave uninstall openoffice --purge "*/*"
5) cave resolve libreoffice.

step 3) just fixed some multimedia-packages (x264). 4) uninstalled some packages, which were pulled in by 5) again (except rhino:1.5).
Now i ran cave fix-linkage again - and redland was rebuilt. As Dependencies were pulled in again, they could not be the problem.
The only solution: openoffice-3.2.1 installed librasqal.so.1, and redland linked against it! Big Breakage! (I think, rhino was not the one...)
Could someone verify this behaviour?

Here the recent "transactions:"
                                                                                                                                     
     Fri Feb 25 18:57:13 2011 >>> media-video/ffmpeg-0.6_p25767:0                                                                                                                            
     Fri Feb 25 18:59:13 2011 >>> media-video/transcode-1.1.5-r2:0                                                                                                                           
     Fri Feb 25 19:01:53 2011 >>> media-video/mplayer-1.0_rc4_p20101219:0                                                                                                                    
     Fri Feb 25 19:08:14 2011 >>> media-video/vlc-1.1.7:0                                                                                                                                    
     Fri Feb 25 19:14:53 2011 <<< app-office/openoffice-3.2.1-r1:0                                                                                                                           
     Fri Feb 25 19:14:56 2011 <<< dev-java/bsh-2.0_beta4-r3:0                                                                                                                                
     Fri Feb 25 19:14:58 2011 <<< dev-java/libreadline-java-0.8.0-r3:0                                                                                                                       
     Fri Feb 25 19:15:01 2011 <<< dev-java/lucene-2.3.2:2.3                                                                                                                                  
     Fri Feb 25 19:15:03 2011 <<< dev-java/lucene-analyzers-2.3.2:2.3                                                                                                                        
     Fri Feb 25 19:15:05 2011 <<< dev-java/rhino-1.5.5-r4:1.5                                                                                                                                
     Fri Feb 25 19:15:07 2011 <<< dev-java/servletapi-2.4-r5:2.4                                                                                                                             
     Fri Feb 25 19:15:10 2011 <<< dev-perl/Archive-Zip-1.30:0                                                                                                                                
     Fri Feb 25 19:15:13 2011 <<< media-libs/vigra-1.6.0:0                                                                                                                                   
     Fri Feb 25 19:16:58 2011 >>> media-libs/vigra-1.6.0:0                                                                                                                                   
     Fri Feb 25 19:17:57 2011 >>> dev-util/cppunit-1.12.1:0                                                                                                                                  
     Fri Feb 25 19:18:09 2011 >>> dev-perl/Archive-Zip-1.30:0                                                                                                                                
     Fri Feb 25 19:18:27 2011 >>> dev-java/servletapi-2.4-r5:2.4                                                                                                                             
     Fri Feb 25 19:18:43 2011 >>> dev-java/libreadline-java-0.8.0-r3:0                                                                                                                       
     Fri Feb 25 19:19:00 2011 >>> dev-java/bsh-2.0_beta4-r3:0                                                                                                                                
     Fri Feb 25 19:19:22 2011 >>> dev-java/lucene-2.3.2:2.3                                                                                                                                  
     Fri Feb 25 19:19:41 2011 >>> dev-java/lucene-analyzers-2.3.2:2.3
Comment 2 Franz Trischberger 2011-02-26 07:15:46 UTC
Now libreoffice built fine.
Comment 3 Andreas Proschofsky (RETIRED) gentoo-dev 2011-02-26 21:25:45 UTC
Definitely not a LibreOffice bug, don't see what we could do here, simply a broken library in my view. so: closing.
Comment 4 Franz Trischberger 2011-02-26 22:11:49 UTC
(In reply to comment #3)
> Definitely not a LibreOffice bug, don't see what we could do here, simply a
> broken library in my view. so: closing.

Of course it is not a libreoffice problem. It was openoffice installing a library (as said: i think, really won't go installing ooo again blocking a needed workstation for another 2-4 hours), redland linking against the version openoffice installed (not the one provided by dev-libs/rasqal) and libreoffice linking against the now broken redland, as uninstalling openoffice pulled away that librasqal.so.1.
It was late yesterday, and i did not see this issue immediately, so sorry for posting a libreoffice-bug.

I had openoffice, rasqal and redland left stable, so probably one of those ebuilds could be optimised. (openoffice not installing librasqal.so.1 or redland linking against .so.2, as needed).

Having redland linked against librasqal.so.2 now solved another issue: nepomuksearch finally gives results!