Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 352660 - media-video/vlc-1.1.6 fails to compile with USE="lirc" and lirc-0.8.7
Summary: media-video/vlc-1.1.6 fails to compile with USE="lirc" and lirc-0.8.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-25 09:23 UTC by Thomas Raschbacher
Modified: 2011-01-25 16:00 UTC (History)
3 users (show)

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


Attachments
include errno.h in lirc.c to fix compile error (vlc-1.1.6-lirc-errno.patch,417 bytes, patch)
2011-01-25 13:01 UTC, Thomas Pfaff
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Raschbacher gentoo-dev 2011-01-25 09:23:13 UTC
compile error when enabling lirc USE flag (errno related). USE="-lirc" compiles fine

make[5]: Entering directory `/var/tmp/portage/media-video/vlc-1.1.6/work/vlc-1.1.6/modules/control'
  CC     liblirc_plugin_la-lirc.lo
  CC     libdbus_plugin_la-dbus.lo
  CC     liboldtelnet_plugin_la-telnet.lo
  CC     libgestures_plugin_la-gestures.lo
telnet.c: In function 'Run':
telnet.c:237:14: warning: variable 'nlisten' might be clobbered by 'longjmp' or 'vfork'
dbus.c: In function 'Run':
dbus.c:813:223: warning: call to 'harmful_delay.clone.7' declared with attribute warning: use proper event handling instead of short delay
  CC     libnetsync_plugin_la-netsync.lo
gestures.c: In function 'RunIntf':
gestures.c:438:219: warning: call to 'harmful_delay.clone.0' declared with attribute warning: use proper event handling instead of short delay
  CC     libhotkeys_plugin_la-hotkeys.lo
  CC     liboldrc_plugin_la-rc.lo
lirc.c: In function 'Open':
lirc.c:102:5: warning: passing argument 1 of 'lirc_init' discards qualifiers from pointer target type
/usr/include/lirc/lirc_client.h:76:5: note: expected 'char *' but argument is of type 'const char *'
lirc.c: In function 'Run':
lirc.c:157:17: error: 'errno' undeclared (first use in this function)
lirc.c:157:17: note: each undeclared identifier is reported only once for each function it appears in
lirc.c:157:26: error: 'EINTR' undeclared (first use in this function)
lirc.c:156:11: warning: suggest explicit braces to avoid ambiguous 'else'
make[5]: *** [liblirc_plugin_la-lirc.lo] Fehler 1
make[5]: *** Warte auf noch nicht beendete Prozesse...
netsync.c: In function 'Master':
netsync.c:212:1: warning: no return statement in function returning non-void
netsync.c: In function 'Slave':
netsync.c:268:1: warning: no return statement in function returning non-void
netsync.c:214:14: warning: call to 'harmful_delay.clone.1' declared with attribute warning: use proper event handling instead of short delay
rc.c: In function 'Run':
rc.c:527:45: warning: comparison between signed and unsigned integer expressions
make[5]: Leaving directory `/var/tmp/portage/media-video/vlc-1.1.6/work/vlc-1.1.6/modules/control'
make[4]: *** [all-recursive] Fehler 1
make[4]: Leaving directory `/var/tmp/portage/media-video/vlc-1.1.6/work/vlc-1.1.6/modules/control'
make[3]: *** [all] Fehler 2
make[3]: Leaving directory `/var/tmp/portage/media-video/vlc-1.1.6/work/vlc-1.1.6/modules/control'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/media-video/vlc-1.1.6/work/vlc-1.1.6/modules'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/media-video/vlc-1.1.6/work/vlc-1.1.6'
make: *** [all] Fehler 2
emake failed
 * ERROR: media-video/vlc-1.1.6 failed:
 *   died running emake, base_src_make
 *
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 4320:  Called base_src_compile
 *   environment, line  870:  Called base_src_make
 *   environment, line  908:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "died running emake, $FUNCNAME";
 *
 * If you need support, post the output of 'emerge --info =media-video/vlc-1.1.6',
 * the complete build log and the output of 'emerge -pqv =media-video/vlc-1.1.6'.
 * The complete build log is located at '/var/tmp/portage/media-video/vlc-1.1.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/vlc-1.1.6/temp/environment'.
 * S: '/var/tmp/portage/media-video/vlc-1.1.6/work/vlc-1.1.6'

>>> Failed to emerge media-video/vlc-1.1.6, Log file:

>>>  '/var/tmp/portage/media-video/vlc-1.1.6/temp/build.log'

 * Messages for package media-video/vlc-1.1.6:

 * USE=libtiger requires kate, libtiger will be disabled.
 * ERROR: media-video/vlc-1.1.6 failed:
 *   died running emake, base_src_make
 *
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 4320:  Called base_src_compile
 *   environment, line  870:  Called base_src_make
 *   environment, line  908:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "died running emake, $FUNCNAME";
 *
 * If you need support, post the output of 'emerge --info =media-video/vlc-1.1.6',
 * the complete build log and the output of 'emerge -pqv =media-video/vlc-1.1.6'.
 * The complete build log is located at '/var/tmp/portage/media-video/vlc-1.1.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/vlc-1.1.6/temp/environment'.
 * S: '/var/tmp/portage/media-video/vlc-1.1.6/work/vlc-1.1.6'


emerge --info output:
 # emerge --info
