Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242480 - xorg-server-1.5.2 fails to compile with USE="kdrive"
Summary: xorg-server-1.5.2 fails to compile with USE="kdrive"
Status: RESOLVED DUPLICATE of bug 235789
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-17 16:18 UTC by Nico R. Wohlgemuth
Modified: 2008-10-18 23:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nico R. Wohlgemuth 2008-10-17 16:18:21 UTC
xorg-server-1.5.2 fails to compile with USE="kdrive"


* x11-base/xorg-server::gentoo [R 1.5.2]
    -3dfx -debug -dmx -dri hal -ipv6 kdrive* -minimal nptl sdl xorg input_devices: -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics evdev -fpit -hyperpen -jamstudio -joystick -keyboard -magellan -microtouch -mouse -mutouch -palmax -penmount -spaceorb -summa -synaptics -tek4957 -ur98 -vmmouse -void -wacom video_cards: -apm -ark -ast -chips -cirrus -cyrix -dummy -epson -fbdev -fglrx -geode -glint -i128 -i740 -i810 (-impact) -imstt -mach64 -mga -neomagic (-newport) -nsc -nv nvidia -r128 -radeon -radeonhd -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -vermilion vesa -vga -via -vmware -voodoo -xgi


[..]
/bin/sh ../../../libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc  -O2 -march=native -fno-ident -pipe -rdynamic -Wl,-O1 -Wl,--hash-style=gnu -Wl,-z,lazy -o Xsdl sdl.o ../../../dix/libdix.la ../../../hw/kdrive/src/libkdrive.a ../../../hw/kdrive/src/libkdrivestubs.a ../../../config/libconfig.a ../../../fb/libfb.la ../../../mi/libmi.la ../../../fb/libfb.la ../../../mi/libmi.la ../../../xfixes/libxfixes.la ../../../Xext/libXext.la ../../../dbe/libdbe.la ../../../XTrap/libxtrap.la ../../../record/librecord.la ../../../glx/libglx.la ../../../render/librender.la ../../../randr/librandr.la ../../../damageext/libdamageext.la ../../../miext/damage/libdamage.la ../../../miext/shadow/libshadow.la ../../../Xi/libXi.la ../../../xkb/libxkb.la ../../../xkb/libxkbstubs.la ../../../composite/libcomposite.la ../../../dix/libxpstubs.la ../../../os/libos.la ../../../hw/kdrive/linux/liblinux.a ../../../os/libos.la -lXfont -lXau -lfontenc -lpixman-1 -lhal -ldbus-1 -lXdmcp    -lm  -lrt   -lcrypto -lSDL -lpthread -lm  -lrt
libtool: link: i686-pc-linux-gnu-gcc -O2 -march=native -fno-ident -pipe -rdynamic -Wl,-O1 -Wl,--hash-style=gnu -Wl,-z -Wl,lazy -o Xsdl sdl.o  ../../../dix/.libs/libdix.a ../../../hw/kdrive/src/libkdrive.a ../../../hw/kdrive/src/libkdrivestubs.a ../../../config/libconfig.a ../../../fb/.libs/libfb.a ../../../mi/.libs/libmi.a ../../../xfixes/.libs/libxfixes.a ../../../Xext/.libs/libXext.a ../../../dbe/.libs/libdbe.a ../../../XTrap/.libs/libxtrap.a ../../../record/.libs/librecord.a ../../../glx/.libs/libglx.a ../../../render/.libs/librender.a ../../../randr/.libs/librandr.a ../../../damageext/.libs/libdamageext.a ../../../miext/damage/.libs/libdamage.a ../../../miext/shadow/.libs/libshadow.a ../../../Xi/.libs/libXi.a ../../../xkb/.libs/libxkb.a ../../../xkb/.libs/libxkbstubs.a ../../../composite/.libs/libcomposite.a ../../../dix/.libs/libxpstubs.a ../../../hw/kdrive/linux/liblinux.a ../../../os/.libs/libos.a /usr/lib/libXfont.so /usr/lib/libfreetype.so /usr/lib/libXau.so /usr/lib/libfontenc.so -lz /usr/lib/libpixman-1.so /usr/lib/libhal.so /usr/lib/libdbus-1.so /usr/lib/libXdmcp.so -lcrypto /usr/lib/libSDL.so -ldl -lpthread -lm -lrt
make[3]: Leaving directory `/var/tmp/paludis/x11-base-xorg-server-1.5.2/work/xorg-server-1.5.2/hw/kdrive/sdl'
Making all in vesa
make[3]: Entering directory `/var/tmp/paludis/x11-base-xorg-server-1.5.2/work/xorg-server-1.5.2/hw/kdrive/vesa'
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../hw/kdrive/src -I../../../miext/damage -I../../../miext/shadow -I../../../Xext -I../../../fb -I../../../mi -I../../../hw/kdrive/linux -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include     -I../../../include -I../../../include -I../../../Xext -I../../../composite -I../../../damageext -I../../../xfixes -I../../../Xi -I../../../mi -I../../../miext/shadow  -I../../../miext/damage -I../../../render -I../../../randr -I../../../fb -DHAVE_KDRIVE_CONFIG_H     -O2 -march=native -fno-ident -pipe -MT vesa.o -MD -MP -MF .deps/vesa.Tpo -c -o vesa.o vesa.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../hw/kdrive/src -I../../../miext/damage -I../../../miext/shadow -I../../../Xext -I../../../fb -I../../../mi -I../../../hw/kdrive/linux -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include     -I../../../include -I../../../include -I../../../Xext -I../../../composite -I../../../damageext -I../../../xfixes -I../../../Xi -I../../../mi -I../../../miext/shadow  -I../../../miext/damage -I../../../render -I../../../randr -I../../../fb -DHAVE_KDRIVE_CONFIG_H     -O2 -march=native -fno-ident -pipe -MT vbe.o -MD -MP -MF .deps/vbe.Tpo -c -o vbe.o vbe.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../hw/kdrive/src -I../../../miext/damage -I../../../miext/shadow -I../../../Xext -I../../../fb -I../../../mi -I../../../hw/kdrive/linux -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include     -I../../../include -I../../../include -I../../../Xext -I../../../composite -I../../../damageext -I../../../xfixes -I../../../Xi -I../../../mi -I../../../miext/shadow  -I../../../miext/damage -I../../../render -I../../../randr -I../../../fb -DHAVE_KDRIVE_CONFIG_H     -O2 -march=native -fno-ident -pipe -MT vga.o -MD -MP -MF .deps/vga.Tpo -c -o vga.o vga.c
vbe.c: In function 'VbeSetPalette':
vbe.c:439: warning: pointer targets in assignment differ in signedness
vbe.c: In function 'VbeGetPalette':
vbe.c:484: warning: pointer targets in assignment differ in signedness
vbe.c: In function 'VbeDoInterrupt10':
vbe.c:668: warning: format '%04X' expects type 'unsigned int', but argument 3 has type 'long int'
vbe.c: In function 'VbeDoInterruptE6':
vbe.c:704: warning: format '%04X' expects type 'unsigned int', but argument 3 has type 'long int'
mv -f .deps/vbe.Tpo .deps/vbe.Po
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../hw/kdrive/src -I../../../miext/damage -I../../../miext/shadow -I../../../Xext -I../../../fb -I../../../mi -I../../../hw/kdrive/linux -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include     -I../../../include -I../../../include -I../../../Xext -I../../../composite -I../../../damageext -I../../../xfixes -I../../../Xi -I../../../mi -I../../../miext/shadow  -I../../../miext/damage -I../../../render -I../../../randr -I../../../fb -DHAVE_KDRIVE_CONFIG_H     -O2 -march=native -fno-ident -pipe -MT vm86.o -MD -MP -MF .deps/vm86.Tpo -c -o vm86.o vm86.c
vga.c: In function 'VgaSetPalette':
vga.c:149: warning: pointer targets in assignment differ in signedness
vga.c: In function 'VgaGetPalette':
vga.c:192: warning: pointer targets in assignment differ in signedness
mv -f .deps/vga.Tpo .deps/vga.Po
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../hw/kdrive/src -I../../../miext/damage -I../../../miext/shadow -I../../../Xext -I../../../fb -I../../../mi -I../../../hw/kdrive/linux -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include     -I../../../include -I../../../include -I../../../Xext -I../../../composite -I../../../damageext -I../../../xfixes -I../../../Xi -I../../../mi -I../../../miext/shadow  -I../../../miext/damage -I../../../render -I../../../randr -I../../../fb -DHAVE_KDRIVE_CONFIG_H     -O2 -march=native -fno-ident -pipe -MT vesainit.o -MD -MP -MF .deps/vesainit.Tpo -c -o vesainit.o vesainit.c
vesa.c: In function 'vesaReportMode':
vesa.c:111: warning: too many arguments for format
vesa.c: In function 'vesaComputeFramebufferMapping':
vesa.c:916: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'Pixel'
vesa.c:916: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'Pixel'
vesa.c:916: warning: format '%x' expects type 'unsigned int', but argument 6 has type 'Pixel'
mv -f .deps/vesa.Tpo .deps/vesa.Po
vm86.c: In function 'Vm86DoInterrupt':
vm86.c:213: warning: too few arguments for format
vm86.c:225: error: 'IF_MASK' undeclared (first use in this function)
vm86.c:225: error: (Each undeclared identifier is reported only once
vm86.c:225: error: for each function it appears in.)
vm86.c:225: error: 'IOPL_MASK' undeclared (first use in this function)
vm86.c: In function 'Vm86Debug':
vm86.c:746: warning: format '%04lX' expects type 'long unsigned int', but argument 2 has type 'int'
vm86.c:746: warning: format '%04lX' expects type 'long unsigned int', but argument 3 has type 'int'
vm86.c:746: warning: format '%04lX' expects type 'long unsigned int', but argument 4 has type 'int'
vm86.c:746: warning: format '%04lX' expects type 'long unsigned int', but argument 5 has type 'int'
vm86.c:746: warning: format '%04lX' expects type 'long unsigned int', but argument 6 has type 'int'
make[3]: *** [vm86.o] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/vesainit.Tpo .deps/vesainit.Po
make[3]: Leaving directory `/var/tmp/paludis/x11-base-xorg-server-1.5.2/work/xorg-server-1.5.2/hw/kdrive/vesa'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/paludis/x11-base-xorg-server-1.5.2/work/xorg-server-1.5.2/hw/kdrive'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/paludis/x11-base-xorg-server-1.5.2/work/xorg-server-1.5.2/hw'
make: *** [all-recursive] Error 1
/usr/libexec/paludis/utils/emake: emake returned error 2

!!! ERROR in x11-base/xorg-server-1.5.2:
!!! In x-modular_src_make at line 5207
!!! emake failed

!!! Call stack:
!!!    * x-modular_src_make (/var/tmp/paludis/x11-base-xorg-server-1.5.2/temp/loadsaveenv:5207)
!!!    * x-modular_src_compile (/var/tmp/paludis/x11-base-xorg-server-1.5.2/temp/loadsaveenv:5171)
!!!    * src_compile (/var/tmp/paludis/x11-base-xorg-server-1.5.2/temp/loadsaveenv:4332)
!!!    * ebuild_f_compile (/usr/libexec/paludis/0/src_compile.bash:49)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:477)
!!!    * main (/usr/libexec/paludis/ebuild.bash:492)

diefunc: making ebuild PID 12728 exit with error
die trap: exiting with error.

important part of paludis --info:
paludis 0.30.3
Paludis build information:
    Compiler:
        CXX:                   i686-pc-linux-gnu-g++ 4.3.2
        CXXFLAGS:              -O2 -march=native -fno-ident -pipe
        LDFLAGS:               -Wl,-O1 -Wl,--hash-style=gnu
        DATE:                  2008-10-11T01:24:09+0200

    Libraries:
        C++ Library:           GNU libstdc++ 20080827

    Package information:
        app-admin/eselect-compiler: (none)
        app-shells/bash:       3.2_p39
        dev-java/java-config:  1.3.7 2.1.6-r1
        dev-lang/python:       2.5.2-r8
        dev-python/pycrypto:   (none)
        dev-util/ccache:       2.4-r8
        dev-util/cmake:        2.6.2
        dev-util/confcache:    (none)
        sys-apps/baselayout:   2.0.0
        sys-apps/openrc:       0.3.0-r1
        sys-apps/sandbox:      1.2.18.1-r3
        sys-devel/autoconf:    2.13 2.63
        sys-devel/automake:    1.10.1-r1 1.5 1.7.9-r1 1.9.6-r2
        sys-devel/binutils:    2.18-r3
        sys-devel/gcc-config:  1.4.0-r4
        sys-devel/libtool:     2.2.6a
        virtual/os-headers:    2.6.26 (for sys-kernel/linux-headers::installed)
Comment 1 Rafał Mużyło 2008-10-17 17:21:53 UTC
OK, it's sys-kernel/linux-headers 2.6.26 related bug.
Those _MASK defines were renamed. There are other
bugs about it.
Comment 2 Wormo (RETIRED) gentoo-dev 2008-10-17 23:34:36 UTC
Right, the 2.6.26 flag renames did cause various builds to break e.g. bug 235401. Assigning to maintainers.
Comment 3 Zac Medico gentoo-dev 2008-10-18 23:50:45 UTC

*** This bug has been marked as a duplicate of bug 235789 ***