Opened 13 years ago

Closed 13 years ago

#27429 closed defect (fixed)

sdcc 3.0 incompatible with usrp 3.3.0

Reported by: dholguin@… Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: dholguin@…, fholguin@…, mostafa.mabrouk@…, nerdling (Jeremy Lavergne), mostafa.mabrouk.khedr@…
Port: usrp, sdcc

Description (last modified by mf2k (Frank Schima))

sudo port install usrp
--->  Computing dependencies for usrp
--->  Configuring usrp
Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details)
Log for usrp is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_usrp/main.log
Error: Status 1 encountered during processing.

This is a retry after many dependencies were properly installed. Additional info:

Daniel-Holguins-MacBook-Pro:~ cicloide$ port installed
The following ports are currently installed:
  atk @1.30.0_0 (active)
  atlas @3.8.3_4+gcc44 (active)
  autoconf @2.68_1 (active)
  automake @1.11.1_0 (active)
  bison @2.4.3_0 (active)
  boost @1.44.0_0 (active)
  boost-jam @3.1.18_0 (active)
  bzip2 @1.0.6_0 (active)
  cairo @1.10.0_1 (active)
  cppunit @1.12.1_0 (active)
  db46 @4.6.21_6 (active)
  dbus @1.2.24_1 (active)
  docbook-xml @5.0_0 (active)
  docbook-xml-4.1.2 @4.1.2_1 (active)
  docbook-xml-4.2 @4.2_0 (active)
  docbook-xml-4.3 @4.3_0 (active)
  docbook-xml-4.4 @4.4_0 (active)
  docbook-xml-4.5 @4.5_0 (active)
  docbook-xml-5.0 @5.0_0 (active)
  docbook-xsl @1.76.1_0 (active)
  expat @2.0.1_1 (active)
  fftw-3 @3.2.2_0 (active)
  fftw-3-single @3.2.2_0 (active)
  flac @1.2.1_0 (active)
  fontconfig @2.8.0_0 (active)
  freetype @2.4.3_0 (active)
  gawk @3.1.8_0 (active)
  gcc44 @4.4.5_0 (active)
  gdbm @1.8.3_2 (active)
  gdk-pixbuf2 @2.22.1_0 (active)
  getopt @1.1.4_1 (active)
  gettext @0.18.1.1_2 (active)
  glib2 @2.26.1_0 (active)
  glut @3.7_3 (active)
  gmp @5.0.1_0 (active)
  gnome-common @2.28.0_0 (active)
  gnome-doc-utils @0.20.2_0 (active)
  gnuradio-atsc @3.3.0_0+python26 (active)
  gnuradio-audio-jack @3.3.0_0+python26 (active)
  gnuradio-audio-osx @3.3.0_0+python26 (active)
  gnuradio-audio-portaudio @3.3.0_0+python26 (active)
  gnuradio-companion @3.3.0_0+python26 (active)
  gnuradio-core @3.3.0_0+python26 (active)
  gnuradio-cvsd-vocoder @3.3.0_0+python26 (active)
  gnuradio-examples @3.3.0_0+python26 (active)
  gnuradio-gruel @3.3.0_0+python26 (active)
  gnuradio-gsm-fr-vocoder @3.3.0_0+python26 (active)
  gnuradio-trellis @3.3.0_0+python26 (active)
  gnuradio-video-sdl @3.3.0_0+python26 (active)
  gnuradio-wxgui @3.3.0_0+python26 (active)
  gperf @3.0.4_0 (active)
  gputils @0.13.6_0 (active)
  gsed @4.2.1_1 (active)
  gsl @1.14_0 (active)
  gtk-doc @1.15_0 (active)
  gtk2 @2.22.1_0+x11 (active)
  guile @1.8.7_1 (active)
  gzip @1.4_0 (active)
  help2man @1.38.2_0 (active)
  intltool @0.40.6_0 (active)
  iso-codes @3.22_0 (active)
  jack @0.118.0_1 (active)
  jasper @1.900.1_7 (active)
  jpeg @8b_0 (active)
  lcms @1.19_2 (active)
  libffi @3.0.9_0 (active)
  libglade2 @2.6.4_1 (active)
  libiconv @1.13.1_0 (active)
  libmng @1.0.10_2 (active)
  libogg @1.2.1_1 (active)
  libpixman @0.20.0_0 (active)
  libpng @1.2.44_0 (active)
  libsamplerate @0.1.7_1 (active)
  libsdl @1.2.14_8 (active)
  libsndfile @1.0.23_0 (active)
  libtool @2.4_0 (active)
  libusb @1.0.8_0 (active)
  libusb-legacy @0.1.12_2 (active)
  libvorbis @1.3.2_0 (active)
  libxml2 @2.7.8_0 (active)
  libxslt @1.1.26_0 (active)
  m4 @1.4.15_1 (active)
  makedepend @1.0.3_0 (active)
  mesa @7.8.2_2 (active)
  mpfr @3.0.0-p8_0 (active)
  ncurses @5.7_1 (active)
  ncursesw @5.7_1 (active)
  openssl @1.0.0b_0 (active)
  p5-getopt-long @2.38_0 (active)
  p5-locale-gettext @1.05_3 (active)
  p5-pathtools @3.33_0 (active)
  p5-scalar-list-utils @1.23_0 (active)
  p5-xml-parser @2.40_0 (active)
  pango @1.28.3_0 (active)
  pcre @8.10_0 (active)
  perl5 @5.8.9_0 (active)
  perl5.8 @5.8.9_3 (active)
  pkgconfig @0.25_1 (active)
  portaudio @19.20071207_1 (active)
  py26-cairo @1.8.10_0 (active)
  py26-cheetah @2.4.0_0 (active)
  py26-distribute @0.6.14_0 (active)
  py26-gobject @2.26.0_1 (active)
  py26-gtk @2.22.0_0 (active)
  py26-libxml2 @2.6.21_0 (active)
  py26-lxml @2.2.8_0 (active)
  py26-nose @0.11.3_0 (active)
  py26-numpy @1.5.1_0+atlas+gcc44 (active)
  py26-opengl @3.0.1_0 (active)
  py26-opengl-accelerate @3.0.1_0 (active)
  py26-pil @1.1.7_2 (active)
  py26-pyqt4 @4.8.1_0 (active)
  py26-sip @4.11.2_1 (active)
  py26-wxpython @2.8.10.1_0+gtk (active)
  python26 @2.6.6_0+no_tkinter (active)
  python_select @0.3_0 (active)
  qt4-mac @4.7.1_0+quartz (active)
  rarian @0.8.1_0 (active)
  readline @6.1.002_0 (active)
  sdcc @3.0.0_0 (active)
  shared-mime-info @0.80_0 (active)
  sqlite3 @3.7.3_0 (active)
  swig @2.0.1_0 (active)
  swig-python @2.0.1_0 (active)
  texinfo @4.13_2 (active)
  tiff @3.9.4_0 (active)
  wxWidgets-python @2.8.10.1_1+gtk (active)
  Xft2 @2.2.0_0 (active)
  xmlcatmgr @2.2_1 (active)
  xorg-bigreqsproto @1.1.1_0 (active)
  xorg-compositeproto @0.4.2_0 (active)
  xorg-damageproto @1.2.1_0 (active)
  xorg-dri2proto @2.3_0 (active)
  xorg-fixesproto @4.1.2_0 (active)
  xorg-glproto @1.4.12_0 (active)
  xorg-inputproto @2.0.1_0 (active)
  xorg-kbproto @1.0.5_0 (active)
  xorg-libice @1.0.7_0 (active)
  xorg-libpthread-stubs @0.3_0 (active)
  xorg-libsm @1.2.0_0 (active)
  xorg-libX11 @1.3.6_1 (active)
  xorg-libXau @1.0.6_0 (active)
  xorg-libxcb @1.7_0+python26 (active)
  xorg-libXcomposite @0.4.3_0 (active)
  xorg-libXcursor @1.1.11_0 (active)
  xorg-libXdamage @1.1.3_0 (active)
  xorg-libXdmcp @1.1.0_0 (active)
  xorg-libXext @1.2.0_0 (active)
  xorg-libXfixes @4.0.5_0 (active)
  xorg-libXi @1.4.0_0 (active)
  xorg-libXinerama @1.1.1_0 (active)
  xorg-libXmu @1.1.0_0 (active)
  xorg-libXrandr @1.3.1_0 (active)
  xorg-libXt @1.0.9_0 (active)
  xorg-randrproto @1.3.2_0 (active)
  xorg-renderproto @0.11.1_0 (active)
  xorg-util-macros @1.11.0_0 (active)
  xorg-xcb-proto @1.6_0+python26 (active)
  xorg-xcmiscproto @1.2.1_0 (active)
  xorg-xextproto @7.1.2_0 (active)
  xorg-xf86bigfontproto @1.2.0_0 (active)
  xorg-xineramaproto @1.2_0 (active)
  xorg-xproto @7.0.19_0 (active)
  xorg-xtrans @1.2.6_0 (active)
  xrender @0.9.6_0 (active)
  xz @5.0.0_0 (active)
  zlib @1.2.5_0 (active)

