Opened 7 years ago

Closed 7 years ago

#54511 closed defect (worksforme)

gnuradio @3.7.11 install error when parsing XML

Reported by: stephensworld Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: Cc:
Port: gnuradio

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I would like to build gnuradio, but it fails after some minutes.

Thanks
Stephan

--->  Cleaning fop
--->  Fetching archive for getopt
--->  Attempting to fetch getopt-1.1.6_0.darwin_16.x86_64.tbz2 from https://packages.macports.org/getopt
--->  Attempting to fetch getopt-1.1.6_0.darwin_16.x86_64.tbz2.rmd160 from https://packages.macports.org/getopt
--->  Installing getopt @1.1.6_0
--->  Activating getopt @1.1.6_0
--->  Cleaning getopt
--->  Fetching archive for xmlto
--->  Attempting to fetch xmlto-0.0.28_0.darwin_16.x86_64.tbz2 from https://packages.macports.org/xmlto
--->  Attempting to fetch xmlto-0.0.28_0.darwin_16.x86_64.tbz2.rmd160 from https://packages.macports.org/xmlto
--->  Installing xmlto @0.0.28_0
--->  Activating xmlto @0.0.28_0
--->  Cleaning xmlto
--->  Fetching archive for gnuradio
--->  Attempting to fetch gnuradio-3.7.11_3+docs+grc+jack+portaudio+qtgui+sdl+swig+uhd+wavelet+wxgui.darwin_16.x86_64.tbz2 from https://packages.macports.org/gnuradio
--->  Attempting to fetch gnuradio-3.7.11_3+docs+grc+jack+portaudio+qtgui+sdl+swig+uhd+wavelet+wxgui.darwin_16.x86_64.tbz2 from http://fco.it.packages.macports.org/mirrors/macports-packages/gnuradio
--->  Attempting to fetch gnuradio-3.7.11_3+docs+grc+jack+portaudio+qtgui+sdl+swig+uhd+wavelet+wxgui.darwin_16.x86_64.tbz2 from http://her.gr.packages.macports.org/gnuradio
--->  Fetching distfiles for gnuradio
--->  Verifying checksums for gnuradio
--->  Extracting gnuradio
--->  Applying patches to gnuradio
--->  Configuring gnuradio
--->  Building gnuradio
Error: Failed to build gnuradio: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port gnuradio failed
sh-3.2# 

Attachments (8)

main.log (2.0 MB) - added by stephensworld 7 years ago.
main.2.log (4.4 MB) - added by stephensworld 7 years ago.
main.3.log (980.1 KB) - added by stephensworld 7 years ago.
gnuradio_CMakeCache.txt (122.6 KB) - added by stephensworld 7 years ago.
gnuradio-devel_CMakeCache.txt (126.0 KB) - added by stephensworld 7 years ago.
main.4.log (961.3 KB) - added by stephensworld 7 years ago.
usr_local.zip (1.6 MB) - added by stephensworld 7 years ago.
usr_local (31.2 KB) - added by stephensworld 7 years ago.

Change History (27)

Changed 7 years ago by stephensworld

Attachment: main.log added

comment:1 Changed 7 years ago by stephensworld

Cc: stephensworld added

comment:2 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: stephensworld removed
Description: modified (diff)
Owner: set to michaelld
Port: gnuradio added
Status: newassigned
Summary: gnuradio fails os x 10.12gnuradio @3.77.11: validity error : Could not load the external subset "docbookx.dtd"

comment:3 Changed 7 years ago by stephensworld

Cc: stephensworld added

comment:4 Changed 7 years ago by michaelld (Michael Dickens)

Summary: gnuradio @3.77.11: validity error : Could not load the external subset "docbookx.dtd"gnuradio @3.7.11 install error when parsing XML

Hmm ... works for me on 10.12 latest. Can you try the following, just to see:

sudo port clean --all gnuradio
sudo port install gnuradio use_parallel_build=no

and, if that fails then please post the new log file -- and then try:

sudo port clean --all gnuradio-devel
sudo port install gnuradio-devel

Maybe this has been fixed in GR since the latest release (a new release is pending soon, btw).

comment:5 Changed 7 years ago by mf2k (Frank Schima)

Cc: stephensworld removed

