Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 564486 - net-misc/freerdp-1.2.1_pre20150326-r1[gstreamer] - fatal error: gst/gstconfig.h: No such file or directory
Summary: net-misc/freerdp-1.2.1_pre20150326-r1[gstreamer] - fatal error: gst/gstconfig...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-30 09:59 UTC by klaus818
Modified: 2015-11-08 17:45 UTC (History)
3 users (show)

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


Attachments
Build.log (net-misc:freerdp-1.2.1_pre20150326-r1:20151030-092139.log.bz2,11.51 KB, application/x-bzip)
2015-10-30 09:59 UTC, klaus818
Details

Note You need to log in before you can comment on or make changes to this bug.
Description klaus818 2015-10-30 09:59:18 UTC
Created attachment 415758 [details]
Build.log

Portage 2.2.23 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-5.2.0, glibc-2.22-r1, 4.2.5-gentoo x86_64)
=================================================================
System uname: Linux-4.2.5-gentoo-x86_64-Intel-R-_Pentium-R-_CPU_B960_@_2.20GHz-with-gentoo-2.2
KiB Swap:    8191996 total,   7554472 free
Timestamp of repository gentoo: Fri, 30 Oct 2015 07:30:01 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo, 3.5.0-r1::gentoo
dev-util/cmake:           3.3.2-r1::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.18.3::gentoo
sys-apps/sandbox:         2.9::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.2.0::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.2::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

gnome
    location: /var/lib/layman/gnome
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/gnome.git
    masters: gentoo
    priority: 50

kde
    location: /var/lib/layman/kde
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/kde.git
    masters: gentoo
    priority: 50

mv
    location: /var/lib/layman/mv
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/user/mv.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdda cdr clang cli cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gif glamor google gpm gstreamer gtk gtk3 iconv ipv6 jpeg kde kipi lcms ldap legacy-systray libnotify lm_sensors mad mmx mmxext mng modules mp3 mp4 mpeg mtp multilib ncurses networkmanager nls nptl ogg opengl openmp opus pam pango pch pcre pdf phonon pim plasma png policykit postproc ppds pulseaudio qml qt3support qt4 qt5 readline sdl seccomp semantic-desktop session spell sse sse2 ssl startup-notification svg sync-plugin-portage systemd tcpd threads tiff truetype udev udisks unicode upnp upower usb vaapi vorbis vpx webp widgets wxwidgets x264 x265 xattr xcb xcomposite xinerama xml xv xvid zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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="krita words" CAMERAS="casio_qv" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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 ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" SANE_BACKENDS="niash" USERLAND="GNU" VIDEO_CARDS="intel i965" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Keith Harrison 2015-11-02 18:14:58 UTC
I'm seeing this too.

The relevant error seems to be here:

[ 78%] Building C object channels/urbdrc/client/CMakeFiles/urbdrc-client.dir/isoch_queue.c.o
cd /var/tmp/portage/net-misc/freerdp-1.2.1_pre20150326-r1/work/freerdp-1.2.1_pre20150326_build/channels/urbdrc/client && /usr/bin/x86_64-pc-linux-gnu-gcc  -DHAVE_CONFIG_H  -DNDEBUG -O2 -march=native -pipe -fomit-frame-pointer  -fPIC -Wall -Wno-unused-result -Wno-unused-but-set-variable -Wno-deprecated-declarations -Wimplicit-function-declaration -Wredundant-decls -g -msse2 -DWINPR_EXPORTS -DFREERDP_EXPORTS -fPIC -I/var/tmp/portage/net-misc/freerdp-1.2.1_pre20150326-r1/work/freerdp-1.2.1_pre20150326_build -I/var/tmp/portage/net-misc/freerdp-1.2.1_pre20150326-r1/work/freerdp-1.2.1_pre20150326_build/include -I/var/tmp/portage/net-misc/freerdp-1.2.1_pre20150326-r1/work/freerdp-1.2.1_pre20150326/include -I/var/tmp/portage/net-misc/freerdp-1.2.1_pre20150326-r1/work/freerdp-1.2.1_pre20150326/winpr/include -I/var/tmp/portage/net-misc/freerdp-1.2.1_pre20150326-r1/work/freerdp-1.2.1_pre20150326_build/winpr/include -I/var/tmp/portage/net-misc/freerdp-1.2.1_pre20150326-r1/work/freerdp-1.2.1_pre20150326/channels/urbdrc/client/..    -o CMakeFiles/urbdrc-client.dir/isoch_queue.c.o -c /var/tmp/portage/net-misc/freerdp-1.2.1_pre20150326-r1/work/freerdp-1.2.1_pre20150326/channels/urbdrc/client/isoch_queue.c
In file included from /usr/include/gstreamer-1.0/gst/gstbin.h:27:0,
                 from /usr/include/gstreamer-1.0/gst/gst.h:35,
                 from /var/tmp/portage/net-misc/freerdp-1.2.1_pre20150326-r1/work/freerdp-1.2.1_pre20150326/channels/tsmf/client/gstreamer/tsmf_gstreamer.c:34:
