lcdproc fails to emerge on this version and the previous version. I have libirman-0.4.2 emerge'd. When emerging lcdproc I get an error that it can't find an include file. I do have a fix. Reproducible: Always Steps to Reproduce: 1. emerge libirman lcdproc 2. 3. Actual Results: irmanin.c:27:44: ../../../libirman-0.4.1b/irman.h: No such file or directory irmanin.c: In function `irmanin_init': irmanin.c:123: warning: implicit declaration of function `ir_init_commands' irmanin.c:128: warning: implicit declaration of function `ir_default_portname' irmanin.c:128: warning: assignment makes pointer from integer without a cast irmanin.c:142: warning: implicit declaration of function `ir_register_command' irmanin.c:152: warning: implicit declaration of function `ir_init' irmanin.c:89: warning: unused variable `j' irmanin.c:90: warning: unused variable `filename' irmanin.c: In function `irmanin_close': irmanin.c:168: warning: implicit declaration of function `ir_free_commands' irmanin.c:169: warning: implicit declaration of function `ir_finish' irmanin.c: In function `irmanin_getkey': irmanin.c:185: warning: implicit declaration of function `ir_poll_command' irmanin.c:186: error: `IR_CMD_ERROR' undeclared (first use in this function) irmanin.c:186: error: (Each undeclared identifier is reported only once irmanin.c:186: error: for each function it appears in.) irmanin.c:189: error: `IR_CMD_UNKNOWN' undeclared (first use in this function) irmanin.c:180: warning: unused variable `i' gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -I../.. -Wall -O3 -c bayrad.c make[3]: *** [irmanin.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/home/tmp/portage/lcdproc-0.4.5/work/lcdproc-0.4.5/server/drivers' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/tmp/portage/lcdproc-0.4.5/work/lcdproc-0.4.5/server' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/tmp/portage/lcdproc-0.4.5/work/lcdproc-0.4.5' make: *** [all-recursive-am] Error 2 !!! ERROR: app-misc/lcdproc-0.4.5 failed. !!! Function src_compile, Line 61, Exitcode 2 !!! (no error message) g Expected Results: In file lcdproc-0.4.5/server/drivers/irmanin.c change the line #include "../../../libirman-0.4.1b/irman.h" to #include "irman.h" After making this change, it compiles okay. garnet root # emerge info Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r5) ================================================================= System uname: 2.4.22-gentoo-r5 i686 AMD Athlon(tm) processor Gentoo Base System version 1.4.10 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-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.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/terminfo /etc/env.d" CXXFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnow X alsa apm arts avi berkdb bonobo crypt cups dvd encode esd evo foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile imap imlib java jpeg kde ldap libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline scanner sdl slang snmp spell ssl svga tcltk tcpd tetex truetype x86 xml xml2 xmms xv zlib"
Sorry, but I'm not the maintainer of this package so I'm bouncing this back to the wranglers... Thanks!
This indeed looks like a bug :) I will fix it upstream with the next release (mid-August). Rene
I check it, when i had libirman I couldn't compile app-misc/lcdproc. When I removed libirman, i had emerged app-misc/lcdproc whitout any problems. Lcdproc should block libirman. I'm attaching patch on ebuild.
Created attachment 35457 [details, diff] Patch on lcdproc-0.4.5
I've found another way to solve the problem. I've created patch on source code and i'm attaching another patch.
Created attachment 35458 [details, diff] Patch on lcdproc-0.4.5 source code
With above patch we don't must block libirman. Please check the patch.
The patch compiled okay.