Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212745 - app-misc/lirc-0.8.3_pre1 fails w/ KBUILD_OUTPUT
Summary: app-misc/lirc-0.8.3_pre1 fails w/ KBUILD_OUTPUT
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2008-03-08 18:23 UTC by Honza
Modified: 2012-10-27 19:26 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 Honza 2008-03-08 18:23:09 UTC
app-misc/lirc-0.8.3_pre1 fails on beginning make, I suppose problem lies in w/ KBUILD_OUTPUT

Primary source of bug is probably at configure:
checking for Linux kernel sources... make: *** [include/config/auto.conf] Error 1
make: *** [include/config/auto.conf] Error 1
make: *** [include/config/auto.conf] Error 1
./configure: line 24389: test: too many arguments
/usr/src/linux-2.6.23-gentoo-r9/
checking for which drivers can be installed on this system...

The failure occurs at:
Makefile:183: *** missing separator (did you mean TAB instead of 8 spaces?).  Stop.

The "line" 183 is:
kernelcc =
  ERROR: Kernel configuration is invalid.
         include/linux/autoconf.h or include/config/auto.conf are missing.
         Run 'make oldconfig && make prepare' on kernel src to fix it.


Reproducible: Always

Steps to Reproduce:
1. Have KBUILD_OUTPUT different from kernel sources
2. emerge lirc


Actual Results:  
The failure occurs at:
Makefile:183: *** missing separator (did you mean TAB instead of 8 spaces?).  Stop.

Expected Results:  
Should compile.

Portage 2.1.4.4 (default-linux/x86/2004.0, gcc-3.4.6, glibc-2.5-r4, 2.6.23-gentoo-r9-32 i686)
=================================================================
System uname: 2.6.23-gentoo-r9-32 i686 AMD Athlon(tm) 64 Processor 3000+
Timestamp of tree: Tue, 24 Feb 2004 05:21:01 +0000
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.4.4-r6
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1, 1.10
sys-devel/binutils:  2.15.92.0.2-r10, 2.16.1-r3
sys-devel/libtool:   1.4.3-r3, 1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=athlon -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.2/share/config /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -mcpu=athlon -march=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms unmerge-orphans userfetch"
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 /usr/portage/local/layman/voip"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d aalib alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts browserplugin bzip2 caps cdr cracklib crypt cups curl dga directfb doc dri dts dvd emboss encode erandom esd f77 fbcon flac font-server foomaticdb force-cgi-redirect fortran gd gdbm ggi gif gnome gpm gtk gtk2 imagemagick imlib innodb ipv6 java jpeg lcms lesstif libcaca libg++ libwww lirc lua mad mailwrapper mbox mcal memlimit midi mikmod mmx mmx2 mmxext mng motif mozilla mp3 mpeg multislot mysql ncurses nls nptl ogg oggvorbis opengl oss pam pcre pdflib perl png postscript python qt quicktime readline samba sdl slang snmp spell sqlite sse sse2 ssl tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vhosts videos vorbis wmf x264 x86 xgetdefault xml xml2 xorg xosd xv xvid zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB cs" LIRC_DEVICES="audio audio_alsa avermedia avermedia98 devinput dsp" USERLAND="GNU" VIDEO_CARDS="nv vesa r128 fbdev"
Unset:  EMERGE_DEFAULT_OPTS, LDFLAGS
Comment 1 Honza 2008-03-09 11:19:27 UTC
Seems like simple replacing of KV_DIR with KV_OUT_DIR in ebuild will solve this bug. The program will compile, unfortunately I can't verify it work because I don't know if my hardware is really supported and I'm just beginning to test configuration.
Comment 2 Steve Dibb (RETIRED) gentoo-dev 2009-01-10 12:51:59 UTC
any luck on newer versions?
Comment 3 Honza 2009-01-10 15:26:03 UTC
0.8.3-r2 (stable): still same
0.8.4 (unstable): still error message
checking for Linux kernel sources... ./configure: line 24366: test: too many arguments
/usr/src/linux-2.6.20-gentoo-r8/

but the package will compile and work at least as good as before (with the KV_OUT_DIR from comment #1) - the irexec is able to run programs on IR.

BTW, that thing with "if no program using lirc is running, send the events as keys" (I'm using devinput) .... is there any way to turn it off ?
Comment 4 Pacho Ramos gentoo-dev 2012-04-29 12:48:42 UTC
Still the same with 0.8.7?
Comment 5 Honza 2012-05-05 12:00:29 UTC
(In reply to comment #4)
> Still the same with 0.8.7?

Not same but very similar. The package will build but the configure script is reporting following (non-fatal) errors:

...
checking for mktemp... yes
checking for Linux kernel sources... /tmp/LIRCMF.L4QbV7:1569: warning: overriding commands for target `lirc_tell_me_what_version_is'
/tmp/LIRCMF.L4QbV7:127: warning: ignoring old commands for target `lirc_tell_me_what_version_is'
make[1]: *** No rule to make target `lirc_tell_me_what_version_is'.  Stop.
make: *** [sub-make] Error 2
/tmp/LIRCMF.L4QbV7:1571: warning: overriding commands for target `lirc_tell_me_what_patchlevel_is'
/tmp/LIRCMF.L4QbV7:127: warning: ignoring old commands for target `lirc_tell_me_what_patchlevel_is'
make[1]: *** No rule to make target `lirc_tell_me_what_patchlevel_is'.  Stop.
make: *** [sub-make] Error 2
./configure: line 12642: test: -eq: unary operator expected
/unix/usr/src/linux+kernel/linux-3.0.6-gentoo/
checking for which drivers can be installed on this system...
checking for caraca_init in -lcaraca_client... no
...
Comment 6 Ian Stakenvicius (RETIRED) gentoo-dev 2012-07-18 18:49:53 UTC
could you try against lirc-0.9.0-r1 and attach the full build.log if there are any issues?
Comment 7 Pacho Ramos gentoo-dev 2012-10-27 19:26:10 UTC
(In reply to comment #6)
> could you try against lirc-0.9.0-r1 and attach the full build.log if there
> are any issues?