/usr/include/gstreamer-1.0/gst/gstelement.h:55:27: fatal error: gst/gstconfig.h: No such file or directory
 #include <gst/gstconfig.h>
                           ^
compilation terminated.
Comment 2 selurvedu 2015-11-02 22:12:15 UTC
+1.

Compilation ends with this:

--

In file included from /usr/include/gstreamer-1.0/gst/gstbin.h:27:0,
                 from /usr/include/gstreamer-1.0/gst/gst.h:35,
                 from /var/tmp/portage/net-misc/freerdp-1.2.1_pre20150326-r1/work/freerdp-1.2.1_pre20150326/channels/tsmf/client/gstreamer/tsmf_gstreamer.c:34:
/usr/include/gstreamer-1.0/gst/gstelement.h:55:27: fatal error: gst/gstconfig.h: No such file or directory
 #include <gst/gstconfig.h>
                           ^
compilation terminated.

--

I checked whether that file exists:

--

/usr/include $ find -iname '*gst*config*'
./gstreamer-0.10/gst/gstconfig.h
/usr/include $

--

It exists only for GStreamer 0.10.

The package successfully compiles with USE="-gstreamer".
Comment 3 Charlie Gehlin 2015-11-05 17:25:08 UTC
(In reply to selurvedu from comment #2)
> The package successfully compiles with USE="-gstreamer".

Confirming, voting..
Comment 4 Ben Kohler gentoo-dev 2015-11-06 15:34:43 UTC
Fixed upstream here, if I read things correctly:

https://github.com/FreeRDP/FreeRDP/commit/bea27fd919b64ee8d97996409e279e1e83d13594

New snapshot time? =)
Comment 5 Mike Gilbert gentoo-dev 2015-11-06 17:22:57 UTC
(In reply to Ben Kohler from comment #4)

Probably. If the patch is clean against the current snapshot, I could just tack it on.
Comment 6 Ben Kohler gentoo-dev 2015-11-06 17:37:28 UTC
I can confirm the patch applies cleanly to our net-misc/freerdp-1.2.1_pre20150326-r1 & fixes the build failure.  I don't actively use freerdp's gstreamer features so I can't really runtime test that exact part.
Comment 7 Mike Gilbert gentoo-dev 2015-11-08 17:45:37 UTC
Thanks for testing.

commit a998d5281b750cc84c8d411d186a1d3fbebaf6a5
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Sun Nov 8 12:43:20 2015 -0500

    net-misc/freerdp: Backport gstreamer build fix
    
    Bug: https://bugs.gentoo.org/564486
    
    Package-Manager: portage-2.2.23_p18

 net-misc/freerdp/files/1.2.1-gstreamer.patch       | 71 ++++++++++++++++++++++
 .../freerdp/freerdp-1.2.1_pre20150326-r1.ebuild    |  6 +-
 2 files changed, 76 insertions(+), 1 deletion(-)