Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)

2009-11-13 Thread Marcus Wanner

On 11/12/2009 11:36 PM, Roy Wright wrote:


On Nov 12, 2009, at 5:39 PM, Marcus Wanner wrote:


Spoke too soon...now I'm getting this:

../doltcompile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. 
-I../include-DHAVE_ssing-declarations -Wnested-externs 
-fno-strict-aliasing -DDBUS_API_SUBJECT_TO_CI/usr/include/pixman-1 
-I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbuxt 
-I../xfixes -I../Xi -I../mi -I../miext/shadow  -I../miext/damage 
-I../render (1) * 1000) + ((6) * 10) + ((5) * 1000) + 0) 
-march=pentium4 -O2 -pipe ch.lo dispatch.c

In file included from ../Xext/panoramiX.h:44,
   from dispatch.c:134:
/usr/include/X11/extensions/panoramiXext.h:49: error: expected ')' 
before '*' to
/usr/include/X11/extensions/panoramiXext.h:54: error: expected '=', 
',', ';', 'a
/usr/include/X11/extensions/panoramiXext.h:64: error: expected '=', 
',', ';', 'a
/usr/include/X11/extensions/panoramiXext.h:70: error: expected '=', 
',', ';', 'a
/usr/include/X11/extensions/panoramiXext.h:76: error: expected '=', 
',', ';', 'a

dispatch.c: In function 'ProcCloseFont':
dispatch.c:1117: warning: 'SecurityLookupIDByType' is deprecated 
(declared at ..

make[2]: *** [dispatch.lo] Error 1


http://bugs.gentoo.org/show_bug.cgi?id=291312

Basically you will need to mask all the dependencies for 
xorg-server-1.7 to be able to compile 1.6.5.  I hit this a few days 
ago.  = dependencies in ebuilds cause PITA for users...


HTH,
Roy
Thank you so much, the instructions at that link (plus a few hours of 
randomly installing and uninstalling packages) finally got things working!


However, I would also note that I use xfce4-settings, and therefore also 
had to mask =xfce-base/xfce4-settings-4.6.3-r1, since it depends on 
libXi-1.3 or greater.


Again, thank you to everyone who helped me with this.

Marcus



[gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)

2009-11-12 Thread Marcus Wanner

Hi,

As you have all noticed by now, I am currently upgrading my system to 
~x86. About 220 of the 238 packages were built correctly, but when it 
got to xorg-server-1.6.5, it crashed complaining about 
../Xext/panoramiX.h:44:41: error: X11/extensions/panoramiXext.h: No 
such file or directory. I'm guessing this means that there was a 
problem with a dependency being upgraded/installed/omitted. How do I fix 
this?


I have attached the output of emerge --info =x11-base/xorg-server-1.6.5, 
as requested, and an (abridged) build log. Thanks for your help!


Marcus

(sorry about the dos newlines, I had to reformat this on my windows box :()

Portage 2.1.7.4 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.11-r0, 
2.6.30-gentoo-r8 i686)
= System 
Settings =
System uname: 
Linux-2.6.30-gentoo-r8-i686-Intel-R-_Pentium-R-_4_CPU_2.00GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 10 Nov 2009 18:15:01 +
app-shells/bash: 4.0_p35
dev-lang/python: 2.6.4, 3.1.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc: 0.5.2-r2 sys-apps/sandbox: 2.2
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils: 2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.30-r1
ACCEPT_KEYWORDS=x86 ~x86
CBUILD=i686-pc-linux-gnu
CFLAGS=-march=pentium4 -O2 -pipe -fomit-frame-pointer
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/share/X11/xkb
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf 
/etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo 
/etc/udev/rules.d
CXXFLAGS=-march=pentium4 -O2 -pipe -fomit-frame-pointer
DISTDIR=/usr/portage/distfiles
FEATURES=assume-digests distlocks fixpackages news parallel-fetch 
protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch
GENTOO_MIRRORS=ftp://ftp.lug.udel.edu/pub/gentoo/ 
http://www.gtlib.gatech.edu/pub/gentoo 
LDFLAGS=-Wl,-O1 MAKEOPTS=-j2 PKGDIR=/usr/portage/packages
PORTAGE_CONFIGROOT=/
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles 
--exclude=/local --exclude=/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
SYNC=rsync://rsync.namerica.gentoo.org/gentoo-portage
USE=X a52 aac acl acpi alsa berkdb blender-game bluetooth branding bzip2 cairo 
cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss 
encode evo fam fbcon firefox flac fortran ftp gdbm gif gimp gpm gstreamer gtk 
gzip hal iconv ipv6 jpeg latex ldap libnotify libsamplerate live lock mad 
mikmod modules mp2 mp3 mp4 mpeg mplayer mudflap ncurses network nls nptl 
nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support 
quicktime rar raw rdesktop readline reflection samba sasl sdl session speex 
spell spl sse sse2 ssl startup-notification subversion svg symlink sysfs tcpd 
thunar tiff truetype unicode usb vorbis win32codecs x264 x86 xml xorg 
xscreensaver xulrunner xv xvid zlib
ALSA_CARDS=ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 
emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m 
maestro3 trident usb-audio via82xx via82xx-modem ymfpci
ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug file 
hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug 
rate route share shm softvol
APACHE2_MODULES=actions alias auth_basic authn_alias authn_anon authn_dbm 
authn_default authn_file authz_dbm authz_default authz_groupfile authz_host 
authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir 
disk_cache env expires ext_filter file_cache filter headers include info 
log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling 
status unique_id userdir usertrack vhost_alias ELIBC=glibc 
INPUT_DEVICES=keyboard mouse KERNEL=linux
LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses 
text
USERLAND=GNU
VIDEO_CARDS=nvidia
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, 
LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, 
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
!!! Error: Unrecognized option: --impl-headers
exiting
 Unpacking source...
 Unpacking xorg-server-1.6.5.tar.bz2 to 
 /var/tmp/portage/x11-base/xorg-server-1.6.5/work
 Source unpacked in /var/tmp/portage/x11-base/xorg-server-1.6.5/work
 Preparing source in 
 /var/tmp/portage/x11-base/xorg-server-1.6.5/work/xorg-server-1.6.5 ...
 * Running elibtoolize in: xorg-server-1.6.5
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
 Source prepared.
 Configuring source in 
 /var/tmp/portage/x11-base/xorg-server-1.6.5/work/xorg-server-1.6.5 ...
 * econf: updating 

Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)

