Bug 2292890

Summary: gplugin fails to build with Python 3.13, requires python3.12-libs
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: gpluginAssignee: Elliott Sales de Andrade <quantum.analyst>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: igor.raits, ksurma, quantum.analyst
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: gplugin-0.43.2-2.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-19 01:10:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2260875, 2244836    

Description Miro Hrončok 2024-06-18 12:05:46 UTC
gplugin fails to build with Python 3.13, as a result, the packages Requires python3.12-lib. Please successfully rebuild the package.

Reproducible: Always

Steps to Reproduce:
fedpkg build
Actual Results:  
[114/230] env PKG_CONFIG_PATH=/usr/lib64/pkgconfig:/usr/share/pkgconfig:/builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/redhat-linux-build/meson-uninstalled PKG_CONFIG=/usr/bin/pkg-config CC=gcc /usr/bin/g-ir-scanner --quiet --no-libtool --namespace=Introspectable --nsversion=1.0 --warn-all --output gplugin-introspection/tests/Introspectable-1.0.gir --quiet -I/builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/gplugin-introspection/tests -I/builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/redhat-linux-build/gplugin-introspection/tests -I/builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/. -I/builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/redhat-linux-build/. -I/builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/gplugin/. -I/builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/redhat-linux-build/gplugin/. -I/builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/gplugin-introspection/. -I/builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/redhat-linux-build/gplugin-introspection/. --filelist=/builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/redhat-linux-build/gplugin-introspection/tests/introspectable.p/Introspectable_1.0_gir_filelist --include=GObject-2.0 --include-uninstalled=gplugin/GPlugin-1.0.gir --symbol-prefix=introspectable --pkg-export=introspectable --cflags-begin -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_76 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_76 '-DLOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="gplugin"' '-DPREFIX="/usr"' '-DLIBDIR="lib64"' '-DGPLUGIN_WEBSITE="https://keep.imfreedom.org/gplugin/gplugin"' -I/builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/. -I/builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/redhat-linux-build/. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/gobject-introspection-1.0 --cflags-end --add-include-path=/usr/share/gir-1.0 --add-include-path=/builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/redhat-linux-build/gplugin --program /builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/redhat-linux-build/gplugin-introspection/tests/introspectable --extra-library=glib-2.0 --extra-library=gobject-2.0 --extra-library=gmodule-2.0 --extra-library=girepository-1.0 --sources-top-dirs /builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/ --sources-top-dirs /builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/redhat-linux-build/
FAILED: gplugin-introspection/tests/Introspectable-1.0.gir 
env PKG_CONFIG_PATH=/usr/lib64/pkgconfig:/usr/share/pkgconfig:/builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/redhat-linux-build/meson-uninstalled PKG_CONFIG=/usr/bin/pkg-config CC=gcc /usr/bin/g-ir-scanner --quiet --no-libtool --namespace=Introspectable --nsversion=1.0 --warn-all --output gplugin-introspection/tests/Introspectable-1.0.gir --quiet -I/builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/gplugin-introspection/tests -I/builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/redhat-linux-build/gplugin-introspection/tests -I/builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/. -I/builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/redhat-linux-build/. -I/builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/gplugin/. -I/builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/redhat-linux-build/gplugin/. -I/builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/gplugin-introspection/. -I/builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/redhat-linux-build/gplugin-introspection/. --filelist=/builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/redhat-linux-build/gplugin-introspection/tests/introspectable.p/Introspectable_1.0_gir_filelist --include=GObject-2.0 --include-uninstalled=gplugin/GPlugin-1.0.gir --symbol-prefix=introspectable --pkg-export=introspectable --cflags-begin -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_76 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_76 '-DLOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="gplugin"' '-DPREFIX="/usr"' '-DLIBDIR="lib64"' '-DGPLUGIN_WEBSITE="https://keep.imfreedom.org/gplugin/gplugin"' -I/builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/. -I/builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/redhat-linux-build/. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/gobject-introspection-1.0 --cflags-end --add-include-path=/usr/share/gir-1.0 --add-include-path=/builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/redhat-linux-build/gplugin --program /builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/redhat-linux-build/gplugin-introspection/tests/introspectable --extra-library=glib-2.0 --extra-library=gobject-2.0 --extra-library=gmodule-2.0 --extra-library=girepository-1.0 --sources-top-dirs /builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/ --sources-top-dirs /builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/redhat-linux-build/
/builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/gplugin-introspection/tests/introspectabletype.h:28: syntax error, unexpected identifier in 'G_MODULE_EXPORT' at 'G_MODULE_EXPORT'
Failed to query or load plugin /builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/redhat-linux-build/gplugin-introspection/tests/introspectable.so: /builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/redhat-linux-build/gplugin-introspection/tests/introspectable.so: cannot open shared object file: No such file or directory
Command '['/builddir/build/BUILD/gplugin-0.43.1-build/gplugin-0.43.1/redhat-linux-build/gplugin-introspection/tests/introspectable', '--introspect-dump=/tmp/tmp-introspectxigzqkaq/functions.txt,/tmp/tmp-introspectxigzqkaq/dump.xml']' returned non-zero exit status 1.

Expected Results:  
Build should succeed.

See all our 8+ build attempts linked from https://src.fedoraproject.org/rpms/gplugin/c/de6e7d30f276c2bbbb01d42cf7e70fe67654dd04?branch=rawhide