Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 517994 - net-wireless/gnuradio-3.7.4[ctrlport] fails to build against dev-libs/Ice[-python]: rpcmanager_base.h:34:50: error: template argument for ‘template<class T> class boost::shared_ptr’ uses local type ‘gr::block::setup_pc_rpc()::rpcserver_booter_base’
Summary: net-wireless/gnuradio-3.7.4[ctrlport] fails to build against dev-libs/Ice[-py...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Radio project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-24 16:55 UTC by imese
Modified: 2014-08-01 23:45 UTC (History)
2 users (show)

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


Attachments
Build log (file_517994.txt,879.17 KB, text/plain)
2014-07-25 15:52 UTC, Carlos Salvador Pérez Salgado
Details
emerge info core2 duo (emerg.inf,4.33 KB, text/plain)
2014-07-26 06:10 UTC, Geoff Madden
Details
gnuradio-build.log.tar.bz2 (gnuradio-build.log.tar.bz2,25.46 KB, application/x-bzip-compressed-tar)
2014-07-26 06:12 UTC, Geoff Madden
Details
environment for core2 (environment.log.tar.bz2,28.04 KB, application/x-bzip-compressed-tar)
2014-07-26 06:12 UTC, Geoff Madden
Details
running make in /v/t/p/net-wireless/work-error file (make_in_build_error,4.87 KB, text/plain)
2014-07-26 06:14 UTC, Geoff Madden
Details
Generated Make file from cmake core2 (gnuradio-generated-Makefile.tar.bz2,6.92 KB, application/x-bzip-compressed-tar)
2014-07-27 16:58 UTC, Geoff Madden
Details

Note You need to log in before you can comment on or make changes to this bug.
Description imese 2014-07-24 16:55:06 UTC
build log:
http://bpaste.net/show/494866/
Comment 1 imese 2014-07-24 16:56:45 UTC
root@go:~# emerge --info
Portage 2.2.10 (default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.8.3, glibc-2.19, 3.14.0 x86_64)
=================================================================
System uname: Linux-3.14.0-x86_64-Intel-R-_Core-TM-_i5-3339Y_CPU_@_1.50GHz-with-gentoo-2.2
KiB Mem:     8124000 total,   3156860 free
KiB Swap:    2047996 total,   2047928 free
Timestamp of tree: Thu, 24 Jul 2014 13:00:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p47
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6-r1, 3.2.5-r4, 3.3.5, 3.4.0
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.6.3, 4.7.3-r1, 4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.14 (virtual/os-headers)
sys-libs/glibc:           2.19
Repositories: gentoo
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/share/gnupg/qualified.txt"
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"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.iawnet.sandia.gov/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="(multilib) X a52 aac acl acpi alsa amd64 avahi avi avx beautifulsoup3 berkdb bindist bluetooth bluray branding bzip2 cairo cdda cdr cli colord cracklib crypt cups cxx dbus dhcpcd divx dri dts dv dvd dvdr dvdread eds emboss encode evo exif fam fame ffmpeg firefox flac fortran fuse gdbm gdu gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 gudev hpcups hwdb iconv introspection ipv6 jpeg laptop lcms ldap libkms libnotify libsecret mad matroska mjpeg mmx mmxext mng modemmanager modules mp3 mp4 mpeg mtp multilib musicbrainz nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf playlist png policykit ppds pulseaudio qt3support quicktime readline resolvconf sdl sendto session socialweb sound spell sse sse2 ssl startup-notification subtitles svg systemd tcpd tiff tracker truetype udev udisks unicode upower usb vaapi vala vdpau vorbis webkit wxwidgets x264 xcb 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="kexi words flow plan sheets stage tables krita karbon braindump author" 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 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="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_3" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="hp net" USERLAND="GNU" VIDEO_CARDS="intel" 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"
USE_PYTHON="2.7 3.2 3.3"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC
Comment 2 Rafał Mużyło 2014-07-24 19:01:57 UTC
First of all, attach files, instead of using pastebins.

As for the errors, they look a bit strange...

/var/tmp/portage/net-wireless/gnuradio-3.7.4/work/gnuradio-3.7.4/gnuradio-runtime/include/gnuradio/rpcmanager_base.h: In member function ‘void gr::block::setup_pc_rpc()’:
/var/tmp/portage/net-wireless/gnuradio-3.7.4/work/gnuradio-3.7.4/gnuradio-runtime/include/gnuradio/rpcmanager_base.h:34:50: error: template argument for ‘template<class T> class boost::shared_ptr’ uses local type ‘gr::block::setup_pc_rpc()::rpcserver_booter_base’
   typedef boost::shared_ptr<rpcserver_booter_base> rpcserver_booter_base_sptr;
Comment 3 Carlos Salvador Pérez Salgado 2014-07-25 15:52:48 UTC
Created attachment 381558 [details]
Build log
Comment 4 Carlos Salvador Pérez Salgado 2014-07-25 15:54:24 UTC
Portage 2.2.10 (default/linux/amd64/13.0/desktop, gcc-4.8.3, glibc-2.19-r1, 3.15.6-gentoo-x86_64.1 x86_64)
=================================================================
System uname: Linux-3.15.6-gentoo-x86_64.1-x86_64-AMD_FX-tm-4100_Quad-Core_Processor-with-gentoo-2.2
KiB Mem:     8168324 total,   5583236 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of tree: Fri, 25 Jul 2014 15:00:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p47
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.7, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.15 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS=" -O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
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=" -O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=" --quiet-build=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.mcs.anl.gov/pub/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gstreamer gtk iconv ipv6 jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit posix ppds python qt3support readline sdl session spell sse sse2 ssl ssse3 startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xv xvid zlib" ABI_X86="64 32" 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="kexi words flow plan sheets stage tables krita karbon braindump author" 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 ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en es" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_4 python2_7" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="epkowa" USERLAND="GNU" VIDEO_CARDS="fglrx" XFCE_PLUGINS="trash logout clock" 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"
USE_PYTHON="3.4 2.7"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Geoff Madden 2014-07-26 06:10:29 UTC
Created attachment 381576 [details]
emerge info core2 duo
Comment 6 Geoff Madden 2014-07-26 06:12:04 UTC
Created attachment 381578 [details]
gnuradio-build.log.tar.bz2
Comment 7 Geoff Madden 2014-07-26 06:12:41 UTC
Created attachment 381580 [details]
environment for core2
Comment 8 Geoff Madden 2014-07-26 06:14:20 UTC
Created attachment 381582 [details]
running make in /v/t/p/net-wireless/work-error file
Comment 9 Geoff Madden 2014-07-26 06:15:42 UTC
resync'd today but same result.
Comment 10 Geoff Madden 2014-07-27 16:58:42 UTC
Created attachment 381660 [details]
Generated Make file from cmake core2
Comment 11 Geoff Madden 2014-07-27 16:59:59 UTC
[ 87%] Built target gnuradio-digital
make[1]: Leaving directory '/var/tmp/portage/net-wireless/gnuradio-3.7.4/work/gnuradio-3.7.4_build'
Makefile:146: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: net-wireless/gnuradio-3.7.4::gentoo failed (compile phase):
 This's tonights error msg ,have included the Makefile fro cmake
Comment 12 Jeroen Roovers (RETIRED) gentoo-dev 2014-07-29 11:09:38 UTC
Comment on attachment 381578 [details]
gnuradio-build.log.tar.bz2

Why did you put a single file in an archive?
Comment 13 Rick Farina (Zero_Chaos) gentoo-dev 2014-07-30 16:45:26 UTC
This should already have been fixed, please sync.
Comment 14 Jakob Drexel 2014-07-31 08:29:44 UTC
(In reply to Rick Farina (Zero_Chaos) from comment #13)
> This should already have been fixed, please sync.

I'm also seeing this problem on one of my machines. Could please you elaborate in which package this fix is in?
Comment 15 Chí-Thanh Christopher Nguyễn gentoo-dev 2014-07-31 09:42:53 UTC
Reopening.

Please check that your timestamp of the tree according to "emerge --info" is later than Sat, Jul 26 2014 05:21:50 +0000 because that is when the most recent change to gnuradio-3.7.4.ebuild was made.

Also please tell us which version of boost is installed on your system.
Comment 16 Jakob Drexel 2014-07-31 10:28:38 UTC
(In reply to Chí-Thanh Christopher Nguyễn from comment #15)
> Reopening.
> 
> Please check that your timestamp of the tree according to "emerge --info" is
> later than Sat, Jul 26 2014 05:21:50 +0000 because that is when the most
> recent change to gnuradio-3.7.4.ebuild was made.
> 
> Also please tell us which version of boost is installed on your system.

Timestamp of tree: Thu, 31 Jul 2014 07:15:01 +0000
Installed version of boost is: dev-libs/boost-1.53.0-r1
Comment 17 Rick Farina (Zero_Chaos) gentoo-dev 2014-08-01 14:24:26 UTC
The really ugly boost errors from comment 2 were fixed with the last commit to gnuradio-3.7.4 that added in the dep on Ice which is required for gr-ctrlport.

I don't see any other errors on this bug, so someone please provide their errors if this really is still a bug.
Comment 18 Rick Farina (Zero_Chaos) gentoo-dev 2014-08-01 14:37:42 UTC
Also, there were a lot of cmake fixes in gnuradio-9999 so if you can post your errors from gnuradio-9999 they will likely be MUCH more useful than gnuradio-3.7.4.
Comment 19 Jakob Drexel 2014-08-01 17:01:47 UTC
Building gnuradio-9999 gave the right pointers!

gnuradio-9999 throws this error while building with crtlport USE flag:
-- Checking for Ice-3.5
--   ICE 3.5 Include directory found: /usr/include
--   libIce: /usr/lib64/libIce.so
--   libIceUtil: /usr/lib64/libIceUtil.so
-- 
-- Python checking for Ice >= 3.5
-- Python checking for Ice >= 3.5 - not found
--   SLICE2CPP: /usr/bin/slice2cpp
--   SLICE2PY: /usr/bin/slice2py
-- ICE 3.5 not found. Looking for 3.4
-- Checking for Ice-3.4
--   package 'Ice-3.4' not found

dev-lib/Ice was built without the python flag. After adding the python USE flag 3.7.4 builds fine with crtlport USE flag.

So maybe the dependency on Ice needs to be expaned to require the python USE flag for Ice.
Thanks for your support.
Comment 20 Rick Farina (Zero_Chaos) gentoo-dev 2014-08-01 18:58:05 UTC
(In reply to Jakob Drexel from comment #19)
> -- Python checking for Ice >= 3.5 - not found


I've fixed the deps I believe.  Thanks for the report and testing :-)