Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368975 - app-text/hunspell-1.3.2 wrong symblink, let system packages fail
Summary: app-text/hunspell-1.3.2 wrong symblink, let system packages fail
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Spell checking utilities and dictionaries -- related bugs (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-28 04:07 UTC by tman
Modified: 2011-06-15 19:22 UTC (History)
3 users (show)

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 tman 2011-05-28 04:07:37 UTC
after upgrading to app-text/hunspell-1.3.2 portage tried to emerge !!! existing preserved libs:
>>> package: app-text/hunspell-1.3.2
 *  - /usr/lib64/libhunspell-1.2.so
 *  - /usr/lib64/libhunspell-1.2.so.0
 *  - /usr/lib64/libhunspell-1.2.so.0.0.0
 *  - /usr/lib64/libhunspell.so
 *      used by /usr/bin/lyx (app-office/lyx-2.0.0)
 *      used by /usr/share/games/phoenix-hg/bin/snowglobe-do-not-run-directly (games-simulation/phoenix-hg-5)
Use emerge @preserved-rebuild to rebuild packages using these libraries.
!!! existing preserved libs:
>>> package: app-text/hunspell-1.3.2
 *  - /usr/lib64/libhunspell-1.2.so
 *  - /usr/lib64/libhunspell-1.2.so.0
 *  - /usr/lib64/libhunspell-1.2.so.0.0.0
 *  - /usr/lib64/libhunspell.so
 *      used by /usr/bin/lyx (app-office/lyx-2.0.0)
 *      used by /usr/share/games/phoenix-hg/bin/snowglobe-do-not-run-directly (games-simulation/phoenix-hg-5)
Use emerge @preserved-rebuild to rebuild packages using these libraries

but after all it dont solve anything, and dont fix these missing libraries.
but at 


Reproducible: Always




Portage 2.2.0_alpha37 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.13-r2, 2.6.39-gentoo x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9700_@_2.80GHz-with-gentoo-2.0.2
Timestamp of tree: Sat, 28 May 2011 03:30:01 +0000
ccache version 3.1.4 [enabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r2, 3.1.3-r1, 3.2
dev-util/ccache:          3.1.4
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1::poly-c
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
Repositories: gentoo amielke-overlay emacs gnome lorelei-overlay java-overlay lxde mgorny mpd nikai qting-edge roslin scarabeus_local_overlay science wirelay Techwolf bleeding-edge poly-c x-local-overlay
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
Comment 1 Graham Murray 2011-05-28 05:31:44 UTC
I think that I see at part of what the problem is. After installation of hunspell-1.3.2, /usr/lib/libhunspell.so is still symlinked to /usr/lib/libhunspell-1.2.so.0.0.0. So any package just linking to the 'plain' .so will link to the preserved 1.2 not the new 1.3.


ls -l /usr/lib/libhunspell*
lrwxrwxrwx 1 root root     24 Oct 27  2010 /usr/lib/libhunspell-1.2.so -> libhunspell-1.2.so.0.0.0
lrwxrwxrwx 1 root root     24 Oct 27  2010 /usr/lib/libhunspell-1.2.so.0 -> libhunspell-1.2.so.0.0.0
-rwxr-xr-x 1 root root 351532 Oct 27  2010 /usr/lib/libhunspell-1.2.so.0.0.0
-rw-r--r-- 1 root root 384116 May 26 19:19 /usr/lib/libhunspell-1.3.a
-rw-r--r-- 1 root root    965 May 26 19:19 /usr/lib/libhunspell-1.3.la
lrwxrwxrwx 1 root root     24 May 26 19:19 /usr/lib/libhunspell-1.3.so -> libhunspell-1.3.so.0.0.0
lrwxrwxrwx 1 root root     24 May 26 19:19 /usr/lib/libhunspell-1.3.so.0 -> libhunspell-1.3.so.0.0.0
-rwxr-xr-x 1 root root 360524 May 26 19:19 /usr/lib/libhunspell-1.3.so.0.0.0
lrwxrwxrwx 1 root root     33 Oct 27  2010 /usr/lib/libhunspell.so -> /usr/lib/libhunspell-1.2.so.0.0.0
Comment 2 tman 2011-05-28 14:15:28 UTC
sound lgically but we need neu a fix for ebuild
Comment 3 Atman Sense 2011-06-06 06:38:59 UTC
-inherit eutils multilib autotools flag-o-matic
+inherit eutils multilib autotools flag-o-matic versionator


 src_install() {
        emake DESTDIR="${D}" install
+       dosym lib${PN}-$(get_major_version).$(get_version_component_range 2).so /usr/$(get_libdir)/lib${PN}.so
Comment 4 Guy 2011-06-12 22:53:35 UTC
(In reply to comment #3)
> -inherit eutils multilib autotools flag-o-matic
> +inherit eutils multilib autotools flag-o-matic versionator
> 
> 
>  src_install() {
>         emake DESTDIR="${D}" install
> +       dosym lib${PN}-$(get_major_version).$(get_version_component_range 2).so
> /usr/$(get_libdir)/lib${PN}.so

I'm assuming that this was intended to fix the app-text/hunspell-1.3.2 ebuild.

If so, this did not resolve the problem for me.

I applied the changes to said ebuild. Forced updated the manifest. Performed an emerge of hunspell and then @preserved-rebuild. Package kde-base/lokalize-4.6.4 was chosen for @preserved-rebuild.

While both hunspell and lokalized emerged to completion, the @preserved-rebuild remained.

.oOo.

nano -w /usr/portage/app-text/hunspell/hunspell-1.3.2.ebuild
ebuild /usr/portage/app-text/hunspell/hunspell-1.3.2.ebuild manifest
emerge hunspell
emerge @preserved-rebuild

.oOo.


 * Messages for package kde-base/lokalize-4.6.4:

 * To be able to autofetch KDE translations in new project wizard, install subversion client:
 *      emerge -vau subversion
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

!!! existing preserved libs:
>>> package: app-text/hunspell-1.3.2
 *  - /usr/lib64/libhunspell-1.2.so
 *  - /usr/lib64/libhunspell-1.2.so.0
 *  - /usr/lib64/libhunspell-1.2.so.0.0.0
 *      used by /usr/bin/lokalize (kde-base/lokalize-4.6.4)
Use emerge @preserved-rebuild to rebuild packages using these libraries
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2011-06-15 19:22:08 UTC
Thank you for report guys. I've added new ebuild which provides required symlink. If this problem persists with hunspell-1.3.2-r1, please, open new bug report for kde-base/lokalize.