2009-11-12 Thread Alan McKinnon
On Thursday 12 November 2009 16:23:11 Marcus Wanner wrote:
 Hi,
 
 As you have all noticed by now, I am currently upgrading my system to
 ~x86. About 220 of the 238 packages were built correctly, but when it
 got to xorg-server-1.6.5, it crashed complaining about
 ../Xext/panoramiX.h:44:41: error: X11/extensions/panoramiXext.h: No
 such file or directory. I'm guessing this means that there was a
 problem with a dependency being upgraded/installed/omitted. How do I fix
 this?

That file comes from libXinerama:

$ equery belongs /usr/include/X11/extensions/panoramiXext.h
 * Searching for /usr/include/X11/extensions/panoramiXext.h ...
x11-libs/libXinerama-1.1 (/usr/include/X11/extensions/panoramiXext.h)

I recall similar issues with the upgrade to xorg-server-1.7*

Solution then was to emerge *all* required libs and -proto packages, then 
build xorg-server. I think it was due to stuff not being in DEPEND

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)

2009-11-12 Thread Roy Wright


On Nov 12, 2009, at 8:33 AM, Alan McKinnon wrote:


On Thursday 12 November 2009 16:23:11 Marcus Wanner wrote:

Hi,

As you have all noticed by now, I am currently upgrading my system to
~x86. About 220 of the 238 packages were built correctly, but when it
got to xorg-server-1.6.5, it crashed complaining about
../Xext/panoramiX.h:44:41: error: X11/extensions/panoramiXext.h: No
such file or directory. I'm guessing this means that there was a
problem with a dependency being upgraded/installed/omitted. How do  
I fix

this?


That file comes from libXinerama:

$ equery belongs /usr/include/X11/extensions/panoramiXext.h
* Searching for /usr/include/X11/extensions/panoramiXext.h ...
x11-libs/libXinerama-1.1 (/usr/include/X11/extensions/panoramiXext.h)

I recall similar issues with the upgrade to xorg-server-1.7*

Solution then was to emerge *all* required libs and -proto packages,  
then

build xorg-server. I think it was due to stuff not being in DEPEND


Disable (either temporary or permanent) the xinerama USE flag.






Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)

2009-11-12 Thread Marcus Wanner

On 11/12/2009 11:55 AM, Roy Wright wrote:


On Nov 12, 2009, at 8:33 AM, Alan McKinnon wrote:


On Thursday 12 November 2009 16:23:11 Marcus Wanner wrote:

Hi,

As you have all noticed by now, I am currently upgrading my system to
~x86. About 220 of the 238 packages were built correctly, but when it
got to xorg-server-1.6.5, it crashed complaining about
../Xext/panoramiX.h:44:41: error: X11/extensions/panoramiXext.h: No
such file or directory. I'm guessing this means that there was a
problem with a dependency being upgraded/installed/omitted. How do I 
fix

this?


That file comes from libXinerama:

$ equery belongs /usr/include/X11/extensions/panoramiXext.h
* Searching for /usr/include/X11/extensions/panoramiXext.h ...
x11-libs/libXinerama-1.1 (/usr/include/X11/extensions/panoramiXext.h)

I recall similar issues with the upgrade to xorg-server-1.7*

Solution then was to emerge *all* required libs and -proto packages, 
then

build xorg-server. I think it was due to stuff not being in DEPEND


Disable (either temporary or permanent) the xinerama USE flag.


Me or Alan?

Marcus



Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)

2009-11-12 Thread Roy Wright


On Nov 12, 2009, at 11:24 AM, Marcus Wanner wrote:


On 11/12/2009 11:55 AM, Roy Wright wrote:


Disable (either temporary or permanent) the xinerama USE flag.


Me or Alan?




OP

As a suggestion for a work around for the compile issue.  If you  
temporarily disable xinerama, then the build should proceed.  Then if  
you need xinerama, enable the USE flag and build again.






Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)

2009-11-12 Thread Marcus Wanner

