Bug 41338

Summary: Xorg build broken
Product: xorg Reporter: Knut Petersen <Knut_Petersen>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Knut Petersen 2011-09-29 08:30:02 UTC
A fresh git Xorg tree compilation using the following script

export PREFIX=/usr
export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig
export PATH=$PREFIX/bin:$PATH
export ACLOCAL="aclocal -I $PREFIX/share/aclocal"
export LD_LIBRARY_PATH=$PREFIX/lib
export PYTHONPATH=$PREFIX/lib/python2.7/site-packages
export CFLAGS="-v -O3 "
util/modular/build.sh $PREFIX  --modfile modules_to_build --autoresume built-modules.txt \
--confflags "--enable-kdrive  --with-dri-drivers=i915   --disable-gallium --localstatedir=/var"

breaks during building of xserver

GNU C (SUSE Linux) version 4.5.1 20101208 [gcc-4_5-branch revision 167585] (i586-suse-linux)
kinfo.c: In function ‘KdFreePointer’:
kinfo.c:142:55: error: dereferencing pointer to incomplete type
kinfo.c:144:20: error: dereferencing pointer to incomplete type
kinfo.c:145:20: error: dereferencing pointer to incomplete type
make[3]: *** [kinfo.lo] Fehler 1
make[3]: Leaving directory `/home/knut/git15/xserver/hw/kdrive/src'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/knut/git15/xserver/hw/kdrive'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/knut/git15/xserver/hw'
make: *** [all-recursive] Fehler 1
build.sh: "make " failed on xserver/
build.sh: error processing module/component:  "xserver/"

cu,
 Knut
Comment 1 Jeremy Huddleston Sequoia 2011-10-03 20:35:35 UTC
You didn't give enough of the log to be helpful... also the hash for your HEAD 
would be useful.  kdrive built fine for me with current git, and there were a 
slew of merges today, so maybe something in that fixed it.
Comment 2 Knut Petersen 2011-10-04 01:59:43 UTC
(In reply to comment #1)
> You didn't give enough of the log to be helpful... also the hash for your HEAD 
> would be useful.  kdrive built fine for me with current git, and there were a 
> slew of merges today, so maybe something in that fixed it.

Jamey Sharp fixed it with commit 77743f877d573cdf70fcb5cb5897250f668ebf9b

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.