Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#40889 closed defect (wontfix)

libsndfile won't build when sed is GNU sed

Reported by: steve.linton@… Owned by: janstary (Jan Starý)
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: libsndfile

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

Just upgraded to Mavericks, deleted, cleaned and reinstalled all my ports. Everything worked until I go to installing opencv +python27 which tries to install libsndfile and I get

dyn-195-227:MacPorts-2.2.0 sal$ sudo port install opencv +python27
--->  Computing dependencies for opencv
--->  Dependencies to be installed: ffmpeg jack libsamplerate libsndfile lame libass enca fribidi libbluray libmodplug libopus libsdl xorg-libXrandr xorg-randrproto libtheora schroedinger orc speex x264 ilmbase openexr
--->  Fetching archive for libsndfile
--->  Attempting to fetch libsndfile-1.0.25_0.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/libsndfile
--->  Attempting to fetch libsndfile-1.0.25_0.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/libsndfile
--->  Attempting to fetch libsndfile-1.0.25_0.darwin_13.x86_64.tbz2 from http://packages.macports.org/libsndfile
--->  Fetching distfiles for libsndfile
--->  Verifying checksums for libsndfile
--->  Extracting libsndfile
--->  Applying patches to libsndfile
--->  Configuring libsndfile
--->  Building libsndfile
Error: org.macports.build for port libsndfile returned: command execution failed
Error: Failed to install libsndfile
Please see the log file for port libsndfile for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_libsndfile/libsndfile/main.log
Error: The following dependencies were not installed: ffmpeg jack libsamplerate libsndfile lame libass enca fribidi libbluray libmodplug libopus libsdl xorg-libXrandr xorg-randrproto libtheora schroedinger orc speex x264 ilmbase openexr
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port opencv failed
dyn-195-227:MacPorts-2.2.0 sal$ 

Attachments (1)

main.log (291.6 KB) - added by steve.linton@… 11 years ago.
Build log

Download all attachments as: .zip

Change History (10)

Changed 11 years ago by steve.linton@…

Attachment: main.log added

Build log

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

Cc: ryandesign@… added
Description: modified (diff)
Keywords: mavericks added; build failure Mavericks removed
Owner: changed from macports-tickets@… to hans@…

libsndfile builds fine for me on Maverics without any patches. Are you sure you followed the migration instructions including reinstalling MacPorts and installing the new Xcode and its command line tools correctly?

comment:2 Changed 11 years ago by steve.linton@…

I was careful about the instructions. I have Xcode 5.0.1 and rebuilt MacPorts from source then reinstalled all my ports.