The maintainer is automatically Cc'ed.

comment:6 Changed 7 years ago by stephensworld

I tried it

sh-3.2# sudo port clean --all gnuradio
--->  Cleaning gnuradio
sh-3.2# sudo port install gnuradio use_parallel_build=no
--->  Computing dependencies for gnuradio
--->  Fetching archive for gnuradio
--->  Attempting to fetch gnuradio-3.7.11_3+docs+grc+jack+portaudio+qtgui+sdl+swig+uhd+wavelet+wxgui.darwin_16.x86_64.tbz2 from https://packages.macports.org/gnuradio
--->  Attempting to fetch gnuradio-3.7.11_3+docs+grc+jack+portaudio+qtgui+sdl+swig+uhd+wavelet+wxgui.darwin_16.x86_64.tbz2 from http://lil.fr.packages.macports.org/gnuradio
--->  Attempting to fetch gnuradio-3.7.11_3+docs+grc+jack+portaudio+qtgui+sdl+swig+uhd+wavelet+wxgui.darwin_16.x86_64.tbz2 from http://nue.de.packages.macports.org/gnuradio
--->  Fetching distfiles for gnuradio
--->  Attempting to fetch gnuradio-3.7.11.tar.gz from https://distfiles.macports.org/gnuradio
--->  Attempting to fetch gnuradio-3.7.11.tar.gz from http://lil.fr.distfiles.macports.org/gnuradio
--->  Attempting to fetch gnuradio-3.7.11.tar.gz from http://nue.de.distfiles.macports.org/gnuradio
--->  Attempting to fetch gnuradio-3.7.11.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/gnuradio
--->  Attempting to fetch gnuradio-3.7.11.tar.gz from http://osl.no.distfiles.macports.org/gnuradio
--->  Attempting to fetch gnuradio-3.7.11.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/gnuradio
--->  Attempting to fetch gnuradio-3.7.11.tar.gz from https://github.com/gnuradio/gnuradio/tarball/v3.7.11
--->  Verifying checksums for gnuradio                                               
--->  Extracting gnuradio
--->  Applying patches to gnuradio
--->  Configuring gnuradio
--->  Building gnuradio
Error: Failed to build gnuradio: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port gnuradio failed

Now I'm testing it with

sudo port clean --all gnuradio-devel
sudo port install gnuradio-devel

attached you can find the main.2.log

Last edited 7 years ago by stephensworld (previous) (diff)

Changed 7 years ago by stephensworld

Attachment: main.2.log added

comment:7 Changed 7 years ago by stephensworld

still same problem:

sh-3.2# sudo port clean --all gnuradio-devel
--->  Cleaning gnuradio-devel
Warning: Distfiles directory '/opt/local/var/macports/distfiles/gnuradio' may contain distfiles needed for other ports, use the -f flag to force removal
sh-3.2# sudo port install gnuradio-devel
--->  Computing dependencies for gnuradio-devel
--->  Fetching archive for gnuradio-devel
--->  Attempting to fetch gnuradio-devel-20170622_0+docs+grc+jack+portaudio+qtgui+sdl+swig+uhd+wavelet+wxgui.darwin_16.x86_64.tbz2 from https://packages.macports.org/gnuradio-devel
--->  Attempting to fetch gnuradio-devel-20170622_0+docs+grc+jack+portaudio+qtgui+sdl+swig+uhd+wavelet+wxgui.darwin_16.x86_64.tbz2 from http://lil.fr.packages.macports.org/gnuradio-devel
--->  Attempting to fetch gnuradio-devel-20170622_0+docs+grc+jack+portaudio+qtgui+sdl+swig+uhd+wavelet+wxgui.darwin_16.x86_64.tbz2 from http://nue.de.packages.macports.org/gnuradio-devel
--->  Fetching distfiles for gnuradio-devel
--->  Attempting to fetch gnuradio-54e89c6431c249bbe560568d76800fef6a245506.tar.gz from https://distfiles.macports.org/gnuradio
--->  Attempting to fetch gnuradio-54e89c6431c249bbe560568d76800fef6a245506.tar.gz from http://lil.fr.distfiles.macports.org/gnuradio
--->  Attempting to fetch gnuradio-54e89c6431c249bbe560568d76800fef6a245506.tar.gz from http://nue.de.distfiles.macports.org/gnuradio
--->  Attempting to fetch gnuradio-54e89c6431c249bbe560568d76800fef6a245506.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/gnuradio
--->  Attempting to fetch gnuradio-54e89c6431c249bbe560568d76800fef6a245506.tar.gz from http://osl.no.distfiles.macports.org/gnuradio
--->  Attempting to fetch gnuradio-54e89c6431c249bbe560568d76800fef6a245506.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/gnuradio
--->  Attempting to fetch gnuradio-54e89c6431c249bbe560568d76800fef6a245506.tar.gz from https://github.com/gnuradio/gnuradio/tarball/54e89c6431c249bbe560568d76800fef6a245506
--->  Verifying checksums for gnuradio-devel                                         
--->  Extracting gnuradio-devel
--->  Applying patches to gnuradio-devel
--->  Configuring gnuradio-devel
--->  Building gnuradio-devel
Error: Failed to build gnuradio-devel: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio-devel/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port gnuradio-devel failed
sh-3.2# 

attached you can find the main.3.log

Last edited 7 years ago by stephensworld (previous) (diff)

Changed 7 years ago by stephensworld

Attachment: main.3.log added

comment:8 Changed 7 years ago by stephensworld

What else could I do? Thanks Stephan

comment:9 Changed 7 years ago by michaelld (Michael Dickens)

A few thoughts:

  • What does port installed and active return for you?
  • Please attach the files $(port work gnuradio)/build/CMakeCache.txt and $(port work gnuradio-devel)/build/CMakeCache.txt .
  • Does the file /opt/local/etc/xml/catalog exist, and if so can you attach it here?

comment:10 Changed 7 years ago by michaelld (Michael Dickens)

If you don't care about documentation, you should be able to build GR without it:

sudo port clean gnuradio*
sudo port install gnuradio -docs

comment:11 in reply to:  9 Changed 7 years ago by stephensworld

Replying to michaelld:

A few thoughts:

  • What does port installed and active return for you?
  • Please attach the files $(port work gnuradio)/build/CMakeCache.txt and $(port work gnuradio-devel)/build/CMakeCache.txt .
  • Does the file /opt/local/etc/xml/catalog exist, and if so can you attach it here?

Thank you I will try it without docs.

 port installed and active
The following ports are currently installed:
  aquaterm @1.1.1_0 (active)
  arpack @3.4.0_0+accelerate+gfortran (active)
  atk @2.24.0_0 (active)
  autoconf @2.69_5 (active)
  automake @1.15.1_0 (active)
  bison @3.0.4_3 (active)
  bison-runtime @3.0.4_2 (active)
  boost @1.59.0_3+no_single+no_static+python27 (active)
  bzip2 @1.0.6_0 (active)
  cairo @1.14.10_0+quartz+x11 (active)
  cctools @895_4+llvm39 (active)
  cmake @3.9.0_0 (active)
  coreutils @8.27_1 (active)
  cppunit @1.14.0_0 (active)
  curl @7.54.1_0+ssl (active)
  curl-ca-bundle @7.54.1_0 (active)
  cython_select @0.1_0 (active)
  db48 @4.8.30_4 (active)
  db60 @6.0.30_2+sql (active)
  dbus @1.10.18_0 (active)
  dbus-glib @0.108_0 (active)
  dbus-python27 @1.2.0_2 (active)
  djvulibre @3.5.27_0 (active)
  docbook-xml @5.0_3 (active)
  docbook-xml-4.1.2 @5.0_1 (active)
  docbook-xml-4.2 @5.0_1 (active)
  docbook-xml-4.3 @5.0_1 (active)
  docbook-xml-4.4 @5.0_1 (active)
  docbook-xml-4.5 @5.0_1 (active)
  docbook-xml-5.0 @5.0_1 (active)
  docbook-xsl @1.79.1_0 (active)
  doxygen @1.8.13_2 (active)
  epstool @3.08_9 (active)
  expat @2.2.2_0 (active)
  fftw-3 @3.3.5_0 (active)
  fftw-3-single @3.3.5_0 (active)
  fig2dev @3.2.6a_0 (active)
  findutils @4.6.0_0 (active)
  flac @1.3.2_0 (active)
  flex @2.6.1_0 (active)
  fltk @1.3.4_0 (active)
  fontconfig @2.12.4_0 (active)
  fop @1.1_0 (active)
  freetype @2.8_0 (active)
  gd2 @2.2.4_1+x11 (active)
  gdbm @1.13_3 (active)
  gdk-pixbuf2 @2.36.7_0+x11 (active)
  getopt @1.1.6_0 (active)
  gettext @0.19.8.1_0 (active)
  ghostscript @9.21_2+x11 (active)
  giflib @4.2.3_0+x11 (active)
  gl2ps @1.4.0_0 (active)
  glib2 @2.52.3_0+x11 (active)
  glpk @4.62_0 (active)
  gmp @6.1.2_0 (active)
  gnuplot @5.0.6_1+aquaterm+luaterm+pangocairo+wxwidgets+x11 (active)
  gobject-introspection @1.52.1_0 (active)
  gpsd @3.14_4 (active)
  GraphicsMagick @1.3.26_0+q8 (active)
  graphite2 @1.3.9_0 (active)
  graphviz @2.40.1_1+pangocairo+x11 (active)
  gsl @2.4_1 (active)
  gtk2 @2.24.31_0+x11 (active)
  gts @0.7.6_3 (active)
  gzip @1.8_2 (active)
  harfbuzz @1.4.6_0 (active)
  harfbuzz-icu @1.4.6_0 (active)
  hdf5 @1.10.1_1+cxx+hl (active)
  hicolor-icon-theme @0.15_0 (active)
  icu @58.2_1 (active)
  ilmbase @2.2.0_0 (active)
  ImageMagick @6.9.8-10_0+x11 (active)
  isl @0.18_0 (active)
  jack @0.124.1_2 (active)
  jasper @2.0.12_0 (active)
  jbig2dec @0.13_0 (active)
  jbigkit @2.1_0 (active)
  jpeg @9b_0 (active)
  lcms2 @2.8_0 (active)
  ld64 @3_0 (active)
  ld64-latest @274.2_1+llvm39 (active)
  less @487_0+pcre (active)
  libarchive @3.3.2_0 (active)
  libcaca @0.99.beta19_6 (active)
  libcerf @1.5_0 (active)
  libcxx @3.9.1_0+universal (active)
  libedit @20170329-3.1_0 (active)
  libffi @3.2.1_0 (active)
  libgcc @6.3.0_0 (active)
  libglade2 @2.6.4_8 (active)
  libiconv @1.15_0 (active)
  libidn @1.33_0 (active)
  libLASi @1.1.1_1 (active)
  libmng @2.0.3_0 (active)
  libmpc @1.0.3_0 (active)
  libnetpbm @10.79.02_1 (active)
  libogg @1.3.2_1 (active)
  libpaper @1.1.24.5_0 (active)
  libpixman @0.34.0_0 (active)
  libpng @1.6.30_0 (active)
  libsamplerate @0.1.9_0 (active)
  libsdl @1.2.15_3+x11 (active)
  libsndfile @1.0.28_0 (active)
  libtool @2.4.6_3 (active)
  libusb @1.0.21_0 (active)
  libuv @1.13.1_0 (active)
  libvorbis @1.3.5_0 (active)
  libxml2 @2.9.4_1 (active)
  libxslt @1.1.29_1 (active)
  libzzip @0.13.66_0 (active)
  llvm-3.9 @3.9.1_3 (active)
  llvm_select @2_0 (active)
  log4cpp @1.1.3_0 (active)
  lua @5.3.4_1 (active)
  lz4 @1.7.5_0 (active)
  lzo2 @2.10_0 (active)
  m4 @1.4.18_2 (active)
  mpfr @3.1.5_0 (active)
  ncurses @6.0-20170708_0 (active)
  netpbm @10.79.02_3+x11 (active)
  nosetests_select @0.1_0 (active)
  octave @4.2.1_3+accelerate+app+docs+fltk+gfortran+graphicsmagick+qt4+sound (active)
  openexr @2.2.0_1 (active)
  openjpeg @2.1.2_0 (active)
  openssl @1.0.2l_0 (active)
  orc @0.4.26_0 (active)
  pango @1.40.6_0+quartz+x11 (active)
  pcre @8.41_0 (active)
  perl5 @5.24.1_0+perl5_24 (active)
  perl5.24 @5.24.1_0 (active)
  pkgconfig @0.29.2_0 (active)
  plotutils @2.6_5 (active)
  poppler @0.56.0_0 (active)
  poppler-data @0.4.7_0 (active)
  portaudio @19.20140130_1 (active)
  potrace @1.14_0 (active)
  pstoedit @3.70_5 (active)
  py27-alabaster @0.7.6_0 (active)
  py27-altgraph @0.14_0 (active)
  py27-babel @2.4.0_0 (active)
  py27-backports_abc @0.5_0 (active)
  py27-beaker @1.8.1_0 (active)
  py27-cairo @1.10.0_3 (active)
  py27-certifi @2017.04.17_0 (active)
  py27-chardet @3.0.2_0 (active)
  py27-cheetah @2.4.4_1 (active)
  py27-cycler @0.10.0_0 (active)
  py27-cython @0.26_0 (active)
  py27-dateutil @2.6.0_0 (active)
  py27-docutils @0.13.1_0 (active)
  py27-functools32 @3.2.3-2_0 (active)
  py27-gobject @2.28.6_3 (active)
  py27-idna @2.5_0 (active)
  py27-imagesize @0.7.1_0 (active)
  py27-jinja2 @2.9.6_0 (active)
  py27-lxml @3.7.3_0 (active)
  py27-macholib @1.8_0 (active)
  py27-mako @1.0.7_0 (active)
  py27-markupsafe @0.23_0 (active)
  py27-matplotlib @2.0.2_0+cairo (active)
  py27-modulegraph @0.15_0 (active)
  py27-monotonic @1.3_0 (active)
  py27-nose @1.3.7_0 (active)
  py27-numpy @1.13.1_0+gfortran (active)
  py27-olefile @0.44_0 (active)
  py27-opengl @3.1.0_0 (active)
  py27-opengl-accelerate @3.1.0_0 (active)
  py27-parsing @2.2.0_0 (active)
  py27-Pillow @4.2.1_0 (active)
  py27-py2app @0.14_0 (active)
  py27-pygments @2.2.0_0 (active)
  py27-pygtk @2.24.0_3+x11 (active)
  py27-pyobjc @3.0.4_0 (active)
  py27-pyobjc-cocoa @3.0.4_1 (active)
  py27-pyqt4 @4.12.1_0 (active)
  py27-pyqwt @5.2.0_12 (active)
  py27-requests @2.18.1_0 (active)
  py27-roman @2.0.0_0 (active)
  py27-scipy @0.19.1_0+gfortran (active)
  py27-setuptools @36.2.0_0 (active)
  py27-singledispatch @3.4.0.3_0 (active)
  py27-sip @4.19.3_0 (active)
  py27-six @1.10.0_0 (active)
  py27-snowballstemmer @1.2.0_0 (active)
  py27-sphinx @1.6.3_0 (active)
  py27-sphinxcontrib-websupport @1.0.1_0 (active)
  py27-subprocess32 @3.2.7_0 (active)
  py27-tkinter @2.7.13_2 (active)
  py27-tornado @4.5.1_0 (active)
  py27-typing @3.6.1_0 (active)
  py27-tz @2017.2_0 (active)
  py27-urllib3 @1.21.1_0 (active)
  py27-wxpython-3.0 @3.0.2.0_0 (active)
  python2_select @0.0_2 (active)
  python27 @2.7.13_1 (active)
  python_select @0.3_7 (active)
  qhull @2015.2_1 (active)
  qrupdate @1.1.2_4+accelerate+gcc6 (active)
  qscintilla @2.10.1_0 (active)
  qt4-mac @4.8.7_5 (active)
  qwt52 @5.2.3_1+qt4 (active)
  qwtplot3d @0.2.7_5+qt4 (active)
  readline @7.0.003_1 (active)
  shared-mime-info @1.7_2 (active)
  sphinx_select @0.1_0 (active)
  sqlite3 @3.19.3_0 (active)
  SuiteSparse @4.2.1_4+accelerate (active)
  swig @3.0.12_0 (active)
  swig-python @3.0.12_0 (active)
  tcl @8.6.6_1+corefoundation+threads (active)
  texlive-basic @44435_0+doc (active)
  texlive-bin @2017_0+x11 (active)
  texlive-common @2017.1_0 (active)
  texlive-latex @44427_0+doc (active)
  tiff @4.0.8_0 (active)
  tk @8.6.6_0+x11 (active)
  uhd @3.10.1.1_0+docs+examples+gpsd+libusb+manpages+manual+python27+test (active)
  urw-fonts @1.0.7pre44_0 (active)
  vecLibFort @0.4.2_0 (active)
  volk @1.3_0+docs+orc (active)
  webp @0.6.0_0 (active)
  wxPython-3.0 @3.0.2_5 (active)
  wxWidgets-3.0 @3.0.2_4 (active)
  wxWidgets-common @3.1.0_0 (active)
  wxWidgets_select @1.0_1 (active)
  xar @1.5.2_2 (active)
  Xft2 @2.3.2_0 (active)
  xmlcatmgr @2.2_1 (active)
  xmlto @0.0.28_0 (active)
  xorg-compositeproto @0.4.2_0 (active)
  xorg-damageproto @1.2.1_0 (active)
  xorg-fixesproto @5.0_0 (active)
  xorg-inputproto @2.3.2_0 (active)
  xorg-kbproto @1.0.7_0 (active)
  xorg-libice @1.0.9_0 (active)
  xorg-libpthread-stubs @0.3_0 (active)
  xorg-libsm @1.2.2_0 (active)
  xorg-libX11 @1.6.5_0 (active)
  xorg-libXau @1.0.8_0 (active)
  xorg-libXaw @1.0.13_2 (active)
  xorg-libxcb @1.12_2+python27 (active)
  xorg-libXcomposite @0.4.4_0 (active)
  xorg-libXcursor @1.1.14_0 (active)
  xorg-libXdamage @1.1.4_0 (active)
  xorg-libXdmcp @1.1.2_0 (active)
  xorg-libXext @1.3.3_0 (active)
  xorg-libXfixes @5.0.3_0 (active)
  xorg-libXi @1.7.8_0 (active)
  xorg-libXinerama @1.1.3_0 (active)
  xorg-libXmu @1.1.2_0 (active)
  xorg-libXp @1.0.3_0 (active)
  xorg-libXrandr @1.5.1_0 (active)
  xorg-libXScrnSaver @1.2.2_0 (active)
  xorg-libXt @1.1.5_1 (active)
  xorg-printproto @1.0.5_0 (active)
  xorg-randrproto @1.5.0_0 (active)
  xorg-renderproto @0.11.1_0 (active)
  xorg-scrnsaverproto @1.2.2_0 (active)
  xorg-xcb-proto @1.12_1+python27 (active)
  xorg-xcb-util @0.4.0_0 (active)
  xorg-xextproto @7.3.0_0 (active)
  xorg-xineramaproto @1.2.1_0 (active)
  xorg-xproto @7.0.31_0 (active)
  xpm @3.5.12_0 (active)
  xrender @0.9.10_0 (active)
  xz @5.2.3_0 (active)
  zlib @1.2.11_0 (active)
sh-3.2# 


file /opt/local/etc/xml/catalog does exist but is empty.

CMakeCache... is attached.

Thanks
Stephan
Last edited 7 years ago by stephensworld (previous) (diff)

Changed 7 years ago by stephensworld

Attachment: gnuradio_CMakeCache.txt added

Changed 7 years ago by stephensworld

comment:12 Changed 7 years ago by stephensworld

Still the same problem, also without docs:

sh-3.2# sudo port clean gnuradio*
--->  Cleaning gnuradio
--->  Cleaning gnuradio-devel
--->  Cleaning gnuradio-next
sh-3.2# 

sudo port install gnuradio -docs
--->  Computing dependencies for gnuradio
--->  Fetching archive for gnuradio
Warning: Your DNS servers incorrectly claim to know the address of nonexistent hosts. This may cause checksum mismatches for some ports. See this page for more information: <https://trac.macports.org/wiki/MisbehavingServers>
--->  Attempting to fetch gnuradio-3.7.11_3+grc+jack+portaudio+qtgui+sdl+swig+uhd+wavelet+wxgui.darwin_16.x86_64.tbz2 from http://lil.fr.packages.macports.org/gnuradio
--->  Attempting to fetch gnuradio-3.7.11_3+grc+jack+portaudio+qtgui+sdl+swig+uhd+wavelet+wxgui.darwin_16.x86_64.tbz2 from http://nue.de.packages.macports.org/gnuradio
--->  Attempting to fetch gnuradio-3.7.11_3+grc+jack+portaudio+qtgui+sdl+swig+uhd+wavelet+wxgui.darwin_16.x86_64.tbz2 from https://packages.macports.org/gnuradio
--->  Fetching distfiles for gnuradio
--->  Verifying checksums for gnuradio
--->  Extracting gnuradio
--->  Applying patches to gnuradio
--->  Configuring gnuradio
--->  Building gnuradio
Error: Failed to build gnuradio: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port gnuradio failed

