Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
unable to compile xorg-x11
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
geburns
n00b
n00b


Joined: 19 Apr 2002
Posts: 65
Location: st paul, mn

PostPosted: Mon Nov 21, 2005 4:48 pm    Post subject: unable to compile xorg-x11 Reply with quote

i have an ultra5 that i'm attempting to install gentoo on. i've installed and troubleshot numerous x86 gentoo builds, but this is my first attempt with the sparc hardware. i'm unable to compile xorg-x11. i've attempted numerous times and each attempt produced a different error. i installed using stage3 and was able to compile other ebuilds with out issues. i'm using the default USE flags. any suggestions would be welcome and apprecitated.

-=g=-
Back to top
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Mon Nov 21, 2005 6:05 pm    Post subject: Reply with quote

What kind of error, and for which version of xorg-x11? Please show what the use flags actually are (e.g., output from 'emerge -pv xorg-x11') and a description of what is actually failing. Is the build failing, or does xorg-x11 not install, or does it not run, ...? And if it doesn't run, can you give an indication of what /var/logXorg.0.log says the problem(s) is(are)? xorg-x11 is known to build and run on U5 systems, so we need a bit more information about your specific failure.
Back to top
View user's profile Send private message
geburns
n00b
n00b


Joined: 19 Apr 2002
Posts: 65
Location: st paul, mn

PostPosted: Tue Nov 22, 2005 12:25 am    Post subject: Reply with quote

thanks for responding ferris...

xorg-x11 is not installed (is there a binary for this?)

i'm unable to finish the build. the compile dies with a different compile error each time i've attempted to emerge it.

the errors have been inconsistent

unexpected "/"
syntax errors
unexpected ""

sorry, i'm recompiling again and i overwrote the previous log file... if this one fails (and i'm sure it will) i'll post the errors from the log file.



version: xorg-x11-6.8.2-4

thanks again.

-=g=-
Back to top
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Tue Nov 22, 2005 1:35 pm    Post subject: Reply with quote

There is no binary or xorg-x11, although I thought it was included as part of the stage3 distribution. I could well be mistaken on that, however.
Unfortunately, the errors you are describing are often symptomatic of a kernel problem or of a hardware problem (or even of an interaction problem between the gcc compiler and the kernel) of some sort, leaving xorg-x11 itself an innocent victim. I do not know what kernel you are using, and I don't have a U5 to test on. However, U5 Gentoo installations are pretty common (at least, in the rather uncommon Sparc/Linux world :wink: ). If you have access to IRC, you can get information on stable U5/xorg-x11 configurations from the Freenode #gentoo-sparc channel. An alternative to both the Forums and #gentoo-sparc is the gentoo-sparc@gentoo.org mailing list; if you are not subscribed, I recommend that you become subscribed. It is pretty low volume, and the useful content/noise ratio is quite high. (Links to details on the gentoo.org home page.)

In summary, I think you can install xorg-x11 from one of the distribution media, but I could well be mistaken. However, your system is exhibiting a problem needing investigating independently of xorg.

Hope this is of some use,
Regards,
Ferris.
Back to top
View user's profile Send private message
Weeve
Retired Dev
Retired Dev


Joined: 30 Oct 2002
Posts: 641

PostPosted: Tue Nov 22, 2005 2:59 pm    Post subject: Reply with quote

If you install Gentoo on your system using the GRP package set, you can get an xorg-x11 binary. However if you choose to go this route, be sure to use the portage tree provided on the media for the initial installation or the subsequent emerging of binary package will not work as you want if there are newer versions of packages available in the current portage tree rather than the provided snapshot.
Back to top
View user's profile Send private message
geburns
n00b
n00b


Joined: 19 Apr 2002
Posts: 65
Location: st paul, mn

PostPosted: Tue Nov 22, 2005 4:20 pm    Post subject: Reply with quote

thanks weeve... i realize that, that's why i'm avoiding using the package set. i'd prefer to compile/build the system if possible.

emerge xorg-x11 failed (as predicted), here are some info:

Code:
emerge -pv xorg-x11

These are the packages that I would merge, in order:

