Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xephem without libXp
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
sao98021
Tux's lil' helper
Tux's lil' helper


Joined: 03 Apr 2012
Posts: 145
Location: Michigan

PostPosted: Sat Jun 02, 2018 4:26 pm    Post subject: xephem without libXp Reply with quote

so x11-libs/libXp is removed from the overlay now, one package that i've always installed for years and years 'xephem' still depends on it, is there a way i can append xephem's ebuild so it wouldnt need it to build? its not listed as a dependency but seems rather like its required for the actual building. i saw it still on zugaina, but for some reason after syncing it, it still wouldnt show up, even adding the ebuild into a custom local portage tree using https://wiki.gentoo.org/wiki/Custom_repository#Adding_an_ebuild_to_the_repository as a refrence, and portage still wouldnt see it ;/

https://gitweb.gentoo.org/repo/gentoo.git/tree/sci-astronomy/xephem/xephem-3.7.7.ebuild --xephems ebuild

are there any plans for handling these situations? xephem is also rather old as well.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8933

PostPosted: Sat Jun 02, 2018 4:37 pm    Post subject: Re: xephem without libXp Reply with quote

sao98021 wrote:
its not listed as a dependency but seems rather like its required for the actual building.

That would be a bug. Did you file a bug?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21558

PostPosted: Sat Jun 02, 2018 4:40 pm    Post subject: Reply with quote

What situation needs handling? If you have an old package that is an overlay, and it depends on a package in the main tree that is garbage-collected due to disuse, then the overlay needs to assume responsibility - either by removing the dependency or by carrying the supporting package. The linked ebuild does not DEPEND or RDEPEND on libXp. What do you see that makes you think that libXp is required? What exactly did you do to try to work around this? Give steps that we could run at a shell prompt to reproduce your work.
Back to top
View user's profile Send private message
sao98021
Tux's lil' helper
Tux's lil' helper


Joined: 03 Apr 2012
Posts: 145
Location: Michigan

PostPosted: Sat Jun 02, 2018 4:42 pm    Post subject: Re: xephem without libXp Reply with quote

asturm wrote:
sao98021 wrote:
its not listed as a dependency but seems rather like its required for the actual building.

That would be a bug. Did you file a bug?


no i didnt, didnt even think it would be considered a bug
Code:
xmisc.o -L../../libastro -L../../libip -L../../liblilxml -lXm -lXp -lXt -lXext -lXmu -lX11 -lastro -lip -llilxml -ljpeg -lpng -lz -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lXp
collect2: error: ld returned 1 exit status
make: *** [Makefile:189: xephem] Error 1


but now i will, even when i built xephem a few months ago on arm64 i'd get cannot find -lXp, then i'd unmask libXp, merge it, then build finishes, steps to reproduce are simple, just emerge xephem, without libXp installed
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21558

PostPosted: Sat Jun 02, 2018 5:10 pm    Post subject: Reply with quote

Generally, if a package fails to build absent some other package, and the dependency language does not instruct the package manager to pre-install the supporting package, then that is a bug in the requiring package. The package manager should always be told about supporting packages.
Back to top
View user's profile Send private message
sao98021
Tux's lil' helper
Tux's lil' helper


Joined: 03 Apr 2012
Posts: 145
Location: Michigan

PostPosted: Sat Jun 02, 2018 5:24 pm    Post subject: Reply with quote

thanks all, bug submitted https://bugs.gentoo.org/657142

i wasnt sure if i should've put it in portage development, or just the generic Gentoo Linux, so i tossed it in gentoo

aaaaand marked as a duplicate of https://bugs.gentoo.org/650404 i probably should've checked that first :oops:

Code:
sed -i 's/-lXp //' GUI/xephem/Makefile GUI/xephem/descrip.mms
i'm guessing would have worked prior to it being lastrited/removed

interesting note, it says motif(which is xephem dependency) may depend on libXp, but i have

Code:
[I] x11-libs/motif
     Available versions:  2.3.8-r1 {examples jpeg +motif22-compatibility png static-libs unicode xft ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  2.3.8-r1(11:45:24 AM 06/02/2018)(jpeg motif22-compatibility png unicode -examples -static-libs -xft ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
     Homepage:            https://sourceforge.net/projects/motif/ http://motif.ics.com/
     Description:         The Motif user interface component toolkit
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