I am using Snow Leopard.

Please help as I need to put my USRP to work.

DH

Attachments (1)

main.log (46.8 KB) - added by dholguin@… 13 years ago.
Log /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_usrp

Download all attachments as: .zip

Change History (30)

Changed 13 years ago by dholguin@…

Attachment: main.log added

Log /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_usrp

comment:1 Changed 13 years ago by dholguin@…

Thanks for any help

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

Owner: changed from macports-tickets@… to michaelld@…
Status: newassigned

Ug; looks like SDCC 3.0.0 doesn't install 'asx8051' by default, which is required by USRP to compile. Let me look into SDCC a bit ...

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

Looks like SDCC changed behavior between 2.9.0 and 3.0.0, moving from "--disable" to "--enable" for avr and xa51. I'm seeing if enabling them in the Portfile results in a usable (by USRP) install.

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

Not those changes; after looking further, I think the assembler name was changed to "sdas8051". I'll try that in USRP's configure & see if that works.

comment:5 Changed 13 years ago by dholguin@…

Thank you. Then, could you please give me an example? This is my first time setting this up. DH

comment:6 Changed 13 years ago by mf2k (Frank Schima)

Milestone: MacPorts 2.0.0

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

Description: modified (diff)

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

It looks like a simple mod to 'configure' will work; I'm testing right now and it's looking promising.

