Opened 11 years ago

Closed 11 years ago

#41594 closed defect (worksforme)

octave, octave-devel: 'test strread' fails

Reported by: lord@… Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: octave, octave-devel

Description

My Octave script fails on 'textscan' call which I traced down to:

octave:1>  test strread
warning: division by zero
  ***** test
 [a, b] = strread ("1 2", "%f%f");
 assert (a, 1);
 assert (b, 2);
!!!!! test failed
element number 1 undefined in return list
octave:2>

Version:

octave @3.6.4_10 (math, science)
Variants:             accelerate, [+]atlas, docs, fltk, g95, gcc43, gcc44,
                      gcc45, gcc46, gcc47, [+]gcc48, gcc49, metis, x11

Attachments (7)

octave_conf_out.tar.bz2 (112.1 KB) - added by lord@… 11 years ago.
mp-octave-log.txt.bz2 (18.7 KB) - added by lord@… 11 years ago.
mp-octave-log.txt.2.bz2 (6.8 KB) - added by lord@… 11 years ago.
mp-octave-log.txt.3.bz2 (104.6 KB) - added by lord@… 11 years ago.
octave-make-check.txt.bz2 (937 bytes) - added by lord@… 11 years ago.
octave-make-check.txt.2.bz2 (937 bytes) - added by lord@… 11 years ago.
octave-make-check.txt.3.bz2 (709 bytes) - added by lord@… 11 years ago.

Download all attachments as: .zip

Change History (48)

comment:1 Changed 11 years ago by lord@…

Cc: lord@… added

Cc Me!

comment:2 Changed 11 years ago by lord@…

Same problem with 'octave @3.6.4_10+atlas+gcc48' port

comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: lord@… removed
Owner: changed from macports-tickets@… to michaelld@…
Port: octave added
Summary: 'test strread' failsoctave, octave-devel: 'test strread' fails

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

Your test command works for me on 10.9. What do the following return for you:

uname -a
xcodebuild -version
env
port installed | grep active

comment:5 Changed 11 years ago by lord@…