attached you can find main.4.log

Changed 7 years ago by stephensworld

Attachment: main.4.log added

comment:13 Changed 7 years ago by michaelld (Michael Dickens)

What does /bin/ls -lRAF /usr/local return?

Changed 7 years ago by stephensworld

Attachment: usr_local.zip added

comment:14 in reply to:  13 Changed 7 years ago by stephensworld

Replying to michaelld:

What does /bin/ls -lRAF /usr/local return?

you can find it in usr_local.zip

Thanks Stephan

comment:15 Changed 7 years ago by michaelld (Michael Dickens)

Lots of stuff in /usr/local ... which was not installed by MacPorts. Guessing it was installed using Homebrew, yes? Do you actually require everything in /usr/local to be there? Can you install it via MacPorts instead, or just get rid of it?

Given that /usr/local is a standard search path for most build systems (including GNU Automake, CMake, QMake, BMake, and others), there is a high probability that MacPorts will pick up libraries and heads from within /usr/local instead of /opt/local ... for example with GNU Radio:

ZEROMQ_INCLUDE_DIRS:PATH=ZEROMQ_INCLUDE_DIRS-NOTFOUND
ZEROMQ_LIBRARIES:FILEPATH=/usr/local/lib/libzmq.dylib

In this case, ZeroMQ will not be labeled as found & thus not used, and none of the other GR dependencies seem to be being found in /usr/local.