On 11/12/2009 12:56 PM, Roy Wright wrote:


On Nov 12, 2009, at 11:24 AM, Marcus Wanner wrote:


On 11/12/2009 11:55 AM, Roy Wright wrote:


Disable (either temporary or permanent) the xinerama USE flag.


Me or Alan?




OP

As a suggestion for a work around for the compile issue.  If you 
temporarily disable xinerama, then the build should proceed.  Then if 
you need xinerama, enable the USE flag and build again.
I don't have the xinerama use flag set anywhere...I don't know what it 
is, I don't want it, and I hopefully don't need it.


I did put -xinerama in my use flag variable and try again, we'll see how 
that works...btw, I have switched to xorg-server-1.7.1, since I don't 
want to go through upgrading more than I need to.


Marcus



Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)

2009-11-12 Thread Marcus Wanner

On 11/12/2009 1:21 PM, Marcus Wanner wrote:

On 11/12/2009 12:56 PM, Roy Wright wrote:


On Nov 12, 2009, at 11:24 AM, Marcus Wanner wrote:


On 11/12/2009 11:55 AM, Roy Wright wrote:


Disable (either temporary or permanent) the xinerama USE flag.


Me or Alan?




OP

As a suggestion for a work around for the compile issue.  If you 
temporarily disable xinerama, then the build should proceed.  Then if 
you need xinerama, enable the USE flag and build again.
I don't have the xinerama use flag set anywhere...I don't know what it 
is, I don't want it, and I hopefully don't need it.


I did put -xinerama in my use flag variable and try again, we'll see 
how that works...btw, I have switched to xorg-server-1.7.1, since I 
don't want to go through upgrading more than I need to.


Marcus
Well, now it's saying that a bunch of things like 
'GL_DEPTH_STENCIL_MESA' are undeclared in rensize.c...I attached a 
complete build log, hopefully someone can help me with this one.


Thanks!

Marcus
!!! Error: (BUnrecognized option: --impl-headers
exiting
 Unpacking source...
 Unpacking xorg-server-1.7.1.tar.bz2 to 
 /var/tmp/portage/x11-base/xorg-server-1.7.1/work
 Source unpacked in /var/tmp/portage/x11-base/xorg-server-1.7.1/work
 Preparing source in 
 /var/tmp/portage/x11-base/xorg-server-1.7.1/work/xorg-server-1.7.1 ...
 * Running elibtoolize in: xorg-server-1.7.1
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
 Source prepared.
 Configuring source in 
 /var/tmp/portage/x11-base/xorg-server-1.7.1/work/xorg-server-1.7.1 ...
 * econf: updating xorg-server-1.7.1/config.guess with 
/usr/share/gnuconfig/config.guess
 * econf: updating xorg-server-1.7.1/config.sub with 
/usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu 
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share 
--sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr --datadir=/usr/share 
--enable-ipv6 --disable-dmx --disable-kdrive --disable-tslib 
--disable-xcalibrate --enable-xvfb --enable-xnest --enable-record 
--enable-xfree86-utils --enable-install-libxf86config --enable-dri 
--enable-dri2 --enable-glx --enable-xorg --enable-glx-tls --enable-config-hal 
--sysconfdir=/etc/X11 --localstatedir=/var --enable-install-setuid 
--with-fontdir=/usr/share/fonts --with-xkb-output=/var/lib/xkb --without-dtrace 
--disable-xsdl
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands +=... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for i686-pc-linux-gnu-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc 
object... ok
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes

Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)

2009-11-12 Thread Marcus Wanner

On 11/12/2009 1:29 PM, Marcus Wanner wrote:

On 11/12/2009 1:21 PM, Marcus Wanner wrote:

On 11/12/2009 12:56 PM, Roy Wright wrote:


On Nov 12, 2009, at 11:24 AM, Marcus Wanner wrote:


On 11/12/2009 11:55 AM, Roy Wright wrote:


Disable (either temporary or permanent) the xinerama USE flag.


Me or Alan?




OP

As a suggestion for a work around for the compile issue.  If you 
temporarily disable xinerama, then the build should proceed.  Then 
if you need xinerama, enable the USE flag and build again.
I don't have the xinerama use flag set anywhere...I don't know what 
it is, I don't want it, and I hopefully don't need it.


I did put -xinerama in my use flag variable and try again, we'll see 
how that works...btw, I have switched to xorg-server-1.7.1, since I 
don't want to go through upgrading more than I need to.


Marcus
Well, now it's saying that a bunch of things like 
'GL_DEPTH_STENCIL_MESA' are undeclared in rensize.c...I attached a 
complete build log, hopefully someone can help me with this one.


Thanks!

Marcus
Now I can't get ANY version of xorg-server to compile, now emergeing any 
of them starts with:


Error: Unrecognized option: --impl-headers
exiting

and
ends with:

 CCsingle2.o
rensize.c: In function '__glXImageSize':
rensize.c:222: error: 'GL_DEPTH_STENCIL_MESA' undeclared (first use in 
this function)

