pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/59690: devel/pango breakage on macOS when older version installed



>Number:         59690
>Category:       pkg
>Synopsis:       devel/pango breakage on macOS when older version installed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 05 12:10:01 +0000 2025
>Originator:     Hauke Fath
>Release:        Darwin 24.6.0
>Organization:
Falling Raindrops
>Environment:
	
	
System: Darwin Kernel Version 24.6.0: Mon Aug 11 21:15:09 PDT 2025; root:xnu-11417.140.69.701.11~1/RELEASE_ARM64_T6041 arm64
Architecture: arm64
Machine: arm64
>Description:

	On a Darwin 24.6 Mac ('Sequoia', Apple silicon), devel/pango
	fails to link during a pkg_rolling-replace run, with a warning
	indicating version skew with an unnamed library:


[49/162] Generating pango/Pango-1.0.gir with a custom command (wrapped by meson to set env)                                                                 
FAILED: [code=1] 
pango/Pango-1.0.gir                                                                                                                        
env PKG_CONFIG_PATH=/opt/local/var/obj/pkgsrc/devel/pango/work/pango-1.57.0/output/meson-uninstalled PKG_CONFIG=/opt/local/var/obj/pkgsrc/devel/pango/work/.tools/bin/pkg-config CC=clang 'CFLAGS=-L/opt/local/lib -O2 
-I/opt/local/include -I/opt/local/include/freetype2 
-I/opt/local/include/glib-2         .0 
-I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include 
-I/opt/local/include/harfbuzz -DPNG_NO_ASSEMBLER_CODE 
-I/opt/local/include -         I/opt/local/include/freetype2 
-I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 
-I/opt/local/lib/glib-2.0/include -I/opt/local/include/harfbuzz' /opt/local/bin/g-ir-scanner --quiet --no-libtool 
--namespace=Pango --nsversion=1.0 --warn-all --output pango/Pango-1.0.gir --c-include=pango/pango.h --quiet --doc-format=gi-docgen 
-I/opt/local/var/obj/pkgsrc/devel/pango/work/pango-1.57.0/pango 
-I/opt/local/var/obj/pkgsrc/devel/pango/work/pango-1.57.0/output/pango 
-I/opt/local/var/obj/pkgsrc/devel/pango/work/pango-1.57.0/. 
-I/opt/local/var/obj/pkgsrc/devel/pango/work/pango-1.57.0/output/. 
-I/opt/local/var/obj/pkgsrc/devel/pango/work/pango-1.57.0/pango/. 
-I/opt/local/var/obj/pkgsrc/devel/pango/work/pango-1.57.0/output/pango/. 
--filelist=/opt/local/var/obj/pkgsrc/devel/pango/work/pango-1.57.0/output/pango/libpango-1.0.0.dylib.p/Pango_1.0_gir_filelist 
--include=HarfBuzz-0.0 --include=GObject-2.0 --include=Gio-2.0 
--include=cairo-1.0 --symbol-prefix=pango --identifier-prefix=Pango 
--pkg-export=pango --cflags-begin -D_POSIX_C_SOURCE=200809L 
-D_POSIX_THREAD_SAFE_FUNCTIONS -D_GNU_SOURCE -DG_LOG_USE_STRUCTURED=1 
-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_82 
-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_82 
-I/opt/local/var/obj/pkgsrc/devel/pango/work/pango-1.57.0/. 
-I/opt/local/var/obj/pkgsrc/devel/pango/work/pango-1.57.0/output/. 
-I/opt/local/var/obj/pkgsrc/devel/pango/work/pango-1.57.0/pango/. 
-I/opt/local/var/obj/pkgsrc/devel/pango/work/pango-1.57.0/output/pango/. 
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include 
-I/opt/local/include -I/opt/local/include/fribidi 
-I/opt/local/include/harfbuzz -I/opt/local/include/freetype2 
-I/opt/local/include/libpng16 -D_REENTRANT -I/opt/local/include/cairo 
-I/opt/local/include/pixman-1 
-I/opt/local/include/gobject-introspection-1.0 -I/opt/local/include 
-I/opt/local/include/freetype2 -I/opt/local/include/glib-2.0 
-I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include 
-I/opt/local/include/harfbuzz -DPNG_NO_ASSEMBLER_CODE 
-I/opt/local/include -I/opt/local/include/freetype2 
-I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 
-I/opt/local/lib/glib-2.0/include -I/opt/local/include/harfbuzz 
--cflags-end --add-include-path=/opt/local/share/gir-1.0 
-L/opt/local/var/obj/pkgsrc/devel/pango/work/pango-1.57.0/output/pango 
--library pango-1.0 -L/opt/local/lib -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=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/obj/pkgsrc/devel/pango/work/pango-1.57.0/ 
--sources-top-dirs /opt/local/var/obj/pkgsrc/devel/pango/work/pango-1.57.0/output/
clang: warning: argument unused during compilation: 
'-L/opt/local/var/obj/pkgsrc/devel/pango/work/.buildlink/lib' 
[-Wunused-command-line-argument]
ld: warning: duplicate -rpath '/opt/local/lib' ignored
ld: warning: duplicate -rpath '/opt/local/lib' ignored
ld: warning: duplicate -rpath '/opt/local/lib' ignored
ld: warning: ignoring duplicate libraries: '-lgio-2.0', '-lglib-2.0', '-lgobject-2.0', '-lintl'
ld: warning: object file 
(/opt/local/var/obj/pkgsrc/devel/pango/work/pango-1.57.0/output/tmp-introspectjzrxjfbe/Pango-1.0.o) 
was built for newer 'macOS' version (15.7) than being linked (15.0)
dyld[26850]: Symbol not found: _pango_font_color_get_type
  Referenced from: <2EB5A2E2-F801-3430-B80E-199BD87F120A> 
/opt/local/var/obj/pkgsrc/devel/pango/work/pango-1.57.0/output/tmp-introspectjzrxjfbe/Pango-1.0
  Expected in:     <B51F7505-A05B-3F56-9253-168B474075AE> 
/opt/local/lib/libpango-1.0.0.dylib
Command 
'['/opt/local/var/obj/pkgsrc/devel/pango/work/pango-1.57.0/output/tmp-introspectjzrxjfbe/Pango-1.0', 
'--introspect-dump=/opt/local/var/obj/pkgsrc/devel/pango/work/pango-1.57.0/output/tmp-introspectjzrxjfbe/functions.txt,/opt/local/var/obj/pkgsrc/devel/pango/work/pango-1.57.0/output/tmp-introspectjzrxjfbe/dump.xml']' 
died with <Signals.SIGABRT: 6>.
ninja: build stopped: subcommand failed.
*** Error code 1


	I rebuilt glib and its friends, to no avail. The web has
	little on 'pango_font_color_get_type'.

	
>How-To-Repeat:

	Attempt to build devel/pango on a Mac with an older pango
	version	installed, e.g. with pkg_rolling-replace(1).

	
>Fix:

	Tell the meson/ninja clown cart not to look at libarries under
	PREFIX, I guess...

	As a workaround, removing the installed pango package
	('pkg_delete -ff pango') will let the build complete.

	

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index