We do not support simultaneous installs of MacPorts and other package managers: they might work, but they might not too. We've worked very hard to make GR precise in finding dependency headers and libraries; many others projects aren't as diligent in this regard. I would bet that some other MacPorts install has linked against a library in and/or is using headers from /usr/local, which is either directly or indirectly causing the issue here.

comment:16 Changed 7 years ago by stephensworld

I have reduced /usr/local but I have still the same problems. Please see attached file usr_local

Changed 7 years ago by stephensworld

Attachment: usr_local added

comment:17 Changed 7 years ago by michaelld (Michael Dickens)

0) When you remove cruft, you generally have to rebuild projects that might have used the cruft. That means either determining which dependencies to rebuild. There's no good way to determine this for GR, as stock GR has 300+ such dependencies when installed by 'port'. You can try "sudo port rev-upgrade" to see if anything already-installed by MP was linking to something in /usr/local, and rebuilding such projects might do the trick; might not too.

1) There's still a lot of GR dependencies in /usr/local ... like Python and CppUnit, probably others. I don't know if these are impacting building GR, but they might be.

2) My advice moving forward is to pick your package manager and stick with it. Remove -all- package manager installs, and start from scratch with whichever you pick. Doing so will be frustrating and time consuming: yes! But, it's the way with the greatest chances of success, for better or worse.

comment:18 Changed 7 years ago by stephensworld

Hi,

I removed and reinstalled mac ports and now I could compile gnuradio with mac ports :-)

Thanks

Stephan

Last edited 7 years ago by stephensworld (previous) (diff)

comment:19 Changed 7 years ago by michaelld (Michael Dickens)

Resolution: worksforme
Status: assignedclosed

Excellent! Thanks for reporting back your success. Good luck!

When in doubt, remove cruft & rebuild ... because cruft happens ;)

Note: See TracTickets for help on using tickets.