rensize.c:222: error: (Each undeclared identifier is reported only once
rensize.c:222: error: for each function it appears in.)
rensize.c:261: error: 'GL_UNSIGNED_SHORT_15_1_MESA' undeclared (first 
use in this function)
rensize.c:262: error: 'GL_UNSIGNED_SHORT_1_15_REV_MESA' undeclared 
(first use in this function)
rensize.c:276: error: 'GL_UNSIGNED_INT_24_8_MESA' undeclared (first use 
in this function)
rensize.c:277: error: 'GL_UNSIGNED_INT_8_24_REV_MESA' undeclared (first 
use in this function)

make[1]: *** [rensize.lo] Error 1

I have tried both versions of libXinerama (latest x86 and latest ~x86) 
and neither of the work with the latest stable version of xorg-server 
(1.6.3-901-r2), 1.6.5, 1.7.1.


This is getting really frustrating...any suggestions would be welcome.

Marcus



Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)

2009-11-12 Thread Alan McKinnon
On Thursday 12 November 2009 20:21:41 Marcus Wanner wrote:
 On 11/12/2009 12:56 PM, Roy Wright wrote:
  On Nov 12, 2009, at 11:24 AM, Marcus Wanner wrote:
  On 11/12/2009 11:55 AM, Roy Wright wrote:
  Disable (either temporary or permanent) the xinerama USE flag.
 
  Me or Alan?
 
  OP
 
  As a suggestion for a work around for the compile issue.  If you
  temporarily disable xinerama, then the build should proceed.  Then if
  you need xinerama, enable the USE flag and build again.
 
 I don't have the xinerama use flag set anywhere...I don't know what it
 is, I don't want it, and I hopefully don't need it.
 
 I did put -xinerama in my use flag variable and try again, we'll see how
 that works...btw, I have switched to xorg-server-1.7.1, since I don't
 want to go through upgrading more than I need to.

libXinerama and xineramaproto are hard-DEPENDS on quite a few things:

$ equery depends libXinerama
 * Searching for libXinerama ...
app-emulation/vmware-player-2.5.3.185404 (x11-libs/libXinerama)
app-office/openoffice-3.1.1 (x11-libs/libXinerama)


$ equery depends xineramaproto
 * Searching for xineramaproto ...
app-office/openoffice-3.1.1 (x11-proto/xineramaproto)
x11-base/xorg-server-1.7.1 (=x11-proto/xineramaproto-1.1.3)
x11-libs/libXinerama-1.1 (=x11-proto/xineramaproto-1.2)

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)

2009-11-12 Thread Alan McKinnon
On Thursday 12 November 2009 22:36:51 Marcus Wanner wrote:
 Now I can't get ANY version of xorg-server to compile, now emergeing any 
 of them starts with:
 
 Error: Unrecognized option: --impl-headers
 exiting
 
 and
 ends with:
 
   CCsingle2.o
 rensize.c: In function '__glXImageSize':
 rensize.c:222: error: 'GL_DEPTH_STENCIL_MESA' undeclared (first use in 
 this function)
 rensize.c:222: error: (Each undeclared identifier is reported only once
 rensize.c:222: error: for each function it appears in.)
 rensize.c:261: error: 'GL_UNSIGNED_SHORT_15_1_MESA' undeclared (first 
 use in this function)
 rensize.c:262: error: 'GL_UNSIGNED_SHORT_1_15_REV_MESA' undeclared 
 (first use in this function)
 rensize.c:276: error: 'GL_UNSIGNED_INT_24_8_MESA' undeclared (first use 
 in this function)
 rensize.c:277: error: 'GL_UNSIGNED_INT_8_24_REV_MESA' undeclared (first 
 use in this function)
 make[1]: *** [rensize.lo] Error 1
 
 I have tried both versions of libXinerama (latest x86 and latest ~x86) 
 and neither of the work with the latest stable version of xorg-server 
 (1.6.3-901-r2), 1.6.5, 1.7.1.
 
 This is getting really frustrating...any suggestions would be welcome.
 

Those are OpenGL/mesa errors. Did you rebuild mesa first?

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)

2009-11-12 Thread Marcus Wanner

On 11/12/2009 4:43 PM, Alan McKinnon wrote:

On Thursday 12 November 2009 20:21:41 Marcus Wanner wrote:
  

On 11/12/2009 12:56 PM, Roy Wright wrote:


On Nov 12, 2009, at 11:24 AM, Marcus Wanner wrote:
  

On 11/12/2009 11:55 AM, Roy Wright wrote:


Disable (either temporary or permanent) the xinerama USE flag.
  

Me or Alan?


OP

As a suggestion for a work around for the compile issue.  If you
temporarily disable xinerama, then the build should proceed.  Then if
you need xinerama, enable the USE flag and build again.
  

I don't have the xinerama use flag set anywhere...I don't know what it
is, I don't want it, and I hopefully don't need it.

I did put -xinerama in my use flag variable and try again, we'll see how
that works...btw, I have switched to xorg-server-1.7.1, since I don't
want to go through upgrading more than I need to.



libXinerama and xineramaproto are hard-DEPENDS on quite a few things:

$ equery depends libXinerama
 * Searching for libXinerama ...
app-emulation/vmware-player-2.5.3.185404 (x11-libs/libXinerama)
app-office/openoffice-3.1.1 (x11-libs/libXinerama)


$ equery depends xineramaproto
 * Searching for xineramaproto ...
