Bug 41338 - Xorg build broken
Summary: Xorg build broken
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-29 08:30 UTC by Knut Petersen
Modified: 2011-10-04 01:59 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.