Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] downgrade to xf86-input-keyboard-1.1.1 fails.
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
the.ant
n00b
n00b


Joined: 26 Dec 2007
Posts: 64

PostPosted: Tue Jan 22, 2008 6:52 am    Post subject: [solved] downgrade to xf86-input-keyboard-1.1.1 fails. Reply with quote

I set up a new machine, and copied parts of make.conf from another one to it. I failed to notice that accept_keywords="~x86" was set, so after setting everything up I changed it to x86 and did emerge -uvaDN world to downgrade. Everything went well except when attempting to downgrad xorg-server, it pulls a downgrade of the keyboard driver from 1.2.2 to 1.1.1 and here is where emerge fails. This is the build log:

Code:

>>> Unpacking source...
>>> Unpacking xf86-input-keyboard-1.1.1.tar.bz2 to /var/tmp/portage/x11-drivers/xf86-input-keyboard-1.1.1/work
>>> Unpacking x11-driver-patches-4.tar.bz2 to /var/tmp/portage/x11-drivers/xf86-input-keyboard-1.1.1/work
 * Applying x11-driver-patches-4.tar.bz2 ...
  [ ok ]
 * Running elibtoolize in: xf86-input-keyboard-1.1.1
 *   Applying install-sh-1.5.4.patch ...
 *   Applying portage-1.5.10.patch ...
 *   Applying sed-1.5.6.patch ...
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-drivers/xf86-input-keyboard-1.1.1/work/xf86-input-keyboard-1.1.1 ...
 * econf: updating xf86-input-keyboard-1.1.1/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xf86-input-keyboard-1.1.1/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --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 --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
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 ANSI C... none needed
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
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 /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i686-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of i686-pc-linux-gnu-g++... gcc3
checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E
checking for i686-pc-linux-gnu-g77... no
checking for i686-pc-linux-gnu-f77... no
checking for i686-pc-linux-gnu-xlf... no
checking for i686-pc-linux-gnu-frt... no
checking for i686-pc-linux-gnu-pgf77... no
checking for i686-pc-linux-gnu-fort77... no
checking for i686-pc-linux-gnu-fl32... no
checking for i686-pc-linux-gnu-af77... no
checking for i686-pc-linux-gnu-f90... no
checking for i686-pc-linux-gnu-xlf90... no
checking for i686-pc-linux-gnu-pgf90... no
checking for i686-pc-linux-gnu-epcf90... no
checking for i686-pc-linux-gnu-f95... no
checking for i686-pc-linux-gnu-fort... no
checking for i686-pc-linux-gnu-xlf95... no
checking for i686-pc-linux-gnu-ifc... no
checking for i686-pc-linux-gnu-efc... no
checking for i686-pc-linux-gnu-pgf95... no
checking for i686-pc-linux-gnu-lf95... no
checking for i686-pc-linux-gnu-gfortran... i686-pc-linux-gnu-gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether i686-pc-linux-gnu-gfortran accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok
checking for objdir... .libs
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-g++ static flag -static works... yes
checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for i686-pc-linux-gnu-gfortran option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-gfortran PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-gfortran static flag -static works... yes
checking if i686-pc-linux-gnu-gfortran supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-gfortran linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether i686-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... (cached) none needed
checking dependency style of i686-pc-linux-gnu-gcc... (cached) gcc3
checking if RANDR is defined... yes
checking if XINPUT is defined... yes
checking if XKB is defined... yes
checking for i686-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XORG... yes
checking for ANSI C header files... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/x11-drivers/xf86-input-keyboard-1.1.1/work/xf86-input-keyboard-1.1.1'
Making all in src
make[2]: Entering directory `/var/tmp/portage/x11-drivers/xf86-input-keyboard-1.1.1/work/xf86-input-keyboard-1.1.1/src'
if /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -march=pentium3 -pipe -msse -fomit-frame-pointer -mfpmath=sse -I/usr/include/xorg -I/usr/include/pixman-1    -I../src -MT kbd.lo -MD -MP -MF ".deps/kbd.Tpo" -c -o kbd.lo kbd.c; \
   then mv -f ".deps/kbd.Tpo" ".deps/kbd.Plo"; else rm -f ".deps/kbd.Tpo"; exit 1; fi
mkdir .libs
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -march=pentium3 -pipe -msse -fomit-frame-pointer -mfpmath=sse -I/usr/include/xorg -I/usr/include/pixman-1 -I../src -MT kbd.lo -MD -MP -MF .deps/kbd.Tpo -c kbd.c  -fPIC -DPIC -o .libs/kbd.o
kbd.c:45:23: error: xf86OSKbd.h: No such file or directory
kbd.c: In function 'KbdPreInit':
kbd.c:220: error: 'KbdDevPtr' undeclared (first use in this function)
kbd.c:220: error: (Each undeclared identifier is reported only once
kbd.c:220: error: for each function it appears in.)
kbd.c:220: error: expected ';' before 'pKbd'
kbd.c:237: error: 'struct _LocalDeviceRec' has no member named 'motion_history_proc'
kbd.c:256: error: 'pKbd' undeclared (first use in this function)
kbd.c:256: error: 'KbdDevRec' undeclared (first use in this function)
kbd.c: In function 'KbdBell':
kbd.c:364: error: 'KbdDevPtr' undeclared (first use in this function)
kbd.c:364: error: expected ';' before 'pKbd'
kbd.c:365: error: 'pKbd' undeclared (first use in this function)
kbd.c: In function 'UpdateLeds':
kbd.c:372: error: 'KbdDevPtr' undeclared (first use in this function)
kbd.c:372: error: expected ';' before 'pKbd'
kbd.c:375: error: 'pKbd' undeclared (first use in this function)
kbd.c: In function 'KbdCtrl':
kbd.c:390: error: 'KbdDevPtr' undeclared (first use in this function)
kbd.c:390: error: expected ';' before 'pKbd'
kbd.c:393: error: 'pKbd' undeclared (first use in this function)
kbd.c: In function 'InitKBD':
kbd.c:419: error: 'KbdDevPtr' undeclared (first use in this function)
kbd.c:419: error: expected ';' before 'pKbd'
kbd.c:457: error: 'pKbd' undeclared (first use in this function)
kbd.c: In function 'KbdProc':
kbd.c:481: error: 'KbdDevPtr' undeclared (first use in this function)
kbd.c:481: error: expected ';' before 'pKbd'
kbd.c:488: error: 'pKbd' undeclared (first use in this function)
kbd.c: In function 'PostKbdEvent':
kbd.c:561: error: 'KbdDevPtr' undeclared (first use in this function)
kbd.c:561: error: expected ';' before 'pKbd'
kbd.c:581: error: 'pKbd' undeclared (first use in this function)
kbd.c:602: error: 'TransMapPtr' undeclared (first use in this function)
kbd.c:602: error: expected ';' before 'map'
kbd.c:603: error: 'map' undeclared (first use in this function)
kbd.c:618: error: expected ';' before 'map'
make[2]: *** [kbd.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-input-keyboard-1.1.1/work/xf86-input-keyboard-1.1.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-input-keyboard-1.1.1/work/xf86-input-keyboard-1.1.1'
make: *** [all] Error 2
 *
 * ERROR: x11-drivers/xf86-input-keyboard-1.1.1 failed.
 * Call stack:
 *          ebuild.sh, line 1701:  Called dyn_compile
 *          ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *          ebuild.sh, line   44:  Called src_compile
 *          ebuild.sh, line 1383:  Called x-modular_src_compile
 *   x-modular.eclass, line  348:  Called x-modular_src_make
 *   x-modular.eclass, line  343:  Called die
 * The specific snippet of code:
 *      emake || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-drivers/xf86-input-keyboard-1.1.1/temp/build.log'.
 *


Any ideas how to tackle this problem?


Last edited by the.ant on Tue Jan 22, 2008 10:08 am; edited 1 time in total
Back to top
View user's profile Send private message
tw04l124
Veteran
Veteran


Joined: 03 Oct 2006
Posts: 1032
Location: A t z e l, lower austria

PostPosted: Tue Jan 22, 2008 6:54 am    Post subject: Reply with quote

hi,

try to downgrade other packages first.

2nd I had this problem also in the past. I figured around with xf86-input-evdev and input-mouse and input-keyboard.

use the eix tool to find the appropriate packages: eg. eix xf86-input

I know this issue is hard, because its particular circular. The only hint is to downgrade other packages first, try again and don*T give up.
_________________
ln -s /usr/lib64/libcurl.so.4 /usr/lib64/libcurl.so.3
Back to top
View user's profile Send private message
the.ant
n00b
n00b


Joined: 26 Dec 2007
Posts: 64

PostPosted: Tue Jan 22, 2008 7:22 am    Post subject: Reply with quote

Well, if I call emerge -uvaDN world now I only get 3 packages to install, in this order:

x11-drivers/xf-86-input-keyboard-1.1.1
x11-base/xorg-server-1.3.0.0-r4
x11-base/xorg-x11-7.2

How can I install one of the others first?
Back to top
View user's profile Send private message
tw04l124
Veteran
Veteran


Joined: 03 Oct 2006
Posts: 1032
Location: A t z e l, lower austria

PostPosted: Tue Jan 22, 2008 7:37 am    Post subject: Reply with quote

the.ant wrote:
Well, if I call emerge -uvaDN world now I only get 3 packages to install, in this order:

x11-drivers/xf-86-input-keyboard-1.1.1
x11-base/xorg-server-1.3.0.0-r4
x11-base/xorg-x11-7.2

How can I install one of the others first?


well, first try is to install this package again and then try your xf-86-input-keyboard.

[I] x11-drivers/xf86-input-evdev
Available versions: ~1.1.2-r1 1.1.2-r2 1.1.5-r1 1.1.5-r2 ~1.2.0 {debug}
Installed versions: 1.1.5-r2(08:43:24 PM 12/16/2007)(-debug)
Homepage: http://xorg.freedesktop.org/
Description: Generic Linux input driver


emerge -av x11-base/xorg-x11-7.2


emerge -av x11-base/xorg-server-1.3.0.0-r4
I think you will have to get the keyboard first. try around with the -av flag of emerge

I got over it in the past, so I think you can get over it too.
_________________
ln -s /usr/lib64/libcurl.so.4 /usr/lib64/libcurl.so.3
Back to top
View user's profile Send private message
the.ant
n00b
n00b


Joined: 26 Dec 2007
Posts: 64

PostPosted: Tue Jan 22, 2008 10:13 am    Post subject: Reply with quote

I'm not sure about evdev, I've had bad experiences with it in the past, so I hadn't installed it. Installed it now though.
However, I think it was indeed the emerge order that did the trick.
I commented now keyboard from input_devices in my make conf, emerged x, emerged the keyboard driver, uncommented it and right now I am emerging x again. So far it seems to work, fingers crossed!

Thanks a million for the help, I'm not sure if I would have ever found it!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum