3.7 build failure ICE_ICESTORM-NOTFOUND etc

Anyone know how to resolve this build failure in Mageia ?
With no ice packages installed the build completes but without
gr-ctrlport enabled. With ice and ice-devel installed the output is as
below.
Our ice binaries install to /usr/bin and includes are in
/usr/include/Ice, usr/include/IceStorm etc.

----------------snip-----------------
– Configuring gnuradio-runtime support…
– Dependency Boost_FOUND = 1
– Dependency ENABLE_VOLK = ON
– Dependency PYTHONINTERP_FOUND = TRUE
– Enabling gnuradio-runtime support.
– Override with -DENABLE_GNURADIO_RUNTIME=ON/OFF
– checking for module ‘Ice-3.4’
– package ‘Ice-3.4’ not found
– Found ICE:
ICE_ICESTORM-NOTFOUND;ICE_ICE-NOTFOUND;ICE_ICEGRID-NOTFOUND;ICE_ICEUTIL-NOTFOUND;ICE_GLACIER2-NOTFOUND;/usr/lib64/libpthread.so
-----------------snip-------------------
– ######################################################
– # Gnuradio enabled components
– ######################################################
– * python-support
– * testing-support
– * volk
– * doxygen
– * sphinx
– * gnuradio-runtime
– * gr-ctrlport
– * gr-blocks
– * gnuradio-companion
– * gr-fec
– * gr-fft
– * gr-filter
– * gr-analog
– * gr-digital
– * gr-atsc
– * gr-audio
– * gr-channels
– * gr-noaa
– * gr-pager
– * gr-qtgui
– * gr-trellis
– * gr-uhd
– * gr-utils
– * gr-video-sdl
– * gr-vocoder
– * gr-fcd
– * gr-wavelet
– * gr-wxgui

– ######################################################
– # Gnuradio disabled components
– ######################################################
– * gr-comedi

– Using install prefix: /usr
– Building for version: v3.7.x-xxx-xunknown / 3.7.1git
CMake Error: The following variables are used in this project, but they
are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the
CMake files:
ICE_GLACIER2
linked by target “gnuradio-runtime” in directory
/home/baz/BLD_Mga4/gnuradio-3.7.0/BUILD/gnuradio-3.7.0head/gnuradio-runtime/lib
linked by target “_runtime_swig” in directory
/home/baz/BLD_Mga4/gnuradio-3.7.0/BUILD/gnuradio-3.7.0head/gnuradio-runtime/swig
ICE_ICE
linked by target “gnuradio-runtime” in directory
/home/baz/BLD_Mga4/gnuradio-3.7.0/BUILD/gnuradio-3.7.0head/gnuradio-runtime/lib
linked by target “_runtime_swig” in directory
/home/baz/BLD_Mga4/gnuradio-3.7.0/BUILD/gnuradio-3.7.0head/gnuradio-runtime/swig
ICE_ICEGRID
linked by target “gnuradio-runtime” in directory
/home/baz/BLD_Mga4/gnuradio-3.7.0/BUILD/gnuradio-3.7.0head/gnuradio-runtime/lib
linked by target “_runtime_swig” in directory
/home/baz/BLD_Mga4/gnuradio-3.7.0/BUILD/gnuradio-3.7.0head/gnuradio-runtime/swig
ICE_ICESTORM
linked by target “gnuradio-runtime” in directory
/home/baz/BLD_Mga4/gnuradio-3.7.0/BUILD/gnuradio-3.7.0head/gnuradio-runtime/lib
linked by target “_runtime_swig” in directory
/home/baz/BLD_Mga4/gnuradio-3.7.0/BUILD/gnuradio-3.7.0head/gnuradio-runtime/swig
ICE_ICEUTIL
linked by target “gnuradio-runtime” in directory
/home/baz/BLD_Mga4/gnuradio-3.7.0/BUILD/gnuradio-3.7.0head/gnuradio-runtime/lib
linked by target “_runtime_swig” in directory
/home/baz/BLD_Mga4/gnuradio-3.7.0/BUILD/gnuradio-3.7.0head/gnuradio-runtime/swig

– Configuring incomplete, errors occurred!
error: Bad exit status from
/home/baz/BLD_Mga4/gnuradio-3.7.0/BUILDROOT/rpm-tmp.1ZNliO (%build)

On Wed, Jul 17, 2013 at 12:49 PM, Barry J. [email protected]
wrote:

– Dependency PYTHONINTERP_FOUND = TRUE
– * python-support
– * gr-filter
– * gr-utils

/home/baz/BLD_Mga4/gnuradio-3.7.0/BUILD/gnuradio-3.7.0head/gnuradio-runtime/swig
ICE_ICESTORM
– Configuring incomplete, errors occurred!
error: Bad exit status from
/home/baz/BLD_Mga4/gnuradio-3.7.0/BUILDROOT/rpm-tmp.1ZNliO (%build)

Do you know what version of ICE is installed on your system? GNU Radio
explicitly looks for version 3.4, so if you’re using 3.5 it won’t work
by default. I’ve tested and compiled against 3.5, though, so it’s only
the cmake FindICE script that’s the problem.

Also, ticket #564 is about faulty ICE detection, so this could also be
a problem with your system. I hope to work on this soon to resolve
that issue and make it easier to use either 3.4 or 3.5.

Tom

On Thu, Jul 18, 2013 at 11:23 AM, Barry J. [email protected]
wrote:

that issue and make it easier to use either 3.4 or 3.5.

Tom

Hi Tom,
Ice version is 3.4.2.

Yes, #564 does look like the same issue except that it is reported on OSX
where I am seeing it in Linux.

Barry,

I just pushed branch ‘cmake_ice’ to my github repo
(GitHub - trondeau/gnuradio: GNU Radio). It does a better job of handling ICE,
the include dirs, and the required libs. It also adds the ability to
use Ice 3.5, which isn’t important for you, though.

Could you check out this branch and give it a try? I’d like to know
how it works on other machines besides those which I’ve already gotten
things to work.

Thanks,
Tom

On 20/07/13 15:11, Tom R. wrote:

a problem with your system. I hope to work on this soon to resolve

Thanks,
Tom

Tom,
No real change with your cmake_ice branch.

– Configuring gnuradio-runtime support…
– Dependency Boost_FOUND = 1
– Dependency ENABLE_VOLK = ON
– Dependency PYTHONINTERP_FOUND = TRUE
– Enabling gnuradio-runtime support.
– Override with -DENABLE_GNURADIO_RUNTIME=ON/OFF
– package ‘Ice-3.5’ not found
– ICE 3.5 not found. Looking for 3.4
– package ‘Ice-3.4’ not found

– Configuring gr-ctrlport support…
– Dependency Boost_FOUND = 1
– Dependency SWIG_FOUND = TRUE
– Dependency SWIG_VERSION_CHECK = TRUE
– Dependency ICE_FOUND =
– Dependency ENABLE_GNURADIO_RUNTIME = ON
– Disabling gr-ctrlport support.

I looked at our Ice package spec and noticed that all the .pc files have
been packaged in ice-csharp-devel, which I think is wrong, however
installing that package as well makes no difference.

Looking in /usr/lib64/pkgconfig I find ice.pc AND Ice.pc

I initially thought that one would be a symlink to the other, but they
are different.

ice.pc is 1.0.8
Ice.pc is 3.4.2

ice.pc

prefix=/usr
exec_prefix=/usr
libdir=/usr/lib64
includedir=/usr/include

Name: ICE
Description: X Inter Client Exchange Library
Version: 1.0.8
Requires: xproto
Cflags: -I${includedir}
Libs: -L${libdir} -lICE

Ice.pc:

version = 3.4.2
mono_root = /usr

name = Ice

Name: ${name}
Description: Ice core run-time support
Version: ${version}
Libs: -r:${mono_root}/lib64/mono/${name}/${name}.dll

On 18/07/13 15:19, Tom R. wrote:

Tom

Hi Tom,
Ice version is 3.4.2.

Yes, #564 does look like the same issue except that it is reported on
OSX where I am seeing it in Linux.

I am wondering if we may be needing more than ice and ice-devel
installed. (I did also test with python-ice-devel) Maybe something has
been split into another package.
We have the following ice related packages in the repos, does anything
look likely?

Name : ice
Version : 3.4.2
Release : 3.mga3
Group : Networking/WWW
Size : 13342941 Architecture: x86_64
Source RPM : ice-3.4.2-3.mga3.src.rpm
URL : http://www.zeroc.com/
Summary : The Ice base runtime and services
Description :
Ice is a modern alternative to object middleware such as CORBA or
COM/DCOM/COM+. It is easy to learn, yet provides a powerful network
infrastructure for demanding technical applications. It features an
object-oriented specification language, easy to use C++, C#, Java,
Python, Ruby, PHP, and Visual Basic mappings, a highly efficient
protocol, asynchronous method invocation and dispatch, dynamic
transport plug-ins, TCP/IP and UDP/IP support, SSL-based security, a
firewall solution, and much more.

Name : ice-csharp
Version : 3.4.2
Release : 3.mga3
Group : System/Libraries
Size : 1933167 Architecture: x86_64
Source RPM : ice-3.4.2-3.mga3.src.rpm
URL : http://www.zeroc.com/
Summary : The Ice runtime for C#
Description :
The Ice runtime for C#

Name : ice-csharp-devel
Version : 3.4.2
Release : 3.mga3
Group : Development/C#
Size : 462688 Architecture: x86_64
Source RPM : ice-3.4.2-3.mga3.src.rpm
URL : http://www.zeroc.com/
Summary : Tools for developing Ice applications in C#
Description :
Tools for developing Ice applications in C#.

Name : ice-devel
Version : 3.4.2
Release : 3.mga3
Group : Development/C++
Size : 3268388 Architecture: x86_64
Source RPM : ice-3.4.2-3.mga3.src.rpm
URL : http://www.zeroc.com/
Summary : Tools for developing Ice applications in C++
Description :
Tools for developing Ice applications in C++.

Name : ice-java
Version : 3.4.2
Release : 3.mga3
Group : System/Libraries
Size : 3234361 Architecture: x86_64
Source RPM : ice-3.4.2-3.mga3.src.rpm
URL : http://www.zeroc.com/
Summary : The Ice runtime for Java
Description :
The Ice runtime for Java

Name : ice-java-devel
Version : 3.4.2
Release : 3.mga3
Group : Development/Java
Size : 644410 Architecture: x86_64
Source RPM : ice-3.4.2-3.mga3.src.rpm
URL : http://www.zeroc.com/
Summary : Tools for developing Ice applications in Java
Description :
Tools for developing Ice applications in Java.

Name : ice-ruby
Version : 3.4.2
Release : 3.mga3
Group : Development/Ruby
Size : 822417 Architecture: x86_64
Source RPM : ice-3.4.2-3.mga3.src.rpm
URL : http://www.zeroc.com/
Summary : The Ice runtime for Ruby applications
Description :
The Ice runtime for Ruby applications.

Name : ice-ruby-devel
Version : 3.4.2
Release : 3.mga3
Group : Development/Ruby
Size : 45968 Architecture: x86_64
Source RPM : ice-3.4.2-3.mga3.src.rpm
URL : http://www.zeroc.com/
Summary : Tools for developing Ice applications in Ruby
Description :
Tools for developing Ice applications in Ruby.

Name : ice-servers
Version : 3.4.2
Release : 3.mga3
Group : Development/Other
Size : 13812 Architecture: x86_64
Source RPM : ice-3.4.2-3.mga3.src.rpm
URL : http://www.zeroc.com/
Summary : Ice services to run through /etc/rc.d/init.d
Description :
Ice services to run through /etc/rc.d/init.d

Name : iceauth
Version : 1.0.5
Release : 2.mga3
Group : Development/X11
Size : 34376 Architecture: x86_64
Source RPM : iceauth-1.0.5-2.mga3.src.rpm
Summary : ICE authority file utility
Description :
The iceauth program is used to edit and display the authorization
information used in connecting with ICE.

Name : icegrid-gui
Version : 3.4.2
Release : 3.mga3
Group : Development/Other
Size : 1661065 Architecture: x86_64
Source RPM : ice-3.4.2-3.mga3.src.rpm
URL : http://www.zeroc.com/
Summary : IceGrid Admin Tool
Description :
Graphical administration tool for IceGrid

Name : lib64ice-devel
Version : 1.0.8
Release : 3.mga3
Group : Development/X11
Size : 268063 Architecture: x86_64
Source RPM : libice-1.0.8-3.mga3.src.rpm
URL : http://xorg.freedesktop.org
Summary : Development files for libice
Description :
Development files for libice

Name : lib64ice34
Version : 3.4.2
Release : 3.mga3
Group : System/Libraries
Size : 12045752 Architecture: x86_64
Source RPM : ice-3.4.2-3.mga3.src.rpm
URL : http://www.zeroc.com/
Summary : Ice shared libraries
Description :
This package contains Ice shared libraries.

Name : lib64ice6
Version : 1.0.8
Release : 3.mga3
Group : Development/X11
Size : 99872 Architecture: x86_64
Source RPM : libice-1.0.8-3.mga3.src.rpm
URL : http://xorg.freedesktop.org
Summary : X Inter Client Exchange Library
Description :
libice provides an interface to ICE, the Inter-Client Exchange protocol.
Motivated by issues arising from the need for X Window System clients to
share data with each other, the ICE protocol provides a generic
framework for
building protocols on top of reliable, byte-stream transport
connections. It
provides basic mechanisms for setting up and shutting down connections,
for
performing authentication, for negotiating versions, and for reporting
errors.