app-office/openoffice-3.1.1 (x11-proto/xineramaproto)
x11-base/xorg-server-1.7.1 (=x11-proto/xineramaproto-1.1.3)
x11-libs/libXinerama-1.1 (=x11-proto/xineramaproto-1.2)
  
I'm really sorry for my noobishness, but could you explain exectly what 
proto means in this context and how it applies to me?


Marcus



Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)

2009-11-12 Thread Alan McKinnon
On Thursday 12 November 2009 23:51:32 Marcus Wanner wrote:
 On 11/12/2009 4:43 PM, Alan McKinnon wrote:
  On Thursday 12 November 2009 20:21:41 Marcus Wanner wrote:
  On 11/12/2009 12:56 PM, Roy Wright wrote:
  On Nov 12, 2009, at 11:24 AM, Marcus Wanner wrote:
  On 11/12/2009 11:55 AM, Roy Wright wrote:
  Disable (either temporary or permanent) the xinerama USE flag.
 
  Me or Alan?
 
  OP
 
  As a suggestion for a work around for the compile issue.  If you
  temporarily disable xinerama, then the build should proceed.  Then if
  you need xinerama, enable the USE flag and build again.
 
  I don't have the xinerama use flag set anywhere...I don't know what it
  is, I don't want it, and I hopefully don't need it.
 
  I did put -xinerama in my use flag variable and try again, we'll see how
  that works...btw, I have switched to xorg-server-1.7.1, since I don't
  want to go through upgrading more than I need to.
 
  libXinerama and xineramaproto are hard-DEPENDS on quite a few things:
 
  $ equery depends libXinerama
   * Searching for libXinerama ...
  app-emulation/vmware-player-2.5.3.185404 (x11-libs/libXinerama)
  app-office/openoffice-3.1.1 (x11-libs/libXinerama)
 
 
  $ equery depends xineramaproto
   * Searching for xineramaproto ...
  app-office/openoffice-3.1.1 (x11-proto/xineramaproto)
  x11-base/xorg-server-1.7.1 (=x11-proto/xineramaproto-1.1.3)
  x11-libs/libXinerama-1.1 (=x11-proto/xineramaproto-1.2)
 
 I'm really sorry for my noobishness, but could you explain exectly what
 proto means in this context and how it applies to me?

Xorg used to be one ginormous complicated package. It is now a ginormous 
complicated collection of small packages, each one simple.

This is supposed to make someone's life easier. In reality it moves the 
complexity from point A to point B, where you still have to deal with it :-)

The -proto packages are the protocol header files. They tell the compiler how 
to build other packages that use those protocols. They are separate because 
Ubuntu users don't need them - they don't compile stuff. You do, so you need 
them, and the Xorg ebuilds pull them in.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)

2009-11-12 Thread Marcus Wanner

On 11/12/2009 5:01 PM, Alan McKinnon wrote:

On Thursday 12 November 2009 23:51:32 Marcus Wanner wrote:
  

On 11/12/2009 4:43 PM, Alan McKinnon wrote:


On Thursday 12 November 2009 20:21:41 Marcus Wanner wrote:
  

On 11/12/2009 12:56 PM, Roy Wright wrote:


On Nov 12, 2009, at 11:24 AM, Marcus Wanner wrote:
  

On 11/12/2009 11:55 AM, Roy Wright wrote:


Disable (either temporary or permanent) the xinerama USE flag.
  

Me or Alan?


OP

As a suggestion for a work around for the compile issue.  If you
temporarily disable xinerama, then the build should proceed.  Then if
you need xinerama, enable the USE flag and build again.
  

I don't have the xinerama use flag set anywhere...I don't know what it
is, I don't want it, and I hopefully don't need it.

I did put -xinerama in my use flag variable and try again, we'll see how
that works...btw, I have switched to xorg-server-1.7.1, since I don't
want to go through upgrading more than I need to.


libXinerama and xineramaproto are hard-DEPENDS on quite a few things:

$ equery depends libXinerama
 * Searching for libXinerama ...
app-emulation/vmware-player-2.5.3.185404 (x11-libs/libXinerama)
app-office/openoffice-3.1.1 (x11-libs/libXinerama)


$ equery depends xineramaproto
 * Searching for xineramaproto ...
app-office/openoffice-3.1.1 (x11-proto/xineramaproto)
x11-base/xorg-server-1.7.1 (=x11-proto/xineramaproto-1.1.3)
x11-libs/libXinerama-1.1 (=x11-proto/xineramaproto-1.2)
  

I'm really sorry for my noobishness, but could you explain exectly what
proto means in this context and how it applies to me?



Xorg used to be one ginormous complicated package. It is now a ginormous 
complicated collection of small packages, each one simple.


This is supposed to make someone's life easier. In reality it moves the 
complexity from point A to point B, where you still have to deal with it :-)


The -proto packages are the protocol header files. They tell the compiler how 
to build other packages that use those protocols. They are separate because 
Ubuntu users don't need them - they don't compile stuff. You do, so you need 
them, and the Xorg ebuilds pull them in.


  
Thank you. Do those need to be recompiled when something depending on 
them is?


Marcus



Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)

2009-11-12 Thread Marcus Wanner

On 11/12/2009 4:46 PM, Alan McKinnon wrote:

