View previous topic :: View next topic |
Author |
Message |
nichocouk Guru


Joined: 10 Mar 2005 Posts: 585 Location: Glasgow
|
Posted: Thu Jun 14, 2018 1:45 pm Post subject: Where has x11-libs/libXp gone? [SOLVED] |
|
|
Hi,
I am unable to start IDL anymore, I get the following error message
Code: | /opt/idl/idl/bin/bin.linux.x86_64/idl: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory |
I see that depclean has unmerged x11-libs/libXp-1.0.3 a few days ago.
Where has it gone, and why has it gone? How do I get around the error message IDL throws at me?
Thanks for any help! _________________ nichocouk
L'Etat, c'est moi.
Last edited by nichocouk on Fri Jun 15, 2018 11:36 am; edited 1 time in total |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31582 Location: here
|
Posted: Thu Jun 14, 2018 1:54 pm Post subject: |
|
|
https://bugs.gentoo.org/649076
What's is IDL? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
nichocouk Guru


Joined: 10 Mar 2005 Posts: 585 Location: Glasgow
|
Posted: Thu Jun 14, 2018 2:27 pm Post subject: |
|
|
Thanks. IDL=Interactive Data Language. They have something to say on this, but it requires installing libXp. So I don't know what to do  _________________ nichocouk
L'Etat, c'est moi. |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31582 Location: here
|
|
Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23328
|
Posted: Fri Jun 15, 2018 1:54 am Post subject: Re: Where has x11-libs/libXp gone? |
|
|
nichocouk wrote: | Code: | /opt/idl/idl/bin/bin.linux.x86_64/idl: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory |
I see that depclean has unmerged x11-libs/libXp-1.0.3 a few days ago.
Where has it gone, and why has it gone? How do I get around the error message IDL throws at me? |
Code: | # Matt Turner <mattst88@gentoo.org> (21 Apr 2018)
# Protocol headers and client library for the long dead Xprint extension.
# Removal in 30 days. Bug #649076. | As for what to do - check for a newer version upstream. If none is found, but source is available, you could try to patch out use of libXp. If source is not available, then you need to beg the vendor to release an update. Since libXp was dropped for being "long dead", upstream is overdue to cease use of it. |
|
Back to top |
|
 |
nichocouk Guru


Joined: 10 Mar 2005 Posts: 585 Location: Glasgow
|
Posted: Fri Jun 15, 2018 10:13 am Post subject: |
|
|
I've successfully followed the steps to create a local overlay and installed libXp, but I'm having trouble for printproto:
Code: | # repoman manifest
>>> Downloading 'http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfiles/printproto-1.0.5.tar.bz2'
--2018-06-15 11:07:11-- http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfiles/printproto-1.0.5.tar.bz2
Resolving www.mirrorservice.org... 212.219.56.184, 2001:630:341:12::184
Connecting to www.mirrorservice.org|212.219.56.184|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-06-15 11:07:11 ERROR 404: Not Found.
>>> Downloading 'https://www.x.org/releases/individual/printproto-1.0.5.tar.bz2'
--2018-06-15 11:07:11-- https://www.x.org/releases/individual/printproto-1.0.5.tar.bz2
Resolving www.x.org... 131.252.210.176, 2610:10:20:722:a800:ff:feda:470f
Connecting to www.x.org|131.252.210.176|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-06-15 11:07:11 ERROR 404: Not Found.
!!! Couldn't download 'printproto-1.0.5.tar.bz2'. Aborting.
!!! Fetch failed for printproto-1.0.5.tar.bz2, can't update Manifest
Unable to generate manifest. |
So I've downloaded https://www.x.org/releases/individual/proto/printproto-1.0.5.tar.bz2 and put it in /usr/portage/distfiles. But now I get a different issue...
Code: | # repoman manifest
[CRITICAL] Repoman is unable to determine PORTDIR or PORTDIR_OVERLAY from the current working directory
# cd /usr/local/portage/
# repoman manifest
>>> Creating Manifest for /usr/local/portage/x11-libs/libXp
>>> Creating Manifest for /usr/local/portage/x11-proto/printproto
# popd
-su: popd: directory stack empty |
_________________ nichocouk
L'Etat, c'est moi. |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31582 Location: here
|
Posted: Fri Jun 15, 2018 11:16 am Post subject: |
|
|
Try to move printproto in a different category (for example x11-base) because x11-proto is no longer a valid category, and add also line
Code: | SRC_URI="http://xorg.freedesktop.org/releases/individual/proto/${P}.tar.bz2" |
in ebuild.
When you did this you can also change line
Code: | >=x11-proto/printproto-1.0.5-r1[${MULTILIB_USEDEP}] |
into
Code: | >= x11-base/printproto-1.0.5-r1[${MULTILIB_USEDEP}] |
in libXp-1.0.3.ebuild _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
nichocouk Guru


Joined: 10 Mar 2005 Posts: 585 Location: Glasgow
|
Posted: Fri Jun 15, 2018 11:36 am Post subject: |
|
|
Brilliant! Many thanks for your help. It all works fine now. _________________ nichocouk
L'Etat, c'est moi. |
|
Back to top |
|
 |
nichocouk Guru