When you write "please give me an example" what exactly do you mean? There is a port called "gnuradio-examples" that can be installed if you want the examples that come with GNU Radio -- some of which make use of the USRP component. Let me know if you mean something else.

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

well, the new 8051 assembler works just fine, but SDCC 3.0 does not work with the USRP's codes. I think the way to proceed it to create a "sdcc29" or "sdcc-legacy" version and use that; make sure it installs into its own location that doesn't conflict with sdcc 3.0's.

comment:10 Changed 13 years ago by dholguin@…

Thanks for the reply!! I meant that if I have to run something in order to fix the issue please tell me how because this is my first installation of ports and gnuradio and everything. For instance, I don't know what a mode to 'configure' is yet :P Forgive my ignorance. I will also take a look at gnuradio-examples. That is great. What steps should I take now?

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

Port: sdcc added
Summary: Can't install usrpsdcc 3.0 incompatible with usrp 3.3.0

comment:12 Changed 13 years ago by dholguin@…

In the meantime, is there a work around for this? Could I install a previous version of sdcc to make it work with the last usrp? Thanks for finding the problem!!

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

If you do "port installed sdcc" there should be multiple versions, e.g.:

  sdcc @2.9.0_0
  sdcc @3.0.0_0 (active)

So, in this case you could do "sudo port activate sdcc @2.9.0_0" to get that version, and then, maybe, if you then install USRP it might work. Worth a try at least. I've almost got SDCC29 working.

comment:14 Changed 13 years ago by dholguin@…

For those concerned about this ticket:

I was able to install gnuradio with sdcc @2.9.0_0. I installed usrp manually as well. I got it all right after doing:

sudo port install subversion svn co -r 57740 http://svn.macports.org/repository/macports/trunk/dports/lang/sdcc cd sdcc sudo port install sudo port activate sdcc @2.9.0_0 cd .. svn co -r 71210 http://svn.macports.org/repository/macports/trunk/dports/science/usrp cd usrp sudo port install

These are the dependencies (active):

apr @1.4.2_1 (active)

apr-util @1.3.9_2 (active) atk @1.30.0_0 (active) atlas @3.8.3_4+gcc44 (active) autoconf @2.68_1 (active) automake @1.11.1_0 (active) bison @2.4.3_0 (active) boost @1.44.0_0 boost @1.45.0_2 (active) boost-jam @3.1.18_0 (active) bzip2 @1.0.6_0 (active) cairo @1.10.0_1 cairo @1.10.2_2 (active) cppunit @1.12.1_0 (active) cyrus-sasl2 @2.1.23_3+kerberos (active) db46 @4.6.21_6 (active) dbus @1.2.24_1 (active) docbook-xml @5.0_0 (active) docbook-xml-4.1.2 @4.1.2_1 (active) docbook-xml-4.2 @4.2_0 (active) docbook-xml-4.3 @4.3_0 (active) docbook-xml-4.4 @4.4_0 (active) docbook-xml-4.5 @4.5_0 (active) docbook-xml-5.0 @5.0_0 (active) docbook-xsl @1.76.1_0 (active) expat @2.0.1_1 (active) fftw-3 @3.2.2_0 (active) fftw-3-single @3.2.2_0 (active) flac @1.2.1_0 (active) fontconfig @2.8.0_0 (active) freetype @2.4.3_0 freetype @2.4.4_0 (active) gawk @3.1.8_0 (active) gcc44 @4.4.5_0 (active) gdbm @1.8.3_2 gdbm @1.8.3_3 (active) gdk-pixbuf2 @2.22.1_0 gdk-pixbuf2 @2.22.1_1 (active) getopt @1.1.4_1 (active) gettext @0.18.1.1_2 (active) glib2 @2.26.1_0 (active) glut @3.7_3 (active) gmp @5.0.1_0 (active) gnome-common @2.28.0_0 (active) gnome-doc-utils @0.20.2_0 (active) gnuradio @3.3.0_0+python26 (active) gnuradio-atsc @3.3.0_0+python26 (active) gnuradio-audio-jack @3.3.0_0+python26 (active) gnuradio-audio-osx @3.3.0_0+python26 (active) gnuradio-audio-portaudio @3.3.0_0+python26 (active) gnuradio-companion @3.3.0_0+python26 (active) gnuradio-core @3.3.0_0+python26 (active) gnuradio-cvsd-vocoder @3.3.0_0+python26 (active) gnuradio-examples @3.3.0_0+python26 (active) gnuradio-gpio @3.3.0_0+python26 (active) gnuradio-gruel @3.3.0_0+python26 (active) gnuradio-gsm-fr-vocoder @3.3.0_0+python26 (active) gnuradio-msdd6000 @3.3.0_0+python26 (active) gnuradio-noaa @3.3.0_0+python26 (active) gnuradio-omnithread @3.2.2_2+python26 (active) gnuradio-pager @3.3.0_0+python26 (active) gnuradio-qtgui @3.3.0_1+python26 (active) gnuradio-radar-mono @3.3.0_0+python26 (active) gnuradio-radio-astronomy @3.3.0_0+python26 (active) gnuradio-sounder @3.3.0_0+python26 (active) gnuradio-trellis @3.3.0_0+python26 (active) gnuradio-usrp @3.3.0_0+python26 (active) gnuradio-utils @3.3.0_0+python26 (active) gnuradio-video-sdl @3.3.0_0+python26 (active) gnuradio-wxgui @3.3.0_0+python26 (active) gperf @3.0.4_0 (active) gputils @0.13.6_0 gputils @0.13.7_0 (active) gsed @4.2.1_1 (active) gsl @1.14_0 (active) gtk-doc @1.15_0 (active) gtk2 @2.22.1_0+x11 gtk2 @2.22.1_1+x11 (active) guile @1.8.7_1 (active) gzip @1.4_0 (active) help2man @1.38.2_0 (active) icu @4.6_0 (active) intltool @0.40.6_0 (active) iso-codes @3.22_0 (active) jack @0.118.0_1 (active) jasper @1.900.1_7 (active) jpeg @8b_0 (active) lcms @1.19_2 (active) libffi @3.0.9_0 (active) libglade2 @2.6.4_1 libglade2 @2.6.4_2 (active) libiconv @1.13.1_0 (active) libmng @1.0.10_2 (active) libogg @1.2.1_1 libogg @1.2.2_0 (active) libpixman @0.20.0_0 libpixman @0.20.2_0 (active) libpng @1.2.44_0 libpng @1.4.5_0 (active) libsamplerate @0.1.7_1 (active) libsdl @1.2.14_8 libsdl @1.2.14_9 (active) libsndfile @1.0.23_0 (active) libtool @2.4_0 (active) libusb @1.0.6_0 libusb @1.0.8_0 (active) libusb-legacy @0.1.12_2 (active) libvorbis @1.3.2_0 (active) libxml2 @2.7.8_0 (active) libxslt @1.1.26_0 (active) m4 @1.4.15_1 (active) makedepend @1.0.3_0 (active) mesa @7.8.2_2 (active) mpfr @3.0.0-p8_0 (active) ncurses @5.7_1 (active) ncursesw @5.7_1 (active) neon @0.29.5_0 (active) openssl @1.0.0b_0 openssl @1.0.0c_0 (active) p5-getopt-long @2.38_0 (active) p5-locale-gettext @1.05_3 (active) p5-pathtools @3.33_0 (active) p5-scalar-list-utils @1.23_0 (active) p5-xml-parser @2.40_0 (active) pango @1.28.3_0 pango @1.28.3_1 (active) pcre @8.10_0 (active) perl5 @5.8.9_0 (active) perl5.8 @5.8.9_3 (active) pkgconfig @0.25_1 pkgconfig @0.25_2 (active) portaudio @19.20071207_1 portaudio @19.20071207_2 (active) py26-cairo @1.8.10_0 py26-cairo @1.8.10_1 (active) py26-cheetah @2.4.0_0 (active) py26-distribute @0.6.14_0 (active) py26-gobject @2.26.0_1 (active) py26-gtk @2.22.0_0 py26-gtk @2.22.0_1 (active) py26-libxml2 @2.6.21_0 (active) py26-lxml @2.2.8_0 (active) py26-nose @0.11.3_0 py26-nose @1.0.0_0 (active) py26-numpy @1.5.1_0+atlas+gcc44 py26-numpy @1.5.1_1+atlas+gcc44 (active) py26-opengl @3.0.1_0 (active) py26-opengl-accelerate @3.0.1_0 (active) py26-pil @1.1.7_2 (active) py26-pyqt4 @4.8.1_0 py26-pyqt4 @4.8.2_0 (active) py26-sip @4.11.2_1 py26-sip @4.12_0 (active) py26-tkinter @2.6.6_0 (active) py26-wxpython @2.8.10.1_0+gtk (active) python26 @2.6.6_0+no_tkinter python26 @2.6.6_1 (active) python_select @0.3_0 (active) qt4-mac @4.7.1_0+quartz qt4-mac @4.7.1_1+quartz (active) qwt52 @5.2.1_2+qt4 (active) qwtplot3d @0.2.7_3+qt4 (active) rarian @0.8.1_0 (active) readline @6.1.002_0 (active) ruby @1.8.7-p302_0+thread_hooks (active) sdcc @2.9.0_0 (active) sdcc @3.0.0_0 serf @0.7.0_0 (active) shared-mime-info @0.80_0 shared-mime-info @0.90_0 (active) sqlite3 @3.7.3_0 sqlite3 @3.7.4_0 (active) subversion @1.6.15_0 (active) swig @2.0.1_0 (active) swig-python @2.0.1_0 (active) tcl @8.5.9_0 (active) texinfo @4.13_2 (active) tiff @3.9.4_0 (active) tk @8.5.9_0 (active) usrp @3.3.0_0+libusb_legacy+python26 (active) wxWidgets-python @2.8.10.1_1+gtk wxWidgets-python @2.8.10.1_2+gtk (active) Xft2 @2.2.0_0 (active) xmlcatmgr @2.2_1 (active) xorg-bigreqsproto @1.1.1_0 (active) xorg-compositeproto @0.4.2_0 (active) xorg-damageproto @1.2.1_0 (active) xorg-dri2proto @2.3_0 (active) xorg-fixesproto @4.1.2_0 (active) xorg-glproto @1.4.12_0 (active) xorg-inputproto @2.0.1_0 (active) xorg-kbproto @1.0.5_0 (active) xorg-libice @1.0.7_0 (active) xorg-libpthread-stubs @0.3_0 (active) xorg-libsm @1.2.0_0 (active) xorg-libX11 @1.3.6_1 xorg-libX11 @1.4.1_0 (active) xorg-libXau @1.0.6_0 (active) xorg-libxcb @1.7_0+python26 (active) xorg-libXcomposite @0.4.3_0 (active) xorg-libXcursor @1.1.11_0 (active) xorg-libXdamage @1.1.3_0 (active) xorg-libXdmcp @1.1.0_0 (active) xorg-libXext @1.2.0_0 (active) xorg-libXfixes @4.0.5_0 (active) xorg-libXi @1.4.0_0 (active) xorg-libXinerama @1.1.1_0 (active) xorg-libXmu @1.1.0_0 (active) xorg-libXrandr @1.3.1_0 (active) xorg-libXScrnSaver @1.2.1_0 (active) xorg-libXt @1.0.9_0 (active) xorg-randrproto @1.3.2_0 (active) xorg-renderproto @0.11.1_0 (active) xorg-scrnsaverproto @1.2.1_0 (active) xorg-util-macros @1.11.0_0 (active) xorg-xcb-proto @1.6_0+python26 (active) xorg-xcmiscproto @1.2.1_0 (active) xorg-xextproto @7.1.2_0 (active) xorg-xf86bigfontproto @1.2.0_0 (active) xorg-xineramaproto @1.2_0 xorg-xineramaproto @1.2.1_0 (active) xorg-xproto @7.0.19_0 xorg-xproto @7.0.20_0 (active) xorg-xtrans @1.2.6_0 (active) xrender @0.9.6_0 (active) xz @5.0.0_0 (active) zlib @1.2.5_0 (active)