On Thursday 12 November 2009 22:36:51 Marcus Wanner wrote:
  
Now I can't get ANY version of xorg-server to compile, now emergeing any 
of them starts with:


Error: Unrecognized option: --impl-headers
exiting

and
ends with:

  CCsingle2.o
rensize.c: In function '__glXImageSize':
rensize.c:222: error: 'GL_DEPTH_STENCIL_MESA' undeclared (first use in 
this function)

rensize.c:222: error: (Each undeclared identifier is reported only once
rensize.c:222: error: for each function it appears in.)
rensize.c:261: error: 'GL_UNSIGNED_SHORT_15_1_MESA' undeclared (first 
use in this function)
rensize.c:262: error: 'GL_UNSIGNED_SHORT_1_15_REV_MESA' undeclared 
(first use in this function)
rensize.c:276: error: 'GL_UNSIGNED_INT_24_8_MESA' undeclared (first use 
in this function)
rensize.c:277: error: 'GL_UNSIGNED_INT_8_24_REV_MESA' undeclared (first 
use in this function)

make[1]: *** [rensize.lo] Error 1

I have tried both versions of libXinerama (latest x86 and latest ~x86) 
and neither of the work with the latest stable version of xorg-server 
(1.6.3-901-r2), 1.6.5, 1.7.1.


This is getting really frustrating...any suggestions would be welcome.




Those are OpenGL/mesa errors. Did you rebuild mesa first?

  

Not until I read that...

After rebuilding mesa, and then compiling xorg-server, and I get the 
same error.


Marcus



Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)

2009-11-12 Thread Roy Wright


On Nov 12, 2009, at 4:10 PM, Marcus Wanner wrote:


On 11/12/2009 4:46 PM, Alan McKinnon wrote:

On Thursday 12 November 2009 22:36:51 Marcus Wanner wrote:

Now I can't get ANY version of xorg-server to compile, now  
emergeing any of them starts with:


Error: Unrecognized option: --impl-headers
exiting

and
ends with:

 CCsingle2.o
rensize.c: In function '__glXImageSize':
rensize.c:222: error: 'GL_DEPTH_STENCIL_MESA' undeclared (first  
use in this function)
rensize.c:222: error: (Each undeclared identifier is reported only  
once

rensize.c:222: error: for each function it appears in.)
rensize.c:261: error: 'GL_UNSIGNED_SHORT_15_1_MESA' undeclared  
(first use in this function)
rensize.c:262: error: 'GL_UNSIGNED_SHORT_1_15_REV_MESA' undeclared  
(first use in this function)
rensize.c:276: error: 'GL_UNSIGNED_INT_24_8_MESA' undeclared  
(first use in this function)
rensize.c:277: error: 'GL_UNSIGNED_INT_8_24_REV_MESA' undeclared  
(first use in this function)

make[1]: *** [rensize.lo] Error 1

I have tried both versions of libXinerama (latest x86 and latest  
~x86) and neither of the work with the latest stable version of  
xorg-server (1.6.3-901-r2), 1.6.5, 1.7.1.


This is getting really frustrating...any suggestions would be  
welcome.





http://bugs.gentoo.org/show_bug.cgi?id=292765

HTH




Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)

2009-11-12 Thread Marcus Wanner

On 11/12/2009 5:48 PM, Roy Wright wrote:


On Nov 12, 2009, at 4:10 PM, Marcus Wanner wrote:


On 11/12/2009 4:46 PM, Alan McKinnon wrote:

On Thursday 12 November 2009 22:36:51 Marcus Wanner wrote:

Now I can't get ANY version of xorg-server to compile, now 
emergeing any of them starts with:


Error: Unrecognized option: --impl-headers
exiting

and
ends with:

 CCsingle2.o
rensize.c: In function '__glXImageSize':
rensize.c:222: error: 'GL_DEPTH_STENCIL_MESA' undeclared (first use 
in this function)
rensize.c:222: error: (Each undeclared identifier is reported only 
once

rensize.c:222: error: for each function it appears in.)
rensize.c:261: error: 'GL_UNSIGNED_SHORT_15_1_MESA' undeclared 
(first use in this function)
rensize.c:262: error: 'GL_UNSIGNED_SHORT_1_15_REV_MESA' undeclared 
(first use in this function)
rensize.c:276: error: 'GL_UNSIGNED_INT_24_8_MESA' undeclared (first 
use in this function)
rensize.c:277: error: 'GL_UNSIGNED_INT_8_24_REV_MESA' undeclared 
(first use in this function)

make[1]: *** [rensize.lo] Error 1

I have tried both versions of libXinerama (latest x86 and latest 
~x86) and neither of the work with the latest stable version of 
xorg-server (1.6.3-901-r2), 1.6.5, 1.7.1.


This is getting really frustrating...any suggestions would be welcome.




http://bugs.gentoo.org/show_bug.cgi?id=292765

HTH


Thank you.

Marcus



Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)

