Bug 2082581

Summary: glade: FTBFS in Fedora Rawhide
Product: [Fedora] Fedora Reporter: Tomáš Hrnčiar <thrnciar>
Component: gladeAssignee: Kalev Lember <klember>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: dking, klember, mclasen, mhroncok, tpopela
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/glade
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-22 11:49:14 UTC Type: Bug
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: 2016048, 2045102    
Attachments:
Description Flags
meson-log.txt none

Description Tomáš Hrnčiar 2022-05-06 13:08:05 UTC
Description of problem:
Package glade fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
3.38.2-5.fc36

Steps to Reproduce:
koji build --scratch f37 glade-3.38.2-5.fc36.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/glade

Comment 1 Miro Hrončok 2022-06-10 01:45:37 UTC
This blocks the Python 3.11 rebuild of anaconda, hence changing the severity to high.

We need to initiate the Python 3.11 rebuild next week.

I'm CCing people who might help since KAlve is not available at the moment.


------------

The error is:



+ /usr/bin/meson --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . redhat-linux-build -Dgtk_doc=true
The Meson build system
Version: 0.62.1
Source dir: /builddir/build/BUILD/glade-3.38.2
Build dir: /builddir/build/BUILD/glade-3.38.2/redhat-linux-build
Build type: native build
Project name: glade
Project version: 3.38.2
C compiler for the host machine: gcc (gcc 12.1.1 "gcc (GCC) 12.1.1 20220507 (Red Hat 12.1.1-1)")
C linker for the host machine: gcc ld.bfd 2.38-14
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Run-time dependency glib-2.0 found: YES 2.72.2
Run-time dependency gio-2.0 found: YES 2.72.2
Run-time dependency gmodule-2.0 found: YES 2.72.2
Run-time dependency gmodule-export-2.0 found: YES 2.72.2
Run-time dependency gtk+-3.0 found: YES 3.24.34
Run-time dependency libxml-2.0 found: YES 2.9.14
Library m found: YES
Checking for function "gtk_print_unix_dialog_new" with dependency gtk+-3.0: YES 
Checking for function "_gtk_widget_class_template_unset_only_for_glade" with dependency gtk+-3.0: NO 
Checking if "how to copy va_list" : links: YES 
Run-time dependency gjs-1.0 found: YES 1.72.0
Run-time dependency pygobject-3.0 found: YES 3.42.1
Program python3 found: YES (/usr/bin/python3)
Run-time dependency webkit2gtk-4.0 found: YES 2.36.3
Run-time dependency gdk-3.0 found: YES 3.24.34
Program msgfmt found: YES (/usr/bin/msgfmt)
Program msginit found: YES (/usr/bin/msginit)
Program msgmerge found: YES (/usr/bin/msgmerge)
Program xgettext found: YES (/usr/bin/xgettext)
Configuring org.gnome.Glade.desktop.in using configuration

data/meson.build:4:5: ERROR: Function does not take positional arguments.

Comment 2 Miro Hrončok 2022-06-10 01:46:35 UTC
s/KAlve/Kalev/

Sorry about that.

Comment 3 Miro Hrončok 2022-06-10 01:51:02 UTC
Created attachment 1888514 [details]
meson-log.txt

Comment 4 Tomas Popela 2022-06-10 04:51:04 UTC
David, would you mind taking a look?

Comment 5 Miro Hrončok 2022-06-10 11:54:39 UTC
I've actually looked at that file and this smells like a fixer: https://gitlab.gnome.org/GNOME/glade/-/commit/6da47128e8da04edccccdfcbc9101940fc15fe3a

Comment 6 Miro Hrončok 2022-06-10 12:00:49 UTC
That unfortunately only uncovers another problem :(

https://src.fedoraproject.org/rpms/glade/pull-request/3

Comment 8 Miro Hrončok 2022-06-22 11:49:14 UTC
Closing this in bulk as it built with Python 3.11. If this needs to remain open for a followup, feel free to reopen, I won't close in bulk again.