Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 323899 - media-libs/quvi-0.2.0 fails to emerge if dev-lang/lua has been built with USE="-deprecated"
Summary: media-libs/quvi-0.2.0 fails to emerge if dev-lang/lua has been built with USE...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-14 07:40 UTC by Arseny Solokha
Modified: 2010-06-25 11:35 UTC (History)
2 users (show)

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


Attachments
Build log. (build.log,17.07 KB, text/plain)
2010-06-15 04:44 UTC, Arseny Solokha
Details
Environment. (environment,8.19 KB, text/plain)
2010-06-15 04:45 UTC, Arseny Solokha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arseny Solokha 2010-06-14 07:40:14 UTC
quvi 0.2.0 should depend on dev-lang/lua[deprecated] as it fails to emerge at linkage stage otherwise:

  CCLD   quvi
../lib/.libs/libquvi.so: undefined reference to `luaL_openlib'



Trivial fix is to change RDEPEND variable as follows:

--- media-libs/quvi/quvi-0.2.0.ebuild.jj	2010-06-14 15:38:14.071010880 +0800
+++ media-libs/quvi/quvi-0.2.0.ebuild	2010-06-14 15:38:53.767549831 +0800
@@ -15,7 +15,7 @@
 
 RDEPEND=">=net-misc/curl-7.18.0
 	>=dev-libs/libpcre-7.9[cxx]
-	dev-lang/lua"
+	dev-lang/lua[deprecated]"
 DEPEND="${RDEPEND}
 	dev-util/pkgconfig"
 

Reproducible: Always

Steps to Reproduce:
1. emerge -q =media-libs/quvi-0.2.0
2.
3.

Actual Results:  
Build process fails.

Expected Results:  
Successful emerge.

Portage 2.2_rc67 (default/linux/amd64/10.0/no-multilib, gcc-4.4.4, glibc-2.11.2-r0, 2.6.31-gvaemor x86_64)
=================================================================
System uname: Linux-2.6.31-gvaemor-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7100_@_1.80GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 14 Jun 2010 06:30:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.5-r2
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.9.6-r3, 1.10.3
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=core2 -mfpmath=sse -mcx16 -msahf -ftree-loop-linear -floop-interchange -floop-block -floop-strip-mine -ftree-loop-distribution"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-pipe -O2 -march=core2 -mfpmath=sse -mcx16 -msahf -ftree-loop-linear -floop-interchange -floop-block -floop-strip-mine -ftree-loop-distribution"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.corbina.ru/pub/Linux/gentoo http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed"
MAKEOPTS="-j2"
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="/var/lib/layman/sunrise /var/lib/layman/init6 /var/lib/layman/asolokha-overlay /var/lib/layman/devnull /var/lib/layman/multimedia /var/lib/layman/wirelay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 mmx mmxext nptl nptlonly sse sse2 ssse3 threads unicode" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="*" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Michael Weber (RETIRED) gentoo-dev 2010-06-14 22:05:22 UTC
same here, please attache build.log and environment file.
Comment 2 Arseny Solokha 2010-06-15 04:44:56 UTC
Created attachment 235357 [details]
Build log.
Comment 3 Arseny Solokha 2010-06-15 04:45:29 UTC
Created attachment 235359 [details]
Environment.
Comment 4 Alexis Ballier gentoo-dev 2010-06-25 11:35:55 UTC
applied, thanks