Calculating dependencies  ...done!
[ebuild  N    ] x11-base/xorg-x11-6.8.2-r4  (-3dfx) (-3dnow) +bitmap-fonts -cjk -debug +dlloader -dmx -doc -font-server -insecure-drivers -ipv6 -minimal (-mmx) +nls -nocxx +opengl +pam -sdk (-sse) -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv 0 kB
[ebuild  N    ] app-arch/rpm2targz-9.0-r3  2 kB
[ebuild  N    ] sys-apps/utempter-0.5.5.6  20 kB
[ebuild  N    ] x11-terms/xterm-204  -Xaw3d -toolbar +truetype -unicode 698 kB



this is from the build log:

Code:
sparc-unknown-linux-gnu-gcc -c -O2 -mcpu=ultrasparc -fno-strict-aliasing  -ansi -pedantic -Wno-return-type -w    -I../.. -I../../exports/include   -Dlinux -D__sparc__ -D_POSIX_C_SOURCE=199309L                           -D_POSIX_SOURCE -D_XOPEN_SOURCE                            -D_BSD_SOURCE -D_SVID_SOURCE                             -D_GNU_SOURCE                      -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS  -D_REENTRANT -DXUSE_MTSAFE_API    -DMALLOC_0_RETURNS_NULL     -fPIC XGetBMap.c
rm -f XGetDCtl.o unshared/XGetDCtl.o
sparc-unknown-linux-gnu-gcc -c -ansi -pedantic -Wno-return-type -w    -I../.. -I../../exports/include   -Dlinux -D__sparc__ -D_POSIX_C_SOURCE=199309L                              -D_POSIX_SOURCE -D_XOPEN_SOURCE                                 -D_BSD_SOURCE -D_SVID_SOURCE                                -D_GNU_SOURCE                            -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS  -D_REENTRANT -DXUSE_MTSAFE_API    -DMALLOC_0_RETURNS_NULL       -O2 -mcpu=ultrasparc -fno-strict-aliasing   XGetDCtl.c -o unshared/XGetDCtl.o
XGetDCtl.c: In function `XGetDeviceControl':
XGetDCtl.c:117: error: `XDeviceRdsolutionState' undeclared (first use in this function)
XGetDCtl.c:117: error: (Each undeclared identifier is reported only once
XGetDCtl.c:117: error: for each function it appears in.)
make[4]: *** [XGetDCtl.o] Error 1
make[4]: Leaving directory `/opt/tmp/portage/portage/xorg-x11-6.8.2-r4/work/xc/lib/Xi'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/opt/tmp/portage/portage/xorg-x11-6.8.2-r4/work/xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/tmp/portage/portage/xorg-x11-6.8.2-r4/work/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/opt/tmp/portage/portage/xorg-x11-6.8.2-r4/work/xc'
make: *** [World] Error 2

!!! ERROR: x11-base/xorg-x11-6.8.2-r4 failed.
!!! Function build, Line 973, Exitcode 2
!!! make World failed
!!! If you need support, post the topmost build error, NOT this status message.



thanks again folks!

-=g=-
Back to top
View user's profile Send private message
geburns
n00b
n00b


Joined: 19 Apr 2002
Posts: 65
Location: st paul, mn

PostPosted: Tue Nov 22, 2005 4:29 pm    Post subject: Reply with quote

more info:

i'm using kernel 2.4.31-sparc-r2, i modified the .config to remove modules that i know i don't need.

gcc-3.3.5.20050130-r1

-=g=-
Back to top
View user's profile Send private message
geburns
n00b
n00b


Joined: 19 Apr 2002
Posts: 65
Location: st paul, mn

PostPosted: Tue Nov 22, 2005 7:51 pm    Post subject: Reply with quote

yet another compile error:

Code:
sparc-unknown-linux-gnu-gcc -c -ansi -pedantic -Wno-return-type -w    -I../.. -I../../exports/include   -Dlinux -D__sparc__ -D_POSIX_C_SOURCE=199309L                              -D_POSIX_SOURCE -D_XOPEN_SOURCE                                 -D_BSD_SOURCE -D_SVID_SOURCE                                -D_GNU_SOURCE                            -DFUNCPROTO=15 -DNARROWPROTO             -O2 -mcpu=ultrasparc -fno-strict-aliasing   process.c -o unshared/process.o
process.c: In function `ProcessError':
process.c:549: error: `_sdverity' undeclared (first use in this function)
process.c:549: error: (Each undeclared identifier is reported only once
process.c:549: error: for each function it appears in.)
process.c: In function `ProcessConnectionSetup':
process.c:834: error: `_sdverity' undeclared (first use in this function)
process.c: In function `ProcessAuthRequired':
process.c:1083: error: `_sdverity' undeclared (first use in this function)
process.c: In function `ProcessAuthReply':
process.c:1273: error: `_sdverity' undeclared (first use in this function)
process.c: In function `ProcessAuthNextPhase':
process.c:1573: error: `_sdverity' undeclared (first use in this function)
process.c: In function `ProcessProtocolSetup':
process.c:1819: error: `_sdverity' undeclared (first use in this function)
make[4]: *** [process.o] Error 1
make[4]: Leaving directory `/opt/tmp/portage/portage/xorg-x11-6.8.2-r4/work/xc/lib/ICE'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/opt/tmp/portage/portage/xorg-x11-6.8.2-r4/work/xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/tmp/portage/portage/xorg-x11-6.8.2-r4/work/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/opt/tmp/portage/portage/xorg-x11-6.8.2-r4/work/xc'
make: *** [World] Error 2

