Opened 12 months ago

Last modified 12 months ago

#68341 assigned defect

gi-docgen: shared data - both manpage and pkgconfig - are being incorrectly installed under python lib tree

Reported by: ShadSterling (Shad Sterling) Owned by: judaew (Vadym-Valdis Yudaiev)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: mascguy (Christopher Nielsen), dbevans (David B. Evans)
Port: gi-docgen

Description

gi-docgen is installed, port install didn't fail to install any other dependencies. The last section of the config log shows failure to find gi-docgen:

Determining dependency 'gi-docgen' with pkg-config executable '/opt/local/bin/pkg-config'
env[PKG_CONFIG_PATH]: 
-----------
Called: `/opt/local/bin/pkg-config --modversion gi-docgen` -> 1
stderr:
Package gi-docgen was not found in the pkg-config search path.
Perhaps you should add the directory containing `gi-docgen.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gi-docgen' found
-----------
Finding framework path by running:  /usr/bin/clang -v -E - -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk 

Looking for framework gi-docgen in /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks
CMake binary for 0 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.24.4)
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_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_libsoup/libsoup/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_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_libsoup/libsoup/work/build/meson-private/__CMake_compiler_info__/CMakeMesonTempToolchainFile.cmake"
  - "."
Try CMake generator: auto
Calling CMake (['/opt/local/bin/cmake']) in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_libsoup/libsoup/work/build/meson-private/cmake_gi-docgen 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_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_libsoup/libsoup/work/build/meson-private/cmake_gi-docgen/CMakeMesonToolchainFile.cmake"
  - "."
  -- Module search paths:    ['/', '/Applications', '/Library/Developer/CommandLineTools/Library/Frameworks', '/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks', '/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr', '/Library/Frameworks', '/System/Library/Frameworks', '/opt', '/opt/local', '/usr', '/usr/local']
  -- CMake root:             /opt/local/share/cmake-3.24
  -- CMake architectures:    []
  -- CMake lib search paths: ['lib', 'lib32', 'lib64', 'libx32', 'share']
Preliminary CMake check failed. Aborting.
Build-time dependency gi-docgen found: NO (tried pkgconfig, framework and cmake)
Looking for a fallback subproject for the dependency gi-docgen

docs/reference/meson.build:14:15: ERROR: Automatic wrap-based subproject downloading is disabled

Attachments (2)

meson-log.txt (54.2 KB) - added by ShadSterling (Shad Sterling) 12 months ago.
main.log (559.9 KB) - added by ShadSterling (Shad Sterling) 12 months ago.

Download all attachments as: .zip

Change History (4)

Changed 12 months ago by ShadSterling (Shad Sterling)

Attachment: meson-log.txt added

Changed 12 months ago by ShadSterling (Shad Sterling)

Attachment: main.log added

comment:1 Changed 12 months ago by mascguy (Christopher Nielsen)

Owner: set to judaew
Port: gi-docgen added; libsoup removed
Status: newassigned

This is actually an issue with port gi-docgen: The shared items - include the pkgconfig file - are being installed within the Python lib tree. But these need to be installed under ${prefix}/share:

/opt/local/Library/Frameworks/Python.framework/Versions/3.11/share
/opt/local/Library/Frameworks/Python.framework/Versions/3.11/share/man
/opt/local/Library/Frameworks/Python.framework/Versions/3.11/share/man/man1
/opt/local/Library/Frameworks/Python.framework/Versions/3.11/share/man/man1/gi-docgen.1
/opt/local/Library/Frameworks/Python.framework/Versions/3.11/share/pkgconfig
/opt/local/Library/Frameworks/Python.framework/Versions/3.11/share/pkgconfig/gi-docgen.pc
Version 0, edited 12 months ago by mascguy (Christopher Nielsen) (next)

comment:2 Changed 12 months ago by mascguy (Christopher Nielsen)

Summary: libsoup +docs configure can't find dependency gi-docgengi-docgen: shared data - both manpage and pkgconfig - are being incorrectly installed under python lib tree
Note: See TracTickets for help on using tickets.