Possible bitrot detected while compiling full xorg tree

Alex Villací­s Lasso a_villacis at palosanto.com
Tue Nov 25 09:12:06 PST 2008


I have tried building the full xserver tree from current git (as of 
2008/11/24 11:00 GMT -5) with the util/modular/build.sh . This is what 
happened.

System: Fedora 8 32-bit, updated last at 2008/11/21.

First I applied this patch to enable the building of the Mesa tree along 
with the rest of the system:

--- build.sh        2008-09-08 23:02:36.613709784 -0400
+++ build.sh.addmesa    2008-09-19 13:31:00.792075918 -0400
@@ -41,6 +41,12 @@
                 "libxtrans") C="xtrans" ;;
             esac
             ;;
+        "mesa")
+            case $C in
+                "drm") C="libdrm" ;;
+                "mesa") C="Mesa" ;;
+            esac
+            ;;
         "pixman")
             M="lib"
             C="pixman"
@@ -387,7 +393,7 @@
 
 build_mesa() {
     build mesa drm
-    #build mesa mesa
+    build mesa mesa
 }
 
 # The server requires at least the following libraries:

Source code is at /home/alex/install/xorg-build-full/
Desired install dir is at /home/alex/xserver

Then I ran the following command at the base of the source tree in:

PATH=/home/alex/xserver/bin:$PATH ./util/modular/build.sh -m 
/home/alex/install/xorg-build-full/mesa/mesa /home/alex/xserver

I found the following problems:
- At app/xdriinfo I got a failure to find a GL library (Mesa, I 
suppose). I resolved this by deferring the compile until after both 
libdrm and Mesa were installed.
- At driver/xf86-input-vmmouse I got a compile error about xf86OSmouse.h 
not being found. I solved this by symlinking the xf86OSmouse.h from 
driver/xf86-input-mouse and restarting the compile.
- driver/xf86-video-via generates an error about "expected 
specifier-qualifier-list before 'uint32_t'" when including drm.h. I 
skipped this one since my chipset is a radeon.
- driver/xf86-video-imstt generates an error about "expected 
specifier-qualifier-list before 'pciVideoPtr'". Skipped.

However, this build does not work correctly because I get a segfault on 
startup (https://bugs.freedesktop.org/show_bug.cgi?id=18700). So I am 
back to a month-old build.

-- 
perl -e '$x=2.4;print sprintf("%.0f + %.0f = %.0f\n",$x,$x,$x+$x);'

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: resolucion-xbuild.txt
URL: <http://lists.x.org/archives/xorg/attachments/20081125/b98e9526/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: salida-git-log.txt
URL: <http://lists.x.org/archives/xorg/attachments/20081125/b98e9526/attachment-0001.txt>


More information about the xorg mailing list