[MacPorts] #68458: fluidsynth needs C++11

MacPorts noreply at macports.org
Fri Oct 13 23:35:17 UTC 2023


#68458: fluidsynth needs C++11
-----------------------------------------+--------------------------
 Reporter:  barracuda156                 |      Owner:  barracuda156
     Type:  defect                       |     Status:  assigned
 Priority:  Normal                       |  Milestone:
Component:  ports                        |    Version:  2.8.1
 Keywords:  tiger, leopard, snowleopard  |       Port:  fluidsynth
-----------------------------------------+--------------------------
 {{{
 --->  Configuring fluidsynth
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_fluidsynth/fluidsynth/work/build"
 && /opt/local/bin/cmake -G "CodeBlocks - Unix Makefiles"
 -DCMAKE_BUILD_TYPE=MacPorts -DCMAKE_INSTALL_PREFIX="/opt/local"
 -DCMAKE_INSTALL_NAME_DIR="/opt/local/lib"
 -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_C_COMPILER="$CC"
 -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_OBJC_COMPILER="$CC"
 -DCMAKE_OBJCXX_COMPILER="$CXX" -DCMAKE_POLICY_DEFAULT_CMP0025=NEW
 -DCMAKE_POLICY_DEFAULT_CMP0060=NEW -DCMAKE_VERBOSE_MAKEFILE=ON
 -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_FIND_FRAMEWORK=LAST
 -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_MAKE_PROGRAM=/usr/bin/make
 -DCMAKE_MODULE_PATH="/opt/local/share/cmake/Modules"
 -DCMAKE_PREFIX_PATH="/opt/local/share/cmake/Modules"
 -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON
 -DCMAKE_INSTALL_RPATH="/opt/local/lib" -Wno-dev -Denable-jack=OFF
 -Denable-dbus=OFF -Denable-pulseaudio=OFF -Denable-framework=OFF
 -DLIB_SUFFIX="" -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON
 -DCMAKE_DISABLE_FIND_PACKAGE_OpenMP=ON
 -DDEFAULT_SOUNDFONT=/opt/local/share/sounds/sf2/GeneralUser_GS_v1.471.sf2
 -DCMAKE_OSX_ARCHITECTURES="ppc" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.6"
 -DCMAKE_OSX_SYSROOT="/"
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_fluidsynth/fluidsynth/work/fluidsynth-2.3.4
 -- The C compiler identification is GNU 4.2.1
 -- The CXX compiler identification is GNU 4.2.1
 -- Checking whether C compiler has -isysroot
 -- Checking whether C compiler has -isysroot - yes
 -- Checking whether C compiler supports OSX deployment target flag
 -- Checking whether C compiler supports OSX deployment target flag - yes
 -- Detecting C compiler ABI info
 -- Detecting C compiler ABI info - done
 -- Check for working C compiler: /usr/bin/gcc-4.2 - skipped
 -- Detecting C compile features
 -- Detecting C compile features - done
 -- Checking whether CXX compiler has -isysroot
 -- Checking whether CXX compiler has -isysroot - yes
 -- Checking whether CXX compiler supports OSX deployment target flag
 -- Checking whether CXX compiler supports OSX deployment target flag - yes
 -- Detecting CXX compiler ABI info
 -- Detecting CXX compiler ABI info - done
 -- Check for working CXX compiler: /usr/bin/g++-4.2 - skipped
 -- Detecting CXX compile features
 -- Detecting CXX compile features - done
 -- Checking whether system has ANSI C header files
 -- Looking for 8 include files dlfcn.h, ..., float.h
 -- Looking for 8 include files dlfcn.h, ..., float.h - found
 -- Performing Test memchrExists
 -- Performing Test memchrExists - Success
 -- Performing Test freeExists
 -- Performing Test freeExists - Success
 -- ANSI C header files - found
 -- Looking for include file unistd.h
 -- Looking for include file unistd.h - found
 -- Looking for DIR in sys/stat.h;sys/types.h;dirent.h
 -- Looking for DIR in sys/stat.h;sys/types.h;dirent.h - found
 -- Looking for stdio.h
 -- Looking for stdio.h - found
 -- Looking for math.h
 -- Looking for math.h - found
 -- Looking for errno.h
 -- Looking for errno.h - found
 -- Looking for stdarg.h
 -- Looking for stdarg.h - found
 -- Looking for sys/mman.h
 -- Looking for sys/mman.h - found
 -- Looking for sys/time.h
 -- Looking for sys/time.h - found
 -- Looking for fcntl.h
 -- Looking for fcntl.h - found
 -- Looking for sys/socket.h
 -- Looking for sys/socket.h - found
 -- Looking for netinet/in.h
 -- Looking for netinet/in.h - found
 -- Looking for netinet/tcp.h
 -- Looking for netinet/tcp.h - found
 -- Looking for arpa/inet.h
 -- Looking for arpa/inet.h - found
 -- Looking for limits.h
 -- Looking for limits.h - found
 -- Looking for pthread.h
 -- Looking for pthread.h - found
 -- Looking for signal.h
 -- Looking for signal.h - found
 -- Looking for getopt.h
 -- Looking for getopt.h - found
 -- Check size of long long
 -- Check size of long long - done
 -- Performing Test _have_inline
 -- Performing Test _have_inline - Success
 -- Performing Test _have_vla
 -- Performing Test _have_vla - Success
 -- Performing Test HAVE_INCOMPATIBLE_POINTER_TYPES
 -- Performing Test HAVE_INCOMPATIBLE_POINTER_TYPES - Failed
 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
 -- Found Threads: TRUE
 -- Looking for CoreAudio/AudioHardware.h
 -- Looking for CoreAudio/AudioHardware.h - found
 -- Looking for CoreMIDI/MIDIServices.h
 -- Looking for CoreMIDI/MIDIServices.h - found
 -- Found GLib2: /opt/local/lib/libglib-2.0.dylib (found suitable version
 "2.78.0", minimum required is "2.6.5")
 -- Found SndFile: /opt/local/lib/libsndfile.dylib (found suitable version
 "1.2.2", minimum required is "1.0.0")
 -- Could NOT find PipeWire (missing: PipeWire_LIBRARY PipeWire_INCLUDE_DIR
 Spa_INCLUDE_DIR) (Required is at least version "0.3")
 -- Looking for ladspa.h
 -- Looking for ladspa.h - not found
 -- Could NOT find InstPatch (missing: InstPatch_LIBRARY
 InstPatch_INCLUDE_DIR) (Required is at least version "1.1.0")
 -- Found SDL2: SDL2::SDL2 (version: 2.28.2)
 -- Found Readline: /opt/local/lib/libreadline.dylib (found version "8.2")
 -- Looking for sys/soundcard.h
 -- Looking for sys/soundcard.h - not found
 -- Looking for linux/soundcard.h
 -- Looking for linux/soundcard.h - not found
 -- Looking for machine/soundcard.h
 -- Looking for machine/soundcard.h - not found
 -- Looking for sinf
 -- Looking for sinf - found
 -- Looking for cosf
 -- Looking for cosf - found
 -- Looking for fabsf
 -- Looking for fabsf - found
 -- Looking for powf
 -- Looking for powf - found
 -- Looking for sqrtf
 -- Looking for sqrtf - found
 -- Looking for logf
 -- Looking for logf - found
 -- Looking for inet_ntop
 -- Looking for inet_ntop - found
 -- Check size of socklen_t
 -- Check size of socklen_t - done
 CMake Error at cmake_admin/FluidUnitTest.cmake:92
 (target_compile_features):
   target_compile_features The compiler feature "cxx_std_11" is not known
 to
   CXX compiler

   "GNU"

   version 4.2.1.
 }}}

 P. S. Didn’t we fix it earlier?

-- 
Ticket URL: <https://trac.macports.org/ticket/68458>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list