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

Bug 171330

Summary: sci-electronics/spice-3.5.5 emerge failed: can't find X11 headers + bad multilib handling
Product: Gentoo Linux Reporter: Dario Aprea <darioaprea>
Component: Current packagesAssignee: The Soldering-Iron Brotherhood <sci-electronics>
Status: RESOLVED FIXED    
Severity: minor CC: jakub
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 112675, 174791    
Attachments: spice-3.5.5.ebuild.diff
spice-3.5.5.ebuild.diff

Description Dario Aprea 2007-03-18 10:52:32 UTC
Emerging spice-3.5.5 gave me the following errors:

cc -O1 -march=pentium-m -pipe  -DWANT_X11 -I/var/tmp/portage/sci-electronics/spice-3.5.5/work/spice3f5sfix/src/include -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/X11R6/include/X11/Xmu -I/usr/X11R6/include/X11/Xaw -c /var/tmp/portage/sci-electronics/spice-3.5.5/work/spice3f5sfix/src/lib/fte//x11.c  
/var/tmp/portage/sci-electronics/spice-3.5.5/work/spice3f5sfix/src/lib/fte//x11.c:25:26: error: IntrinsicP.h: No such file or directory
/var/tmp/portage/sci-electronics/spice-3.5.5/work/spice3f5sfix/src/lib/fte//x11.c:26:21: error: Xatom.h: No such file or directory

... and so on with similar messages saying X11 headers are missing. However emerge goes on, but finally fails with some generic error messages.

The problem is that the spice ebuild assumes X11 headers are located in /usr/X11R6/include/X11, but I've got no /usr/X11R6 directory. I'm using profile 2006.1 and x11-7.0-r2.

Anyway I was able to emerge spice. Creating a symlink with:

# mkdir -p /usr/X11R6/include
# ln -s /usr/include/X11 /usr/X11R6/include/X11

and reemerging spice did work.

Reproducible: Always

Steps to Reproduce:
1. 'ls /usr/X11R6' says "No such file or directory"
2. emerge spice
Actual Results:  
emerge fails with:

>>> Source compiled.
>>> Test phase [not enabled]: sci-electronics/spice-3.5.5

>>> Install spice-3.5.5 into /var/tmp/portage/sci-electronics/spice-3.5.5/image/ category sci-electronics
!!! dobin: obj/bin/spice3 does not exist
!!! dobin: obj/bin/nutmeg does not exist

!!! ERROR: sci-electronics/spice-3.5.5 failed.


Expected Results:  
Emerge spice.

Since the bug is related to X and file system organization, I think the relevant information about my setup is:

profile 2006.1
virtual/x11-7.0-r2
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-18 10:58:34 UTC
$ equery b /usr/X11R6
[ Searching for file(s) /usr/X11R6 in *... ]
x11-base/xorg-x11-7.2 (/usr/X11R6 -> ../usr)

Anyway, it shouldn't search there...
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-03-18 11:07:54 UTC
Created attachment 113639 [details, diff]
spice-3.5.5.ebuild.diff

Try this... (also fixes dependencies)
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-03-18 11:18:50 UTC
Created attachment 113641 [details, diff]
spice-3.5.5.ebuild.diff

fixes multilib handling plus quoting in addition
Comment 4 Dario Aprea 2007-03-18 12:23:17 UTC
(In reply to comment #3)
> Created an attachment (id=113641) [edit]
> spice-3.5.5.ebuild.diff
> 
> fixes multilib handling plus quoting in addition
> 

Works great.
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2007-04-10 06:37:17 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Created an attachment (id=113641) [edit]
> > spice-3.5.5.ebuild.diff
> > fixes multilib handling plus quoting in addition
> Works great.

 Looks good to me.  sci-electronics, you will apply the patch?
Comment 6 Denis Dupeyron (RETIRED) gentoo-dev 2007-04-11 06:33:11 UTC
>  Looks good to me.  sci-electronics, you will apply the patch?

You talkin' to me ? ;o)

Yes, I will. I'm just rather busy with real life these past few days, but I'll eventually check this and commit it. Please, just give me a few more days, I'm doing the urgent stuff first.

Denis.
Comment 7 Christian Faulhammer (RETIRED) gentoo-dev 2007-04-17 14:22:31 UTC
calchan, if you are too busy, I can apply the patch, as we have a stabilisation request for 3.5.5
Comment 8 Denis Dupeyron (RETIRED) gentoo-dev 2007-04-18 06:21:08 UTC
(In reply to comment #7)
> calchan, if you are too busy, I can apply the patch, as we have a stabilisation
> request for 3.5.5

Please do, thanks for the offer. I'm currently very busy at work plus there is the DATE conference going on this week so I have some trouble to keep up.

Denis.
Comment 9 Christian Faulhammer (RETIRED) gentoo-dev 2007-04-18 07:36:30 UTC
patch applied and closing