Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143738 - sci-mathematics/axiom-3.9-r1 can't find libXpm
Summary: sci-mathematics/axiom-3.9-r1 can't find libXpm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
: 147643 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-08-12 21:21 UTC by M. Edward Borasky
Modified: 2006-10-01 06:00 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
entire log of the build (axiom.log,780.92 KB, text/plain)
2006-08-12 21:22 UTC, M. Edward Borasky
Details
axiom-3.9-r1.ebuild patch (axium-3.9-r1_dep_and_path_fixes.patch,787 bytes, patch)
2006-09-15 06:09 UTC, Johannes Weiner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description M. Edward Borasky 2006-08-12 21:21:32 UTC
This used to emerge fine, but I'm wondering if xorg-7 broke it:

34 linking /var/tmp/portage/axiom-3.9-r1/work/axiom/mnt/linux/lib/view2D
gcc: /usr/X11R6/lib/libXpm.a: No such file or directory
make[4]: *** [/var/tmp/portage/axiom-3.9-r1/work/axiom/mnt/linux/lib/view2D] Error 1
make[4]: Leaving directory `/var/tmp/portage/axiom-3.9-r1/work/axiom/src/graph/view2D'
make[3]: *** [view2Ddir] Error 2
make[3]: Leaving directory `/var/tmp/portage/axiom-3.9-r1/work/axiom/src/graph'
make[2]: *** [graphdir] Error 2
make[2]: Leaving directory `/var/tmp/portage/axiom-3.9-r1/work/axiom/src'
make[1]: *** [srcdir] Error 2
make[1]: Leaving directory `/var/tmp/portage/axiom-3.9-r1/work/axiom'
make: *** [all] Error 2

!!! ERROR: sci-mathematics/axiom-3.9-r1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  axiom-3.9-r1.ebuild, line 62:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 M. Edward Borasky 2006-08-12 21:22:13 UTC
Created attachment 94107 [details]
entire log of the build
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-08-12 22:50:01 UTC
Apart from that it searches for the file in a wrong place, do you have x11-libs/libXpm installed?
Comment 3 M. Edward Borasky 2006-08-12 23:23:56 UTC
Yes, it's installed ... this may be a vmware thing. It's in a virtual machine, and I can't get the vmware tools to install either because things aren't where vmware tools are expecting them to be. I'm going to try it in a real machine and see what happens.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-08-12 23:27:54 UTC
> /usr/X11R6/lib/libXpm.a: No such file or directory

Nah, don't think that has to do anything w/ vmware. The file is in /usr/lib/libXpm.a. 
Comment 5 M. Edward Borasky 2006-08-12 23:32:59 UTC
Ah yes ... slocate is my friend :) I'm rerunning it now on a real machine just to be sure. By the way, the virtual machine was built from scratch with xorg 7 -- it wasn't upgraded. 
Comment 6 Tim Yamin (RETIRED) gentoo-dev 2006-08-13 06:12:54 UTC
Do you have /usr/X11R6 as a symlink to /usr? Looks like possibly not...
Comment 7 M. Edward Borasky 2006-08-13 11:11:51 UTC
(In reply to comment #6)
> Do you have /usr/X11R6 as a symlink to /usr? Looks like possibly not...
> 
No, I don't. This (virtual) machine was built from scratch -- boot 2006.0 minimal CD, stage 3, emerge --sync, emerge a bunch of packages including X, .... It does not appear to be linked. At what point in the build process should the link have been set?
Comment 8 Tim Yamin (RETIRED) gentoo-dev 2006-08-13 11:34:08 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > Do you have /usr/X11R6 as a symlink to /usr? Looks like possibly not...
> > 
> No, I don't. This (virtual) machine was built from scratch -- boot 2006.0
> minimal CD, stage 3, emerge --sync, emerge a bunch of packages including X,
> .... It does not appear to be linked. At what point in the build process should
> the link have been set?

X team, suggestions?
Comment 9 Donnie Berkholz (RETIRED) gentoo-dev 2006-08-13 17:19:47 UTC
The real fix is to make axiom look in the right place. A workaround is the /usr/X11R6 -> /usr symlink. The xorg-x11-7.x metabuilds should do this automatically.
Comment 10 M. Edward Borasky 2006-08-15 20:44:28 UTC
(In reply to comment #9)
> The real fix is to make axiom look in the right place. A workaround is the
> /usr/X11R6 -> /usr symlink. The xorg-x11-7.x metabuilds should do this
> automatically.
> 
You can close this. I re-ran the emerge of xorg-x11 and the axiom emerge now works. Something must have crashed in the X install when I initially built the system that I didn't detect. Some of X was installed but not all of it.

I can attempt to recreate this if it matters -- it's just a matter of creating a new virtual machine and running a couple of bash scripts. It might take a few hours to get to the point where X is supposed to be installed, since I bring it in as a dependency of "windowmaker" and not directly. But that's fairly early in the staging process.

I boot the minimal CD, unpack stage3 and the snapshot, emerge --sync, update world -- that's the part that takes the time -- then start loading packages. The first thing that comes in is "vim", and the second thing is the desktop, in this case "windowmaker". It seems silly, though, since 2006.1 is almost ready.
Comment 11 Tim Yamin (RETIRED) gentoo-dev 2006-08-16 08:09:19 UTC
(In reply to comment #10)
> You can close this. I re-ran the emerge of xorg-x11 and the axiom emerge now
> works. Something must have crashed in the X install when I initially built the
> system that I didn't detect. Some of X was installed but not all of it.

Okie, thanks for letting me know :-)
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2006-09-15 01:17:20 UTC
*** Bug 147643 has been marked as a duplicate of this bug. ***
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2006-09-15 01:19:49 UTC
Well, can we fix this properly please? It will break people who don't install xorg-x11 but install xorg-server only.
Comment 14 Johannes Weiner 2006-09-15 06:09:02 UTC
Created attachment 97045 [details, diff]
axiom-3.9-r1.ebuild patch

Note to the XLIB sedding: I don't know if there is still /usr/X11R6 on older systems (is there?), so there should also be a check for which directory to choose.
Comment 15 Tim Yamin (RETIRED) gentoo-dev 2006-10-01 06:00:47 UTC
(In reply to comment #14)
> Created an attachment (id=97045) [edit]
> axiom-3.9-r1.ebuild patch

Fixed in CVS, thanks!