Portage 2.1.9.35 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.12.2-r0, 2.6.36-gentooATH64 x86_64)
=================================================================
System uname: Linux-2.6.36-gentooATH64-x86_64-AMD_Phenom-tm-_II_X3_720_Processor-with-gentoo-2.0.1
Timestamp of tree: Mon, 24 Jan 2011 21:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.4 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.5.4-r4, 2.6.6-r1, 3.1.3
dev-util/ccache:     3.1.4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       3.3.6-r1, 4.1.2, 4.3.5, 4.4.5, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm ut2003 googleearth AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_AT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB de ja en_US"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/lordvan /usr/local/portage/layman/enlightenment /usr/local/portage/layman/science /usr/local/portage/layman/sunrise"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 3ds X X509 a52 aac aalib acl acpi aio alsa amd64 amr amrnb amrwb anthy apache2 applet archive ares artworkextra aspell asyncns atmo auto-hinter autotrace avahi beagle benchmarks berkdb blender-game bluetooth bogofilter bonobo bookmarks boost branding bs2b btrfs bzip2 cairo cal3d canna canvas caps cdda cddax cddb cdio cdparanoia cdr cegui cg chm cjk clamdtop cleartype cli collab config-file consolekit contrast cracklib crypt css ctypes-python cups curl cvs cxx daap dbus derby desktopglobe devfs-compat device-mapper dga dia digitalradio disk-partition djvu dmraid dmx dns doc dri dtmf dts dvb dvd dvdr dvdread dvi ebook edb editor eds emacs emboss emf emotion enca encode epydoc escreen etk eu_epg ewl examples excel exif experimental extensions extra extras faac faad fam fame fat fax fbcon ffmpeg fftw firefox flac flash fltk fontconfig foomaticdb fortran freetds freewnn frei0r ftp fts3 fuse gajim galago games gcdmaster gcj gcrypt gd gda gdbm gdu gedit ggi gif gimp git glade glitz gmm gmp gnome gnome-keyring gnomecd gnutls gpac gphoto2 gpm grammar graphviz gs gsf gsm gstreamer gtk gui guile gutenprint gzip-el h224 h281 h323 hal hbci howl-compat html http http-forms http-server httpd i18n iax iconv icq icu id3tag idle idn imagemagick imap imlib inkjar inotify iplayer iptc ipv6 irc jabber jack jadetex java java6 javascript jce jfs jpeg jpeg2k kde kdrive kmail kpathsea ladspa lame latex lcms lib32 libass libcaca libgda liblockfile libmms libnotify libproxy libsamplerate libsigsegv libssh2 libsysfs libtiger libv4l2 lightning lirc live lm_sensors logwatch look-aes loop-aes lqr lua lzma lzo mad mail maildir maps math matroska md5sum mdadm mdnsresponder-compat melt mem-scramble midi midii migemo mixer mjpeg mmx mmxext mng modplug modules mono moonlight mozdevelop mozdom mp3 mp3rtp mp4 mpeg mplayer msn mssql mtp mudflap multilib multimedia musepack musicbrainz mysql nas nautilus ncurses net netboot network networking nls nntp nokia nptl nptlonly nsplugin nspluginwrapper ntfs nut nuv objc odbc ode offensive ofx ogg old-hd-rules openal opencore-amr openexr opengl openmp openntpd openxml optimized-qmake otp ots overlays pam pango pcre pdf perl phonon physfs pipechan pkcs11 pkinit plasma playlist plotutils plugins png pnm policykit postgres postproc ppds pppd pulseaudio pvr python python3 qcalculate qos qt3support qt4 quicktime quota radio raw readline realtime reiser4 reiserfs remote replytolist rfc4175 rss rtmp rtsp samba sasl scanner schroedinger scim script sdk sdl sdl-image secure-delete semantic-desktop sensord server session shine shout sip sipim skins skk skype slideshow smime smp sndfile snes soap socks solver soundtouch soup sourceview spamassassin speex spell sql sqlite sqlite3 srtp sse sse2 sse4a ssl startup-notification stats stream strigi subtitles subversion svg swat sysfs syslog system-sqlite t1lib taglib tagwriting tcl tcpd teletext test tga theora thesaurus thin-splines threads thumbnail thunderbird tiff timezone timidity tk tls tools totem traits trayicon truetype tv tv_check tvtime twolame udev unicode upnp usb v4l v4l2 vaapi vala vamp vcd vcdinfo vcdx vdpau vdr verse vlc vlm vorbis vpx vxml wav wavpack webkit win64 winbind wma-fixed wmf wxwidgets wxwindows x264 xattr xcb xcomposite xfs xft xhtml xine xinerama xmame xml xmlpatterns xmlrpc xmp xorg xosd xpixmap xplanet xpm xrandr xscreensaver xslt xulrunner xv xvid xvmc yahoo zeroconf zip 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 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 cgi cgid 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" APACHE2_MPMS="event" CAMERAS="directory" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="ttpci ttusb-dec" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB de ja en_US" LIRC_DEVICES="hauppauge_dvb hauppauge" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeonhd vesa fbdev nv nvidia vesa vga radeon nouveau fglrx" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Thomas Pfaff 2011-01-25 13:01:08 UTC
Created attachment 260659 [details, diff]
include errno.h in lirc.c to fix compile error
Comment 2 Alexis Ballier gentoo-dev 2011-01-25 16:00:37 UTC
I backported a patch to fix this