Bug 1914657

Summary: xmakemol crashes with error message about NULL widget class
Product: [Fedora] Fedora EPEL Reporter: Susi Lehtola <susi.lehtola>
Component: xmakemolAssignee: Susi Lehtola <susi.lehtola>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: susi.lehtola
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: xmakemol-5.16-10.fc32 xmakemol-5.16-10.fc33 xmakemol-5.16-10.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-19 01:51:13 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:

Description Susi Lehtola 2021-01-10 15:46:41 UTC
xmakemol is not running in RHEL 7

$ xmakemol
Warning: 
    Name: button_5
    Class: XmCascadeButtonGadget
    Illegal mnemonic character;  Could not convert X KEYSYM to a keycode

Error: XtCreateWidget "canvas" requires non-NULL widget class

Comment 1 Susi Lehtola 2021-01-10 16:01:39 UTC
Based on a similar issue, https://github.com/afni/afni/issues/53, the fix is simple: replace the global definition of "canvas" in global.h as extern and declare the variables in xmakemol.c

Comment 2 Fedora Update System 2021-01-10 16:02:50 UTC
FEDORA-2021-8a611647cd has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2021-8a611647cd

Comment 3 Fedora Update System 2021-01-10 16:02:51 UTC
FEDORA-EPEL-2021-8bf1e1cecb has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-8bf1e1cecb

Comment 4 Fedora Update System 2021-01-11 00:23:24 UTC
FEDORA-EPEL-2021-8bf1e1cecb has been pushed to the Fedora EPEL 7 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-8bf1e1cecb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2021-01-11 01:32:29 UTC
FEDORA-2021-8a611647cd has been pushed to the Fedora 32 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-8a611647cd`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-8a611647cd

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2021-01-11 02:02:09 UTC
FEDORA-2021-afb5473c92 has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-afb5473c92`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-afb5473c92

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2021-01-19 01:51:13 UTC
FEDORA-2021-8a611647cd has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2021-01-19 02:23:30 UTC
FEDORA-2021-afb5473c92 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2021-01-26 00:44:01 UTC
FEDORA-EPEL-2021-8bf1e1cecb has been pushed to the Fedora EPEL 7 stable repository.
If problem still persists, please make note of it in this bug report.