Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Where has x11-libs/libXp gone? [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
nichocouk
Guru
Guru


Joined: 10 Mar 2005
Posts: 585
Location: Glasgow

PostPosted: Thu Jun 14, 2018 1:45 pm    Post subject: Where has x11-libs/libXp gone? [SOLVED] Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31582
Location: here

PostPosted: Thu Jun 14, 2018 1:54 pm    Post subject: Reply with quote

https://bugs.gentoo.org/649076
What's is IDL?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
nichocouk
Guru
Guru


Joined: 10 Mar 2005
Posts: 585
Location: Glasgow

PostPosted: Thu Jun 14, 2018 2:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31582
Location: here

PostPosted: Thu Jun 14, 2018 2:44 pm    Post subject: Reply with quote

You should create a local overlay and restore ebuilds of x11-libs/libXp and x11-proto/printproto
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23328

PostPosted: Fri Jun 15, 2018 1:54 am    Post subject: Re: Where has x11-libs/libXp gone? Reply with quote

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
View user's profile Send private message
nichocouk
Guru
Guru


Joined: 10 Mar 2005
Posts: 585
Location: Glasgow

PostPosted: Fri Jun 15, 2018 10:13 am    Post subject: Reply with quote

fedeliallalinea wrote:
You should create a local overlay and restore ebuilds of x11-libs/libXp and x11-proto/printproto

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31582
Location: here

PostPosted: Fri Jun 15, 2018 11:16 am    Post subject: Reply with quote

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
View user's profile Send private message
nichocouk
Guru
Guru


Joined: 10 Mar 2005
Posts: 585
Location: Glasgow

PostPosted: Fri Jun 15, 2018 11:36 am    Post subject: Reply with quote

Brilliant! Many thanks for your help. It all works fine now.
_________________
nichocouk

L'Etat, c'est moi.
Back to top
View user's profile Send private message
nichocouk
Guru
Guru


Joined: 10 Mar 2005
Posts: 585
Location: Glasgow

PostPosted: Fri Jun 15, 2018 12:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2312
Location: Adendorf, Germany

PostPosted: Fri Jun 15, 2018 12:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
nichocouk
Guru
Guru


Joined: 10 Mar 2005
Posts: 585
Location: Glasgow

PostPosted: Fri Jun 15, 2018 12:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31582
Location: here

PostPosted: Fri Jun 15, 2018 12:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
nichocouk
Guru
Guru


Joined: 10 Mar 2005
Posts: 585
Location: Glasgow

PostPosted: Fri Jun 15, 2018 1:56 pm    Post subject: Reply with quote

Doh! That was it. :oops: I copied and pasted the example on the wiki discussing the overlay. Thanks!
_________________
nichocouk

L'Etat, c'est moi.
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3499
Location: Canada

PostPosted: Thu Sep 27, 2018 10:52 pm    Post subject: Re: Where has x11-libs/libXp gone? Reply with quote

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
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3499
Location: Canada

PostPosted: Thu Sep 27, 2018 11:08 pm    Post subject: Reply with quote

fedeliallalinea wrote:
You should create a local overlay and restore ebuilds of x11-libs/libXp and x11-proto/printproto


For uneducated me, how do I restore the ebuilds from this links ?
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23328

PostPosted: Fri Sep 28, 2018 1:48 am    Post subject: Reply with quote

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
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3499
Location: Canada

PostPosted: Fri Sep 28, 2018 6:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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