Joined: 10 Mar 2005 Posts: 585 Location: Glasgow
|
Posted: Fri Jun 15, 2018 12:15 pm Post subject: |
|
|
Sorry, I still have a minor issue. I've done a world update, and if I follow this with a emerge --depclean, portage want to uninstall the two local ebuilds:
Code: | >>> These are the packages that would be unmerged:
x11-libs/libXp
selected: 1.0.3
protected: none
omitted: none
x11-base/printproto
selected: 1.0.5-r1
protected: none
omitted: none
All selected packages: =x11-libs/libXp-1.0.3 =x11-base/printproto-1.0.5-r1 |
I followed the instructions for the local overlay but have I missed something to ensure portage does not try to remove these two ebuilds? _________________ nichocouk
L'Etat, c'est moi. |
|
Back to top |
|
 |
Yamakuzure Advocate


Joined: 21 Jun 2006 Posts: 2312 Location: Adendorf, Germany
|
Posted: Fri Jun 15, 2018 12:21 pm Post subject: |
|
|
nichocouk wrote: | So I've downloaded https://www.x.org/releases/individual/proto/printproto-1.0.5.tar.bz2 and put it in /usr/portage/distfiles. But now I get a different issue...
Code: | # repoman manifest
[CRITICAL] Repoman is unable to determine PORTDIR or PORTDIR_OVERLAY from the current working directory
# cd /usr/local/portage/
# repoman manifest
>>> Creating Manifest for /usr/local/portage/x11-libs/libXp
>>> Creating Manifest for /usr/local/portage/x11-proto/printproto
# popd
-su: popd: directory stack empty |
| What issue? Looks like everything was just fine.
- You have to be in a portage tree or overlay of some kind for repoman to work.
- You used 'cd' instead of 'pushd', so of course the directory stack was empty.
_________________ Edited 220,176 times by Yamakuzure |
|
Back to top |
|
 |
nichocouk Guru


Joined: 10 Mar 2005 Posts: 585 Location: Glasgow
|
Posted: Fri Jun 15, 2018 12:24 pm Post subject: |
|
|
Yamakuzure wrote: | What issue? Looks like everything was just fine. |
This was addressed by fedeliallalinea's reply, thanks. _________________ nichocouk
L'Etat, c'est moi. |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31582 Location: here
|
Posted: Fri Jun 15, 2018 12:50 pm Post subject: |
|
|
nichocouk wrote: | I followed the instructions for the local overlay but have I missed something to ensure portage does not try to remove these two ebuilds? |
You used -1 (--oneshot) option to install libXp? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
nichocouk Guru


Joined: 10 Mar 2005 Posts: 585 Location: Glasgow
|
Posted: Fri Jun 15, 2018 1:56 pm Post subject: |
|
|
Doh! That was it. I copied and pasted the example on the wiki discussing the overlay. Thanks! _________________ nichocouk
L'Etat, c'est moi. |
|
Back to top |
|
 |
dmpogo Advocate

Joined: 02 Sep 2004 Posts: 3499 Location: Canada
|
Posted: Thu Sep 27, 2018 10:52 pm Post subject: Re: Where has x11-libs/libXp gone? |
|
|
Hu wrote: | nichocouk wrote: | Code: | /opt/idl/idl/bin/bin.linux.x86_64/idl: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory |
I see that depclean has unmerged x11-libs/libXp-1.0.3 a few days ago.
Where has it gone, and why has it gone? How do I get around the error message IDL throws at me? |
Code: | # Matt Turner <mattst88@gentoo.org> (21 Apr 2018)
# Protocol headers and client library for the long dead Xprint extension.
# Removal in 30 days. Bug #649076. | As for what to do - check for a newer version upstream. If none is found, but source is available, you could try to patch out use of libXp. If source is not available, then you need to beg the vendor to release an update. Since libXp was dropped for being "long dead", upstream is overdue to cease use of it. |
IDL is a commercial image processing/language software (and quite expensive as well). Widely used in scientific circles (for example in astronomy community). Good luck talking to 'upstream'. Anyway, I also got deadline coming and found that my IDL installation does not work .... |
|
Back to top |
|
 |
dmpogo Advocate

Joined: 02 Sep 2004 Posts: 3499 Location: Canada
|
Posted: Thu Sep 27, 2018 11:08 pm Post subject: |
|
|
For uneducated me, how do I restore the ebuilds from this links ? |
|
Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23328
|
Posted: Fri Sep 28, 2018 1:48 am Post subject: |
|
|
If it's expensive, does it also come with an expensive support contract? If so, that should be the basis for gently reminding upstream that they are very behind in updating their software. |
|
Back to top |
|
 |
dmpogo Advocate

Joined: 02 Sep 2004 Posts: 3499 Location: Canada
|
Posted: Fri Sep 28, 2018 6:59 pm Post subject: |
|
|
Hu wrote: | If it's expensive, does it also come with an expensive support contract? If so, that should be the basis for gently reminding upstream that they are very behind in updating their software. |
In my cases it comes with institutional license so I first of all have to go through our information technology services, and second - pay my part of the upgrade, if necessary. And now IDL is one of the products distributed by the third company,
and based on their site it looks latest version still requires libXp.
Anyway, I did install the overlay ( cut and paste from gitweb screen was the easiest procedure to 'reconstruct' ebuild, fortunately commit that erased it, showed all the contents in diff ),
so everything is back to working order. |
|
Back to top |
|
 |
|