Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 173174 - app-misc/lirc-0.8.1 fails to compile w/ USE="-X"
Summary: app-misc/lirc-0.8.1 fails to compile w/ USE="-X"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Matthias Schwarzott
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-02 18:20 UTC by Peter B.
Modified: 2007-04-21 07:40 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 Peter B. 2007-04-02 18:20:49 UTC
/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -version-info 2:0:2  -o liblirc_client.la -rpath /usr/lib64 lirc_client.lo
x86_64-pc-linux-gnu-gcc -O2 -pipe -o xmode2 xmode2.o  -lSM /usr/lib64/libICE.so /usr/lib64/libX11.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so -ldl
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lSM
collect2: ld returned 1 exit status
make[2]: *** [xmode2] Error 1
make[2]: *** Waiting for unfinished jobs....
x86_64-pc-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)
x86_64-pc-linux-gnu-ar cru .libs/liblirc_client.a  lirc_client.o
x86_64-pc-linux-gnu-ranlib .libs/liblirc_client.a
creating liblirc_client.la
(cd .libs && rm -f liblirc_client.la && ln -s ../liblirc_client.la liblirc_client.la)
make[2]: Leaving directory `/var/tmp/portage/app-misc/lirc-0.8.1/work/lirc-0.8.1/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-misc/lirc-0.8.1/work/lirc-0.8.1'
make: *** [all] Error 2

!!! ERROR: app-misc/lirc-0.8.1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  ebuild.sh, line 1304:   Called linux-mod_src_compile
  linux-mod.eclass, line 511:   Called die

!!! Unable to make   all.
!!! 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/app-misc/lirc-0.8.1/temp/build.log'.

same with lirc-0.8.0-r8

Portage 2.1.2.3 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r5 x86_64 Intel(R) Pentium(R) D CPU 3.00GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 02 Apr 2007 16:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
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.20-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/init.d /etc/initng/daemon /etc/initng/net /etc/initng/system /etc/java-config/vms/ /etc/pam.d /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j4 "
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="a52 aac ac3 acpi aio amd64 asf berkdb bigpatch bzip2 cdda cddb cdio cdparanoia cdr cdrom cli cmdsubmenu cracklib crypt css dri dts dv dvb dvbplayer dvd dvdr dvdread embedded exif ffmpeg gdbm gpm iconv ieee1394 imagemagick ipv6 isdnlog jpeg2k jumpplay libg++ lirc lm_sensors logrotate mbox midi mjpeg mpeg2 mplayer mysql ncurses nls nptl nptlonly oggvorbis pam pcre perl ppds pppd projectx python rds-timeout readline reflection reiserfs samba session setup-plugin smp spl ssl submenu subtitles tcpd tiff truetype-fonts type1 type1-fonts unicode userlocales utf8 v4l v4l2 vcd vdr wma wmf x264 xine xorg xvid yaepg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" DVB_CARDS="ttpci" ELIBC="glibc" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean dbus_event debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="serial" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i810 mga neomagic nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

greetings

Peter



Reproducible: Always
Comment 1 Peter B. 2007-04-02 19:30:13 UTC
after adding 
app-misc/lirc X
to /etc/portage/package.use lirc compiles.
I guess something should be done with the configure-script.
Comment 2 Matthias Schwarzott gentoo-dev 2007-04-21 07:40:27 UTC
the ebuild started configure with --without-X, but that must be --without-x.
Fixed in all lirc ebuilds.
Thanks for reporting that issue.