In case it's useful, here's the output of port -qv installed

 apache-ant @1.9.2_0 (active) platform='darwin 13' archs='noarch'
  aquaterm @1.1.1_0 (active) platform='darwin 13' archs='x86_64'
  aspell @0.60.6.1_0-nls (active) platform='darwin 13' archs='x86_64'
  audiofile @0.3.6_1 (active) platform='darwin 13' archs='x86_64'
  autoconf @2.69_2 (active) platform='darwin 13' archs='noarch'
  automake @1.14_0 (active) platform='darwin 13' archs='noarch'
  bison @2.7.1_0 (active) platform='darwin 13' archs='x86_64'
  boehmgc-devel @7.3alpha2_1 (active) platform='darwin 13' archs='x86_64'
  boost @1.54.0_0+no_single+no_static+python27+universal (active) platform='darwin 13' archs='i386 x86_64'
  boost-jam @3.1.18_0+universal (active) platform='darwin 13' archs='i386 x86_64'
  bzip2 @1.0.6_0+universal (active) platform='darwin 13' archs='i386 x86_64'
  cairo @1.12.16_1+x11 (active) platform='darwin 13' archs='x86_64'
  cctools @839_2+llvm33+universal (active) platform='darwin 13' archs='i386 x86_64'
  cctools-headers @839_0 (active) platform='darwin 13' archs='noarch'
  clang-3.3 @3.3_1+analyzer+python27+universal (active) platform='darwin 13' archs='i386 x86_64'
  clang_select @0.1_0 (active) platform='darwin 13' archs='noarch'
  cloog @0.18.0_0+universal (active) platform='darwin 13' archs='i386 x86_64'
  cmake @2.8.12_0+universal (active) platform='darwin 13' archs='i386 x86_64'
  coreutils @8.21_0 (active) platform='darwin 13' archs='x86_64'
  cppunit @1.12.1_0 (active) platform='darwin 13' archs='x86_64'
  curl @7.33.0_0+ssl+universal (active) platform='darwin 13' archs='i386 x86_64'
  curl-ca-bundle @7.33.0_0 (active) platform='darwin 13' archs='noarch'
  db46 @4.6.21_8+universal (active) platform='darwin 13' archs='i386 x86_64'
  db_select @0.1_2 (active) platform='darwin 13' archs='noarch'
  desktop-file-utils @0.15_1 (active) platform='darwin 13' archs='x86_64'
  detex @2.8_1 (active) platform='darwin 13' archs='x86_64'
  dirac @1.0.2_1 (active) platform='darwin 13' archs='x86_64'
  docbook-xml @5.0_2 (active) platform='darwin 13' archs='noarch'
  docbook-xml-4.1.2 @5.0_1 (active) platform='darwin 13' archs='noarch'
  docbook-xml-4.2 @5.0_1 (active) platform='darwin 13' archs='noarch'
  docbook-xml-4.3 @5.0_1 (active) platform='darwin 13' archs='noarch'
  docbook-xml-4.4 @5.0_1 (active) platform='darwin 13' archs='noarch'
  docbook-xml-4.5 @5.0_1 (active) platform='darwin 13' archs='noarch'
  docbook-xml-5.0 @5.0_1 (active) platform='darwin 13' archs='noarch'
  docbook-xsl @1.78.1_0 (active) platform='darwin 13' archs='noarch'
  dvipng @1.14_7 (active) platform='darwin 13' archs='x86_64'
  dyld-headers @210.2.3_0 (active) platform='darwin 13' archs='noarch'
  enca @1.13_0 (active) platform='darwin 13' archs='x86_64'
  expat @2.1.0_0 platform='darwin 13' archs='x86_64'
  expat @2.1.0_0+universal (active) platform='darwin 13' archs='i386 x86_64'
  fftw-3 @3.3.3_3 (active) platform='darwin 13' archs='x86_64'
  findutils @4.4.2_1 (active) platform='darwin 13' archs='x86_64'
  flac @1.3.0_0 platform='darwin 13' archs='x86_64'
  flac @1.3.0_0+universal (active) platform='darwin 13' archs='i386 x86_64'
  flex @2.5.37_1 platform='darwin 13' archs='x86_64'
  flex @2.5.37_1+universal (active) platform='darwin 13' archs='i386 x86_64'
  fontconfig @2.11.0_0+universal (active) platform='darwin 13' archs='i386 x86_64'
  fop @1.1_0 (active) platform='darwin 13' archs='noarch'
  freetype @2.5.0_1+universal (active) platform='darwin 13' archs='i386 x86_64'
  fribidi @0.19.5_0 (active) platform='darwin 13' archs='x86_64'
  gcc47 @4.7.3_3+universal (active) platform='darwin 13' archs='i386 x86_64'
  gcc48 @4.8.1_3 (active) platform='darwin 13' archs='x86_64'
  gcc_select @0.1_8 (active) platform='darwin 13' archs='noarch'
  gd2 @2.1.0_3+x11 (active) platform='darwin 13' archs='x86_64'
  gdb @7.6_0+universal (active) platform='darwin 13' archs='i386 x86_64'
  gdbm @1.10_2 platform='darwin 13' archs='x86_64'
  gdbm @1.10_2+universal (active) platform='darwin 13' archs='i386 x86_64'
  getopt @1.1.5_1 (active) platform='darwin 13' archs='x86_64'
  gettext @0.18.3.1_1 platform='darwin 13' archs='x86_64'
  gettext @0.18.3.1_1+universal (active) platform='darwin 13' archs='i386 x86_64'
  ghostscript @9.10_0 (active) platform='darwin 13' archs='x86_64'
  glib2 @2.38.1_0 (active) platform='darwin 13' archs='x86_64'
  glpk @4.48_0+universal (active) platform='darwin 13' archs='i386 x86_64'
  gmake @3.82_0+universal (active) platform='darwin 13' archs='i386 x86_64'
  gmp @5.1.2_0+universal (active) platform='darwin 13' archs='i386 x86_64'
  gnuplot @4.6.4_0+aquaterm+luaterm+wxwidgets+x11-pangocairo (active) platform='darwin 13' archs='x86_64'
  gnutls @3.1.10_1 (active) platform='darwin 13' archs='x86_64'
  gobject-introspection @1.38.0_1 (active) platform='darwin 13' archs='x86_64'
  gperf @3.0.4_2 platform='darwin 13' archs='x86_64'
  gperf @3.0.4_2+universal (active) platform='darwin 13' archs='i386 x86_64'
  graphite2 @1.2.3_0 (active) platform='darwin 13' archs='x86_64'
  graphviz @2.34.0_0+pangocairo+x11 (active) platform='darwin 13' archs='x86_64'
  groff @1.22.2_1 (active) platform='darwin 13' archs='x86_64'
  gsed @4.2.2_0 (active) platform='darwin 13' archs='x86_64'
  gts @0.7.6_2 (active) platform='darwin 13' archs='x86_64'
  hamcrest-core @1.2_0 (active) platform='darwin 13' archs='noarch'
  harfbuzz @0.9.22_0 (active) platform='darwin 13' archs='x86_64'
  harfbuzz-icu @0.9.22_0 (active) platform='darwin 13' archs='x86_64'
  icu @51.2_1+universal (active) platform='darwin 13' archs='i386 x86_64'
  ilmbase @1.0.2_0 (active) platform='darwin 13' archs='x86_64'
  imake @1.0.5_1 (active) platform='darwin 13' archs='x86_64'
  isl @0.12_0+universal (active) platform='darwin 13' archs='i386 x86_64'
  jasper @1.900.1_10 (active) platform='darwin 13' archs='x86_64'
  jbig2dec @0.11_1 (active) platform='darwin 13' archs='x86_64'
  jbigkit @2.0_2 (active) platform='darwin 13' archs='x86_64'
  jpeg @9_1 (active) platform='darwin 13' archs='x86_64'
  junit @4.6_2 (active) platform='darwin 13' archs='noarch'
  lame @3.99.5_0 (active) platform='darwin 13' archs='x86_64'
  latexdiff @1.0.3_0 (active) platform='darwin 13' archs='noarch'
  latexmk @4.37_0 (active) platform='darwin 13' archs='noarch'
  lcdf-typetools @2.99_0+texlive (active) platform='darwin 13' archs='x86_64'
  lcms2 @2.4_2 (active) platform='darwin 13' archs='x86_64'
  ld64 @136_2+llvm33 platform='darwin 13' archs='x86_64'
  ld64 @136_2+llvm33+universal (active) platform='darwin 13' archs='i386 x86_64'
  libass @0.10.1_0 (active) platform='darwin 13' archs='x86_64'
  libatomic_ops-devel @7.3alpha2_0 (active) platform='darwin 13' archs='x86_64'
  libbluray @0.3.0_0 (active) platform='darwin 13' archs='x86_64'
  libedit @20121213-3.0_0+universal (active) platform='darwin 13' archs='i386 x86_64'
  libffi @3.0.13_0 platform='darwin 13' archs='x86_64'
  libffi @3.0.13_0+universal (active) platform='darwin 13' archs='i386 x86_64'
  libgcc @4.8.1_3+universal (active) platform='darwin 13' archs='i386 x86_64'
  libgcrypt @1.5.3_0 (active) platform='darwin 13' archs='x86_64'
  libgpg-error @1.12_0 (active) platform='darwin 13' archs='x86_64'
  libiconv @1.14_0 platform='darwin 13' archs='x86_64'
  libiconv @1.14_0+universal (active) platform='darwin 13' archs='i386 x86_64'
  libidn @1.26_0+universal (active) platform='darwin 13' archs='i386 x86_64'
  libLASi @1.1.1_0 (active) platform='darwin 13' archs='x86_64'
  libmodplug @0.8.8.4_0 (active) platform='darwin 13' archs='x86_64'
  libmpc @1.0.1_0+universal (active) platform='darwin 13' archs='i386 x86_64'
  libogg @1.3.1_0 platform='darwin 13' archs='x86_64'
  libogg @1.3.1_0+universal (active) platform='darwin 13' archs='i386 x86_64'
  libopus @1.0.3_0 (active) platform='darwin 13' archs='x86_64'
  libpaper @1.1.24_0 (active) platform='darwin 13' archs='x86_64'
  libpixman @0.30.2_0 (active) platform='darwin 13' archs='x86_64'
  libpng @1.5.17_0+universal (active) platform='darwin 13' archs='i386 x86_64'
  libsdl @1.2.15_3+x11 (active) platform='darwin 13' archs='x86_64'
  libtasn1 @2.11_0 (active) platform='darwin 13' archs='x86_64'
  libtheora @1.1.1_1 (active) platform='darwin 13' archs='x86_64'
  libtool @2.4.2_3 platform='darwin 13' archs='x86_64'
  libtool @2.4.2_3+universal (active) platform='darwin 13' archs='i386 x86_64'
  libunwind-headers @35.1_1 (active) platform='darwin 13' archs='noarch'
  libvorbis @1.3.3_0 platform='darwin 13' archs='x86_64'
  libvorbis @1.3.3_0+universal (active) platform='darwin 13' archs='i386 x86_64'
  libvpx @1.2.0_1 (active) platform='darwin 13' archs='x86_64'
  libxml2 @2.9.1_0 (active) platform='darwin 13' archs='x86_64'
  libxslt @1.1.28_0 (active) platform='darwin 13' archs='x86_64'
  libzzip @0.13.62_0 (active) platform='darwin 13' archs='x86_64'
  llvm-3.3 @3.3_1 platform='darwin 13' archs='x86_64'
  llvm-3.3 @3.3_1+universal (active) platform='darwin 13' archs='i386 x86_64'
  llvm-gcc42 @2336.11_1 (active) platform='darwin 13' archs='x86_64'
  llvm_select @0.2_0 (active) platform='darwin 13' archs='noarch'
  lua @5.2.2_1 (active) platform='darwin 13' archs='x86_64'
  lynx @2.8.7rel.2_1+ssl (active) platform='darwin 13' archs='x86_64'
  m4 @1.4.16_0 platform='darwin 13' archs='x86_64'
  m4 @1.4.16_0+universal (active) platform='darwin 13' archs='i386 x86_64'
  mercurial @2.7.2_0 (active) platform='darwin 13' archs='x86_64'
  mpfr @3.1.1-p2_0+universal (active) platform='darwin 13' archs='i386 x86_64'
  ncftp @3.2.5_0 (active) platform='darwin 13' archs='x86_64'
  ncurses @5.9_2 platform='darwin 13' archs='x86_64'
  ncurses @5.9_2+universal (active) platform='darwin 13' archs='i386 x86_64'
  netpbm @10.64.01_1 (active) platform='darwin 13' archs='x86_64'
  nettle @2.6_1 (active) platform='darwin 13' archs='x86_64'
  nosetests_select @0.1_0 (active) platform='darwin 13' archs='noarch'
  openexr @1.7.0_0 (active) platform='darwin 13' archs='x86_64'
  openjpeg15 @1.5.0_0 (active) platform='darwin 13' archs='x86_64'
  openssl @1.0.1e_1 platform='darwin 13' archs='x86_64'
  openssl @1.0.1e_1+universal (active) platform='darwin 13' archs='i386 x86_64'
  orc @0.4.17_0 (active) platform='darwin 13' archs='x86_64'
  p5.12-algorithm-diff @1.190.200_3 (active) platform='darwin 13' archs='noarch'
  p11-kit @0.20.1_0 (active) platform='darwin 13' archs='x86_64'
  pango @1.36.0_0+x11 (active) platform='darwin 13' archs='x86_64'
  pari @2.5.3_0 (active) platform='darwin 13' archs='x86_64'
  pcre @8.33_0 (active) platform='darwin 13' archs='x86_64'
  pdfjam @2.08_0 (active) platform='darwin 13' archs='noarch'
  pdflib @7.0.5_1 (active) platform='darwin 13' archs='x86_64'
  pdftk @1.44_0+gcc47 (active) platform='darwin 13' archs='x86_64'
  perl5 @5.12.4_0+perl5_12 (active) platform='darwin 13' archs='noarch'
  perl5.12 @5.12.4_2 platform='darwin 13' archs='x86_64'
  perl5.12 @5.12.4_2+universal (active) platform='darwin 13' archs='i386 x86_64'
  perl5.16 @5.16.1_3 (active) platform='darwin 13' archs='x86_64'
  pgf @2.10_0 (active) platform='darwin 13' archs='noarch'
  pkgconfig @0.28_0 platform='darwin 13' archs='x86_64'
  pkgconfig @0.28_0+universal (active) platform='darwin 13' archs='i386 x86_64'
  poppler @0.24.2_0 (active) platform='darwin 13' archs='x86_64'
  poppler-data @0.4.6_0 (active) platform='darwin 13' archs='noarch'
  popt @1.16_0 (active) platform='darwin 13' archs='x86_64'
  ppl @1.0_1+universal (active) platform='darwin 13' archs='i386 x86_64'
  ps2eps @1.68_0 (active) platform='darwin 13' archs='x86_64'
  psutils @p17_1 (active) platform='darwin 13' archs='x86_64'
  py27-docutils @0.11_0 (active) platform='darwin 13' archs='noarch'
  py27-nose @1.3.0_0 (active) platform='darwin 13' archs='noarch'
  py27-numpy @1.7.1_0 (active) platform='darwin 13' archs='x86_64'
  py27-roman @2.0.0_0 (active) platform='darwin 13' archs='noarch'
  py27-scipy @0.13.0_0+gcc48 (active) platform='darwin 13' archs='x86_64'
  py27-setuptools @1.1.6_0 (active) platform='darwin 13' archs='noarch'
  python26 @2.6.8_0 (active) platform='darwin 13' archs='x86_64'
  python27 @2.7.5_1 platform='darwin 13' archs='x86_64'
  python27 @2.7.5_1+universal (active) platform='darwin 13' archs='i386 x86_64'
  python_select @0.3_2 (active) platform='darwin 13' archs='noarch'
  readline @6.2.000_0 platform='darwin 13' archs='x86_64'
  readline @6.2.000_0+universal (active) platform='darwin 13' archs='i386 x86_64'
  rsync @3.0.9_2 (active) platform='darwin 13' archs='x86_64'
  schroedinger @1.0.11_0 (active) platform='darwin 13' archs='x86_64'
  scons @2.3.0_0 (active) platform='darwin 13' archs='noarch'
  speex @1.2rc1_0 (active) platform='darwin 13' archs='x86_64'
  sqlite3 @3.8.0.2_0+universal (active) platform='darwin 13' archs='i386 x86_64'
  SuiteSparse @4.1.0_0 (active) platform='darwin 13' archs='x86_64'
  swig @2.0.10_0 (active) platform='darwin 13' archs='x86_64'
  swig-python @2.0.10_0 (active) platform='darwin 13' archs='noarch'
  t1lib @5.1.2_2 (active) platform='darwin 13' archs='x86_64'
  t1utils @1.37_0 (active) platform='darwin 13' archs='x86_64'
  tcl @8.6.1_0+corefoundation+threads (active) platform='darwin 13' archs='x86_64'
  texi2html @5.0_0 (active) platform='darwin 13' archs='noarch'
  texinfo @4.13_2 (active) platform='darwin 13' archs='x86_64'
  texlive @2013_0+doc+full (active) platform='darwin 13' archs='noarch'
  texlive-basic @30847_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-bibtex-extra @30736_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-bin @2013_3+x11 (active) platform='darwin 13' archs='x86_64'
  texlive-bin-extra @30842_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-common @2013_0 (active) platform='darwin 13' archs='noarch'
  texlive-context @30458_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-fonts-extra @30782_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-fonts-recommended @30307_1+doc (active) platform='darwin 13' archs='noarch'
  texlive-fontutils @30842_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-formats-extra @30396_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-games @30558_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-generic-extra @30396_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-generic-recommended @30396_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-htmlxml @30842_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-humanities @30815_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-lang-african @30372_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-lang-arabic @30816_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-lang-cjk @30842_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-lang-cyrillic @30653_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-lang-czechslovak @30842_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-lang-english @30780_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-lang-european @30457_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-lang-french @30777_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-lang-german @30791_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-lang-greek @30813_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-lang-indic @30842_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-lang-italian @30726_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-lang-other @30661_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-lang-polish @30749_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-lang-portuguese @30372_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-lang-spanish @30372_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-latex @30738_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-latex-extra @30788_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-latex-recommended @30811_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-luatex @30790_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-math-extra @30747_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-metapost @30842_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-music @30842_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-omega @30842_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-pictures @30637_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-plain-extra @30395_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-pstricks @30617_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-publishers @30737_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-science @30307_0+doc (active) platform='darwin 13' archs='noarch'
  texlive-xetex @30842_0+doc (active) platform='darwin 13' archs='noarch'
  tiff @4.0.3_1 (active) platform='darwin 13' archs='x86_64'
  tk @8.6.1_0+quartz (active) platform='darwin 13' archs='x86_64'
  transfig @3.2.5d_4 (active) platform='darwin 13' archs='x86_64'
  unrar @4.2.4_0 (active) platform='darwin 13' archs='x86_64'
  urw-fonts @1.0.7pre44_0 (active) platform='darwin 13' archs='noarch'
  webp @0.3.1_0 (active) platform='darwin 13' archs='x86_64'
  wget @1.14_5+ssl (active) platform='darwin 13' archs='x86_64'
  wxWidgets-3.0 @3.0.0_2 (active) platform='darwin 13' archs='x86_64'
  wxWidgets_select @1.0_0 (active) platform='darwin 13' archs='noarch'
  x264 @20130327_0 (active) platform='darwin 13' archs='x86_64'
  Xaw3d @1.6.2_0 (active) platform='darwin 13' archs='x86_64'
  xfig @3.2.5b_7 (active) platform='darwin 13' archs='x86_64'
  Xft2 @2.3.1_0 (active) platform='darwin 13' archs='x86_64'
  xmlcatmgr @2.2_1 (active) platform='darwin 13' archs='x86_64'
  xmlto @0.0.25_1 (active) platform='darwin 13' archs='x86_64'
  xorg-bigreqsproto @1.1.2_0 (active) platform='darwin 13' archs='noarch'
  xorg-cf-files @1.0.4_2 (active) platform='darwin 13' archs='noarch'
  xorg-fixesproto @5.0_0 (active) platform='darwin 13' archs='noarch'
  xorg-inputproto @2.3_0 (active) platform='darwin 13' archs='noarch'
  xorg-kbproto @1.0.6_0 (active) platform='darwin 13' archs='noarch'
  xorg-libice @1.0.8_0 (active) platform='darwin 13' archs='x86_64'
  xorg-libpthread-stubs @0.3_0 (active) platform='darwin 13' archs='noarch'
  xorg-libsm @1.2.1_0 (active) platform='darwin 13' archs='x86_64'
  xorg-libX11 @1.6.2_0 (active) platform='darwin 13' archs='x86_64'
  xorg-libXau @1.0.8_0 (active) platform='darwin 13' archs='x86_64'
  xorg-libXaw @1.0.12_0 (active) platform='darwin 13' archs='x86_64'
  xorg-libxcb @1.9.1_0+python27 (active) platform='darwin 13' archs='x86_64'
  xorg-libXdmcp @1.1.1_0 (active) platform='darwin 13' archs='x86_64'
  xorg-libXext @1.3.2_0 (active) platform='darwin 13' archs='x86_64'
  xorg-libXfixes @5.0.1_0 (active) platform='darwin 13' archs='x86_64'
  xorg-libXi @1.7.2_0 (active) platform='darwin 13' archs='x86_64'
  xorg-libXmu @1.1.2_0 (active) platform='darwin 13' archs='x86_64'
  xorg-libXp @1.0.2_0 (active) platform='darwin 13' archs='x86_64'
  xorg-libXrandr @1.4.2_0 (active) platform='darwin 13' archs='x86_64'
  xorg-libXt @1.1.4_0 (active) platform='darwin 13' archs='x86_64'
  xorg-printproto @1.0.5_0 (active) platform='darwin 13' archs='noarch'
  xorg-randrproto @1.4.0_0 (active) platform='darwin 13' archs='noarch'
  xorg-renderproto @0.11.1_0 (active) platform='darwin 13' archs='noarch'
  xorg-util-macros @1.17.1_0 (active) platform='darwin 13' archs='noarch'
  xorg-xcb-proto @1.8_0+python27 (active) platform='darwin 13' archs='noarch'
  xorg-xcb-util @0.3.9_0 (active) platform='darwin 13' archs='x86_64'
  xorg-xcmiscproto @1.2.2_0 (active) platform='darwin 13' archs='noarch'
  xorg-xextproto @7.2.1_0 (active) platform='darwin 13' archs='noarch'
  xorg-xf86bigfontproto @1.2.0_0 (active) platform='darwin 13' archs='noarch'
  xorg-xproto @7.0.24_0 (active) platform='darwin 13' archs='noarch'
  xorg-xtrans @1.2.7_0 (active) platform='darwin 13' archs='noarch'
  xpm @3.5.11_0 (active) platform='darwin 13' archs='x86_64'
  xrender @0.9.8_0 (active) platform='darwin 13' archs='x86_64'
  xv @3.10a_11 (active) platform='darwin 13' archs='x86_64'
  XviD @1.3.2_3 (active) platform='darwin 13' archs='x86_64'
  xz @5.0.5_0 platform='darwin 13' archs='x86_64'
  xz @5.0.5_0+universal (active) platform='darwin 13' archs='i386 x86_64'
  yasm @1.2.0_0 (active) platform='darwin 13' archs='x86_64'
  zlib @1.2.8_0 platform='darwin 13' archs='x86_64'
  zlib @1.2.8_0+universal (active) platform='darwin 13' archs='i386 x86_64'