comment:15 in reply to:  13 Changed 13 years ago by dholguin@…

Replying to michaelld@…:

If you do "port installed sdcc" there should be multiple versions, e.g.:

  sdcc @2.9.0_0
  sdcc @3.0.0_0 (active)

So, in this case you could do "sudo port activate sdcc @2.9.0_0" to get that version, and then, maybe, if you then install USRP it might work. Worth a try at least. I've almost got SDCC29 working.

THANKS!

comment:16 Changed 13 years ago by dholguin@…

Cc: dholguin@… added

Cc Me!

comment:17 Changed 13 years ago by fholguin@…

Cc: fholguin@… added

Cc Me!

comment:18 Changed 13 years ago by nerdling (Jeremy Lavergne)

Cc: mostafa.mabrouk@… snc@… mostafa.mabrouk.khedr@… added

Duplicate: r28290.

comment:19 Changed 13 years ago by mostafa.mabrouk.khedr@…

I tried the SVN solution and gave me

test:macports mostafamabrouk$ sudo port install subversion svn co -r 57740  http://svn.macports.org/repository/macports/trunk/dports/lang/sdcc cd sdcc sudo port install sudo port activate sdcc @2.9.0_0 cd .. svn co -r 71210  http://svn.macports.org/repository/macports/trunk/dports/science/usrp cd usrp sudo port install

