Opened 2 years ago

Closed 17 months ago

#64370 closed enhancement (fixed)

pango @1.50.3_0+quartz+x11: Exception: python3 is missing modules: markdown

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: leopard Cc: mascguy (Christopher Nielsen)
Port: pango

Description

  py38-markdown @3.3.6_0 (active)
  py38-python-install @0.0.3_5 (active)
  python2_select @0.0_3 (active)
  python3_select @0.0_2 (active)
  python27 @2.7.18_5 (active)
  python38 @3.8.12_4 (active)
  python_select @0.3_9 (active)

are installed, but this `Python module is not found:

--->  Configuring pango
DEBUG: Preferred compilers: macports-gcc-7 macports-gcc-6 macports-gcc-5 macports-clang-7.0 macports-clang-6.0 macports-clang-5.0
DEBUG: Using compiler 'MacPorts GCC 7'
DEBUG: Executing proc-pre-org.macports.configure-configure-0
DEBUG: Active variants check for source-type install considers depends_fetch depends_extract depends_lib depends_build depends_run: xz glib2 cairo fribidi harfbuzz Xft2 libgcc libgcc7 pkgconfig gobject-introspection help2man cctools gcc7 meson ninja
DEBUG: Checking cairo for active variants for depspec 'path:lib/pkgconfig/cairo.pc:cairo'
DEBUG: cairo is installed with the following variants: +quartz+x11
DEBUG:   required: quartz, forbidden: 
DEBUG:   accepted
DEBUG: Checking cairo for active variants for depspec 'path:lib/pkgconfig/cairo.pc:cairo'
DEBUG: cairo is installed with the following variants: +quartz+x11
DEBUG:   required: x11, forbidden: 
DEBUG:   accepted
DEBUG: Executing proc-pre-org.macports.configure-configure-1
DEBUG: Executing org.macports.configure (pango)
DEBUG: Environment: 
CC='/opt/local/bin/gcc-mp-7'
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/.CC_PRINT_OPTIONS'
CFLAGS='-pipe -Os -Wno-error,-Wimplicit-fallthrough -arch ppc'
CPATH='/opt/local/include'
CPPFLAGS='-I/opt/local/include'
CXX='/opt/local/bin/g++-mp-7'
CXXFLAGS='-pipe -Os -std=c++11 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc'
DEVELOPER_DIR='/Developer'
F77='/opt/local/bin/gfortran-mp-7'
F90='/opt/local/bin/gfortran-mp-7'
F90FLAGS='-pipe -Os -m32'
FC='/opt/local/bin/gfortran-mp-7'
FCFLAGS='-pipe -Os -m32'
FFLAGS='-pipe -Os -m32'
INSTALL='/usr/bin/install -c'
LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.5'
NM='/opt/local/bin/nm'
OBJC='/opt/local/bin/gcc-mp-7'
OBJCFLAGS='-pipe -Os -arch ppc'
OBJCXX='/opt/local/bin/g++-mp-7'
OBJCXXFLAGS='-pipe -Os -std=c++11 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc'
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.50.3" && /opt/local/bin/meson --prefix=/opt/local -Dxft=enabled -Dintrospection=enabled -Dlt_cv_path_NM=/opt/local/bin/nm /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.50.3 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build 
DEBUG: system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.50.3" && /opt/local/bin/meson --prefix=/opt/local -Dxft=enabled -Dintrospection=enabled -Dlt_cv_path_NM=/opt/local/bin/nm /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.50.3 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build 
The Meson build system
Version: 0.59.1
Source dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.50.3
Build dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build
Build type: native build
WARNING: Unknown options: "lt_cv_path_NM"
The value of new options can be set with:
meson setup <builddir> --reconfigure -Dnew_option=new_value ...
Project name: pango
Project version: 1.50.3
C compiler for the host machine: /opt/local/bin/gcc-mp-7 (gcc 7.5.0 "gcc-mp-7 (MacPorts gcc7 7.5.0_3) 7.5.0")
C linker for the host machine: /opt/local/bin/gcc-mp-7 ld64 127.2
C++ compiler for the host machine: /opt/local/bin/g++-mp-7 (gcc 7.5.0 "g++-mp-7 (MacPorts gcc7 7.5.0_3) 7.5.0")
C++ linker for the host machine: /opt/local/bin/g++-mp-7 ld64 127.2
Host machine cpu family: ppc
Host machine cpu: power macintosh
Compiler for C supports arguments -Wno-c++11-extensions: NO 
Compiler for C supports arguments -Wno-missing-include-dirs: YES 
Compiler for C supports arguments -Wno-typedef-redefinition: NO 
Compiler for C supports arguments -Wduplicated-branches: YES 
Compiler for C supports arguments -Wduplicated-cond: YES 
Compiler for C supports arguments -Wformat=2: YES 
Compiler for C supports arguments -Wformat-nonliteral: YES 
Compiler for C supports arguments -Wformat-security: YES 
Compiler for C supports arguments -Wignored-qualifiers: YES 
Compiler for C supports arguments -Wimplicit-function-declaration: YES 
Compiler for C supports arguments -Wlogical-op: YES 
Compiler for C supports arguments -Wmisleading-indentation: YES 
Compiler for C supports arguments -Wmissing-format-attribute: YES 
Compiler for C supports arguments -Wmissing-include-dirs: YES 
Compiler for C supports arguments -Wmissing-noreturn: YES 
Compiler for C supports arguments -Wnested-externs: YES 
Compiler for C supports arguments -Wold-style-definition: YES 
Compiler for C supports arguments -Wpointer-arith: YES 
Compiler for C supports arguments -Wshadow: YES 
Compiler for C supports arguments -Wstrict-prototypes: YES 
Compiler for C supports arguments -Wswitch-default: YES 
Compiler for C supports arguments -Wswitch-enum: YES 
Compiler for C supports arguments -Wundef: YES 
Compiler for C supports arguments -Wuninitialized: YES 
Compiler for C supports arguments -Wunused: YES 
Compiler for C supports arguments -Werror=address: YES 
Compiler for C supports arguments -Werror=array-bounds: YES 
Compiler for C supports arguments -Werror=empty-body: YES 
Compiler for C supports arguments -Werror=implicit: YES 
Compiler for C supports arguments -Werror=implicit-fallthrough: YES 
Compiler for C supports arguments -Werror=init-self: YES 
Compiler for C supports arguments -Werror=int-to-pointer-cast: YES 
Compiler for C supports arguments -Werror=main: YES 
Compiler for C supports arguments -Werror=missing-braces: YES 
Compiler for C supports arguments -Werror=missing-declarations: YES 
Compiler for C supports arguments -Werror=missing-prototypes: YES 
Compiler for C supports arguments -Werror=nonnull: YES 
Compiler for C supports arguments -Werror=pointer-to-int-cast: YES 
Compiler for C supports arguments -Werror=redundant-decls: YES 
Compiler for C supports arguments -Werror=return-type: YES 
Compiler for C supports arguments -Werror=sequence-point: YES 
Compiler for C supports arguments -Werror=trigraphs: YES 
Compiler for C supports arguments -Werror=vla: YES 
Compiler for C supports arguments -Werror=write-strings: YES 
Compiler for C supports arguments -fno-strict-aliasing: YES 
Compiler for C supports arguments -Wpointer-arith: YES (cached)
Compiler for C supports arguments -Wmissing-declarations: YES 
Compiler for C supports arguments -Wformat=2: YES (cached)
Compiler for C supports arguments -Wformat-nonliteral: YES (cached)
Compiler for C supports arguments -Wformat-security: YES (cached)
Compiler for C supports arguments -Wunused: YES (cached)
Compiler for C supports arguments -Wcast-align: YES 
Compiler for C supports arguments -Wmissing-noreturn: YES (cached)
Compiler for C supports arguments -Wmissing-format-attribute: YES (cached)
Compiler for C supports arguments -Wmissing-include-dirs: YES (cached)
Compiler for C supports arguments -Wlogical-op: YES (cached)
Compiler for C supports arguments -Wno-uninitialized: YES 
Compiler for C supports arguments -Wno-shadow: YES 
Compiler for C supports arguments -Werror=implicit-fallthrough: YES (cached)
Compiler for C supports arguments -Werror=nonnull: YES (cached)
Compiler for C supports arguments -Werror=init-self: YES (cached)
Compiler for C supports arguments -Werror=main: YES (cached)
Compiler for C supports arguments -Werror=missing-braces: YES (cached)
Compiler for C supports arguments -Werror=sequence-point: YES (cached)
Compiler for C supports arguments -Werror=return-type: YES (cached)
Compiler for C supports arguments -Werror=trigraphs: YES (cached)
Compiler for C supports arguments -Werror=array-bounds: YES (cached)
Compiler for C supports arguments -Werror=write-strings: YES (cached)
Compiler for C supports arguments -Werror=address: YES (cached)
Compiler for C supports arguments -Werror=int-to-pointer-cast: YES (cached)
Compiler for C supports arguments -Werror=empty-body: YES (cached)
Compiler for C supports arguments -Werror=write-strings: YES (cached)
Compiler for C supports arguments -Werror=unused-but-set-variable: YES 
Compiler for C supports arguments -Wundef: YES (cached)
Compiler for C supports arguments -Werror=redundant-decls: YES (cached)
Compiler for C supports arguments -fvisibility=hidden: YES 
Checking for function "sysconf" : YES 
Checking for function "getpagesize" : YES 
Checking for function "flockfile" : YES 
Checking for function "strtok_r" : YES 
Has header "unistd.h" : YES 
Has header "sys/mman.h" : YES 
Has header "dirent.h" : YES 
Message: Enabling various debug infrastructure
Library m found: YES
Found pkg-config: /opt/local/bin/pkg-config (0.29.2)
Run-time dependency glib-2.0 found: YES 2.64.6
Run-time dependency gobject-2.0 found: YES 2.64.6
Run-time dependency gio-2.0 found: YES 2.64.6
Run-time dependency fribidi found: YES 1.0.11
Run-time dependency libthai found: YES 0.1.18
Checking for function "th_brk_find_breaks" with dependency libthai: NO 
Run-time dependency harfbuzz found: YES 3.2.0
Run-time dependency fontconfig found: YES 2.13.1
Message: fontconfig has FcWeightFromOpenTypeDouble: YES
Run-time dependency freetype2 found: YES 24.1.18
Run-time dependency xft found: YES 2.3.4
Run-time dependency xrender found: YES 0.9.10
Run-time dependency appleframeworks found: YES (ApplicationServices)
Checking if "CoreText availability" with dependency appleframeworks links: NO 
Run-time dependency appleframeworks found: YES (CoreFoundation, ApplicationServices)
Run-time dependency cairo found: YES 1.17.4
Run-time dependency cairo-ft found: YES 1.17.4
Found CMake: /opt/local/bin/cmake (3.22.1)
Run-time dependency cairo-win32 found: NO (tried pkgconfig, framework and cmake)
Run-time dependency cairo-quartz found: YES 1.17.4
Run-time dependency cairo-png found: YES 1.17.4
Run-time dependency cairo-ps found: YES 1.17.4
Run-time dependency cairo-pdf found: YES 1.17.4
Run-time dependency cairo-xlib found: YES 1.17.4
Dependency sysprof-capture-4 skipped: feature sysprof disabled
Run-time dependency gi-docgen found: NO (tried pkgconfig, framework and cmake)
Looking for a fallback subproject for the dependency gi-docgen

Executing subproject gi-docgen 

gi-docgen| WARNING: In subproject gi-docgen: Unknown options: "lt_cv_path_NM"
gi-docgen| The value of new options can be set with:
gi-docgen| meson setup <builddir> --reconfigure -Dnew_option=new_value ...
gi-docgen| Project name: gi-docgen
gi-docgen| Project version: 2021.9
gi-docgen| Program python3 (jinja2, markdown, markupsafe, pygments, toml, typogrify) found: NO modules: jinja2, markupsafe, pygments, toml, typogrify

gi-docgen| subprojects/gi-docgen/meson.build:10:0: Exception: python3 is missing modules: markdown     <==== and line above

Subproject subprojects/gi-docgen is buildable: NO (disabling)
Dependency gi-docgen from subproject gi-docgen found: NO (subproject failed to configure)
Configuring config.h using configuration
Configuring pango-features.h using configuration
Program glib-mkenums found: YES (/opt/local/bin/glib-mkenums)
Program g-ir-scanner found: YES (/opt/local/bin/g-ir-scanner)
Run-time dependency harfbuzz-gobject found: YES 3.2.0
Run-time dependency gobject-introspection-1.0 found: YES 1.60.2
Dependency gobject-introspection-1.0 found: YES 1.60.2 (cached)
Program g-ir-scanner found: YES (/opt/local/bin/g-ir-scanner)
Dependency gobject-introspection-1.0 found: YES 1.60.2 (cached)
Program g-ir-compiler found: YES (/opt/local/bin/g-ir-compiler)
Program help2man found: YES (/opt/local/bin/help2man)
Program build-aux/meson/dist-docs.py found: YES (/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.50.3/build-aux/meson/dist-docs.py)
Build targets in project: 75

pango 1.50.3

    Font backends     : freetype

  Features
    Cairo support     : True
    Fontconfig support: True
    Freetype support  : True
    Thai support      : True
    Sysprof support   : False

  Toolchain
    Compiler          : gcc
    Linker            : ld64

  Build
    Debugging         : True
    Optimization      : 2
    Introspection     : True
    Documentation     : False
    Install tests     : False

  Directories
    prefix            : /opt/local
    includedir        : /opt/local/include
    libdir            : /opt/local/lib
    datadir           : /opt/local/share

  Subprojects
    gi-docgen         : NO python3 is missing modules: markdown   <=====

Found ninja-1.10.2 at /opt/local/bin/ninja
                                                                                                    
DEBUG: Executing portconfigure::configure_finish
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: build phase started at Wed Jan  5 21:05:52 CET 2022
--->  Building pango

On Leopard port has to update a few more ports. In one, two, or more days I'll be able to build again see what this will show.

Change History (11)

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

Summary: pango @1.50.3_0+quartz+x11 builds on PPC Mac OS X 10.5.8, Leopard, but has a problem with markdownpango @1.50.3_0+quartz+x11: Exception: python3 is missing modules: markdown

The pango port doesn't mention python, so if it's using something python (which your log does seem to suggest) that's new to me. But I do see the same messages in other build logs such as https://build.macports.org/builders/ports-12_arm64-builder/builds/33803/steps/install-port/logs/stdio

Since it builds despite this problem, I guess we should just find a way to tell the build system not to look for nor try to build this gi-docgen at all to suppress the messages.

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

Cc: ryandesign removed
Keywords: leopard removed
Owner: set to ryandesign
Status: newassigned

I couldn't figure out how to prevent it from doing this so I asked the developers: https://gitlab.gnome.org/GNOME/pango/-/issues/654

comment:3 Changed 2 years ago by ballapete (Peter "Pete" Dyballa)

Keywords: leopard added

#64385 describes the reason for the failure, that py-markdown has one more dependency, py-importlib-metadata. Installing this meson now logs:

Dependency sysprof-capture-4 skipped: feature sysprof disabled
Pkg-config binary for MachineChoice.HOST is cached.
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

CMake binary for 1 is cached.
Preliminary CMake check failed. Aborting.
Run-time dependency gi-docgen found: NO (tried pkgconfig, framework and cmake)
Looking for a fallback subproject for the dependency gi-docgen

Executing subproject gi-docgen 

Project name: gi-docgen
Project version: 2021.9
Program python3 (jinja2, markdown, markupsafe, pygments, toml, typogrify) found: YES (/opt/local/bin/python3) modules: jinja2, markdown, markupsafe, pygments, toml, typogrify
Program gi-docgen.py found: YES (/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.50.3/subprojects/gi-docgen/gi-docgen.py)
Configuring gi-docgen.pc using configuration
Build targets in project: 0
Subproject gi-docgen finished.

Dependency gi-docgen from subproject subprojects/gi-docgen found: YES 2021.9
Configuring config.h using configuration
Configuring pango-features.h using configuration
Program glib-mkenums found: YES (/opt/local/bin/glib-mkenums)
Program g-ir-scanner found: YES (/opt/local/bin/g-ir-scanner)
Pkg-config binary for MachineChoice.HOST is cached.
Determining dependency 'harfbuzz-gobject' with pkg-config executable '/opt/local/bin/pkg-config'

For the test build I also deleted two lines from Portfile:

 89     configure.args-append \
 90                         -Dlt_cv_path_NM=${prefix}/bin/nm

so that meson stopped complaing about

gi-docgen| WARNING: In subproject gi-docgen: Unknown options: "lt_cv_path_NM"

comment:4 Changed 2 years ago by ballapete (Peter "Pete" Dyballa)

With these two lines removed from Portfile and working installation of py38-markdown the build succeeds with a few bumps:

[54/150] /opt/local/bin/g-ir-scanner --no-libtool --namespace=PangoOT --nsversion=1.0 --warn-all --output pango/PangoOT-1.0.gir --c-include=pango/pango-ot.h --quiet -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.50.3/pango -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.50.3/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.50.3/pango/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.50.3/pango/. --filelist=/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango/libpangoft2-1.0.0.dylib.p/PangoOT_1.0_gir_filelist --include-uninstalled=pango/PangoFc-1.0.gir --include=freetype2-2.0 --symbol-prefix=pango_ot --identifier-prefix=PangoOT --pkg-export=pangoot --cflags-begin -D_POSIX_C_SOURCE=200809L -D_POSIX_THREAD_SAFE_FUNCTIONS -D_GNU_SOURCE -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.50.3/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.50.3/pango/. -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/fribidi -I/opt/local/include/harfbuzz -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include/ossp -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/gobject-introspection-1.0 -I/opt/local/include --cflags-end --add-include-path=/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango --add-include-path=/opt/local/share/gir-1.0 --add-include-path=/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango -L/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango --extra-library=pango-1.0 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango --library pangoft2-1.0 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango -L/opt/local/lib --extra-library=m -L/opt/local/lib --extra-library=glib-2.0 --extra-library=intl --extra-library=gobject-2.0 --extra-library=gio-2.0 --extra-library=fribidi --extra-library=thai --extra-library=harfbuzz --extra-library=fontconfig --extra-library=freetype --extra-library=Xrender --extra-library=X11 --extra-library=Xft --extra-library=cairo --extra-library=harfbuzz-gobject --extra-library=girepository-1.0 --sources-top-dirs /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.50.3/subprojects/ --sources-top-dirs /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/subprojects/
Package pango was not found in the pkg-config search path.
Perhaps you should add the directory containing `pango.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pango' found
[56/150] /opt/local/bin/g-ir-scanner --no-libtool --namespace=PangoFT2 --nsversion=1.0 --warn-all --output pango/PangoFT2-1.0.gir --c-include=pango/pangoft2.h --quiet -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.50.3/pango -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.50.3/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.50.3/pango/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.50.3/pango/. --filelist=/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango/libpangoft2-1.0.0.dylib.p/PangoFT2_1.0_gir_filelist --include-uninstalled=pango/PangoFc-1.0.gir --include=freetype2-2.0 --symbol-prefix=pango_ft2 --identifier-prefix=PangoFT2 --pkg-export=pangoft2 --cflags-begin -D_POSIX_C_SOURCE=200809L -D_POSIX_THREAD_SAFE_FUNCTIONS -D_GNU_SOURCE -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.50.3/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.50.3/pango/. -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/fribidi -I/opt/local/include/harfbuzz -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include/ossp -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/gobject-introspection-1.0 -I/opt/local/include --cflags-end --add-include-path=/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango --add-include-path=/opt/local/share/gir-1.0 --add-include-path=/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango -L/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango --extra-library=pango-1.0 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango --library pangoft2-1.0 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango -L/opt/local/lib --extra-library=m -L/opt/local/lib --extra-library=glib-2.0 --extra-library=intl --extra-library=gobject-2.0 --extra-library=gio-2.0 --extra-library=fribidi --extra-library=thai --extra-library=harfbuzz --extra-library=fontconfig --extra-library=freetype --extra-library=Xrender --extra-library=X11 --extra-library=Xft --extra-library=cairo --extra-library=harfbuzz-gobject --extra-library=girepository-1.0 --sources-top-dirs /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.50.3/subprojects/ --sources-top-dirs /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/subprojects/
Package pango was not found in the pkg-config search path.
Perhaps you should add the directory containing `pango.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pango' found
[63/150] /opt/local/bin/g-ir-scanner --no-libtool --namespace=PangoXft --nsversion=1.0 --warn-all --output pango/PangoXft-1.0.gir --c-include=pango/pangoxft.h --quiet -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.50.3/pango -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.50.3/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.50.3/pango/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.50.3/pango/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.50.3/pango/. --filelist=/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango/libpangoxft-1.0.0.dylib.p/PangoXft_1.0_gir_filelist --include-uninstalled=pango/Pango-1.0.gir --include-uninstalled=pango/PangoOT-1.0.gir --include-uninstalled=pango/PangoFT2-1.0.gir --include=GObject-2.0 --include=xft-2.0 --include=xlib-2.0 --symbol-prefix=pango_xft --identifier-prefix=PangoXft --pkg-export=pangoxft --cflags-begin -D_POSIX_C_SOURCE=200809L -D_POSIX_THREAD_SAFE_FUNCTIONS -D_GNU_SOURCE -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.50.3/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.50.3/pango/. -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/fribidi -I/opt/local/include/harfbuzz -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include/ossp -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/gobject-introspection-1.0 -I/opt/local/include --cflags-end --add-include-path=/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango --add-include-path=/opt/local/share/gir-1.0 --add-include-path=/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango --add-include-path=/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango --add-include-path=/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango -L/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango --extra-library=pango-1.0 --extra-library=pangoft2-1.0 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango --library pangoxft-1.0 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/pango -L/opt/local/lib --extra-library=m -L/opt/local/lib --extra-library=glib-2.0 --extra-library=intl --extra-library=gobject-2.0 --extra-library=gio-2.0 --extra-library=fribidi --extra-library=thai --extra-library=harfbuzz --extra-library=fontconfig --extra-library=freetype --extra-library=Xrender --extra-library=X11 --extra-library=Xft --extra-library=cairo --extra-library=harfbuzz-gobject --extra-library=girepository-1.0 --sources-top-dirs /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.50.3/subprojects/ --sources-top-dirs /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build/subprojects/
Package pangofc was not found in the pkg-config search path.
Perhaps you should add the directory containing `pangofc.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pangofc' found

