| Summary: | media-plugins/gst-plugins-mpeg2enc-0.10.21 - gstmpeg2encoder.cc:30:30: error: ontheflyratectl.hh: No such file or directory | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | water <waterloo2005> |
| Component: | New packages | Assignee: | GStreamer package maintainers <gstreamer> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | brulzki, fusero, tetromino |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
build.log
Patch to build against mpegtools-2.0 Ebuild which applies mpegtools-2.0 patch |
||
Created attachment 282419 [details]
build.log
I have been seeing the same error for a while. Looks like mjpegtools 2.0 has changed its include file names: http://lists.freedesktop.org/archives/gstreamer-commits/2011-May/050527.html I also found this patch for SUSE, which is very similar: https://build.opensuse.org/package/view_file?file=gstreamer-0_10-plugins-bad-mjpegtool2.patch&package=gstreamer-0_10-plugins-bad&project=GNOME%3AFactory&srcmd5=976450dc1a59d762d113f8788bf5acbc Hope that helps somebody. I think it wouldn't be difficult to patch the ebuild based on that. Created attachment 283279 [details, diff]
Patch to build against mpegtools-2.0
Created attachment 283281 [details]
Ebuild which applies mpegtools-2.0 patch
I updated the ebuild with the patch from the gstreamer commit from comment 2. Note that commit was done about 2 weeks after the 0.22 release, so I presume it will still be needed for the newer gst-plugins-mpeg2enc-0.22. I'm trying to install this package (=media-plugins/gst-plugins-mpeg2enc-0.10.22), and it fails in the same way ... gstmpeg2encoder.cc:30:30: fatal error: ontheflyratectl.hh: No such file or directory compilation terminated. ... This is also happening to me in a x86 stable gentoo same here (amd64). the suggested patch(es) make it work fine. *** This bug has been marked as a duplicate of bug 369975 *** |
I can not emerge media-plugins/gst-plugins-mpeg2enc-0.10.21 . Reproducible: Always Steps to Reproduce: 1.emerge media-plugins/gst-plugins-mpeg2enc 2. 3. emerge --info =media-plugins/gst-plugins-mpeg2enc-0.10.21 Portage 2.1.9.42 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.5, libc-0-r0, 2.6.38-gentoo-r7 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.38-gentoo-r7-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9600_@_2.80GHz-with-gentoo-2.0.3 Timestamp of tree: Sun, 07 Aug 2011 12:45:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.2_p10 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1-r1, 3.1.3-r1 dev-util/ccache: 2.4-r9 dev-util/cmake: 2.8.4-r1 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.8.3-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1-r1 sys-devel/binutils: 2.21.1 sys-devel/gcc: 4.4.5 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 sys-kernel/linux-headers: 2.6.36.1 sys-libs/glibc: 2.13-r4 virtual/os-headers: 0 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=core2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.2/conf /usr/share/maven-bin-3.0/conf /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb" 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/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=core2 -pipe" DISTDIR="/usr/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://mirrors.xmu.edu.cn/gentoo" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en zh zh_CN zh_TW 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/portage/local/layman/science /usr/portage/local/layman/sunrise /usr/portage/local/layman/gentoo-zh /usr/portage/local/myebuild /usr/portage" SYNC="rsync://mirrors.xmu.edu.cn/gentoo-portage" USE="X a52 aac aalib acl acpi aim alsa amd64 asf avahi bash-completion berkdb bitmap-fonts blas bluetooth branding bzip2 cairo cdda cdparanoia cdr chm cjk cleartype cli consolekit corefonts cracklib crypt cups cxx dbus divx4linux dri dts dv dvd dvdr dvdread eds emacs emboss encode evo examples exif fam ffmpeg firefox flac foomaticdb fortran gd gdbm gdu gif gnome gnome-keyring gphoto2 gpm gstreamer gtk hdaps iconv ieee1394 java jpeg lame laptop lcms ldap libnotify lm_sensors mad midi mjpeg mmx mng modules mp3 mp4 mpeg msn mudflap multilib nautilus ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl pic png policykit ppds pppd python qq qt3support quicktime rar readline sdl session spell sse sse2 sse3 ssl startup-notification svg sysfs tcpd threads tiff truetype type1 udev unicode usb vorbis wifi x264 xcb xft xine xinerama xml xorg xscreensaver xulrunner xv xvid 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en zh zh_CN zh_TW en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon vesa intel 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 ================================================================= Package Settings ================================================================= media-plugins/gst-plugins-mpeg2enc-0.10.21 was built with the following: USE="(multilib)"