Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217068 - sys-apps/kbd-1.14.1-r1 compile fails on sparc
Summary: sys-apps/kbd-1.14.1-r1 compile fails on sparc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: Sparc64 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 217079 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-04-09 22:54 UTC by David Dolbel
Modified: 2008-04-10 03:54 UTC (History)
1 user (show)

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 David Dolbel 2008-04-09 22:54:17 UTC
>>> Emerging (1 of 1) sys-apps/kbd-1.14.1-r1 to /
 * kbd-1.14.1.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                  [ ok ]
 * checking ebuild checksums ;-) ...                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                [ ok ]
 * checking kbd-1.14.1.tar.gz ;-) ...                                                                                 [ ok ]
>>> Unpacking source...
>>> Unpacking kbd-1.14.1.tar.gz to /var/tmp/portage/sys-apps/kbd-1.14.1-r1/work
 * Applying kbd-1.12-unimap.patch ...                                                                                 [ ok ]
 * Applying kbd-1.12-cz-qwerty-map.patch ...                                                                          [ ok ]
 * Applying kbd-1.12-jp-escape.patch ...                                                                              [ ok ]
 * Applying kbd-1.14.1-missing-configure.patch ...                                                                    [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-apps/kbd-1.14.1-r1/work/kbd-1.14.1 ...
 * econf: updating kbd-1.14.1/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating kbd-1.14.1/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --host=sparc-unknown-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-nls --libdir=/usr/lib --build=sparc-unknown-linux-gnu
checking for bison... bison -y
checking for sparc-unknown-linux-gnu-gcc... sparc-unknown-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 sparc-unknown-linux-gnu-gcc accepts -g... yes
checking for sparc-unknown-linux-gnu-gcc option to accept ISO C89... none needed
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking build system type... sparc-unknown-linux-gnu
checking host system type... sparc-unknown-linux-gnu
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... sparc-unknown-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... 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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for memory.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking for unistd.h... (cached) yes
checking for working chown... yes
checking whether closedir returns void... no
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether sparc-unknown-linux-gnu-gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking whether setpgrp takes no argument... yes
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for alarm... yes
checking for memset... yes
checking for setlocale... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strspn... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating man/Makefile
config.status: creating po/Makefile
config.status: creating src/Makefile
config.status: creating config.h
for i in src po data man; do make -C $i all || exit 1; done
make[1]: Entering directory `/var/tmp/portage/sys-apps/kbd-1.14.1-r1/work/kbd-1.14.1/src'
cc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -O4 -mcpu=ultrasparc -pipe -DDATADIR=\"/usr/share\" dumpkeys.c
cc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -O4 -mcpu=ultrasparc -pipe -DDATADIR=\"/usr/share\" ksyms.c
cc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -O4 -mcpu=ultrasparc -pipe -DDATADIR=\"/usr/share\" xmalloc.c
cc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -O4 -mcpu=ultrasparc -pipe -DDATADIR=\"/usr/share\" getfd.c
cc -c -O4 -mcpu=ultrasparc -pipe -DDATADIR=\"/usr/share\" loadkeys.c
cc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -O4 -mcpu=ultrasparc -pipe -DDATADIR=\"/usr/share\" findfile.c
cc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -O4 -mcpu=ultrasparc -pipe -DDATADIR=\"/usr/share\" showkey.c
cc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -O4 -mcpu=ultrasparc -pipe -DDATADIR=\"/usr/share\" setfont.c
cc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -O4 -mcpu=ultrasparc -pipe -DDATADIR=\"/usr/share\" mapscrn.c
cc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -O4 -mcpu=ultrasparc -pipe -DDATADIR=\"/usr/share\" loadunimap.c
cc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -O4 -mcpu=ultrasparc -pipe -DDATADIR=\"/usr/share\" kdmapop.c
cc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -O4 -mcpu=ultrasparc -pipe -DDATADIR=\"/usr/share\" kdfontop.c
cc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -O4 -mcpu=ultrasparc -pipe -DDATADIR=\"/usr/share\" psffontop.c
cc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -O4 -mcpu=ultrasparc -pipe -DDATADIR=\"/usr/share\" utf8.c
cc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -O4 -mcpu=ultrasparc -pipe -DDATADIR=\"/usr/share\" showconsolefont.c
cc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -O4 -mcpu=ultrasparc -pipe -DDATADIR=\"/usr/share\" setleds.c
setleds.c:18:22: asm/kbio.h: No such file or directory
cc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -O4 -mcpu=ultrasparc -pipe -DDATADIR=\"/usr/share\" setmetamode.c
cc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -O4 -mcpu=ultrasparc -pipe -DDATADIR=\"/usr/share\" kbd_mode.c
cc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -O4 -mcpu=ultrasparc -pipe -DDATADIR=\"/usr/share\" chvt.c
cc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -O4 -mcpu=ultrasparc -pipe -DDATADIR=\"/usr/share\" deallocvt.c
cc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -O4 -mcpu=ultrasparc -pipe -DDATADIR=\"/usr/share\" psfxtable.c
cc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -O4 -mcpu=ultrasparc -pipe -DDATADIR=\"/usr/share\" kbdrate.c
cc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -O4 -mcpu=ultrasparc -pipe -DDATADIR=\"/usr/share\" fgconsole.c
make[1]: *** [setleds.o] Error 1
make[1]: *** Waiting for unfinished jobs....
kbdrate.c:80:22: asm/kbio.h: No such file or directory
make[1]: *** [kbdrate.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-apps/kbd-1.14.1-r1/work/kbd-1.14.1/src'
make: *** [all] Error 1
 *
 * ERROR: sys-apps/kbd-1.14.1-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2037:  Called die
 * The specific snippet of code:
 *       emake || die
 *  The die message:
 *   (no error message)
 *
 * 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/sys-apps/kbd-1.14.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/kbd-1.14.1-r1/temp/environment'.
 *

 * Messages for package sys-apps/kbd-1.14.1-r1:

 *
 * ERROR: sys-apps/kbd-1.14.1-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2037:  Called die
 * The specific snippet of code:
 *       emake || die
 *  The die message:
 *   (no error message)
 *
 * 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/sys-apps/kbd-1.14.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/kbd-1.14.1-r1/temp/environment'. 

Reproducible: Always

Steps to Reproduce:
1.just emerge the package, it fails every time.
2.
3.

Actual Results:  
package fails compile.


I believe 

setleds.c:18:22: asm/kbio.h: No such file or directory

It's looking for an obsoleted file that linux-headers doesn't provide anymore. Looking at src/setleds.c, kbio.h is only included on sparc so nobody else would hit your problem.
Comment 2 SpanKY gentoo-dev 2008-04-10 03:54:06 UTC
*** Bug 217079 has been marked as a duplicate of this bug. ***