Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via or IRC

Bug 476950

Summary: net-misc/remmina-1.0.0_p20130625[freerdp] fails to build against net-misc/freerdp-1.1.0_beta1_p20130710 - error: 'freerdp' has no member named 'context_size'
Product: Gentoo Linux Reporter: Ben Kohler <bkohler>
Component: Current packagesAssignee: Mike Gilbert <floppym>
Severity: normal CC: andreis.vinogradovs, bkohler, c.affolter, david, jeff.grant36, leho, tristan, yac
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: build.log

Description Ben Kohler gentoo-dev 2013-07-15 16:57:48 UTC
Created attachment 353376 [details]

Our newest freerdp snapshot (20130710) includes this change:

where context_size is renamed to ContextSize, but our current remmina snapshot (and upstream head) still uses the old name.
Comment 1 Ben Kohler gentoo-dev 2013-07-15 16:59:18 UTC
Created attachment 353378 [details, diff]

This simple patch fixes the build for net-misc/freerdp-1.1.0_beta1_p20130710 but obviously is not backwards-compatible
Comment 2 Mike Gilbert gentoo-dev 2013-07-15 17:13:59 UTC
If you could submit that as a pull request upstream that would be most helpful.

I can probably nag somebody into merging it once the pull request is created.
Comment 3 Rafał Mużyło 2013-07-15 18:39:23 UTC
*** Bug 476948 has been marked as a duplicate of this bug. ***
Comment 4 Ben Kohler gentoo-dev 2013-07-15 18:54:41 UTC
Comment 5 David 2013-07-16 22:30:49 UTC
I put the [url=]patch[/url] in /etc/portage/patches/remmina-1.0.0_p20130625, but the remmina build still fails for me.
Comment 6 Ben Kohler gentoo-dev 2013-07-16 22:40:40 UTC
Are you totally sure the patch is being picked up?  Can you attach your build.log?
Comment 7 David 2013-07-17 15:09:32 UTC
Hmmm ... When I tried to build it again (after bootin up this morning) the build finished (and the build log was deleted because the build was successful).  However, remmina crashes with a Segmentation fault whenever I try to use it.
Comment 8 David 2013-07-17 15:48:48 UTC
On further investigation, I think the Segmentation fault may be related to a change in the saved profile format?  I was able to connect without using a profile, and I was able to connect after creating a new profile.  But using an old profile with settings identical to the new profile causes a Segmentation fault.
Comment 9 Leho Kraav (:macmaN @lkraav) 2013-07-20 21:01:30 UTC
Hmm, all RDP connections are segfaulting for me with backtrace pointing to freerdp_context_new() call in /usr/lib64/
Comment 10 Jan Matějka (RETIRED) gentoo-dev 2013-07-23 01:44:48 UTC
I suspect this may be related?

Linking C executable remmina
cd /var/tmp/portage/net-misc/remmina-1.0.0_p20130625/work/remmina-1.0.0_p20130625_build/remmina && /usr/bin/cmake -E cmake_link_script CMakeFiles/remmina.dir/link.txt --v
/usr/bin/x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=nocona -msse -msse2 -msse3 -mmmx -ggdb  -Wall -fPIC -Wno-unused-result -Wno-unused-but-set-variable -Wno-unused-functio
n   -Wl,-O1 -Wl,--as-needed CMakeFiles/remmina.dir/src/remmina_about.c.o CMakeFiles/remmina.dir/src/remmina_applet_menu.c.o CMakeFiles/remmina.dir/src/remmina_applet_menu
_item.c.o CMakeFiles/remmina.dir/src/remmina_avahi.c.o CMakeFiles/remmina.dir/src/remmina.c.o CMakeFiles/remmina.dir/src/remmina_chain_button.c.o CMakeFiles/remmina.dir/s
rc/remmina_chat_window.c.o CMakeFiles/remmina.dir/src/remmina_connection_window.c.o CMakeFiles/remmina.dir/src/remmina_crypt.c.o CMakeFiles/remmina.dir/src/remmina_exec.c
.o CMakeFiles/remmina.dir/src/remmina_file.c.o CMakeFiles/remmina.dir/src/remmina_file_editor.c.o CMakeFiles/remmina.dir/src/remmina_file_manager.c.o CMakeFiles/remmina.d
ir/src/remmina_ftp_client.c.o CMakeFiles/remmina.dir/src/remmina_icon.c.o CMakeFiles/remmina.dir/src/remmina_init_dialog.c.o CMakeFiles/remmina.dir/src/remmina_key_choose
r.c.o CMakeFiles/remmina.dir/src/remmina_log.c.o CMakeFiles/remmina.dir/src/remmina_main.c.o CMakeFiles/remmina.dir/src/remmina_marshals.c.o CMakeFiles/remmina.dir/src/re
mmina_plugin_manager.c.o CMakeFiles/remmina.dir/src/remmina_pref.c.o CMakeFiles/remmina.dir/src/remmina_pref_dialog.c.o CMakeFiles/remmina.dir/src/remmina_protocol_widget
.c.o CMakeFiles/remmina.dir/src/remmina_public.c.o CMakeFiles/remmina.dir/src/remmina_scaler.c.o CMakeFiles/remmina.dir/src/remmina_scrolled_viewport.c.o CMakeFiles/remmi
na.dir/src/remmina_sftp_client.c.o CMakeFiles/remmina.dir/src/remmina_sftp_plugin.c.o CMakeFiles/remmina.dir/src/remmina_ssh.c.o CMakeFiles/remmina.dir/src/remmina_ssh_pl
ugin.c.o CMakeFiles/remmina.dir/src/remmina_string_array.c.o CMakeFiles/remmina.dir/src/remmina_string_list.c.o CMakeFiles/remmina.dir/src/remmina_widget_pool.c.o CMakeFi
les/remmina.dir/src/remmina_external_tools.c.o  -o remmina -rdynamic -lgtk-3 -lgdk-3 -lglib-2.0 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lpango-1.0 -lcairo -l
gdk_pixbuf-2.0 -latk-1.0 -lSM -lICE -lX11 -lXext -lpthread -lgcrypt 
make[2]: Leaving directory `/var/tmp/portage/net-misc/remmina-1.0.0_p20130625/work/remmina-1.0.0_p20130625_build'
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/net-misc/remmina-1.0.0_p20130625/work/remmina-1.0.0_p20130625_build/CMakeFiles  1 2 3 4 5 6 7 8 9 10 11 12 13 14 
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
[ 98%] Built target remmina
make[1]: Leaving directory `/var/tmp/portage/net-misc/remmina-1.0.0_p20130625/work/remmina-1.0.0_p20130625_build'
make: *** [all] Error 2

