Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 472572 - [science overlay] =dev-lang/vtune-13* - amplxe-gui: error while loading shared libraries: libamplxe_libxml_2.7.so: cannot open shared object file: No such file or directory
Summary: [science overlay] =dev-lang/vtune-13* - amplxe-gui: error while loading share...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Nicolas Bigaouette
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-07 11:19 UTC by Georg Rudoy
Modified: 2013-07-24 09:15 UTC (History)
3 users (show)

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


Attachments
emerge --info (emerge.info,5.31 KB, text/plain)
2013-06-07 11:19 UTC, Georg Rudoy
Details
vtune-13.1.10.298370.ebuild.patch (file_472572.txt,1.75 KB, patch)
2013-07-17 14:06 UTC, Vladimir Smirnov (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Georg Rudoy 2013-06-07 11:19:32 UTC
Created attachment 350334 [details]
emerge --info

amplxe-gui (from the Intel vtune package) won't run with the following error:
% amplxe-gui
amplxe-gui: error while loading shared libraries: libamplxe_libxml_2.7.so: cannot open shared object file: No such file or directory

Seems like the corresponding libraries don't get installed:
% equery f vtune | grep xml | grep so | wc -l
0

Running the install script from the vtune package manually installs a proper and working application. The previous version from portage (9 AFAIR) also worked fine.

Steps to reproduce:
1. Install dev-lang/vtune from the science overlay.
2. Try running amplxe-gui
Comment 1 Vladimir Smirnov (RETIRED) gentoo-dev 2013-07-17 14:03:29 UTC
There are several problems (at least in my opinion):
1) Most binaries contained in CLI part of vtune, which is not unpacked
2) intel-sdp eclass dies if tar fails
3) vtune ebuild fetchs whole parallel studio, while it can fetch only vtune itself, and ~10 times lighter (200MB instead of 2GB).
4) One little dependency is still missing.
5) vtune is a bit outdated (update4, but update10 already released)

So I've modified ebuild a bit to address those issues and to update it to new version.

Ebuild includes modified version of src_unpack (mostly copy-paste from eclass, just removed die and added one little check, so it now won't try to extract files that doesn't exist)
Comment 2 Vladimir Smirnov (RETIRED) gentoo-dev 2013-07-17 14:06:52 UTC
Created attachment 353498 [details, diff]
vtune-13.1.10.298370.ebuild.patch

P.S. I've copy-pasted src_unpack because I don't know if it won't break other intel ebuilds.
Patch for vtune ebuild.
Comment 3 Georg Rudoy 2013-07-17 20:58:07 UTC
Tested the patch by Vladimir, works like a charm, thanks.
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2013-07-18 11:16:31 UTC
I will take a look into that.
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2013-07-19 13:35:47 UTC
We need to fix the intel eclass to allow specific subdir/foo.rpm. I will work on it.
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2013-07-24 09:15:24 UTC
+  24 Jul 2013; Justin Lecher <jlec@gentoo.org> -vtune-13.1.4.270817.ebuild,
+  -vtune-13.1.9.295420.ebuild, +vtune-13.1.10.298370.ebuild:
+  Version BUmp and fix missing libs, #472572
+