prosody /Users/lord> uname -a
Darwin prosody.local 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64
prosody /Users/lord> xcodebuild -version
Xcode 5.0.2
Build version 5A3005
prosody /Users/lord>
prosody /Users/lord> env
PATH=/opt/local/bin:/opt/local/sbin:/Applications/MATLAB_R2011b.app/bin:/usr/local/cuda/bin:/opt/local/sbin:/opt/local/bin:/Users/lord/tmp/fwb/bin:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/bin:/Users/lord/java/android-ndk-r8e:/Users/lord/bin:/usr/local/bin:/usr/local/bin/X11:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/MacGPG2/bin:/usr/local/bin
TMPDIR=/var/folders/hh/h6kt24208xj44z0059_xd9rh0000gn/T/
SHELL=/bin/tcsh
HOME=/Users/lord
USER=lord
LOGNAME=lord
GPG_AGENT_INFO=/Users/lord/.gnupg/S.gpg-agent:222:1
SSH_AUTH_SOCK=/tmp/launch-RoyFuz/Listeners
Apple_PubSub_Socket_Render=/tmp/launch-zRWRNc/Render
DISPLAY=:0
__CHECKFIX1436934=1
__CF_USER_TEXT_ENCODING=0x1F5:0:0
TERM_PROGRAM=iTerm.app
LANG=en_US.UTF-8
PWD=/Users/lord
ITERM_PROFILE=Default
TERM=xterm-color
ITERM_SESSION_ID=w0t2p0
HOSTTYPE=intel-mac
VENDOR=apple
OSTYPE=darwin
MACHTYPE=x86_64
SHLVL=1
GROUP=staff
HOST=prosody.local
REMOTEHOST=
VISUAL=emacs
EDITOR=emacs
CLICOLOR=
CVS_RSH=ssh
ANDROID_HOME=/Users/lord/java/android-sdk-mac_x86/
ANDROID_NDK_ROOT=/Users/lord/java/android-ndk-r8e
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home
MIDP_HOME=/Users/lord/java/MIDP20
CATALINA_HOME=/Users/lord/java/apache-tomcat-5.5.26
DYLD_LIBRARY_PATH=/usr/local/cuda/lib
LSCOLORS=Gxfxcxdxbxegedabagacad
MANPATH=/usr/local/share/man:/usr/share/man:/opt/X11/share/man:/usr/local/MacGPG2/share/man:/Applications/Xcode.app/Contents/Developer/usr/share/man:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/man:/Users/lord/man:/usr/local/man:/usr/share/man:/usr/local/share/man:/opt/local/share/man:/opt/local/man:/usr/local/man
port installed | grep activeprosody /Users/lord> port installed | grep active
  apache-ant @1.9.2_0 (active)
  apple-gcc42 @5666.3_13 (active)
  appres @1.0.4_0 (active)
  apr @1.4.8_0 (active)
  apr-util @1.5.2_1 (active)
  aquaterm @1.1.1_0 (active)
  arpack @3.1.3_0+atlas+gcc48 (active)
  atlas @3.10.1_5+mpclang33 (active)
  autoconf @2.69_2 (active)
  automake @1.14_0 (active)
  bdftopcf @1.0.4_0 (active)
  bison @2.7.1_0 (active)
  bitmap @1.0.7_0 (active)
  boost @1.55.0_0+no_single+no_static+python27 (active)
  bzip2 @1.0.6_0 (active)
  cairo @1.12.16_1+x11 (active)
  ccl @1.9_0 (active)
  cctools @845_0+llvm33 (active)
  cctools-headers @845_0 (active)
  clang-3.3 @3.3_2+analyzer+python27 (active)
  clang_select @0.1_0 (active)
  cloog @0.18.0_0 (active)
  cmake @2.8.12_1 (active)
  coreutils @8.21_0 (active)
  cppunit @1.12.1_0 (active)
  curl @7.33.0_0+ssl (active)
  curl-ca-bundle @7.33.0_0 (active)
  cyrus-sasl2 @2.1.26_1+kerberos (active)
  db46 @4.6.21_8 (active)
  db_select @0.1_2 (active)
  desktop-file-utils @0.15_1 (active)
  detex @2.8_1 (active)
  dirac @1.0.2_1 (active)
  djvu2pdf @0.9.2_0 (active)
  djvulibre @3.5.25_6 (active)
  docbook-xml @5.0_2 (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.78.1_0 (active)
  dos2unix @6.0.3_0 (active)
  dvipng @1.14_7 (active)
  dyld-headers @239.3_0 (active)
  editres @1.0.6_0 (active)
  enca @1.13_0 (active)
  epstool @3.08_6 (active)
  expat @2.1.0_0 (active)
  fann @2.2.0_0 (active)
  ffmpeg @2.1.1_0+gpl2 (active)
  fftw-3 @3.3.3_3 (active)
  fftw-3-single @3.3.3_3 (active)
  file @5.15_0 (active)
  findutils @4.4.2_1 (active)
  flac @1.3.0_0 (active)
  flex @2.5.37_1 (active)
  font-adobe-75dpi @1.0.3_0 (active)
  font-adobe-100dpi @1.0.3_0 (active)
  font-adobe-utopia-75dpi @1.0.4_0 (active)
  font-adobe-utopia-100dpi @1.0.4_0 (active)
  font-adobe-utopia-type1 @1.0.4_0 (active)
  font-alias @1.0.3_0 (active)
  font-arabic-misc @1.0.3_0 (active)
  font-bh-75dpi @1.0.3_0 (active)
  font-bh-100dpi @1.0.3_0 (active)
  font-bh-lucidatypewriter-75dpi @1.0.3_0 (active)
  font-bh-lucidatypewriter-100dpi @1.0.3_0 (active)
  font-bh-ttf @1.0.3_0 (active)
  font-bh-type1 @1.0.3_0 (active)
  font-bitstream-75dpi @1.0.3_0 (active)
  font-bitstream-100dpi @1.0.3_0 (active)
  font-bitstream-speedo @1.0.2_0 (active)
  font-bitstream-type1 @1.0.3_0 (active)
  font-cronyx-cyrillic @1.0.3_0 (active)
  font-cursor-misc @1.0.3_0 (active)
  font-daewoo-misc @1.0.3_0 (active)
  font-dec-misc @1.0.3_0 (active)
  font-ibm-type1 @1.0.3_0 (active)
  font-isas-misc @1.0.3_0 (active)
  font-jis-misc @1.0.3_0 (active)
  font-micro-misc @1.0.3_0 (active)
  font-misc-cyrillic @1.0.3_0 (active)
  font-misc-ethiopic @1.0.3_0 (active)
  font-misc-meltho @1.0.3_0 (active)
  font-misc-misc @1.1.2_0 (active)
  font-mutt-misc @1.0.3_0 (active)
  font-schumacher-misc @1.1.2_0 (active)
  font-screen-cyrillic @1.0.4_0 (active)
  font-sony-misc @1.0.3_0 (active)
  font-sun-misc @1.0.3_0 (active)
  font-winitzki-cyrillic @1.0.3_0 (active)
  font-xfree86-type1 @1.0.4_0 (active)
  fontconfig @2.11.0_0 (active)
  fonttosfnt @1.0.4_1 (active)
  fop @1.1_0 (active)
  freetype @2.5.1_0 (active)
  fribidi @0.19.5_0 (active)
  fslsfonts @1.0.4_0 (active)
  fstobdf @1.0.5_0 (active)
  ftgl @2.1.3-rc5_0 (active)
  fuse4x @0.9.2_1 (active)
  fuse4x-kext @0.9.2_0+universal (active)
  gawk @4.1.0_0 (active)
  gcc48 @4.8.2_0 (active)
  gcc_select @0.1_8 (active)
  gd2 @2.1.0_3+x11 (active)
  gdbm @1.10_2 (active)
  gdk-pixbuf2 @2.30.1_0+x11 (active)
  getopt @1.1.5_1 (active)
  gettext @0.18.3.1_1 (active)
  ghc-bootstrap @7.0.4_1+gcc48 (active)
  ghostscript @9.10_1+x11 (active)
  glib2 @2.38.2_0 (active)
  glpk @4.48_0 (active)
  glxgears @8.1.0_0 (active)
  glxinfo @8.1.0_0 (active)
  gmake @3.82_0 (active)
  gmp @5.1.2_0 (active)
  gnome-common @3.10.0_0 (active)
  gnupg @1.4.15_0 (active)
  gnuplot @4.6.4_1+aquaterm+luaterm+pangocairo+wxwidgets+x11 (active)
  gnutls @3.1.10_1 (active)
  gobject-introspection @1.38.0_1 (active)
  gperf @3.0.4_2 (active)
  GraphicsMagick @1.3.18_0+q8 (active)
  graphite2 @1.2.3_0 (active)
  graphviz @2.34.0_1+pangocairo+x11 (active)
  grep @2.14_0 (active)
  groff @1.22.2_1 (active)
  gsed @4.2.2_0 (active)
  gts @0.7.6_2 (active)
  hamcrest-core @1.2_0 (active)
  harfbuzz @0.9.24_0 (active)
  harfbuzz-icu @0.9.24_0 (active)
  hdf5-18 @1.8.11_0+cxx (active)
  htop @0.8.2.2_0 (active)
  iceauth @1.0.6_0 (active)
  ico @1.0.4_0 (active)
  icu @51.2_1 (active)
  ilmbase @1.0.2_0 (active)
  ImageMagick @6.8.7-7_0+x11 (active)
  imake @1.0.5_1 (active)
  intltool @0.50.2_2+perl5_12 (active)
  isl @0.12_0 (active)
  jack @0.121.3_1 (active)
  jasper @1.900.1_10 (active)
  jbig2dec @0.11_1 (active)
  jbigkit @2.0_2 (active)
  jpeg @9_1 (active)
  junit @4.6_2 (active)
  kerberos5 @1.11.3_0 (active)
  lame @3.99.5_0 (active)
  latexdiff @1.0.3_0 (active)
  latexmk @4.39_0 (active)
  lcdf-typetools @2.99_0+texlive (active)
  lcms2 @2.4_2 (active)
  ld64 @136_2+llvm33 (active)
  less @458_0 (active)
  libart_lgpl @2.3.21_0 (active)
  libass @0.10.1_0 (active)
  libbluray @0.3.0_0 (active)
  libcomerr @1.42.7_2 (active)
  libcroco @0.6.8_0 (active)
  libedit @20121213-3.0_0 (active)
  libffi @3.0.13_0 (active)
  libgcc @4.8.2_0 (active)
  libgcrypt @1.5.3_0 (active)
  libgpg-error @1.12_0 (active)
  libgsf @1.14.28_0 (active)
  libiconv @1.14_0 (active)
  libidn @1.26_0 (active)
  libLASi @1.1.1_1 (active)
  libmagic @5.15_0 (active)
  libmcrypt @2.5.8_1 (active)
  libmodplug @0.8.8.4_0 (active)
  libmpc @1.0.1_0 (active)
  libogg @1.3.1_0 (active)
  libopus @1.0.3_0 (active)
  libpaper @1.1.24_0 (active)
  libpixman @0.32.4_0 (active)
  libpng @1.5.17_0 (active)
  libranlib @1.0_1 (active)
  librsvg @2.36.4_2 (active)
  libsamplerate @0.1.8_0 (active)
  libsdl @1.2.15_3+x11 (active)
  libsndfile @1.0.25_0 (active)
  libsvm @3.17_0+java+tools (active)
  libtasn1 @2.11_0 (active)
  libtheora @1.1.1_1 (active)
  libtool @2.4.2_3 (active)
  libunwind-headers @35.1_1 (active)
  libusb @1.0.17_0 (active)
  libusb-compat @0.1.4_0 (active)
  libvorbis @1.3.3_0 (active)
  libvpx @1.2.0_1 (active)
  libxml2 @2.9.1_0 (active)
  libxslt @1.1.28_0 (active)
  libzzip @0.13.62_0 (active)
  listres @1.0.3_0 (active)
  llvm-3.3 @3.3_1 (active)
  llvm-gcc42 @2336.11_1 (active)
  llvm_select @0.2_0 (active)
  lua @5.2.2_1 (active)
  luit @1.1.1_0 (active)
  lzo2 @2.06_0 (active)
  m4 @1.4.16_0 (active)
  makedepend @1.0.4_0 (active)
  maven3 @3.0.5_0 (active)
  maven_select @0.3_1 (active)
  mercurial @2.8_0 (active)
  mesa @8.0.4_2+python27 (active)
  metis @5.1.0_0 (active)
  mkfontdir @1.0.7_0 (active)
  mkfontscale @1.1.1_0 (active)
  mpfr @3.1.1-p2_0 (active)
  mtr @0.85_0 (active)
  ncurses @5.9_2 (active)
  netcat @1.10_2 (active)
  netpbm @10.64.04_0 (active)
  nettle @2.6_1 (active)
  nosetests_select @0.1_0 (active)
  oclock @1.0.3_0 (active)
  octave @3.6.4_10+atlas+gcc48 (active)
  opencv @2.4.7_1 (active)
  openexr @1.7.0_0 (active)
  openjpeg @2.0.0_0 (active)
  openjpeg15 @1.5.0_0 (active)
  openldap @2.4.31_4 (active)
  openssl @1.0.1e_1 (active)
  orc @0.4.18_0 (active)
  ossp-uuid @1.6.2_1 (active)
  p5.12-algorithm-diff @1.190.200_3 (active)
  p5.12-getopt-long @2.420.0_0 (active)
  p5.12-pathtools @3.330.0_3 (active)
  p5.12-scalar-list-utils @1.350.0_0 (active)
  p5.12-xml-parser @2.400.0_4 (active)
  p11-kit @0.20.1_0 (active)
  pango @1.36.1_0+x11 (active)
  pcre @8.33_0 (active)
  pdfjam @2.08_0 (active)
  pdflib @7.0.5_1 (active)
  perl5 @5.12.4_0+perl5_12 (active)
  perl5.12 @5.12.4_3 (active)
  pgf @2.10_0 (active)
  pkgconfig @0.28_0 (active)
  plotutils @2.6_4 (active)
  poppler @0.24.3_0 (active)
  poppler-data @0.4.6_0 (active)
  popt @1.16_0 (active)
  ps2eps @1.68_0 (active)
  pstoedit @3.61_3 (active)
  psutils @p17_1 (active)
  py-hgsvn @0.1.9_0 (active)
  py27-dateutil @1.5_1 (active)
  py27-docutils @0.11_0 (active)
  py27-hgsvn @0.1.9_0 (active)
  py27-httplib2 @2-0.8_0 (active)
  py27-libxml2 @2.9.1_0 (active)
  py27-oauth2 @1.5.211_0 (active)
  py27-requests @2.0.1_0 (active)
  py27-roman @2.0.0_0 (active)
  py27-setuptools @1.4.1_0 (active)
  py27-tz @2013d_0 (active)
  py33-altgraph @0.10.2_0 (active)
  py33-dateutil @2.0_1 (active)
  py33-macholib @1.5.1_0 (active)
  py33-matplotlib @1.3.1_2+tkinter (active)
  py33-modulegraph @0.10.4_0 (active)
  py33-nose @1.3.0_0 (active)
  py33-numpy @1.8.0_2 (active)
  py33-parsing @2.0.1_0 (active)
  py33-py2app @0.7.3_0 (active)
  py33-pyobjc @2.5.1_0 (active)
  py33-pyobjc-cocoa @2.5.1_0 (active)
  py33-setuptools @1.4.1_0 (active)
  py33-six @1.4.1_0 (active)
  py33-tkinter @3.3.3_2 (active)
  py33-tornado @3.1.1_0 (active)
  py33-tz @2013d_0 (active)
  python26 @2.6.9_0 (active)
  python27 @2.7.6_0 (active)
  python33 @3.3.3_0 (active)
  python_select @0.3_3 (active)
  qhull @2012.1_2 (active)
  qrupdate @1.1.2_2+atlas+gcc48 (active)
  quartz-wm @1.3.1_1 (active)
  readline @6.2.000_0 (active)
  rgb @1.0.5_0 (active)
  s3cmd @1.0.1_0 (active)
  scala2.9 @2.9.3_0 (active)
  scala_select @0.1_2 (active)
  schroedinger @1.0.11_0 (active)
  scons @2.3.0_0 (active)
  serf1 @1.3.2_0 (active)
  sessreg @1.0.8_0 (active)
  setxkbmap @1.3.0_0 (active)
  showfont @1.0.4_0 (active)
  smproxy @1.0.5_0 (active)
  speex @1.2rc1_0 (active)
  sqlite3 @3.8.1_0 (active)
  subversion @1.8.5_0 (active)
  SuiteSparse @4.2.1_0 (active)
  swi-prolog @6.6.0_0+mt (active)
  t1lib @5.1.2_2 (active)
  t1utils @1.38_0 (active)
  tcl @8.6.1_0+corefoundation+threads (active)
  tcp_wrappers @20_2 (active)
  texi2html @5.0_0 (active)
  texinfo @4.13_2 (active)
  texlive @2013_0+doc+medium (active)
  texlive-basic @30847_0+doc (active)
  texlive-bin @2013_3+x11 (active)
  texlive-bin-extra @30842_0+doc (active)
  texlive-common @2013_0 (active)
  texlive-context @30458_0+doc (active)
  texlive-fonts-recommended @30307_1+doc (active)
  texlive-fontutils @30842_0+doc (active)
  texlive-generic-recommended @30396_0+doc (active)
  texlive-lang-czechslovak @30842_0+doc (active)
  texlive-lang-english @30780_0+doc (active)
  texlive-lang-european @30457_0+doc (active)
  texlive-lang-french @30777_0+doc (active)
  texlive-lang-german @30791_0+doc (active)
  texlive-lang-italian @30726_0+doc (active)
  texlive-lang-polish @30749_0+doc (active)
  texlive-lang-portuguese @30372_0+doc (active)
  texlive-lang-spanish @30372_0+doc (active)
  texlive-latex @30738_0+doc (active)
  texlive-latex-extra @30788_0+doc (active)
  texlive-latex-recommended @30811_0+doc (active)
  texlive-luatex @30790_0+doc (active)
  texlive-math-extra @30747_0+doc (active)
  texlive-metapost @30842_0+doc (active)
  texlive-pictures @30637_0+doc (active)
  texlive-plain-extra @30395_0+doc (active)
  texlive-xetex @30842_0+doc (active)
  tiff @4.0.3_2 (active)
  tk @8.6.1_1+quartz (active)
  transfig @3.2.5d_4 (active)
  transset @1.0.1_0 (active)
  twm @1.0.8_0 (active)
  urw-fonts @1.0.7pre44_0 (active)
  viewres @1.0.4_0 (active)
  webp @0.3.1_0 (active)
  wget @1.14_5+ssl (active)
  wxWidgets-3.0 @3.0.0_4 (active)
  wxWidgets_select @1.0_0 (active)
  x11perf @1.5.4_0 (active)
  x264 @20130823_0 (active)
  xauth @1.0.8_0 (active)
  xbacklight @1.2.0_0 (active)
  xbitmaps @1.1.1_0 (active)
  xcalc @1.0.5_0 (active)
  xclipboard @1.1.3_0 (active)
  xclock @1.0.7_0 (active)
  xconsole @1.0.6_0 (active)
  xcursorgen @1.0.5_1 (active)
  xditview @1.0.3_0 (active)
  xdm @1.1.11_0 (active)
  xdpyinfo @1.3.1_0 (active)
  xedit @1.2.1_0 (active)
  xev @1.2.1_0 (active)
  xeyes @1.1.1_0 (active)
  xfd @1.1.2_0 (active)
  xfontsel @1.0.5_0 (active)
  xfs @1.1.3_0 (active)
  xfsinfo @1.0.4_0 (active)
  Xft2 @2.3.1_0 (active)
  xgc @1.0.4_0 (active)
  xhost @1.0.6_0 (active)
  xinit @1.3.3_1 (active)
  xinput @1.6.1_0 (active)
  xkbcomp @1.2.4_0 (active)
  xkbevd @1.1.3_0 (active)
  xkbprint @1.0.3_0 (active)
  xkbutils @1.0.4_0 (active)
  xkeyboard-config @2.5.1_0 (active)
  xkill @1.0.4_0 (active)
  xload @1.1.2_0 (active)
  xlogo @1.0.4_0 (active)
  xlsatoms @1.1.1_0 (active)
  xlsclients @1.1.3_0 (active)
  xlsfonts @1.0.4_0 (active)
  xmag @1.0.5_0 (active)
  xman @1.1.3_0 (active)
  xmessage @1.0.4_0 (active)
  xmh @1.0.2_0 (active)
  xmlcatmgr @2.2_1 (active)
  xmlto @0.0.25_1 (active)
  xmodmap @1.0.8_0 (active)
  xmore @1.0.2_0 (active)
  xorg @20090316_0 (active)
  xorg-applewmproto @1.4.2_0 (active)
  xorg-apps @20130524_0 (active)
  xorg-bigreqsproto @1.1.2_0 (active)
  xorg-cf-files @1.0.4_2 (active)
  xorg-damageproto @1.2.1_0 (active)
  xorg-dmxproto @2.3.1_0 (active)
  xorg-dri2proto @2.8_0 (active)
  xorg-encodings @1.0.4_0 (active)
  xorg-fixesproto @5.0_0 (active)
  xorg-font-util @1.3.0_0 (active)
  xorg-fontcacheproto @0.1.3_0 (active)
  xorg-fonts @20090102_1 (active)
  xorg-fontsproto @2.1.2_0 (active)
  xorg-glproto @1.4.16_0 (active)
  xorg-inputproto @2.3_0 (active)
  xorg-kbproto @1.0.6_0 (active)
  xorg-libAppleWM @1.4.1_0 (active)
  xorg-libdmx @1.1.3_0 (active)
  xorg-libfontenc @1.1.2_0 (active)
  xorg-libFS @1.0.5_0 (active)
  xorg-libice @1.0.8_0 (active)
  xorg-libpthread-stubs @0.3_0 (active)
  xorg-libsm @1.2.1_0 (active)
  xorg-libX11 @1.6.2_0 (active)
  xorg-libXau @1.0.8_0 (active)
  xorg-libXaw @1.0.12_0 (active)
  xorg-libxcb @1.9.1_0+python27 (active)
  xorg-libXcursor @1.1.14_0 (active)
  xorg-libXdmcp @1.1.1_0 (active)
  xorg-libXext @1.3.2_0 (active)
  xorg-libXfixes @5.0.1_0 (active)
  xorg-libXfont @1.4.6_0 (active)
  xorg-libXfontcache @1.0.5_0 (active)
  xorg-libXi @1.7.2_0 (active)
  xorg-libXinerama @1.1.3_0 (active)
  xorg-libxkbfile @1.0.8_0 (active)
  xorg-libXmu @1.1.2_0 (active)
  xorg-libXp @1.0.2_0 (active)
  xorg-libXrandr @1.4.2_0 (active)
  xorg-libXt @1.1.4_0 (active)
  xorg-libXTrap @1.0.1_0 (active)
  xorg-libXtst @1.2.2_0 (active)
  xorg-libXv @1.0.10_0 (active)
  xorg-libXxf86misc @1.0.3_0 (active)
  xorg-libXxf86vm @1.1.3_0 (active)
  xorg-printproto @1.0.5_0 (active)
  xorg-randrproto @1.4.0_0 (active)
  xorg-recordproto @1.14.2_0 (active)
  xorg-renderproto @0.11.1_0 (active)
  xorg-resourceproto @1.2.0_0 (active)
  xorg-scripts @1.0.1_0 (active)
  xorg-scrnsaverproto @1.2.2_0 (active)
  xorg-server @1.14.4_0 (active)
  xorg-trapproto @3.4.3_0 (active)
  xorg-util-macros @1.17.1_0 (active)
  xorg-videoproto @2.3.2_0 (active)
  xorg-xcb-proto @1.8_0+python27 (active)
  xorg-xcb-util @0.3.9_0 (active)
  xorg-xcmiscproto @1.2.2_0 (active)
  xorg-xextproto @7.2.99.901_0 (active)
  xorg-xf86bigfontproto @1.2.0_0 (active)
  xorg-xf86miscproto @0.9.3_0 (active)
  xorg-xf86vidmodeproto @2.3.1_0 (active)
  xorg-xineramaproto @1.2.1_0 (active)
  xorg-xproto @7.0.24_0 (active)
  xorg-xtrans @1.3.2_0 (active)
  xpm @3.5.11_0 (active)
  xpr @1.0.4_0 (active)
  xprop @1.2.2_0 (active)
  xrandr @1.4.1_0 (active)
  xrdb @1.1.0_0 (active)
  xrefresh @1.0.5_0 (active)
  xrender @0.9.8_0 (active)
  xset @1.2.3_0 (active)
  xsetmode @1.0.0_1 (active)
  xsetpointer @1.0.1_1 (active)
  xsetroot @1.1.1_0 (active)
  xsm @1.0.3_0 (active)
  xstdcmap @1.0.3_0 (active)
  xterm @297_0 (active)
  xtrap @1.0.2_2 (active)
  XviD @1.3.2_3 (active)
  xvinfo @1.1.2_0 (active)
  xwd @1.0.6_0 (active)
  xwininfo @1.1.3_0 (active)
  xwud @1.0.4_0 (active)
  xz @5.0.5_0 (active)
  yasm @1.2.0_0 (active)
  zlib @1.2.8_0 (active)

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

Thanks! Let me play around with some ideas and I'll post back when one of them merits it. I've got a busy weekend, so it probably won't be until early next week.

comment:7 Changed 11 years ago by lord@…

Let me know if you want me to try something, like reinstalling with different options.

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

"octave @3.6.4_10+atlas+gcc48" is what I use, and other variants should not change this result. If you want to just reinstall, that's worth a try:

sudo port -f uninstall octave @3.6.4_10+atlas+gcc48
sudo port -k install octave +atlas +gcc48

the '-k' will keep the build directory for now. Then, do:

(cd `port work octave` && sudo chmod -R a+rw . && cd octave-3.6.4 && make check)

and this will check a lot of how octave functions. On my 10.8 box I get back:

Summary:

  PASS  10203
  FAIL      2

There were 2 expected failures (see fntests.log for details).

Expected failures are known bugs.  Please help improve Octave
by contributing fixes for them.

There were 7 skipped tests (see fntests.log for details).
Skipped tests are features that are disabled in this version of Octave
because the needed libraries were not present when Octave was built.

243 (of 803) .m files have no tests.

36 (of 157) .cc files have no tests.

which is as good as one can expect. I'm building on 10.9 right now, and will do this same test once that finishes.

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

Another wondering: Does -anything- work with your installed octave? The "make check" I posted above might answer that question, but I'm also curious about once octave is installed and active, if it does anything or does it generally fail?

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

On 10.9 using +gcc48 +atlas:

  src/DLD-FUNCTIONS/dlmread.cc ........................... PASS   12/20   FAIL 8
  src/DLD-FUNCTIONS/eigs.cc .............................. PASS  148/149  FAIL 1
  src/DLD-FUNCTIONS/str2double.cc ........................ PASS   24/27   FAIL 3
  src/sparse-xpow.cc ..................................... PASS    1/2    FAIL 1
  scripts/specfun/realpow.m .............................. PASS    4/5    FAIL 1
  test_io.m .............................................. PASS   72/75   FAIL 3

Summary:

  PASS  10188
  FAIL     17

On 10.8, the actual failures are:

  src/data.cc ............................................ PASS  804/805  FAIL 1
  scripts/polynomial/roots.m ............................. PASS    9/10   FAIL 1

So ... not sure what to make of this difference. Interesting though. I'm wondering what your system returns when doing "make check" ...

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

Can you try the following and attach the results; it might shed some light ...

DYLD_PRINT_LIBRARIES=1 octave --eval "test strread"

comment:12 Changed 11 years ago by lord@…

bash-3.2$ DYLD_PRINT_LIBRARIES=1 octave --eval "test strread"
dyld: loaded: /opt/local/bin/octave
dyld: loaded: /opt/local/lib/octave/3.6.4/liboctinterp.1.dylib
dyld: loaded: /opt/local/lib/octave/3.6.4/liboctave.1.dylib
dyld: loaded: /opt/local/lib/libhdf5.8.dylib
dyld: loaded: /opt/local/lib/libpcre.1.dylib
dyld: loaded: /opt/local/lib/octave/3.6.4/libcruft.1.dylib
dyld: loaded: /opt/local/lib/libSuiteSparse.4.2.1.dylib
dyld: loaded: /opt/local/lib/libarpack.2.dylib
dyld: loaded: /opt/local/lib/libqrupdate.1.dylib
dyld: loaded: /opt/local/lib/libfftw3.3.dylib
dyld: loaded: /opt/local/lib/libfftw3f.3.dylib
dyld: loaded: /usr/local/lib/libgfortran.2.dylib
dyld: loaded: /opt/local/lib/libreadline.6.2.dylib
dyld: loaded: /opt/local/lib/libncurses.5.dylib
dyld: loaded: /usr/local/lib/libpcre.0.dylib
dyld: loaded: /opt/local/lib/libz.1.dylib
dyld: loaded: /usr/lib/libSystem.B.dylib
dyld: loaded: /opt/local/lib/libgcc/libgfortran.3.dylib
dyld: loaded: /opt/local/lib/libgcc/libquadmath.0.dylib
dyld: loaded: /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
dyld: loaded: /usr/lib/libc++.1.dylib
dyld: loaded: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
dyld: loaded: /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
dyld: loaded: /opt/local/lib/libgcc/libgcc_s.1.dylib
dyld: loaded: /usr/lib/system/libcache.dylib
dyld: loaded: /usr/lib/system/libcommonCrypto.dylib
dyld: loaded: /usr/lib/system/libcompiler_rt.dylib
dyld: loaded: /usr/lib/system/libcopyfile.dylib
dyld: loaded: /usr/lib/system/libcorecrypto.dylib
dyld: loaded: /usr/lib/system/libdispatch.dylib
dyld: loaded: /usr/lib/system/libdyld.dylib
dyld: loaded: /usr/lib/system/libkeymgr.dylib
dyld: loaded: /usr/lib/system/liblaunch.dylib
dyld: loaded: /usr/lib/system/libmacho.dylib
dyld: loaded: /usr/lib/system/libquarantine.dylib
dyld: loaded: /usr/lib/system/libremovefile.dylib
dyld: loaded: /usr/lib/system/libsystem_asl.dylib
dyld: loaded: /usr/lib/system/libsystem_blocks.dylib
dyld: loaded: /usr/lib/system/libsystem_c.dylib
dyld: loaded: /usr/lib/system/libsystem_configuration.dylib
dyld: loaded: /usr/lib/system/libsystem_dnssd.dylib
dyld: loaded: /usr/lib/system/libsystem_info.dylib
dyld: loaded: /usr/lib/system/libsystem_kernel.dylib
dyld: loaded: /usr/lib/system/libsystem_m.dylib
dyld: loaded: /usr/lib/system/libsystem_malloc.dylib
dyld: loaded: /usr/lib/system/libsystem_network.dylib
dyld: loaded: /usr/lib/system/libsystem_notify.dylib
dyld: loaded: /usr/lib/system/libsystem_platform.dylib
dyld: loaded: /usr/lib/system/libsystem_pthread.dylib
dyld: loaded: /usr/lib/system/libsystem_sandbox.dylib
dyld: loaded: /usr/lib/system/libsystem_stats.dylib
dyld: loaded: /usr/lib/system/libunc.dylib
dyld: loaded: /usr/lib/system/libunwind.dylib
dyld: loaded: /usr/lib/system/libxpc.dylib
dyld: loaded: /usr/lib/libobjc.A.dylib
dyld: loaded: /usr/lib/libauto.dylib
dyld: loaded: /usr/lib/libc++abi.dylib
dyld: loaded: /usr/lib/libDiagnosticMessagesClient.dylib
dyld: loaded: /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
dyld: loaded: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
dyld: loaded: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
dyld: loaded: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
dyld: loaded: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
dyld: loaded: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
dyld: loaded: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
dyld: loaded: /opt/local/lib/libsatlas.dylib
dyld: loaded: /opt/local/lib/libtatlas.dylib
dyld: loaded: /usr/lib/libz.1.dylib
dyld: loaded: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
dyld: loaded: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
dyld: loaded: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
dyld: loaded: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
dyld: loaded: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
dyld: loaded: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
dyld: loaded: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
dyld: loaded: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
dyld: loaded: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
dyld: loaded: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
dyld: loaded: /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
dyld: loaded: /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
dyld: loaded: /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
dyld: loaded: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
dyld: loaded: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
dyld: loaded: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
dyld: loaded: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
dyld: loaded: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
dyld: loaded: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
dyld: loaded: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
dyld: loaded: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
dyld: loaded: /usr/lib/libbsm.0.dylib
dyld: loaded: /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
dyld: loaded: /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
dyld: loaded: /System/Library/Frameworks/Security.framework/Versions/A/Security
dyld: loaded: /usr/lib/system/libkxld.dylib
dyld: loaded: /usr/lib/libicucore.A.dylib
dyld: loaded: /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
dyld: loaded: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
dyld: loaded: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
dyld: loaded: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
dyld: loaded: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
dyld: loaded: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
dyld: loaded: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
dyld: loaded: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
dyld: loaded: /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
dyld: loaded: /usr/lib/libsqlite3.dylib
dyld: loaded: /usr/lib/libxml2.2.dylib
dyld: loaded: /usr/lib/libxar.1.dylib
dyld: loaded: /usr/lib/libpam.2.dylib
dyld: loaded: /usr/lib/libOpenScriptingUtil.dylib
dyld: loaded: /usr/lib/libbz2.1.0.dylib
dyld: loaded: /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
dyld: loaded: /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
dyld: loaded: /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
dyld: loaded: /usr/lib/liblangid.dylib
dyld: loaded: /usr/lib/libCRFSuite.dylib
dyld: loaded: /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
dyld: loaded: /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
dyld: loaded: /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
dyld: loaded: /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
dyld: loaded: /usr/lib/libxslt.1.dylib
dyld: loaded: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
dyld: loaded: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
dyld: loaded: /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
dyld: loaded: /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
dyld: loaded: /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
dyld: loaded: /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
dyld: loaded: /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
dyld: loaded: /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
dyld: loaded: /usr/lib/libcups.2.dylib
dyld: loaded: /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
dyld: loaded: /System/Library/Frameworks/GSS.framework/Versions/A/GSS
dyld: loaded: /usr/lib/libresolv.9.dylib
dyld: loaded: /usr/lib/libiconv.2.dylib
dyld: loaded: /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
dyld: loaded: /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
dyld: loaded: /usr/lib/libheimdal-asn1.dylib
dyld: loaded: /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
dyld: loaded: /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
dyld: loaded: /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
dyld: loaded: /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
dyld: loaded: /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
dyld: loaded: /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
dyld: loaded: /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
dyld: loaded: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
dyld: loaded: /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
dyld: loaded: /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage
dyld: loaded: /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
dyld: loaded: /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
dyld: loaded: /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
dyld: loaded: /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage.framework/Versions/A/CoreImage
dyld: loaded: /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/ScalableUserInterface.framework/Versions/A/ScalableUserInterface
dyld: loaded: /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
dyld: loaded: /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
dyld: loaded: /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
dyld: loaded: /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
dyld: loaded: /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib
dyld: loaded: /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
dyld: loaded: /System/Library/PrivateFrameworks/FaceCore.framework/Versions/A/FaceCore
dyld: loaded: /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/CrashReporterSupport
dyld: loaded: /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
dyld: loaded: /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/AppleFSCompression
dyld: loaded: /System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Ubiquity
dyld: loaded: /System/Library/PrivateFrameworks/Sharing.framework/Versions/A/Sharing
dyld: loaded: /System/Library/PrivateFrameworks/IconServices.framework/Versions/A/IconServices
dyld: loaded: /System/Library/PrivateFrameworks/ChunkingLibrary.framework/Versions/A/ChunkingLibrary
GNU Octave, version 3.6.4
Copyright (C) 2013 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.

Octave was configured for "x86_64-apple-darwin13.0.0".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/get-involved.html

Read http://www.octave.org/bugs.html to learn how to submit bug reports.

For information about changes from previous versions, type `news'.

dyld: loaded: /opt/local/lib/octave/3.6.4/oct/x86_64-apple-darwin13.0.0/find.oct
dyld: loaded: /opt/local/lib/octave/3.6.4/oct/x86_64-apple-darwin13.0.0/cellfun.oct
dyld: loaded: /opt/local/lib/octave/3.6.4/oct/x86_64-apple-darwin13.0.0/strfind.oct
dyld: loaded: /opt/local/lib/octave/3.6.4/oct/x86_64-apple-darwin13.0.0/regexp.oct
dyld: loaded: /opt/local/lib/octave/3.6.4/oct/x86_64-apple-darwin13.0.0/max.oct
warning: division by zero
  ***** test
 [a, b] = strread ("1 2", "%f%f");
 assert (a, 1);
 assert (b, 2);
!!!!! test failed
element number 1 undefined in return list
dyld: unloaded: /opt/local/lib/octave/3.6.4/oct/x86_64-apple-darwin13.0.0/find.oct
dyld: unloaded: /opt/local/lib/octave/3.6.4/oct/x86_64-apple-darwin13.0.0/cellfun.oct
dyld: unloaded: /opt/local/lib/octave/3.6.4/oct/x86_64-apple-darwin13.0.0/max.oct
dyld: unloaded: /opt/local/lib/octave/3.6.4/oct/x86_64-apple-darwin13.0.0/regexp.oct
dyld: unloaded: /opt/local/lib/octave/3.6.4/oct/x86_64-apple-darwin13.0.0/strfind.oct

comment:13 Changed 11 years ago by lord@…

prosody /Users/lord> (cd `port work octave` && sudo chmod -R a+rw . && cd octave-3.6.4 && make check)
Makefile:2549: warning: overriding commands for target `check'
Makefile:2128: warning: ignoring old commands for target `check'
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Makefile:2549: warning: overriding commands for target `check'
Makefile:2128: warning: ignoring old commands for target `check'
Making all in libgnu
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
make[4]: Nothing to be done for `all-am'.
Making all in libcruft
make[2]: Nothing to be done for `all'.
Making all in liboctave
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
make[3]: Nothing to be done for `all-am'.
Making all in src
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
make[3]: Nothing to be done for `all-am'.
Making all in scripts
making plot/gnuplot_binary.m from plot/gnuplot_binary.in
plot/gnuplot_binary.m is unchanged
Making all in examples
make[2]: Nothing to be done for `all'.
Making all in test
make[2]: Nothing to be done for `all'.
Makefile:2549: warning: overriding commands for target `check'
Makefile:2128: warning: ignoring old commands for target `check'
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C doc/interpreter ../../AUTHORS
make[3]: `../../AUTHORS' is up to date.
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C doc/interpreter ../../BUGS
make[3]: `../../BUGS' is up to date.
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C doc/interpreter ../../INSTALL.OCTAVE
make[3]: `../../INSTALL.OCTAVE' is up to date.

Octave successfully built.  Now choose from the following:

   ./run-octave    - to run in place to test before installing
   make check      - to run the tests
   make install    - to install (PREFIX=/opt/local)

/Applications/Xcode.app/Contents/Developer/usr/bin/make -C test check
./build_sparse_tests.sh
./build_bc_overload_tests.sh ./bc_overloads_expected
../run-octave --norc --silent --no-history ./fntests.m .

Integrated test scripts:

regexp: internal error calling pcre_exec; error code from pcre_exec is -14
prosody /Users/lord>

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

Can you do the following:

sudo port clean octave
sudo port -d configure octave +gcc48 +atlas > ~/Desktop/octave_conf_out.txt 2>&1
cp `port work octave`/octave-3.6.4/config.log ~/Desktop/octave_conf_log.txt
cd ~/Desktop
tar jcf octave_conf_out.tar.bz2 octave_conf_out.txt octave_conf_log.txt

and then post the resulting tarball here?

Changed 11 years ago by lord@…

Attachment: octave_conf_out.tar.bz2 added

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

Thanks. The primary differences between your MacPorts setup and mine are:

  • You have software installed into /usr/local and /Library -- this might make a difference but it might not too; the DYLD_PRINT_LIBRARIES does not show that any of this was picked up, so I'm guessing it probably has no impact.
  • I'm using MacPorts from SVN trunk, which has changes specific to using 10.9's clang++ and libc++ as well as the compiler_blacklist_versions PortGroup; these are not showing up in your log files. I'm not sure if doing:
    sudo port selfupdate
    
    will help here, but it's worth a try. So, please just do that now.
  • I always recommend keeping the compiler variant the same across all ports; the changes I would recommend on your install are moving to using:
    atlas +gcc48
    fftw-3 +gcc48
    fftw-3-single +gcc48
    SuiteSparse +atlas
    
    I, again, am not sure any of the above changes will help; but, keeping the compiler consistent is generally a good thing.

Once the above changes are in place, your setup will be about the same as mine. You'll need to uninstall octave then reinstall it and test it to see if it works. If not, then we've eliminated some possible points of issue and I'll come up with some new things to try. Maybe changing some of the above will fix the issue.

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

BTW> I check tickets when someone posts text to them with much greater probability than when someone just posts a file -- so, sorry for the long delay.

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

Any luck trying to implement any of the difference issues I came up with?

comment:18 Changed 11 years ago by lord@…

I've done another port selfupdate followed by upgrade outdated and installed the following ports you suggested:

atlas +gcc48
fftw-3 +gcc48
fftw-3-single +gcc48
SuiteSparse +atlas

I am not very familial how port 'variants' work. Do I need to uninstall others? How do I rebuild octave to use new variants? It would be helpful if you give me some sample commands to execute.

Right now, after installing these ports, 'test strread' in Octave still gives errors.

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

OK. After changing the installed ports, you'll want to remove octave and reinstall it:

sudo port -f uninstall octave
sudo port install octave +gcc48 +atlas

Assuming that works, hopefully your issue will be taken care of. If not, we'll try something else.

comment:20 Changed 11 years ago by lord@…

Michael. Thanks for your help. I did as advised and still getting 'test strread' errors as described above.

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

Does

(cd `port work octave` && sudo chmod -R a+rw . && cd octave-3.6.4 && make check)

still fail in the same (basic) way?

comment:22 Changed 11 years ago by lord@…

make check fails to compile:

ibtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../libgnu -I../libgnu -I../libcruft/misc -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -DHAVE_CONFIG_H -Wall -W -Wshadow -Wformat -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wcast-align -Wcast-qual -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -D_THREAD_SAFE -pthread -pipe -Os -arch x86_64 -D_THREAD_SAFE -pthread -c oct-rl-edit.c  -fno-common -DPIC -o .libs/liboctave_la-oct-rl-edit.o
oct-rl-edit.c:99:3: error: use of undeclared identifier 'rl_voidfunc_t'
  rl_voidfunc_t *saved_redisplay_function = rl_redisplay_function;
  ^
oct-rl-edit.c:99:18: error: use of undeclared identifier
      'saved_redisplay_function'; did you mean 'rl_redisplay_function'?
  rl_voidfunc_t *saved_redisplay_function = rl_redisplay_function;
                 ^~~~~~~~~~~~~~~~~~~~~~~~
                 rl_redisplay_function

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

What does "which octave" return for you?

Also, can you do the following:

cp `port logfile octave` ~/Desktop/mp-octave-log.txt
bzip2 ~/Desktop/mp-octave-log.txt

and attach the compressed log file to this ticket?

comment:24 Changed 11 years ago by lord@…

/opt/local/bin/octave Attaching log

Changed 11 years ago by lord@…

Attachment: mp-octave-log.txt.bz2 added

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

OK; thanks. Can you do the following:

sudo port -f uninstall octave
sudo port -k install octave +gcc48 +atlas
cp `port logfile octave` ~/Desktop/mp-octave-log.txt
bzip2 ~/Desktop/mp-octave-log.txt

and post the compressed log file to this ticket. Doesn't matter if the install command errors out.

comment:26 Changed 11 years ago by lord@…

building failed. log attached. Thanks!

Changed 11 years ago by lord@…

Attachment: mp-octave-log.txt.2.bz2 added

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

My bad; try this instead:

sudo port -f uninstall octave
sudo port clean all
sudo port selfupdate
sudo port -k install octave +gcc48 +atlas
cp `port logfile octave` ~/Desktop/mp-octave-log.txt
bzip2 ~/Desktop/mp-octave-log.txt

Changed 11 years ago by lord@…

Attachment: mp-octave-log.txt.3.bz2 added

comment:28 Changed 11 years ago by lord@…

new log file attached.

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

OK; that built. Can you run octave at all (does octave execute when you issue that command)? If octave does run, does the "test strread" still fail?

Also, do:

(cd `port work octave` && sudo chmod -R a+rw . && cd octave-3.6.4 && make check) > ~/Desktop/octave-make-check.txt 2>&1
bzip2 ~/Desktop/octave-make-check.txt

and then attach the compressed file.

I hope this isn't just deja vu all over again!

comment:30 Changed 11 years ago by lord@…

'test strread' still fails. Log is attached.

Changed 11 years ago by lord@…

Attachment: octave-make-check.txt.bz2 added

Changed 11 years ago by lord@…

Attachment: octave-make-check.txt.2.bz2 added

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

Interesting. Can you try the following next:

sudo port install findutils
(cd `port work octave` && sudo chmod -R a+rw . && cd octave-3.6.4 && make check) > ~/Desktop/octave-make-check.txt 2>&1
bzip2 ~/Desktop/octave-make-check.txt

and then post the new log? Maybe this will help ...

comment:32 Changed 11 years ago by lord@…

Please see attached.

Changed 11 years ago by lord@…

Attachment: octave-make-check.txt.3.bz2 added

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

OK, finally. After re-re-re-reviewing some of the attachments here, it looks like you have stuff installed into /usr/local ... stuff like fortran and pcre, which are critical to how Octave functions. MacPorts can sometimes ignore such stuff, but it's really hard to do it all of the time; and, MacPorts does not control that install area (by default, and in your case too; if uses /opt/local). So ... if that stuff duplicates what MacPorts provides, I'd recommend going with MacPorts as the single-point solution for stuff. If you really, really, REALLY need the stuff in /usr/local, then I'll look into working around it in the Octave configure script ... but, that's just for Octave; I cannot guarantee that any change I find will work with other ports. You're much better off just doing "sudo rm -rf /use/local" if you can get away with that.

My suggestion as a temporary test:

cd /usr
sudo mv local local_old
sudo mkdir local

and then see if your non-MacPorts stuff still works as you want. If you find that everything works OK, then you can "sudo rm -rf /usr/local_old" and free up that space. If you find you have to have any/all of that stuff, then you can always move the directory back -- and, in this case I'm not sure how well you'll be able to use MacPorts since, no matter how hard we try, sometimes non-MacPorts sneaks in.

When you get to a happy point with the stuff in /usr/local, you'll want to totally reinstall MacPorts ... you might just want to follow the "Reinstall Ports" section of the migrating guide since that's what you need to do.

comment:34 Changed 11 years ago by lord@…

Michael, thanks for your investigation. I install in /usr/local only packages which are not available via macports. Unfortunately, I need some of them and I could not delete /usr/local/ and lose them.

Do you have an idea which library or executable from /usr/local/ is causing problems with macports? I can see the two suspects:

prosody /Users/lord> ldd `which octave`| grep /usr/local
	/usr/local/lib/libgfortran.2.dylib (compatibility version 3.0.0, current version 3.0.0)
	/usr/local/lib/libpcre.0.dylib (compatibility version 1.0.0, current version 1.1.0)

I do not recall installing (or ever needing fortran). It might have been installed as a part of some other package. I will try to get rid of it and see if this helps.

comment:35 in reply to:  34 Changed 11 years ago by larryv (Lawrence Velázquez)

Replying to lord@…:

I install in /usr/local only packages which are not available via macports. Unfortunately, I need some of them and I could not delete /usr/local/ and lose them.

You could also rename /usr/local during the duration of your MacPorts builds.

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

I found just the gfortran and pcre libraries, too. You could do what @larryv suggests: whenever you do something with MacPorts, first move /use/local to /usr/local_tmp, then do the MacPorts stuff, then move /usr/local_tmp back to /usr/local. Should work well, even if it's a bit of a PITA to remember. Since you need at least some of the stuff in /usr/local, I'm not sure what other choice you have if you want both MacPorts and your /usr/local stuff playing nicely together.

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

Did you find a work-around for this issue? I haven't had time to look into why Octave is finding files in /usr/local ahead of /opt/local ... probably won't any time soon either!

comment:38 Changed 11 years ago by lord@…

I wiped up my /usr/local and this helped.

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

Sorry for the long delay. By "this helped" do you mean that wiping /usr/local took care of the issue? I think it should have, but I'm just confirming.

comment:40 in reply to:  39 Changed 11 years ago by lord@…

Replying to michaelld@…:

Sorry for the long delay. By "this helped" do you mean that wiping /usr/local took care of the issue? I think it should have, but I'm just confirming.

Yes, it helped. You can close the ticket now. Thanks!

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

Resolution: worksforme
Status: newclosed

Great! Thanks for the prompt reply!

Note: See TracTickets for help on using tickets.