Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40024 - kbd 1.12 doesn't compile
Summary: kbd 1.12 doesn't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Sparc All
: High blocker (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-31 17:40 UTC by Alexey Parshin
Modified: 2004-02-12 11:34 UTC (History)
0 users

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


Attachments
tar file with patch files (kbd-1.12-kbdrate-patch.tar.bz2,1.21 KB, patch)
2004-02-06 07:10 UTC, Erol Zavidic
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Parshin 2004-01-31 17:40:36 UTC
gcc -s  psfxtable.o psffontop.o xmalloc.o utf8.o   -o psfxtable
gcc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -mcpu=ultrasparc -O3 -pipe -DDATADIR=\"/usr/share\" kbdrate.c
kbdrate.c: In function `KIOCSRATE_ioctl_ok':
kbdrate.c:167: error: structure has no member named `period'
kbdrate.c:169: error: structure has no member named `period'
kbdrate.c:170: error: structure has no member named `period'
kbdrate.c:180: error: structure has no member named `period'
make[1]: *** [kbdrate.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/kbd-1.12/work/kbd-1.12/src'
make: *** [all] Error 1
 
!!! ERROR: sys-apps/kbd-1.12 failed.
!!! Function src_compile, Line 50, Exitcode 2
!!! (no error message)

alexhome sptk2 # emerge info
Portage 2.0.50_pre21 (default-sparc64-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.4.24-sparc)
=================================================================
System uname: 2.4.24-sparc sparc64 sun4u
Gentoo Base System version 1.4.3.12
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="sparc ~sparc"
AUTOCLEAN="yes"
CFLAGS="-mcpu=ultrasparc -O3 -pipe"
CHOST="sparc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=ultrasparc -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib amd arts autofs avantgo avi berkdb cdr chroot crypt cups dga doc dvd dvdr encode esd evo fam fax fbcon fbdev ffmpeg flac foomaticdb freetype fs gd gdbm gif gnome gnomedb gphoto2 gtk gtk2 imagemagick imap imlib java jikes jpeg kde libwww mad mikmod motif mozcalendar mozilla mpeg mpeg4 ncurses nls oav oggvorbis opengl oss pam pda pdflib perl png python qt quicktime readline samba scanner sdl slang sparc speex spell ssl tcltk tcpd tetex tiff transcode truetype type1 usb xine xml2 xmms xv xvid zlib"
Comment 1 Erol Zavidic 2004-02-06 07:06:49 UTC
Hello ppl,

as I run accross the same problem today, I've spent some time and created the patch for it. It consist of ebuild patch and a patch for kbdrate.c both included in kbd-1.12-kbdrate-patch.tar.bz2.

To resolve the problem run following:
cd /usr/portage
tar xvpjf <path_to>/kbd-1.12-kbdrate-patch.tar.bz2
patch -p0 <kbd-1.12.ebuild.patch
rm kbd-1.12.ebuild.patch

Then you can emerge kbd again.
Comment 2 Erol Zavidic 2004-02-06 07:10:32 UTC
Created attachment 25078 [details, diff]
tar file with patch files
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-08 03:15:48 UTC
Patch is a bit one sided.  I will look to porting the one from 1.08 again.
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-08 06:23:10 UTC
Please try -r1.
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-08 07:25:07 UTC
Uhm, please try -r2 rather.
Comment 6 Michael Hill 2004-02-11 19:14:33 UTC
Well, hallelujah!  That did it.  I now have kbd-1.12-r2 emerged.  Thanks!
Comment 7 SpanKY gentoo-dev 2004-02-11 19:16:09 UTC
sounds good :)
Comment 8 Erol Zavidic 2004-02-12 11:34:41 UTC
Worked perfectly! :) Thanks!