Password:
Can't map the URL 'http://svn.macports.org/repository/macports/trunk/dports/lang/sdcc' to a port description file ("Port extract failed: tar: Unrecognized archive format: Inappropriate file type or format
tar: Error exit delayed from previous errors.").
Please verify that the directory and portfile syntax are correct.
Error: Can't open URL 'http://svn.macports.org/repository/macports/trunk/dports/lang/sdcc' as a port
Can't map the URL 'http://svn.macports.org/repository/macports/trunk/dports/science/usrp' to a port description file ("Port extract failed: tar: Unrecognized archive format: Inappropriate file type or format
tar: Error exit delayed from previous errors.").
Please verify that the directory and portfile syntax are correct.
Error: Can't open URL 'http://svn.macports.org/repository/macports/trunk/dports/science/usrp' as a port
--->  Computing dependencies for subversion
--->  Cleaning subversion
Error: Port svn not found
To report a bug, see <http://guide.macports.org/#project.tickets>

Any idea how to use svn to get this done, and what about naming a port with sdcc29, i think it will be relieving for most of developers instead going for svn.

comment:20 Changed 13 years ago by fholguin@…

Check

https://sites.google.com/site/sdrinsights/installing-uspr-on-a-mac

Hope you find something that helps. I was able to install all the required files, some tests failed when doing make test. Your case might be different.

