Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 324469 - media-video/rtmpdump does not provide a correct .pc file when built with USE=gnutls (was: media-video/ffmpeg-0.6: configure fails on rtmpdump check)
Summary: media-video/rtmpdump does not provide a correct .pc file when built with USE=...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-17 14:13 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2010-06-17 16:06 UTC (History)
1 user (show)

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


Attachments
config.err (config.err,126.87 KB, text/plain)
2010-06-17 14:13 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-06-17 14:13:35 UTC
>>> Configuring source in /var/tmp/portage/media-video/ffmpeg-0.6/work/ffmpeg-0.6 ...
ERROR: librtmp not found

If you think configure made a mistake, make sure you are using the latest
version from SVN.  If the latest version fails, report the problem to the
ffmpeg-user@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.err" produced by configure as this will help
solving the problem.
 * ERROR: media-video/ffmpeg-0.6 failed:
 *   configure failed


Please note that I have the rtmp USE flag enabled when this error occurs. I don't know why my "emerge --info" below doesn't reflect this...


# emerge --info ffmpeg rtmpdump
Portage 2.2_rc67 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.4, glibc-2.10.1-r1, 2.6.32.15 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.32.15-x86_64-Quad-Core_AMD_Opteron-tm-_Processor_2389-with-gentoo-2.0.1
Timestamp of tree: Thu, 17 Jun 2010 06:00:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
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.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=barcelona -mtune=barcelona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/X11/Sessions /etc/X11/app-defaults /etc/X11/xinit /etc/adobe /etc/bonobo-activation /etc/ca-certificates /etc/ca-certificates.conf /etc/dbus-1 /etc/env.d /etc/env.d/java/ /etc/fonts /etc/fonts/fonts.conf /etc/foomatic /etc/games /etc/gconf /etc/gentoo-release /etc/gimp /etc/gnome-vfs-2.0 /etc/gre.d /etc/gtk-2.0 /etc/hp /etc/hsqldb /etc/htdig /etc/init.d /etc/iproute2 /etc/java-config-2 /etc/lftp /etc/logrotate.d /etc/ntop /etc/opt /etc/pango /etc/profile.d /etc/qt4 /etc/revdep-rebuild /etc/sandbox.d /etc/sasl2 /etc/sensors.d /etc/sgml /etc/sound /etc/ssl /etc/ssmtp /etc/t1lib /etc/terminfo /etc/vbox /etc/xdg /etc/xinetd.d /etc/xml"
CXXFLAGS="-march=barcelona -mtune=barcelona -O2 -pipe"
DISTDIR="/var/tmp/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --with-bdeps=y"
FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1,--hash-style=gnu,--sort-common,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j7"
PKGDIR="/var/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="/var/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.254/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 berkdb branding bzip2 cairo caps cdda cdr cli cracklib crypt css cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac gdbm gif gmp gnutls gtk iconv idn jpeg jpeg2k kde lame lcms libnotify lzma mad midi mmap mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf png ppds pppd qt3support qt4 quicktime readline reflection schroedinger sdl session slang spell spl sse sse2 ssl startup-notification svg sysfs theora threads tiff truetype twolame udev unicode usb vcd vdpau vorbis vpx x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="emu10k1 hda-intel usb-audio" 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" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="de en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

media-video/ffmpeg-0.6 was built with the following:
USE="3dnow 3dnowext X alsa (-altivec) -amr -bindist -cpudetection -custom-cflags -debug -dirac -doc encode -faac -faad -gsm hardcoded-tables -ieee1394 -jack jpeg2k mmx mmxext mp3 (multilib) -network -oss -pic -rtmp schroedinger sdl -speex ssse3 -test theora threads -v4l -v4l2 -vaapi vdpau vorbis vpx x264 xvid zlib" VIDEO_CARDS="nvidia" 


media-video/rtmpdump-2.2e-r1 was built with the following:
USE="gnutls (multilib) -polarssl ssl"
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-06-17 14:13:51 UTC
Created attachment 235713 [details]
config.err
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-06-17 14:19:13 UTC
Disabling the gnutls USE flag in rtmpdump does fix the problem.
Comment 3 Alexis Ballier gentoo-dev 2010-06-17 14:20:30 UTC
its rather rtmpdump not providing a correct .pc file when built with USE=gnutls
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2010-06-17 15:04:03 UTC
Thats very weird. My knowledge in pkgconfig is quite limited but the file is the same whether you have gnutls enabled or not. If somebody knows more about these kind of errors please let me know
Comment 5 Alexis Ballier gentoo-dev 2010-06-17 15:15:01 UTC
the .pc file seems to be generated at install phase; so either fix this to be built at compile time or add the CRYPTO=stuff at make install too; there is support there for providing sane .pc files but the ebuild doesn't set it and it always uses libssl.
Comment 6 Markos Chandras (RETIRED) gentoo-dev 2010-06-17 16:06:21 UTC
Right

Ok fixed on -r2

Thanks for the tip