Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166557 - app-misc/lirc-0.8.1 stable request
Summary: app-misc/lirc-0.8.1 stable request
Status: RESOLVED FIXED
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: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks: lirc-tracker kernel-2.6.20 173702
  Show dependency tree
 
Reported: 2007-02-12 20:03 UTC by ElGuido
Modified: 2007-08-14 18:52 UTC (History)
3 users (show)

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


Attachments
lirc-0.8.2-output.txt (ppc64) (lirc-0.8.2-output.txt,26.61 KB, text/plain)
2007-07-19 16:04 UTC, Markus Rothe (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ElGuido 2007-02-12 20:03:18 UTC
/usr/src/lirc-0.8.1/drivers/lirc_mceusb2/lirc_mceusb2.c: In function ‘request_packet_async’:
/usr/src/lirc-0.8.1/drivers/lirc_mceusb2/lirc_mceusb2.c:237: warning: passing argument 6 of ‘usb_fill_int_urb’ from incompatible pointer type
/usr/src/lirc-0.8.1/drivers/lirc_mceusb2/lirc_mceusb2.c:245: warning: passing argument 6 of ‘usb_fill_int_urb’ from incompatible pointer type
/usr/src/lirc-0.8.1/drivers/lirc_mceusb2/lirc_mceusb2.c:266: error: ‘SLAB_ATOMIC’ undeclared (first use in this function)
/usr/src/lirc-0.8.1/drivers/lirc_mceusb2/lirc_mceusb2.c:266: error: (Each undeclared identifier is reported only once
/usr/src/lirc-0.8.1/drivers/lirc_mceusb2/lirc_mceusb2.c:266: error: for each function it appears in.)



Reproducible: Always

Steps to Reproduce:
1. emerge gentoo-sources >=2.6.20 (configure and boot)
2. emerge lirc



http://www.mail-archive.com/linux-kernel%40vger.kernel.org/msg116981.html

This has patches for the fix

As per my forums link, i have applied the mceusb2 patch and this now works

I suspect it would work for the other controllers too when people start seeing issues with them?
Comment 1 Matthias Schwarzott gentoo-dev 2007-02-12 23:58:09 UTC
Patch looks correct, will work with it/apply it in the next days.
Comment 2 Olivier Castan 2007-02-19 17:09:45 UTC
Same patch applied in CVS (example with mceusb2):
http://lirc.cvs.sourceforge.net/lirc/lirc/drivers/lirc_mceusb2/lirc_mceusb2.c?r1=1.22&r2=1.23&view=patch
Comment 3 Matthias Schwarzott gentoo-dev 2007-02-22 19:08:23 UTC
Added patch to lirc-0.8.1.ebuild.
Thanks for reporting that issue.
Comment 4 Matthias Schwarzott gentoo-dev 2007-03-26 13:11:11 UTC
Please mark stable on your arch, for 2.6.20 compatibility.
Comment 5 Christoph Mende (RETIRED) gentoo-dev 2007-03-26 13:37:24 UTC
emerges fine and works on amd64

Portage 2.1.2.2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.20-beyond2 x86_64)
=================================================================
System uname: 2.6.20-beyond2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 25 Mar 2007 16:20:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
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-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig builysyspkg ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ "
LANG="en_US.ISO-8859-15"
LC_ALL="en_US.ISO-8859-15"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 amr audiofile berkdb bitmap-fonts bzip2 cairo cdinstall cdr cli cracklib crypt cups dbus dri dts dvd dvdr dvdread eds emboss encode fam firefox fortran gdbm gif gpm gstreamer gtk gtk2 hal iconv jpeg ldap libg++ lirc logrotate mad midi mikmod mp3 mpeg ncurses nls nptl nptlonly offensive ogg opengl pam pcre php png ppds pppd quicktime readline reflection sdl session smp spl ssl svg symlink tcpd tiff truetype truetype-fonts type1-fonts unicode v4l vim vorbis x264 xinerama xorg xv xvid zlib" ALSA_CARDS="emu10k1" 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="inputlirc" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 6 Christian Faulhammer (RETIRED) gentoo-dev 2007-03-27 05:45:15 UTC
/me is typing happily on his ATI Remote's buttons...volume increases to the ceiling....Yay!