Name : libice-devel
Version : 1.0.8
Release : 3.mga3
Group : Development/X11
Size : 268061 Architecture: i586
Source RPM : libice-1.0.8-3.mga3.src.rpm
URL : http://xorg.freedesktop.org
Summary : Development files for libice
Description :
Development files for libice

Name : libice34
Version : 3.4.2
Release : 3.mga3
Group : System/Libraries
Size : 10786892 Architecture: i586
Source RPM : ice-3.4.2-3.mga3.src.rpm
URL : http://www.zeroc.com/
Summary : Ice shared libraries
Description :
This package contains Ice shared libraries.

Name : libice6
Version : 1.0.8
Release : 3.mga3
Group : Development/X11
Size : 94360 Architecture: i586
Source RPM : libice-1.0.8-3.mga3.src.rpm
URL : http://xorg.freedesktop.org
Summary : X Inter Client Exchange Library
Description :
libice provides an interface to ICE, the Inter-Client Exchange protocol.
Motivated by issues arising from the need for X Window System clients to
share data with each other, the ICE protocol provides a generic
framework for
building protocols on top of reliable, byte-stream transport
connections. It
provides basic mechanisms for setting up and shutting down connections,
for
performing authentication, for negotiating versions, and for reporting
errors.

Name : php-ice
Version : 3.4.2
Release : 3.mga3
Group : System/Libraries
Size : 596628 Architecture: x86_64
Source RPM : ice-3.4.2-3.mga3.src.rpm
URL : http://www.zeroc.com/
Summary : The Ice runtime for PHP applications
Description :
The Ice runtime for PHP applications.

Name : python-ice
Version : 3.4.2
Release : 3.mga3
Group : Development/Python
Size : 1682204 Architecture: x86_64
Source RPM : ice-3.4.2-3.mga3.src.rpm
URL : http://www.zeroc.com/
Summary : The Ice runtime for Python applications
Description :
The Ice runtime for Python applications.

Name : python-ice-devel
Version : 3.4.2
Release : 3.mga3
Group : Development/Python
Size : 66664 Architecture: x86_64
Source RPM : ice-3.4.2-3.mga3.src.rpm
URL : http://www.zeroc.com/
Summary : Tools for developing Ice applications in Python
Description :
Tools for developing Ice applications in Python.
#---------------------------------------------------------------------

Barry

Tom’s ‘cmake_ice’ branch fixes the basic Mac OS X issue I reported in
ticket #564 for ICE 3.4. I see the same issue as Barry for ICE 3.5,
probably because the library names were changed (from libIce* to
libZerocIce* from 3.4 to 3.5). I’ll ping the MacPorts developer about
this issue, to change one or the other for consistency. - MLD

On Sun, Jul 21, 2013 at 7:17 AM, Barry J. [email protected]
wrote:

explicitly looks for version 3.4, so if you’re using 3.5 it won’t work
Hi Tom,
the include dirs, and the required libs. It also adds the ability to
Tom,
– ICE 3.5 not found. Looking for 3.4
– Disabling gr-ctrlport support.
Actually, it worked. This is now exactly what I had hoped to see. The
new cmake FindICE files look for everything that’s needed to compile
ControlPort: the include directories, libIce, libeIceUtil, and the the
Python Ice module. If not all of these are found, it disables
gr-ctrlport.

The problem you had before was that it was “finding” everything, but
not really. So it enabled gr-ctrlport and cause a problem during make.

I looked at our Ice package spec and noticed that all the .pc files have
been packaged in ice-csharp-devel, which I think is wrong, however
installing that package as well makes no difference.

Yes. We don’t care about C# at all. You’ll need Ice for C++ and Python.


Libs: -L${libdir} -lICE
Description: Ice core run-time support
Version: ${version}
Libs: -r:${mono_root}/lib64/mono/${name}/${name}.dll

Maybe this helps?

Barry

What I’m used to seeing is a file Ice-3.4.pc, which is what the
pkg-config script in cmake is explicitly looking for. I’m completely
unfamiliar with Mageia as a distro, so you’ll have to look to see what
packages you need to install for Ice support. Remember, in the end,
you’ll need libIce.so, libIceUtil.so, the header files, and the
Pythong Ice module installed.

You can also use the ICE_MANUAL_INSTALL_PREFIX to point cmake to where
your Ice installations are, which works even if you don’t have a .pc
file. When compiling and installing Ice 3.5.0 for my machine, there’s
not pc file with this, but cmake still finds everything, anyways.

Tom