Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 650404

Summary: sci-astronomy/xephem-3.7.7 : /.../ld: cannot find -lXp
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Astronomy project <sci-astronomy>
Status: RESOLVED FIXED    
Severity: normal CC: sao98021, ulm
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 649076    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
sci-astronomy:xephem-3.7.7:20180313-020755.log
temp.tbz2

Description Toralf Förster gentoo-dev 2018-03-13 17:24:42 UTC
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o xephem aavso.o annotmenu.o broadcast.o calmenu.o closemenu.o compiler.o coordsmenu.o datamenu.o db.o dbmenu.o earthmap.o earthmenu.o fallbacks.o favmenu.o formats.o fsmenu.o gallerymenu.o glance.o gsc.o gscnet.o helpmenu.o homeio.o hznmenu.o indimenu.o imregmenu.o jpeg2pm.o jupmenu.o listmenu.o mainmenu.o marsmenu.o marsmmenu.o moonmenu.o moviemenu.o msgmenu.o netmenu.o objmenu.o obslog.o patchlevel.o plot_aux.o plotmenu.o preferences.o progress.o ps.o query.o rotated.o satmenu.o saveres.o scope.o sites.o skybinary.o skyeyep.o skyfifos.o skyfiltmenu.o skyfits.o skyhist.o skyip.o skylist.o skytoolbar.o skyviewmenu.o solsysmenu.o splash.o srchmenu.o sunmenu.o time.o tips.o trailmenu.o uranusmenu.o ucac.o usno.o versionmenu.o webdbmenu.o xe2.o xe3.o xephem.o 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/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lXp
collect2: error: ld returned 1 exit status
make: *** [Makefile:189: xephem] Error 1
make: Leaving directory '/var/tmp/portage/sci-astronomy/xephem-3.7.7/work/xephem-3.7.7/GUI/xephem'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib_20180310-100420

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
  [4]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems)
  [2]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.7.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv sci-astronomy/xephem
[ebuild  N    ] sci-astronomy/xephem-3.7.7 

!!! The following installed packages are masked:
- x11-base/xorg-server-1.19.99.901-r1::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Sebastian Pipping <sping@gentoo.org> (11 Mar 2018)
# Breaks XFCE, 1.19.6 was fine (in that regard). Bug #650228

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Comment 1 Toralf Förster gentoo-dev 2018-03-13 17:24:45 UTC
Created attachment 523730 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-03-13 17:24:48 UTC
Created attachment 523732 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-03-13 17:24:51 UTC
Created attachment 523734 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-03-13 17:24:54 UTC
Created attachment 523736 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-03-13 17:24:57 UTC
Created attachment 523738 [details]
sci-astronomy:xephem-3.7.7:20180313-020755.log
Comment 6 Toralf Förster gentoo-dev 2018-03-13 17:25:00 UTC
Created attachment 523740 [details]
temp.tbz2
Comment 7 Samuel Bauer 2018-04-23 16:29:47 UTC
xephem does not expose it's dependency to x11-libs/libXp, which appears last rited.
GUI/xephem/Makefile states libXp may be required by motif

sed -i 's/-lXp //' GUI/xephem/Makefile GUI/xephem/descrip.mms

Allow to compiles and launch.
Comment 8 sao98021 2018-06-02 17:31:53 UTC
*** Bug 657142 has been marked as a duplicate of this bug. ***
Comment 9 Larry the Git Cow gentoo-dev 2018-06-30 04:10:14 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f4c41d4036405a7d6f25ef628e1cd77ed1fc7ba

commit 4f4c41d4036405a7d6f25ef628e1cd77ed1fc7ba
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2018-06-30 04:09:39 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2018-06-30 04:09:39 +0000

    sci-astronomy/xephem: Don't link against libXp.
    
    Closes: https://bugs.gentoo.org/650404
    Package-Manager: Portage-2.3.41, Repoman-2.3.9

 sci-astronomy/xephem/files/xephem-3.7.7-no_xprint.patch | 11 +++++++++++
 sci-astronomy/xephem/xephem-3.7.7.ebuild                |  3 ++-
 2 files changed, 13 insertions(+), 1 deletion(-)