x86 stable
Comment 7 Raúl Porcel (RETIRED) gentoo-dev 2007-04-02 15:00:31 UTC
ia64 stable
Comment 8 Joe Jezak (RETIRED) gentoo-dev 2007-04-08 00:27:38 UTC
Marked ppc stable.
Comment 9 Christian Faulhammer (RETIRED) gentoo-dev 2007-04-08 08:33:51 UTC
amd64 stable
Comment 10 Raúl Porcel (RETIRED) gentoo-dev 2007-06-27 17:12:58 UTC
alpha/ia64 keyword dropped as nobody has hardware to test.
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2007-07-13 08:52:06 UTC
ppc64 stable keyword still needed; thanks :)
Comment 12 Markus Rothe (RETIRED) gentoo-dev 2007-07-19 15:42:26 UTC
sorry, I just noticed I have never said, why this is not yet stable on ppc64. I'm getting this linkerror:

/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.1.2/../../../../powerpc64-unknown-linux-gnu/bin/ld: unrecognised emulation mode: -Wl,-soname
Supported emulations: elf64ppc elf32ppclinux elf32ppc elf32ppcsim
collect2: ld returned 1 exit status
Comment 13 Doug Goldstein (RETIRED) gentoo-dev 2007-07-19 15:47:02 UTC
corsair: paste the actual linker line so we can see the command line options being passed.
Comment 14 Markus Rothe (RETIRED) gentoo-dev 2007-07-19 16:04:17 UTC
Created attachment 125342 [details]
lirc-0.8.2-output.txt (ppc64)

this is the output

but uhmm.. look at this:

# cd /var/tmp/portage/app-misc/lirc-0.8.2/work/lirc-0.8.2/
# make
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/app-misc/lirc-0.8.2/work/lirc-0.8.2'
Making all in drivers
make[2]: Entering directory `/var/tmp/portage/app-misc/lirc-0.8.2/work/lirc-0.8.2/drivers'
make[3]: Entering directory `/var/tmp/portage/app-misc/lirc-0.8.2/work/lirc-0.8.2/drivers'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/var/tmp/portage/app-misc/lirc-0.8.2/work/lirc-0.8.2/drivers'
make[2]: Leaving directory `/var/tmp/portage/app-misc/lirc-0.8.2/work/lirc-0.8.2/drivers'
Making all in daemons
make[2]: Entering directory `/var/tmp/portage/app-misc/lirc-0.8.2/work/lirc-0.8.2/daemons'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/app-misc/lirc-0.8.2/work/lirc-0.8.2/daemons'
Making all in tools
make[2]: Entering directory `/var/tmp/portage/app-misc/lirc-0.8.2/work/lirc-0.8.2/tools'
/bin/sh ../libtool --tag=CC   --mode=link powerpc64-unknown-linux-gnu-gcc  -O2 -pipe  -version-info 2:0:2  -o liblirc_client.la -rpath /usr/lib64 lirc_client.lo  
powerpc64-unknown-linux-gnu-gcc -shared  .libs/lirc_client.o   -Wl,-soname -Wl,liblirc_client.so.0 -o .libs/liblirc_client.so.0.2.0
(cd .libs && rm -f liblirc_client.so.0 && ln -s liblirc_client.so.0.2.0 liblirc_client.so.0)
(cd .libs && rm -f liblirc_client.so && ln -s liblirc_client.so.0.2.0 liblirc_client.so)
powerpc64-unknown-linux-gnu-ar cru .libs/liblirc_client.a  lirc_client.o
powerpc64-unknown-linux-gnu-ranlib .libs/liblirc_client.a
[...]


running it by hand doesn't fail.
Comment 15 Doug Goldstein (RETIRED) gentoo-dev 2007-07-19 16:08:13 UTC
Portage is passing -m without a 32 or a 64. Sounds like some wonky multilib issues.
Comment 16 Markus Rothe (RETIRED) gentoo-dev 2007-07-19 16:17:57 UTC
good catch. there should be the need to pass -m at all though (like seen in the manual compile).

I'm not familiar with these kind of problems..
Comment 17 Markus Rothe (RETIRED) gentoo-dev 2007-08-14 18:52:10 UTC
ppc64 stable

I've switched to an older profile (2004.3) and that time lirc compiled fine. current stable version does not compile with 2007.0 profile, so I've marked 0.8.2-r1 stable. (as it's no regression)

we need to fix our profile... but that's our problem ;-)

last arch CC'd -> marking as FIXED