[MacPorts] #69956: xmms2 fails to configure: err: ld: unknown option: -Bstatic

MacPorts noreply at macports.org
Sun May 12 01:36:09 UTC 2024


#69956: xmms2 fails to configure: err: ld: unknown option: -Bstatic
--------------------------+--------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.9.3
 Keywords:                |       Port:  xmms2
--------------------------+--------------------
 The port fails to configure:
 {{{
 --->  Configuring xmms2
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_xmms2/xmms2/work/xmms2-0.8DrO_o"
 && /opt/local/bin/python2.7 ./waf configure --prefix=/opt/local --conf-
 prefix=/opt/local --no-cython --without-optionals
 xmmsclient++,xmmsclient++-glib --without-optionals perl --without-
 optionals ruby --without-optionals mdns --without-plugins=daap --without-
 plugins=pulse --without-plugins=jack --nocache
 Setting top to                           :
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_xmms2/xmms2/work/xmms2-0.8DrO_o
 Setting out to                           :
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_xmms2/xmms2/work/xmms2-0.8DrO_o/_build_
 Platform code for posix                  : ok
 Checking for program gcc,cc              : /usr/bin/gcc-4.2
 Checking for program ar                  : /opt/local/bin/ar
 Checking for program g++,c++             : /usr/bin/g++-4.2
 git commit id                            : Unknown
 uncommited changed                       : no
 Checking for compiler flags -Wall        : no
 Checking for compiler flags -Wempty-body : no
 Checking for compiler flags -Wformat=2   : no
 Checking for compiler flags -Wformat-nonliteral : no
 Checking for compiler flags -Wformat-security   : no
 Checking for compiler flags -Wignored-qualifiers : no
 Checking for compiler flags -Wmissing-prototypes : no
 Checking for compiler flags -Wstrict-prototypes  : no
 Checking for compiler flags -Wtype-limits        : no
 Checking for compiler flags -Wwrite-strings      : no
 Checking for compiler flags -Wformat-extra-args  : no
 Checking for compiler flags -Wformat-zero-length : no
 Checking for compiler flags -fdiagnostics-show-option : no
 Checking for compiler flags -fdiagnostics-show-option : no
 Checking for compiler flags -Werror=implicit-function-declaration : no
 Checking for program pkg-config                                   :
 /opt/local/bin/pkg-config
 Checking for 'glib-2.0'                                           : yes
 Checking for 'speex'                                              : yes
 Checking for 'ogg'                                                : yes
 Checking for library m                                            : not
 found
 Checking for 'libxml-2.0'                                         : yes
 Checking for header sys/soundcard.h                               : not
 found
 Checking for 'ao'                                                 : yes
 Checking for 'vorbisfile'                                         : yes
 Checking for library m                                            : not
 found
 Checking for function fstatat                                     : not
 found
 Checking for 'sndfile'                                            : yes
 Checking for 'wavpack'                                            : yes
 Checking for 'libcurl'                                            : yes
 Checking for function curl_multi_strerror                         : not
 found
 Checking for header mpc/mpcdec.h                                  : not
 found
 Checking for header mpcdec/mpcdec.h                               : not
 found
 Checking for 'shout'                                              : yes
 Checking for 'ogg'                                                : yes
 Checking for 'vorbisenc'                                          : yes
 Checking for header libsmbclient.h                                : not
 found
 Checking for 'libavcodec'                                         : yes
 Checking for header avcodec.h                                     : not
 found
 Checking for header libavcodec/avcodec.h                          : not
 found
 Checking for function avcodec_free_frame                          : no
 Checking for 'libcdio_cdda'                                       : yes
 Checking for 'libdiscid'                                          : yes
 Checking for header sys/select.h                                  : not
 found
 Checking for 'libgme'                                             : not
 found
 Checking for header gme/gme.h                                     : not
 found
 Checking for 'libmpg123' >= 1.5.1                                 : yes
 Testing mpg123 with default off_t                                 : failed
 Testing mpg123 with large off_t                                   : failed
 Checking for 'sc68' >= 2.3.0                                      : not
 found
 Checking for 'libsidplay2'                                        : not
 found
 Checking for 'gio-2.0'                                            : yes
 Checking for 'alsa'                                               : not
 found
 Checking for header AudioUnit/AudioUnit.h                         : not
 found
 Checking for 'neuros-cooler-media'                                : not
 found
 Checking for 'mms'                                                : not
 found
 Checking for 'libmms'                                             : yes
 Checking for header mac/All.h                                     : not
 found
 Checking for 'mad'                                                : yes
 Checking for 'flac'                                               : yes
 Checking for header tremor/ivorbisfile.h                          : not
 found
 Checking for library m                                            : not
 found
 Checking for 'libxml-2.0'                                         : yes
 Checking for 'libofa'                                             : yes
 Checking for library m                                            : not
 found
 Checking for library m                                            : not
 found
 Checking for header windows.h                                     : not
 found
 Checking for 'fftw3f'                                             : yes
 Checking for 'samplerate'                                         : yes
 Checking for 'modplug'                                            : not
 found
 Checking for 'libmodplug'                                         : yes
 Checking for program valgrind                                     : not
 found
 Checking for program lcov                                         : not
 found
 Checking for program genhtml                                      : not
 found
 Checking for header CUnit/CUnit.h                                 : not
 found
 Checking for 'ecore'                                              : not
 found
 Checking for header ['stdio.h', 'readline/readline.h']            : not
 found
 Checking for program python                                       :
 /opt/local/bin/python2.7
 python executable '/opt/local/bin/python2.7' different from sys.executable
 '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python'
 Checking for python version                                       : 2.7.18
 Checking for library python2.7 in LIBPATH_PYEMBED                 : not
 found
 Checking for library python2.7 in LIBDIR                          : not
 found
 Checking for library python2.7 in python_LIBPL                    : not
 found
 Checking for library python2.7 in $prefix/libs                    : not
 found
 Checking for library python27 in LIBPATH_PYEMBED                  : not
 found
 Checking for library python27 in LIBDIR                           : not
 found
 Checking for library python27 in python_LIBPL                     : not
 found
 Checking for library python27 in $prefix/libs                     : not
 found
 Checking for program python2.7-config,python-config-2.7,python2.7m-config
 : /opt/local/bin/python2.7-config
 Checking for header Python.h
 : Could not find the python development headers
 Checking for '/opt/local/bin/python2.7-config'
 : yes
 Getting the python flags from python-config
 : Could not find the python development headers elsewhere
 Checking for library m
 : not found
 Checking for 'vorbisenc'
 : yes
 Checking for 'vorbis'
 : yes
 Checking for 'ogg'
 : yes
 Checking for 'libvisual-0.4'
 : not found
 Checking for 'gio-2.0'
 : yes
 Checking for 'gthread-2.0'
 : yes
 Checking for function g_file_query_file_type
 : not found
 Checking for 'gmodule-2.0' >= 2.6.0
 : yes
 Checking for 'gthread-2.0' >= 2.6.0
 : yes
 Checking for 'sqlite3' >= 3.5
 : yes
 Checking for function sin
 : not found
 The configuration failed
 }}}

 The config log suggests the build passes a weird linker flag:
 {{{
 err: ld: unknown option: -Bstatic
 }}}

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


More information about the macports-tickets mailing list