Could this be something to do with the ports that are present as universal and non-universal versions, like gettext?

comment:3 in reply to:  2 ; Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: mavericks removed
Summary: libsndfile won't build under Maverickslibsndfile won't build when sed is GNU sed

Replying to steve.linton@…:

Could this be something to do with the ports that are present as universal and non-universal versions, like gettext?

No, inactive ports have no effect.

Comparing your configure output with mine, I see mine says:

:info:configure checking for a sed that does not truncate output... /opt/local/bin/gsed

whereas yours says:

:info:configure checking for a sed that does not truncate output... /opt/local/bin/sed

I believe this is significant. Where did /opt/local/bin/sed come from? I'm not aware of any port that provides this file. Use port provides /opt/local/bin/sed to find out if a port provided it. If not, did you perhaps create it as a symlink to gsed? You can use ls -l /opt/local/bin/sed to see if this is so. If it is, then I believe that explains the problem; I am able to reproduce the problem if I create such a symlink.

On OS X, sed is supposed to be BSD sed, but by creating a symlink to gsed you've changed sed into GNU sed.

Further on, my configure output contains:

:info:configure checking for version of /usr/bin/clang... 4.2.1
:info:configure checking if /usr/bin/clang accepts -Wextra... yes
:info:configure checking if /usr/bin/clang++ accepts -Wextra... yes

