View previous topic :: View next topic |
Author |
Message |
sao98021 Tux's lil' helper
Joined: 03 Apr 2012 Posts: 145 Location: Michigan
|
Posted: Sat Jun 02, 2018 4:26 pm Post subject: xephem without libXp |
|
|
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 |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8933
|
Posted: Sat Jun 02, 2018 4:37 pm Post subject: Re: xephem without libXp |
|
|
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 |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21558
|
Posted: Sat Jun 02, 2018 4:40 pm Post subject: |
|
|
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 |
|
|
sao98021 Tux's lil' helper
Joined: 03 Apr 2012 Posts: 145 Location: Michigan
|
Posted: Sat Jun 02, 2018 4:42 pm Post subject: Re: xephem without libXp |
|
|
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 |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21558
|
Posted: Sat Jun 02, 2018 5:10 pm Post subject: |
|
|
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 |
|
|
sao98021 Tux's lil' helper
Joined: 03 Apr 2012 Posts: 145 Location: Michigan
|
Posted: Sat Jun 02, 2018 5:24 pm Post subject: |
|
|
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
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 |
|
|
|