plus

[35/150] /opt/local/bin/gcc-mp-7 -Ipango/libpangoft2-1.0.0.dylib.p -Ipango -I../pango-1.50.3/pango -I. -I../pango-1.50.3 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/fribidi -I/opt/local/include/harfbuzz -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include/ossp -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include -fdiagnostics-color=always -Wall -Winvalid-pch -std=gnu99 -O2 -g -D_POSIX_C_SOURCE=200809L -D_POSIX_THREAD_SAFE_FUNCTIONS -D_GNU_SOURCE -pipe -Os -Wno-error,-Wimplicit-fallthrough -arch ppc -Wno-missing-include-dirs -Wduplicated-branches -Wduplicated-cond -Wformat=2 -Wformat-nonliteral -Wformat-security -Wignored-qualifiers -Wimplicit-function-declaration -Wlogical-op -Wmisleading-indentation -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wuninitialized -Wunused -Werror=address -Werror=array-bounds -Werror=empty-body -Werror=implicit -Werror=implicit-fallthrough -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=missing-declarations -Werror=missing-prototypes -Werror=nonnull -Werror=pointer-to-int-cast -Werror=redundant-decls -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=vla -Werror=write-strings -fno-strict-aliasing -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wformat-nonliteral -Wformat-security -Wunused -Wcast-align -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-include-dirs -Wlogical-op -Wno-uninitialized -Wno-shadow -Werror=implicit-fallthrough -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=empty-body -Werror=write-strings -Werror=unused-but-set-variable -Wundef -Werror=redundant-decls -fvisibility=hidden -DPANGO_ENABLE_DEBUG '-DG_LOG_DOMAIN="Pango"' -DG_LOG_USE_STRUCTURED=1 -DPANGO_COMPILATION '-DSYSCONFDIR="/opt/local/etc"' '-DLIBDIR="/opt/local/lib"' -DPANGO_DISABLE_DEPRECATION_WARNINGS -MD -MQ pango/libpangoft2-1.0.0.dylib.p/pangofc-font.c.o -MF pango/libpangoft2-1.0.0.dylib.p/pangofc-font.c.o.d -o pango/libpangoft2-1.0.0.dylib.p/pangofc-font.c.o -c ../pango-1.50.3/pango/pangofc-font.c
[36/150] /opt/local/bin/gcc-mp-7  -o pango/libpango-1.0.0.dylib pango/libpango-1.0.0.dylib.p/meson-generated_.._pango-enum-types.c.o pango/libpango-1.0.0.dylib.p/break.c.o pango/libpango-1.0.0.dylib.p/ellipsize.c.o pango/libpango-1.0.0.dylib.p/fonts.c.o pango/libpango-1.0.0.dylib.p/glyphstring.c.o pango/libpango-1.0.0.dylib.p/itemize.c.o pango/libpango-1.0.0.dylib.p/modules.c.o pango/libpango-1.0.0.dylib.p/pango-attributes.c.o pango/libpango-1.0.0.dylib.p/pango-bidi-type.c.o pango/libpango-1.0.0.dylib.p/pango-color.c.o pango/libpango-1.0.0.dylib.p/pango-context.c.o pango/libpango-1.0.0.dylib.p/pango-coverage.c.o pango/libpango-1.0.0.dylib.p/pango-emoji.c.o pango/libpango-1.0.0.dylib.p/pango-engine.c.o pango/libpango-1.0.0.dylib.p/pango-fontmap.c.o pango/libpango-1.0.0.dylib.p/pango-fontset.c.o pango/libpango-1.0.0.dylib.p/pango-glyph-item.c.o pango/libpango-1.0.0.dylib.p/pango-gravity.c.o pango/libpango-1.0.0.dylib.p/pango-item.c.o pango/libpango-1.0.0.dylib.p/pango-language.c.o pango/libpango-1.0.0.dylib.p/pango-layout.c.o pango/libpango-1.0.0.dylib.p/pango-markup.c.o pango/libpango-1.0.0.dylib.p/pango-matrix.c.o pango/libpango-1.0.0.dylib.p/pango-renderer.c.o pango/libpango-1.0.0.dylib.p/pango-script.c.o pango/libpango-1.0.0.dylib.p/pango-tabs.c.o pango/libpango-1.0.0.dylib.p/pango-utils.c.o pango/libpango-1.0.0.dylib.p/reorder-items.c.o pango/libpango-1.0.0.dylib.p/shape.c.o pango/libpango-1.0.0.dylib.p/serializer.c.o pango/libpango-1.0.0.dylib.p/json_gtkjsonparser.c.o pango/libpango-1.0.0.dylib.p/json_gtkjsonprinter.c.o -L/opt/local/lib -I/opt/local/include -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names -Wl,-undefined,error -shared -install_name @rpath/libpango-1.0.0.dylib -compatibility_version 5001 -current_version 5001.3.0 -Wl,-headerpad_max_install_names -arch ppc -pipe -Os -Wno-error,-Wimplicit-fallthrough -arch ppc -lm -L/opt/local/lib -lglib-2.0 -lintl -L/opt/local/lib -lgobject-2.0 -lglib-2.0 -lintl -L/opt/local/lib -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -L/opt/local/lib -lfribidi -L/opt/local/lib -lthai -L/opt/local/lib -lharfbuzz -L/opt/local/lib -lfontconfig -lfreetype -L/opt/local/lib -lfreetype -L/opt/local/lib -lXrender -lX11 -L/opt/local/lib -lXft -framework CoreFoundation -framework ApplicationServices -L/opt/local/lib -lcairo
[37/150] /opt/local/Library/Frameworks/Python.framework/Versions/3.8/bin/meson --internal symbolextractor /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/build pango/libpango-1.0.0.dylib pango/libpango-1.0.0.dylib pango/libpango-1.0.0.dylib.p/libpango-1.0.0.dylib.symbols 
WARNING: ['nm'] does not work. Relinking will always happen on source changes.
error: nm: invalid argument --
Usage: nm [-agnopruUmxjlfAPL[s segname sectname] [-] [-t format] [[-arch <arch_flag>] ...] [file ...]

The first three reports also occur in your reference build. So I'll retry with the two lines back in Portfile.

comment:5 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

The messages about gi-docgen should be harmless since it will not be used even if it is found. If the developers can suggest a way to tell the build not to look for it at all, I'll do that, otherwise I guess it's fine as is.

The nm error is tracked in #64362.

Your mention of the g-ir-scanner scanner problem finding pango's pkg-config files is yet another different issue which is new to me, and I'm not sure how much of a problem it is, if any. I can investigate that as well but I'd prefer to handle one issue per ticket.

comment:6 in reply to:  5 Changed 2 years ago by ballapete (Peter "Pete" Dyballa)

Replying to ryandesign:

Your mention of the g-ir-scanner scanner problem finding pango's pkg-config files is yet another different issue which is new to me, and I'm not sure how much of a problem it is, if any. I can investigate that as well but I'd prefer to handle one issue per ticket.

Ryan, these warnings are correct on my Mac in this situation since I had to remove the pango port because the elder version was already gone. I mentioned them because they also appear in your reference build.

comment:7 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

In 067cfe230bf2e07922061a81967a32d428681efe/macports-ports (master):

pango, pango-devel: Remove -Dlt_cv_path_NM=...

This was an autoconf override that has no effect in meson.

See: #64362
See: #64370

comment:8 Changed 17 months ago by ballapete (Peter "Pete" Dyballa)

The problem with markdown seems to be fixed in pango @1.50.7, see #63747. The meson nm problem is treated in closed ticket #66346, but not solved. I have to apply the patch to my new meson build and then to rebuild pango.

comment:9 Changed 17 months ago by ballapete (Peter "Pete" Dyballa)

The problem with "lt_cv_path_NM" is gone – was it really a problem with pango or rather with gi-docgen? This dependency is at first not found although installed:

Dependency sysprof-capture-4 skipped: feature sysprof disabled
Run-time dependency gi-docgen found: NO (tried pkgconfig, framework and cmake)
Looking for a fallback subproject for the dependency gi-docgen

and then rebuilt?

Executing subproject gi-docgen 

gi-docgen| Project name: gi-docgen
gi-docgen| Project version: 2022.2
gi-docgen| Program python3 (jinja2, markdown, markupsafe, pygments, toml, typogrify) found: YES (/opt/local/bin/python3) modules: jinja2, markdown, markupsafe, pygments, toml, typogrify
gi-docgen| Program gi-docgen.py found: YES (/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.50.7/subprojects/gi-docgen/gi-docgen.py)
gi-docgen| Configuring gi-docgen.pc using configuration
gi-docgen| Build targets in project: 0
gi-docgen| Subproject gi-docgen finished.

Dependency gi-docgen from subproject subprojects/gi-docgen found: YES 2022.2
Configuring config.h using configuration

Anyway, all dependencies are met. And my patched version of meson does not produce the nm complaints.

comment:10 Changed 17 months ago by ballapete (Peter "Pete" Dyballa)

The reports when handling PangoOT, PangoFT2, and PangoXft have vanished – all in recent version pango @1.50.7. IMO this ticket can be closed.

comment:11 Changed 17 months ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed

thanks

Note: See TracTickets for help on using tickets.