Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250015 - =media-sound/ncmpc-0.12 fails to configure w/ lirc
Summary: =media-sound/ncmpc-0.12 fails to configure w/ lirc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor with 1 vote (vote)
Assignee: Christoph Mende (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 277550
Blocks:
  Show dependency tree
 
Reported: 2008-12-06 10:56 UTC by Michał Górny
Modified: 2010-08-06 12:15 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,4.43 KB, text/plain)
2008-12-06 10:57 UTC, Michał Górny
Details
config.log (config.log,25.33 KB, text/plain)
2008-12-06 10:58 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2008-12-06 10:56:33 UTC
When trying to build ncmpc-0.12 w/ lirc useflag enabled, configure fails:

checking for LIBLIRCCLIENT... no
configure: error: liblircclient0 not found

Without ‘lirc’ build completes successfully.

=app-misc/lirc-0.8.4, USE="X kernel_linux lirc_devices_serial"

emerge --info:

Portage 2.2_rc17 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.26-tuxonice-mgorny-amd64 x86_64)
=================================================================
System uname: Linux-2.6.26-tuxonice-mgorny-amd64-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3800+-with-gentoo-2.0.0
Timestamp of tree: Sat, 06 Dec 2008 01:45:02 +0000
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.6-r5
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     9999
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/srv/nfs/common/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --ask --jobs --load-average 9.0 --keep-going"
FEATURES="collision-protect distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://src.gentoo.pl http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="pl en_US en"
MAKEOPTS="-j3"
PKGDIR="/srv/nfs/common/packages/athlon64"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/cache/portage/local /usr/portage/local/d /usr/portage/local/gnash-cvs /usr/portage/local/java-overlay /usr/portage/local/kvm /usr/portage/local/ltsp /usr/portage/local/mpd /usr/portage/local/perl-experimental /usr/portage/local/pro-audio /usr/portage/local/pythonhead /usr/portage/local/sunrise /usr/portage/local/vdr-devel /usr/portage/local/vdr-experimental /usr/portage/local/vdr-testing /usr/portage/local/voip /home/mgorny/projekty/emdzientoo"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 bash-completion branding bzip2 cairo cdparanoia cdr cleartype cli cracklib crypt curl dbus dri dts dv dvb dvd dvdr dvdread emboss encode evo exif expat fame ffmpeg firefox flac fontconfig fortran fpx gif glib gmp gnutls gpg gpgme gs hal iconv idn imagemagick ipv6 isdnlog jack jbig jpeg jpeg2k kdeenablefinal latex lirc logrotate mad mbox midi mikmod mmap mmx mmxext mng modplug mp3 mpeg mudflap multilib musepack ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss oss4 pam pch pcre pdf perl png ppds pppd pulseaudio python qt3support quicktime readline reflection rle rtsp scanner sdl session slang speex spl sqlite3 sse sse2 ssl startup-notification svg sysfs syslog tcpd tetex tga theora threads tiff timidity truetype unicode usb v4l v4l2 vcd vhosts vim-syntax vorbis wmf xcb xine xinetd xml xorg xpm xv xvid xvmc zlib" ALSA_CARDS="hda-intel emu10k1 virmidi mpu401 pcsp" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en_US en" LIRC_DEVICES="serial" USERLAND="GNU" VIDEO_CARDS="nouveau nv nvidia vesa"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2008-12-06 10:57:44 UTC
Created attachment 174395 [details]
build.log
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2008-12-06 10:58:42 UTC
Created attachment 174396 [details]
config.log
Comment 3 David Shakaryan (RETIRED) gentoo-dev 2008-12-06 14:40:00 UTC
Reassigning bug to myself... I will take a look at this right now.
Comment 4 David Shakaryan (RETIRED) gentoo-dev 2008-12-06 14:40:38 UTC
Oops, let's try that again. :)
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2009-02-20 19:27:12 UTC
Does version 0.13 fix this test?
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2009-02-20 20:00:06 UTC
(In reply to comment #5)
> Does version 0.13 fix this test?

Nay, same result.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2009-02-20 20:36:05 UTC
./configure fails because the lirc client .pc file simply isn't there. Debian supplies its own .pc file for lirc in its own patches:

--- lirc-0.8.3.orig/debian/liblircclient0.pc
+++ lirc-0.8.3/debian/liblircclient0.pc
@@ -0,0 +1,10 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: liblircclient0
+Description: liblircclient0
+Version: 0.8.3
+Libs: -L${libdir} -llirc_client
+Cflags: -I${includedir}

Maybe we should introduce it too and perhaps UPSTREAM is interested as well.
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2009-04-07 11:05:03 UTC
(In reply to comment #7)
> ./configure fails because the lirc client .pc file simply isn't there. Debian
> supplies its own .pc file for lirc in its own patches:
[…]
> Maybe we should introduce it too and perhaps UPSTREAM is interested as well.

Should I open separate bug for that or just leave it as is?
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2009-05-11 20:31:51 UTC
I've removed USE lirc as temporary solution because we need new ncmpc in stable for another bug, but I left the parts # commented in the ebuild and this bug open.
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2010-08-06 12:15:19 UTC
+*ncmpc-0.17 (06 Aug 2010)
+
+  06 Aug 2010; Samuli Suominen <ssuominen@gentoo.org> +ncmpc-0.17.ebuild,
+  +files/ncmpc-0.17-fix-segfault-on-help-screen.patch:
+  Version bump wrt #328519 by Ihar Hrachyshka. Restore USE="lirc" wrt