[MacPorts] #71843: audacious-plugins does not find json-glib

MacPorts noreply at macports.org
Thu Jan 16 01:38:49 UTC 2025


#71843: audacious-plugins does not find json-glib
--------------------------+-------------------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.10.5
 Keywords:                |       Port:  audacious-plugins
--------------------------+-------------------------------
 {{{
 --->  Configuring audacious-plugins
 Warning: ccache_dir /opt/local/var/macports/build/.ccache could not be
 initialized; disabling ccache: couldn't execute "ccache": no such file or
 directory
 Executing:  cd "/opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_audio_audacious-plugins/audacious-plugins/work
 /audacious-plugins-4.4.2" && /opt/local/bin/meson setup
 --prefix=/opt/local -Dgtk=true -Dgtk2=false -Dqt=false -Dqt5=false
 -Dcue=true -Dmms=true -Dneon=true -Daac=true -Dadplug=true
 -Damidiplug=true -Dcdaudio=true -Dconsole=true -Dffaudio=true -Dflac=true
 -Dmodplug=true -Dmpg123=true -Dopenmpt=true -Dopus=true -Dsid=true
 -Dsndfile=true -Dvorbis=true -Dwavpack=true -Dalsa=false -Dcoreaudio=true
 -Dfilewriter=true -Dfilewriter-flac=true -Dfilewriter-mp3=true
 -Dfilewriter-ogg=true -Djack=false -Doss=false -Dpipewire=false
 -Dpulse=false -Dqtaudio=false -Dsdlout=true -Dsndio=false -Dampache=false
 -Daosd=true -Dhotkey=true -Dlirc=false -Dmac-media-keys=true -Dmpris2=true
 -Dnotify=true -Dscrobbler2=true -Dsongchange=true -Dstreamtuner=false
 -Dbs2b=true -Dresample=true -Dsoxr=true -Dspeedpitch=true -Dgl-
 spectrum=true -Dvumeter=false -Dmoonstone=false
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_audio_audacious-
 plugins/audacious-plugins/work/audacious-plugins-4.4.2
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_audio_audacious-
 plugins/audacious-plugins/work/build --wrap-mode=default
 The Meson build system
 Version: 1.6.1
 Source dir: /opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_audio_audacious-plugins/audacious-plugins/work
 /audacious-plugins-4.4.2
 Build dir: /opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_audio_audacious-plugins/audacious-
 plugins/work/build
 Build type: native build
 Project name: audacious-plugins
 Project version: 4.4.2
 C compiler for the host machine: /opt/local/bin/gcc-mp-14 (gcc 14.2.0
 "gcc-mp-14 (MacPorts gcc14 14.2.0_1+G5+stdlib_flag) 14.2.0")
 C linker for the host machine: /opt/local/bin/gcc-mp-14 ld64 97.17
 C++ compiler for the host machine: /opt/local/bin/g++-mp-14 (gcc 14.2.0
 "g++-mp-14 (MacPorts gcc14 14.2.0_1+G5+stdlib_flag) 14.2.0")
 C++ linker for the host machine: /opt/local/bin/g++-mp-14 ld64 97.17
 Host machine cpu family: ppc
 Host machine cpu: power macintosh
 Objective-C compiler for the host machine: /opt/local/bin/gcc-mp-14 (gcc
 14.2.0)
 Objective-C linker for the host machine: /opt/local/bin/gcc-mp-14 ld64
 97.17
 Objective-C++ compiler for the host machine: /opt/local/bin/g++-mp-14 (gcc
 14.2.0)
 Objective-C++ linker for the host machine: /opt/local/bin/g++-mp-14 ld64
 97.17
 Found pkg-config: YES (/opt/local/bin/pkg-config) 0.29.2
 Run-time dependency audacious found: YES 4.4.2
 Run-time dependency glib-2.0 found: YES 2.78.4
 Run-time dependency gmodule-2.0 found: YES 2.78.4
 Run-time dependency zlib found: YES 1.3.1
 Library m found: YES
 Run-time dependency samplerate found: YES 0.2.2
 Run-time dependency libxml-2.0 found: YES 2.13.5
 Run-time dependency x11 found: YES 1.8.10
 Run-time dependency gtk+-3.0 found: YES 3.24.43
 Compiler for C supports arguments -ffast-math: YES
 Compiler for C supports arguments -Wtype-limits: YES
 Compiler for C supports arguments -Wno-stringop-truncation: YES
 Compiler for C supports arguments -fvisibility=hidden: YES
 Compiler for C++ supports arguments -ffast-math: YES
 Compiler for C++ supports arguments -Wtype-limits: YES
 Compiler for C++ supports arguments -Wno-stringop-truncation: YES
 Compiler for C++ supports arguments -fvisibility=hidden: YES
 Compiler for C++ supports arguments -Wno-non-virtual-dtor: YES
 Compiler for C++ supports arguments -Woverloaded-virtual: YES
 Compiler for Objective-C supports arguments -ffast-math: YES (cached)
 Compiler for Objective-C supports arguments -Wtype-limits: YES (cached)
 Compiler for Objective-C supports arguments -Wno-stringop-truncation: YES
 (cached)
 Compiler for Objective-C supports arguments -fvisibility=hidden: YES
 (cached)
 Compiler for Objective-C++ supports arguments -ffast-math: YES
 Compiler for Objective-C++ supports arguments -Wtype-limits: YES
 Compiler for Objective-C++ supports arguments -Wno-stringop-truncation:
 YES
 Compiler for Objective-C++ supports arguments -fvisibility=hidden: YES
 Compiler for Objective-C++ supports arguments -Wno-non-virtual-dtor: YES
 Compiler for Objective-C++ supports arguments -Woverloaded-virtual: YES
 Compiler for C++ supports arguments -fvisibility=default: YES
 Run-time dependency intl found: YES
 Compiler for C++ supports arguments -Wno-sign-compare: YES
 Compiler for C++ supports arguments -Wno-shift-negative-value: YES
 Compiler for C++ supports arguments -Wno-shift-negative-value: YES
 (cached)
 Run-time dependency libbs2b found: YES 3.1.0
 Run-time dependency soxr found: YES 0.1.3
 Run-time dependency gio-2.0 found: YES 2.78.4
 Run-time dependency libmms found: YES 0.6.4
 Run-time dependency neon found: YES 0.33.0
 Run-time dependency libcue found: YES 2.3.0
 Run-time dependency libnotify found: YES 0.8.3
 Run-time dependency gdk-pixbuf-2.0 found: YES 2.42.12
 Found CMake: /opt/local/bin/cmake (3.31.3)
 Run-time dependency json-glib-1.0 found: NO (tried pkgconfig, framework
 and cmake)

 src/lyrics-gtk/meson.build:3:16: ERROR: Dependency "json-glib-1.0" not
 found, tried pkgconfig, framework and cmake

 A full log can be found at /opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_audio_audacious-plugins/audacious-
 plugins/work/build/meson-logs/meson-log.txt
 Command failed:  cd "/opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_audio_audacious-plugins/audacious-plugins/work
 /audacious-plugins-4.4.2" && /opt/local/bin/meson setup
 --prefix=/opt/local -Dgtk=true -Dgtk2=false -Dqt=false -Dqt5=false
 -Dcue=true -Dmms=true -Dneon=true -Daac=true -Dadplug=true
 -Damidiplug=true -Dcdaudio=true -Dconsole=true -Dffaudio=true -Dflac=true
 -Dmodplug=true -Dmpg123=true -Dopenmpt=true -Dopus=true -Dsid=true
 -Dsndfile=true -Dvorbis=true -Dwavpack=true -Dalsa=false -Dcoreaudio=true
 -Dfilewriter=true -Dfilewriter-flac=true -Dfilewriter-mp3=true
 -Dfilewriter-ogg=true -Djack=false -Doss=false -Dpipewire=false
 -Dpulse=false -Dqtaudio=false -Dsdlout=true -Dsndio=false -Dampache=false
 -Daosd=true -Dhotkey=true -Dlirc=false -Dmac-media-keys=true -Dmpris2=true
 -Dnotify=true -Dscrobbler2=true -Dsongchange=true -Dstreamtuner=false
 -Dbs2b=true -Dresample=true -Dsoxr=true -Dspeedpitch=true -Dgl-
 spectrum=true -Dvumeter=false -Dmoonstone=false
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_audio_audacious-
 plugins/audacious-plugins/work/audacious-plugins-4.4.2
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_audio_audacious-
 plugins/audacious-plugins/work/build --wrap-mode=default
 Exit code: 1
 }}}

 Relevant part of meson log:
 {{{
 Determining dependency 'json-glib-1.0' with pkg-config executable
 '/opt/local/bin/pkg-config'
 env[PKG_CONFIG_PATH]: /opt/local/libexec/ffmpeg7/lib/pkgconfig
 env[PKG_CONFIG]: /opt/local/bin/pkg-config
 -----------
 Called: `/opt/local/bin/pkg-config --modversion json-glib-1.0` -> 1
 stderr:
 Package json-glib-1.0 was not found in the pkg-config search path.
 Perhaps you should add the directory containing `json-glib-1.0.pc'
 to the PKG_CONFIG_PATH environment variable
 No package 'json-glib-1.0' found
 -----------
 Finding framework path by running:  /opt/local/bin/g++-mp-14 -v -E - -pipe
 -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -I/opt/local/include

 CMake binary for host machine is not cached
 CMake binary missing from cross or native file, or env var undefined.
 Trying a default CMake fallback at cmake
 Found CMake: /opt/local/bin/cmake (3.31.3)
 Extracting basic cmake information
 CMake Toolchain: Calling CMake once to generate the compiler state
 Calling CMake (['/opt/local/bin/cmake']) in /opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_audio_audacious-plugins/audacious-
 plugins/work/build/meson-private/__CMake_compiler_info__ with:
   - "--trace-expand"
   - "--trace-format=json-v1"
   - "--no-warn-unused-cli"
   - "--trace-redirect=cmake_trace.txt"
   - "-G"
   - "Ninja"
   - "-DCMAKE_TOOLCHAIN_FILE=/opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_audio_audacious-plugins/audacious-
 plugins/work/build/meson-
 private/__CMake_compiler_info__/CMakeMesonTempToolchainFile.cmake"
   - "."
 CMake trace warning: add_executable() non imported executables are not
 supported
 CMake TRACE: /opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_audio_audacious-plugins/audacious-
 plugins/work/build/meson-
 private/__CMake_compiler_info__/CMakeFiles/CMakeScratch/TryCompile-
 2wLx1d/CMakeLists.txt:22 add_executable(['cmTC_4a19a'])
 CMake trace warning: target_link_libraries() TARGET cmTC_4a19a not found
 CMake TRACE: /opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_audio_audacious-plugins/audacious-
 plugins/work/build/meson-
 private/__CMake_compiler_info__/CMakeFiles/CMakeScratch/TryCompile-
 2wLx1d/CMakeLists.txt:28 target_link_libraries(['cmTC_4a19a', ''])
 CMake trace warning: add_executable() non imported executables are not
 supported
 CMake TRACE: /opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_audio_audacious-plugins/audacious-
 plugins/work/build/meson-
 private/__CMake_compiler_info__/CMakeFiles/CMakeScratch/TryCompile-
 n6naxX/CMakeLists.txt:22 add_executable(['cmTC_4658d'])
 CMake trace warning: target_link_libraries() TARGET cmTC_4658d not found
 CMake TRACE: /opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_audio_audacious-plugins/audacious-
 plugins/work/build/meson-
 private/__CMake_compiler_info__/CMakeFiles/CMakeScratch/TryCompile-
 n6naxX/CMakeLists.txt:28 target_link_libraries(['cmTC_4658d', ''])
 CMake trace warning: add_executable() non imported executables are not
 supported
 CMake TRACE: /opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_audio_audacious-plugins/audacious-
 plugins/work/build/meson-
 private/__CMake_compiler_info__/CMakeFiles/CMakeScratch/TryCompile-
 ObW1Ma/CMakeLists.txt:22 add_executable(['cmTC_8b822'])
 CMake trace warning: target_link_libraries() TARGET cmTC_8b822 not found
 CMake TRACE: /opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_audio_audacious-plugins/audacious-
 plugins/work/build/meson-
 private/__CMake_compiler_info__/CMakeFiles/CMakeScratch/TryCompile-
 ObW1Ma/CMakeLists.txt:28 target_link_libraries(['cmTC_8b822', ''])
 CMake trace warning: add_executable() non imported executables are not
 supported
 CMake TRACE: /opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_audio_audacious-plugins/audacious-
 plugins/work/build/meson-
 private/__CMake_compiler_info__/CMakeFiles/CMakeScratch/TryCompile-
 IBlQYW/CMakeLists.txt:22 add_executable(['cmTC_1cf68'])
 CMake trace warning: target_link_libraries() TARGET cmTC_1cf68 not found
 CMake TRACE: /opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_audio_audacious-plugins/audacious-
 plugins/work/build/meson-
 private/__CMake_compiler_info__/CMakeFiles/CMakeScratch/TryCompile-
 IBlQYW/CMakeLists.txt:28 target_link_libraries(['cmTC_1cf68', ''])
 Try CMake generator: auto
 Calling CMake (['/opt/local/bin/cmake']) in /opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_audio_audacious-plugins/audacious-
 plugins/work/build/meson-private/cmake_json-glib-1.0 with:
   - "--trace-expand"
   - "--trace-format=json-v1"
   - "--no-warn-unused-cli"
   - "--trace-redirect=cmake_trace.txt"
   - "-DCMAKE_TOOLCHAIN_FILE=/opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_audio_audacious-plugins/audacious-
 plugins/work/build/meson-private/cmake_json-
 glib-1.0/CMakeMesonToolchainFile.cmake"
   - "."
   -- Module search paths:    ['/', '/Applications',
 '/Developer/Applications', '/Developer/Library/Frameworks',
 '/Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks',
 '/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks',
 '/Developer/SDKs/MacOSX10.6.sdk/usr', '/Library/Frameworks',
 '/System/Library/Frameworks', '/opt', '/opt/local', '/usr', '/usr/local']
   -- CMake root:             /opt/local/share/cmake-3.31
   -- CMake architectures:    []
   -- CMake lib search paths: ['lib', 'lib32', 'lib64', 'libx32', 'share',
 '']
 Preliminary CMake check failed. Aborting.
 Run-time dependency json-glib-1.0 found: NO (tried pkgconfig, framework
 and cmake)

 src/lyrics-gtk/meson.build:3:16: ERROR: Dependency "json-glib-1.0" not
 found, tried pkgconfig, framework and cmake
 }}}

 Of course, `json-glib` ''is'' installed:
 {{{
 $ port installed json-glib
 The following ports are currently installed:
   json-glib @1.10.6_0
 }}}

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


More information about the macports-tickets mailing list