I am actually installing gnuradio over a windows partition now.

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

I'm working on "sdcc29" right now; if it works as expected, I'll update it & USRP tonight.

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

USRP should be fixed as of r75732, and uses SDCC29 which installs into ${prefix}/libexec/sdcc29 & does not conflict with SDCC (3.0). Please do a "selfupdate" and then try installing USRP again.

comment:23 Changed 13 years ago by mostafa.mabrouk.khedr@…

Well, i did a "selfupdate" and tried to install sdcc29 as a port and i couldn't find it, and i tried to install usrp and i found the following error

test:~ mostafamabrouk$ sudo port install usrp
--->  Computing dependencies for usrp
--->  Configuring usrp
Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details)
Log for usrp is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_usrp/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

and here is the log file

:info:configure checking for sdcc... sdcc -mmcs51 --no-xinit-opt
:info:configure checking for asx8051... no
:info:configure USRP requires sdcc. sdcc not found. See http://sdcc.sf.net
:info:configure Unable to find firmware compiler SDCC.
:info:configure configure: error: Component usrp has errors; stopping.
:info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_usrp/work/gnuradio-3.3.0" && ./configure --prefix=/opt/local --disable-all-components --with-gruel --enable-usrp --disable-doxygen --disable-docs " returned error 1
:error:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details)
:debug:configure Backtrace: configure failure: shell command failed (see log for details)
    while executing
"$procedure $targetname"
:info:configure Warning: the following items did not execute (for usrp): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:configure Log for usrp is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_usrp/main.log

Have any idea what is going now ?

comment:24 Changed 13 years ago by nerdling (Jeremy Lavergne)

I would have waited 30 minutes after the change was in for the portindex to have been updated.

Please run selfupdate once more, and clean on the involved ports, and then try installing again.

sudo port selfupdate
sudo port clean sdcc usrp

You can check that the update has reached you: port deps usrp. If it doesn't say sdcc29 then you've not received the update yet.

comment:25 Changed 13 years ago by fholguin@…

Just in case, SDCC 2.9.0 can be installed like this:

port install subversion svn co -r 57740 http://svn.macports.org/repository/macports/trunk/dports/lang/sdcc cd sdcc sudo port install sudo port activate sdcc @2.9.0_0

Dan

comment:26 in reply to:  25 Changed 13 years ago by fholguin@…

Replying to fholguin@…:

Just in case, SDCC 2.9.0 can be installed like this:

port install subversion svn co -r 57740 http://svn.macports.org/repository/macports/trunk/dports/lang/sdcc cd sdcc sudo port install sudo port activate sdcc @2.9.0_0

Dan

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

I just did a 'selfupdate' and the new SDCC29 was there, as is the updated USRP. So hopefully it'll work now without having to revert to SVN commands.

comment:28 Changed 13 years ago by mostafa.mabrouk.khedr@…

It worked just fine :), Thanks guys.

comment:29 Changed 13 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.