!!! ERROR: x11-base/xorg-x11-6.8.2-r4 failed.
!!! Function build, Line 973, Exitcode 2
!!! make World failed
!!! If you need support, post the topmost build error, NOT this status message.


i'm able to compile other packages without any issues.

is there reasonable way to test the hardware on the ultra5?

-=g=-
Back to top
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Tue Nov 22, 2005 10:10 pm    Post subject: Reply with quote

For the last error: You are showing '_sdverity' undefined in lib/ICE/process.c. This is a bad sign: The actual symbol in the source is '_severity' and is a parameter to a macro being expanded. I do not kave a good idea how to proceed, but it looks like that is what is happening with this particular failure.
Back to top
View user's profile Send private message
Weeve
Retired Dev
Retired Dev


Joined: 30 Oct 2002
Posts: 641

PostPosted: Tue Nov 22, 2005 11:13 pm    Post subject: Reply with quote

One place you can look is the Diagnostics section of the Gentoo OpenBoot PROM Reference document. It talks about how to troubleshoot some problems.

If the issue happens to be hard disk related, you might try emerging the smartmontools package. This tool can read and test the health of your drive via the S.M.A.R.T. interface.
Back to top
View user's profile Send private message
geburns
n00b
n00b


Joined: 19 Apr 2002
Posts: 65
Location: st paul, mn

PostPosted: Wed Nov 23, 2005 6:27 am    Post subject: Reply with quote

thanks for the obp info weeve. i'll test them out when i get in to work in the morming.

-=g=-
Back to top
View user's profile Send private message
geburns
n00b
n00b


Joined: 19 Apr 2002
Posts: 65
Location: st paul, mn

PostPosted: Thu Dec 15, 2005 7:27 pm    Post subject: Reply with quote

thanks to all who responded.

i had to scrap the U5 and i'll try to find another one to play with. weeve suspected a bad disk and dave m. indicated the same.

-=g=-
Back to top
View user's profile Send private message
Toady
Apprentice
Apprentice


Joined: 21 Dec 2004
Posts: 161
Location: South Wales, UK

PostPosted: Fri Dec 16, 2005 7:56 am    Post subject: Reply with quote

Since the disks are standard ATA-33 then you could just use any spair PC disk you have.

Out of interest what file system did you use ? Reiser is quite broken on Sparc - EXT3 is a good way to go.
_________________
Toady

Gentoo Laptop
3.1.10-gentoo-r1, Intel Core 2 Duo (32bit)
Gnome on the desk, Intel in the box, on-board everything, but it all works!
Back to top
View user's profile Send private message
TrAvELAr
n00b
n00b


Joined: 02 Mar 2004
Posts: 25
Location: Baltimore, MD

PostPosted: Fri Dec 16, 2005 1:21 pm    Post subject: Reply with quote

Toady wrote:

Out of interest what file system did you use ? Reiser is quite broken on Sparc - EXT3 is a good way to go.


That's good to know. I was just about to build up a U10. Thanks for that tip. :)
Back to top
View user's profile Send private message
geburns
n00b
n00b


Joined: 19 Apr 2002
Posts: 65
Location: st paul, mn

PostPosted: Sat Dec 17, 2005 4:33 pm    Post subject: Reply with quote

Toady wrote:

Out of interest what file system did you use ? Reiser is quite broken on Sparc - EXT3 is a good way to go.


i used ext3.

update... i found another spare U5 and i was able to install stage3 and continue on to build xorg-x11. happily using fluxbox and currently building firefox :)

any caveats to adding ~sparc to my make.conf?

-=g=-
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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