2009-11-12 Thread Alan McKinnon
On Friday 13 November 2009 00:06:53 Marcus Wanner wrote:
 On 11/12/2009 5:01 PM, Alan McKinnon wrote:
  On Thursday 12 November 2009 23:51:32 Marcus Wanner wrote:
  On 11/12/2009 4:43 PM, Alan McKinnon wrote:
  On Thursday 12 November 2009 20:21:41 Marcus Wanner wrote:
  On 11/12/2009 12:56 PM, Roy Wright wrote:
  On Nov 12, 2009, at 11:24 AM, Marcus Wanner wrote:
  On 11/12/2009 11:55 AM, Roy Wright wrote:
  Disable (either temporary or permanent) the xinerama USE flag.
 
  Me or Alan?
 
  OP
 
  As a suggestion for a work around for the compile issue.  If you
  temporarily disable xinerama, then the build should proceed.  Then if
  you need xinerama, enable the USE flag and build again.
 
  I don't have the xinerama use flag set anywhere...I don't know what it
  is, I don't want it, and I hopefully don't need it.
 
  I did put -xinerama in my use flag variable and try again, we'll see
  how that works...btw, I have switched to xorg-server-1.7.1, since I
  don't want to go through upgrading more than I need to.
 
  libXinerama and xineramaproto are hard-DEPENDS on quite a few things:
 
  $ equery depends libXinerama
   * Searching for libXinerama ...
  app-emulation/vmware-player-2.5.3.185404 (x11-libs/libXinerama)
  app-office/openoffice-3.1.1 (x11-libs/libXinerama)
 
 
  $ equery depends xineramaproto
   * Searching for xineramaproto ...
  app-office/openoffice-3.1.1 (x11-proto/xineramaproto)
  x11-base/xorg-server-1.7.1 (=x11-proto/xineramaproto-1.1.3)
  x11-libs/libXinerama-1.1 (=x11-proto/xineramaproto-1.2)
 
  I'm really sorry for my noobishness, but could you explain exectly what
  proto means in this context and how it applies to me?
 
  Xorg used to be one ginormous complicated package. It is now a ginormous
  complicated collection of small packages, each one simple.
 
  This is supposed to make someone's life easier. In reality it moves the
  complexity from point A to point B, where you still have to deal with it
  :-)
 
  The -proto packages are the protocol header files. They tell the compiler
  how to build other packages that use those protocols. They are separate
  because Ubuntu users don't need them - they don't compile stuff. You do,
  so you need them, and the Xorg ebuilds pull them in.
 
 Thank you. Do those need to be recompiled when something depending on
 them is?

Not usually. You don't compile headers, you just unpack them from the archive 
so other apps can use them.

But, this is software and we never really expect stuff to actually work. So 
some ebuilds might actually build something. In which case, it safer to just 
emerge them anyway. Those packages take just a few seconds to install
-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)

2009-11-12 Thread Marcus Wanner

On 11/12/2009 6:28 PM, Alan McKinnon wrote:

On Friday 13 November 2009 00:06:53 Marcus Wanner wrote:
  

On 11/12/2009 5:01 PM, Alan McKinnon wrote:


On Thursday 12 November 2009 23:51:32 Marcus Wanner wrote:
  

On 11/12/2009 4:43 PM, Alan McKinnon wrote:


On Thursday 12 November 2009 20:21:41 Marcus Wanner wrote:
  

On 11/12/2009 12:56 PM, Roy Wright wrote:


On Nov 12, 2009, at 11:24 AM, Marcus Wanner wrote:
  

On 11/12/2009 11:55 AM, Roy Wright wrote:


Disable (either temporary or permanent) the xinerama USE flag.
  

Me or Alan?


OP

As a suggestion for a work around for the compile issue.  If you
temporarily disable xinerama, then the build should proceed.  Then if
you need xinerama, enable the USE flag and build again.
  

I don't have the xinerama use flag set anywhere...I don't know what it
is, I don't want it, and I hopefully don't need it.

I did put -xinerama in my use flag variable and try again, we'll see
how that works...btw, I have switched to xorg-server-1.7.1, since I
don't want to go through upgrading more than I need to.


libXinerama and xineramaproto are hard-DEPENDS on quite a few things:

$ equery depends libXinerama
 * Searching for libXinerama ...
app-emulation/vmware-player-2.5.3.185404 (x11-libs/libXinerama)
app-office/openoffice-3.1.1 (x11-libs/libXinerama)


$ equery depends xineramaproto
 * Searching for xineramaproto ...
app-office/openoffice-3.1.1 (x11-proto/xineramaproto)
x11-base/xorg-server-1.7.1 (=x11-proto/xineramaproto-1.1.3)
x11-libs/libXinerama-1.1 (=x11-proto/xineramaproto-1.2)
  

I'm really sorry for my noobishness, but could you explain exectly what
proto means in this context and how it applies to me?


Xorg used to be one ginormous complicated package. It is now a ginormous
complicated collection of small packages, each one simple.

This is supposed to make someone's life easier. In reality it moves the
complexity from point A to point B, where you still have to deal with it
:-)

The -proto packages are the protocol header files. They tell the compiler
how to build other packages that use those protocols. They are separate
because Ubuntu users don't need them - they don't compile stuff. You do,
so you need them, and the Xorg ebuilds pull them in.
  

Thank you. Do those need to be recompiled when something depending on
them is?



Not usually. You don't compile headers, you just unpack them from the archive 
so other apps can use them.