Portage (hardened/linux/amd64, gcc-4.6.3, glibc-2.15-r3, 3.5.7-gentoo x86_64)
                        System Settings
System uname: Linux-3.5.7-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16388100 total,   7224400 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Mon, 22 Jul 2013 00:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-lang/python:          2.6.8-r1, 2.7.5, 3.2.5-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo sunrise improvise yac zugaina
CFLAGS="-O2 -pipe -march=nocona -msse -msse2 -msse3 -mmmx -ggdb"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/spool/munin-async/.ssh"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=nocona -msse -msse2 -msse3 -mmmx -ggdb"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nostrip parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch webrsync-gpg xattr"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles 
--exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/improvise /var/lib/layman/yac /var/lib/layman/zugaina"
USE="3dnow 3dnowext aalib acl acpi alsa amd64 bzip2 cdr cli cracklib crypt cxx dri dvd faac ffmpeg gdbm gpm hardened iconv ipv6 justify lame laptop mmx mmxext modules mud
flap multilib ncurses nls nptl opengl openmp pam pax_kernel pcre readline session sse sse2 ssl ssse3 tcpd theora threads unicode urandom v4l v4l2 vim-syntax xcomposite xi
nerama zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m ma
estro3 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_db
m 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 e
nv 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 user
track vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="contextswitch cpu csv curl 
curl_json curl_xml disk dns entropy ethstat exec filecount hddtemp iptables md network nginx ping processes protocols python sensors thermal unixsock uptime users uuid vm
em syslog rrdtool df cpufreq conntrack contextswitch dns entropy ethstat filecount hddtemp interface libvirt load memory netlink network nginx ping processes sensors swap
 tcpconns thermal uptime unixsock users vmem aggregation cbugzilla" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mt
k3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="ba
yrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en cs ja" OFFICE_IMPLEMENTATI
ON="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="x86_64 i386" RUBY_TARGETS="ruby19 ruby18
" USERLAND="GNU" VIDEO_CARDS="radeon r600 fglrx" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq stea
l rawnat logmark ipmark dhcpmac delude chaos account"

                        Package Settings

net-misc/freerdp-1.1.0_beta1_p20130710 was built with the following:
USE="X alsa channels client ffmpeg sse2 xinerama -cups -debug -directfb -doc -gstreamer -jpeg -pulseaudio -server -smartcard -test -xv"
Comment 11 Mike Gilbert gentoo-dev 2013-07-23 02:37:44 UTC
(In reply to Jan Matějka from comment #10)

You have completely left the actual error out of your comment. I don't need any more info on this bug anyway.
Comment 12 Mike Gilbert gentoo-dev 2013-07-23 03:20:49 UTC
The new snapshot fixes the build failure reported by Ben. If you are having other problems, please file separate bugs.

+*remmina-1.0.0_p20130723 (23 Jul 2013)
+  23 Jul 2013; Mike Gilbert <>
+  +remmina-1.0.0_p20130723.ebuild, remmina-1.0.0_p20130625.ebuild,
+  remmina-9999.ebuild:
+  New snapshot, resolves bug 476950 by Ben Kohler.
Comment 13 Jan Matějka (RETIRED) gentoo-dev 2013-07-23 03:42:30 UTC
(In reply to Mike Gilbert from comment #11)
> (In reply to Jan Matějka from comment #10)
> You have completely left the actual error out of your comment. I don't need
> any more info on this bug anyway.

I was looking for more informative error message but this is all there is. I blame cmake.