but yours contains:

:info:configure checking for version of /usr/bin/clang... 4.2.1
:info:configure configure: WARNING: ****************************************************************
:info:configure configure: WARNING: ** GCC version 4.2 warns about the inline keyword for no good **
:info:configure configure: WARNING: ** reason but the maintainers do not see it as a bug.         **
:info:configure configure: WARNING: ** See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33995      **
:info:configure configure: WARNING: ** Using -fgnu-inline to avoid this stupidity.                **
:info:configure configure: WARNING: ****************************************************************
:info:configure checking if /usr/bin/clang accepts -fgnu89-inline... yes
:info:configure checking if /usr/bin/clang accepts -Wextra... yes
:info:configure checking if /usr/bin/clang++ accepts -Wextra... yes

It seems your build has decided it needs to use -fgnu-inline, and I believe this is why your build ultimately failed.

Looking into why this difference exists, I believe I've found multiple errors in the libsndfile configure script:

  • Its method of detecting GCC is flawed; it incorrectly identifies clang as GCC
  • Its method of detecting the GCC version number is flawed; it doesn't work correctly when using BSD sed

Happily, on normal OS X systems where sed is BSD sed, two wrongs make a right, and the configure script continues on its way. But on your system, where I'm presuming sed is GNU sed, the GCC version checking code works correctly, and therefore adds a flag which would presumably be correct for GCC 4.2.x but which is not correct for clang.