But, this is software and we never really expect stuff to actually work. So 
some ebuilds might actually build something. In which case, it safer to just 
emerge them anyway. Those packages take just a few seconds to install
  

Thank you.

Marcus



Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)

2009-11-12 Thread Marcus Wanner

On 11/12/2009 6:02 PM, Marcus Wanner wrote:

On 11/12/2009 5:48 PM, Roy Wright wrote:


On Nov 12, 2009, at 4:10 PM, Marcus Wanner wrote:


On 11/12/2009 4:46 PM, Alan McKinnon wrote:

On Thursday 12 November 2009 22:36:51 Marcus Wanner wrote:

Now I can't get ANY version of xorg-server to compile, now 
emergeing any of them starts with:


Error: Unrecognized option: --impl-headers
exiting

and
ends with:

 CCsingle2.o
rensize.c: In function '__glXImageSize':
rensize.c:222: error: 'GL_DEPTH_STENCIL_MESA' undeclared (first 
use in this function)
rensize.c:222: error: (Each undeclared identifier is reported only 
once

rensize.c:222: error: for each function it appears in.)
rensize.c:261: error: 'GL_UNSIGNED_SHORT_15_1_MESA' undeclared 
(first use in this function)
rensize.c:262: error: 'GL_UNSIGNED_SHORT_1_15_REV_MESA' undeclared 
(first use in this function)
rensize.c:276: error: 'GL_UNSIGNED_INT_24_8_MESA' undeclared 
(first use in this function)
rensize.c:277: error: 'GL_UNSIGNED_INT_8_24_REV_MESA' undeclared 
(first use in this function)

make[1]: *** [rensize.lo] Error 1

I have tried both versions of libXinerama (latest x86 and latest 
~x86) and neither of the work with the latest stable version of 
xorg-server (1.6.3-901-r2), 1.6.5, 1.7.1.


This is getting really frustrating...any suggestions would be 
welcome.





http://bugs.gentoo.org/show_bug.cgi?id=292765

HTH


Thank you.

Marcus



Spoke too soon...now I'm getting this:

../doltcompile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include
-DHAVE_ssing-declarations -Wnested-externs -fno-strict-aliasing 
-DDBUS_API_SUBJECT_TO_CI/usr/include/pixman-1 -I/usr/include/hal 
-I/usr/include/dbus-1.0 -I/usr/lib/dbuxt -I../xfixes -I../Xi -I../mi 
-I../miext/shadow  -I../miext/damage -I../render (1) * 1000) + ((6) 
* 10) + ((5) * 1000) + 0) -march=pentium4 -O2 -pipe ch.lo dispatch.c

In file included from ../Xext/panoramiX.h:44,
from dispatch.c:134:
/usr/include/X11/extensions/panoramiXext.h:49: error: expected ')' 
before '*' to
/usr/include/X11/extensions/panoramiXext.h:54: error: expected '=', ',', 
';', 'a
/usr/include/X11/extensions/panoramiXext.h:64: error: expected '=', ',', 
';', 'a
/usr/include/X11/extensions/panoramiXext.h:70: error: expected '=', ',', 
';', 'a
/usr/include/X11/extensions/panoramiXext.h:76: error: expected '=', ',', 
';', 'a

dispatch.c: In function 'ProcCloseFont':
dispatch.c:1117: warning: 'SecurityLookupIDByType' is deprecated 
(declared at ..

make[2]: *** [dispatch.lo] Error 1

Marcus




Re: [gentoo-user] xorg-server-1.6.5 build errors (~x86 upgrade)

2009-11-12 Thread Roy Wright


On Nov 12, 2009, at 5:39 PM, Marcus Wanner wrote:


Spoke too soon...now I'm getting this:

../doltcompile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../ 
include-DHAVE_ssing-declarations -Wnested-externs -fno-strict- 
aliasing -DDBUS_API_SUBJECT_TO_CI/usr/include/pixman-1 -I/usr/ 
include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbuxt -I../xfixes - 
I../Xi -I../mi -I../miext/shadow  -I../miext/damage -I../render (1)  
* 1000) + ((6) * 10) + ((5) * 1000) + 0) -march=pentium4 - 
O2 -pipe ch.lo dispatch.c

In file included from ../Xext/panoramiX.h:44,
   from dispatch.c:134:
/usr/include/X11/extensions/panoramiXext.h:49: error: expected ')'  
before '*' to
/usr/include/X11/extensions/panoramiXext.h:54: error: expected '=',  
',', ';', 'a
/usr/include/X11/extensions/panoramiXext.h:64: error: expected '=',  
',', ';', 'a
/usr/include/X11/extensions/panoramiXext.h:70: error: expected '=',  
',', ';', 'a
/usr/include/X11/extensions/panoramiXext.h:76: error: expected '=',  
',', ';', 'a

dispatch.c: In function 'ProcCloseFont':
dispatch.c:1117: warning: 'SecurityLookupIDByType' is deprecated  
(declared at ..

make[2]: *** [dispatch.lo] Error 1


http://bugs.gentoo.org/show_bug.cgi?id=291312

Basically you will need to mask all the dependencies for xorg- 
server-1.7 to be able to compile 1.6.5.  I hit this a few days ago.   
= dependencies in ebuilds cause PITA for users...


HTH,
Roy