Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73883 - lirc-0.7.0-r1 wont compile
Summary: lirc-0.7.0-r1 wont compile
Status: RESOLVED DUPLICATE of bug 73891
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Heinrich Wendel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-09 02:27 UTC by Florian Engelhardt
Modified: 2005-07-17 13:06 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 Florian Engelhardt 2004-12-09 02:27:32 UTC
when trying to emerge lirc-0.7.0-r1 the compiling breaks.

Reproducible: Always
Steps to Reproduce:
1. emerge lirc
2.
3.

Actual Results:  
  gcc
-Wp,-MD,/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_serial/.lirc_serial.o.d
-nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes
-Wno-trigraphs -fno-strict-aliasing -fno-common -O2     -fomit-frame-pointer
-pipe -msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time
-march=athlon -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement
-DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I
/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_serial/../.. -I
/usr/src/linux//include/  -DMODULE -DKBUILD_BASENAME=lirc_serial
-DKBUILD_MODNAME=lirc_serial -c -o
/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_serial/lirc_serial.o
/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_serial/lirc_serial.c
/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_serial/lirc_serial.c:67:2:
warning: #warning "******************************************"
/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_serial/lirc_serial.c:68:2:
warning: #warning " Your serial port driver is compiled into "
/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_serial/lirc_serial.c:69:2:
warning: #warning " the kernel. You will have to release the "
/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_serial/lirc_serial.c:70:2:
warning: #warning " port you want to use for LIRC with:      "
/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_serial/lirc_serial.c:71:2:
warning: #warning "    setserial /dev/ttySx uart none        "
/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_serial/lirc_serial.c:72:2:
warning: #warning "******************************************"
/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_serial/lirc_serial.c:110:2:
warning: #warning "Note: using rdtsc instruction"
/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_serial/lirc_serial.c:272:
error: `LIRC_PORT' undeclared here (not in a function)
/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_serial/lirc_serial.c:273:
error: `LIRC_IRQ' undeclared here (not in a function)
/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_serial/lirc_serial.c:
In function `init_port':
/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_serial/lirc_serial.c:738:
warning: `check_region' is deprecated (declared at include/linux/ioport.h:126)
/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_serial/lirc_serial.c:
In function `lirc_write':
/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_serial/lirc_serial.c:912:
warning: ignoring return value of `copy_from_user', declared with attribute
warn_unused_result
make[5]: ***
[/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_serial/lirc_serial.o]
Error 1
make[4]: ***
[_module_/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_serial] Error 2
make[4]: Leaving directory `/usr/src/linux-2.6.10-rc3'
make[3]: *** [lirc_serial.o] Error 2
make[3]: Leaving directory
`/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers/lirc_serial'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0'
make: *** [all] Error 2

!!! ERROR: app-misc/lirc-0.7.0-r1 failed.
!!! Function src_compile, Line 92, Exitcode 2
!!! (no error message)


Expected Results:  
should compile

Portage 2.0.51-r8 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.10-rc3 i686)
=================================================================
System uname: 2.6.10-rc3 i686 AMD Athlon(tm) XP  2800+
Gentoo Base System version 1.6.7
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4 [2.3.4 (#1,
Sep 17 2004, 14:58:53)]
distcc 2.18.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.2.3-r5, 2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.8.5-r2, 1.6.3, 1.9.3, 1.5, 1.7.9
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=athlon-xp -fomit-frame-pointer -pipe -funroll-loops -s"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/fax /usr/share/config /var/qmail/control
/var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=athlon-xp -fomit-frame-pointer -pipe -funroll-loops -s"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp.solnet.ch/mirror/Gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X aalib alsa apache2 apm avi berkdb bitmap-fonts calendar cdr
crypt cups dga dillo directfb dvd encode f77 fam fbcon flac foomaticdb fortran
gdbm gif gpm gtk gtk2 guile imagemagick imlib jpeg junit libg++ libwww mad
maildir mbox mikmod mmx mmx2 motif moznoxft mpeg mysql mysqli ncurses nls
nocardbus nptl nvidia oggvorbis opengl oss pam pdflib perl png python quicktime
readline sdl slang speex spell sse ssl svga tcltk tcpd tga theora tiff truetype
unicode v4l v4l2 x86 xml xml2 xmms xv xvid xvmc zlib"
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2004-12-09 04:58:03 UTC

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