The solution, assuming I'm right that /opt/local/bin/sed doesn't belong there, is to remove it, clean libsndfile, and try again.

We could also patch the configure script to remove the incorrect check since on normal OS X systems it has evidently never taken effect.

If you added the /opt/local/bin/sed symlink because you would like to be able to type "sed" in the terminal and have it be GNU sed, then the intended way for you to achieve that is to add /opt/local/libexec/gnubin to your PATH environment variable. Another option would be to define a shell alias in your shell startup file. Both of these methods would not have the deleterious impact that creating an /opt/local/bin/sed symlink has.

comment:4 Changed 11 years ago by steve.linton@…

Thanks. That fixes it. No idea where the sed symlink came from. No current port installed it, but I have had this /opt tree a long time.

comment:5 in reply to:  3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign@…:

  • Its method of detecting the GCC version number is flawed; it doesn't work correctly when using BSD sed

It looks like this part of the problem (and only this part of the problem) was already fixed upstream, meaning that the current development version of libsndfile fails to build on OS X regardless of which sed you have. Hooray.

comment:6 Changed 11 years ago by janstary (Jan Starý)

I don't get it. Does the current development version of libsndfile correctly detect that you are using clang and not GCC?

How exactly does the current development version fail on your system now?

comment:7 Changed 11 years ago by janstary (Jan Starý)

On my 10.4, libsndfile 1.0.25's configure script finds /usr/bin/sed and cinfigures and builds fine using that.

Steve, can you please try to configure and build both the 1.0.25 release and the current git version both with and without having GNU sed linked to your PATH?

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

Resolution: wontfix
Status: newclosed

Steve has already resolved the problem by deleting the /opt/local/bin/sed symlink he created. Since it is a user error to make sed GNU sed on OS X, there's nothing more we need to do in MacPorts for now.

I have filed upstream issue 49 so that the developer can resolve the remaining issues with his code before releasing 1.0.26. If he doesn't, we can take further action when updating the port to that version.

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

Happily, upstream has fixed this now, so 1.0.26 should include these fixes.

Last edited 11 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)
Note: See TracTickets for help on using tickets.