Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348742 - Add >=dev-libs/libpcre-7.8[cxx] dependency for media-video/cclive
Summary: Add >=dev-libs/libpcre-7.8[cxx] dependency for media-video/cclive
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-14 20:59 UTC by Arseny Solokha
Modified: 2011-01-07 19:51 UTC (History)
0 users

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


Attachments
Build log (cclive-0.6.5.build.log,4.02 KB, text/plain)
2010-12-14 21:01 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-12-14 20:59:22 UTC
=media-video/cclive-0.6.5 fails to build if dev-libs/libpcre was build with cxx USE flag disabled.  Build log goes to the attachment.

This has been discovered with cclive-0.6.5, but other versions are probably affected too.

Proposed patch:
--- media-video/cclive/cclive-0.6.5.ebuild~        2010-08-27 04:35:17.000000000 +0800
+++ media-video/cclive/cclive-0.6.5.ebuild 2010-12-15 03:57:22.591996535 +0700
@@ -15,6 +15,7 @@
 
 RDEPEND=">=media-libs/quvi-0.2.0"
 DEPEND="${RDEPEND}
+       >=dev-libs/libpcre-7.8[cxx]
        dev-util/pkgconfig"
 
 src_configure() {

Reproducible: Always

Steps to Reproduce:
1. # USE="-cxx" emerge =dev-libs/libpcre-8.10
2. # emerge =media-video/cclive-0.6.5

Actual Results:  
cclive fails to build at configure step.

Expected Results:  
cclive builds smoothly.

Portage 2.2.0_alpha8 (default/linux/amd64/10.0/no-multilib, gcc-4.4.5, glibc-2.12.1-r3, 2.6.36-zen1 x86_64)
=================================================================
System uname: Linux-2.6.36-zen1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7100_@_1.80GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 14 Dec 2010 20:00:01 +0000
app-shells/bash:     4.1_p9
dev-lang/python:     2.7.1
dev-util/cmake:      2.8.3::asolokha-overlay
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.68
sys-devel/automake:  1.9.6-r3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.4.5, 4.5.1-r1
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)
Repositories: gentoo sunrise asolokha-overlay multimedia wirelay
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"
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 binpkg-logs distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn 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,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common"
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/asolokha-overlay /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" USERLAND="GNU" VIDEO_CARDS="intel" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Arseny Solokha 2010-12-14 21:01:25 UTC
Created attachment 257175 [details]
Build log
Comment 2 Arseny Solokha 2010-12-17 11:10:16 UTC
(In reply to comment #0)
> This has been discovered with cclive-0.6.5, but other versions are probably
> affected too.

Ebuilds for previous versions of cclive have this dependency in RDEPEND.
Comment 3 Alexis Ballier gentoo-dev 2011-01-07 19:51:42 UTC
fixed, thanks