Bug 2155849

Summary: Minor packaging problem introduced with gtk-sharp3-3.22.2-3.20220808git3.22.2.fc37.x86_64, from gtk-sharp3-2.99.3-33.fc36.x86_64
Product: [Fedora] Fedora Reporter: Hin-Tak Leung <htl10>
Component: gtk-sharp3Assignee: Timotheus Pokorra <mailinglists>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: claudiorodrigo, mailinglists
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gtk-sharp3-3.22.2-5.20220808git3.22.2.fc38 gtk-sharp3-3.22.2-5.20220808git3.22.2.fc37 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-19 03:13:34 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 Hin-Tak Leung 2022-12-22 15:46:57 UTC
Description of problem:
Just upgraded from fc36 to fc37, and noticed a small breakage upgrading from gtk-sharp3-2.99.3-33.fc36.x86_64 to gtk-sharp3-3.22.2-3.20220808git3.22.2.fc37.x86_64 .

The small rename from /usr/lib/mono/gtk-sharp-3.0/ to /usr/lib/mono/GtkSharp-3.0/ isn't a problem. But I think back in the older version, the dll inside are not real files, but symlinks to the real file inside ../gac/...

The issue is that, the real file should be accompanied by a gtk-sharp.dll.config for it to work. Now /usr/lib/mono/GtkSharp-3.0/ contains real files, without the *.config.

C.F. how webkit2-sharp is packaged, /usr/lib/mono/webkit2-sharp/webkit2-sharp.dll is a symlink (not a real file) to ../gac/webkit2-sharp/2.10.9.0__93af088ca72d1b59/webkit2-sharp.dll, which is accompanied by a *.config.


Version-Release number of selected component (if applicable):
gtk-sharp3-3.22.2-3.20220808git3.22.2.fc37.x86_64


How reproducible:
Always

Steps to Reproduce:
1.Try loading from /usr/lib/mono/GtkSharp-3.0/ with -lib:

Actual results:
System.DllNotFoundException: gtk-3-0.dll
  at (wrapper managed-to-native) Gtk.Application.gtk_init(int&,intptr&)
  at Gtk.Application.Init () [0x0000f] in <c0bd3d7799cb459c91cf3d7a0afca1ac>:0 
  at <InteractiveExpressionClass>.Host (System.Object& $retval) [0x00000] in <18d5ec53403943e0a11f0c1eabd3ec32>:0 
  at Mono.CSharp.Evaluator.Evaluate (System.String input, System.Object& result, System.Boolean& result_set) [0x0003e] in <0cf4b81a98f0434f95ede2022cd42383>:0 
  at Mono.CSharpShell.Evaluate (System.String input) [0x00000] in <445efc3aa14a4c44bc4de07e0f68cd4d>:0 


Expected results:
There should be a accompanying *.config (or the file should be a symlink to the gac copy, which has an accompanying *.config), which maps "gtk-3-0.dll" to "libgtk-3.so.0"


Additional info:
It used to work in gtk-sharp3-2.99.3-33.fc36.x86_64, and I use it daily just before the fc36 to fc37 upgrade.

Comment 1 Fedora Update System 2023-07-10 04:54:37 UTC
FEDORA-2023-03d91b4ada has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-03d91b4ada

Comment 2 Fedora Update System 2023-07-10 04:55:13 UTC
FEDORA-2023-49f3e8b762 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-49f3e8b762

Comment 3 Fedora Update System 2023-07-11 00:30:40 UTC
FEDORA-2023-49f3e8b762 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-49f3e8b762`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-49f3e8b762

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

Comment 4 Fedora Update System 2023-07-11 01:52:16 UTC
FEDORA-2023-03d91b4ada has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-03d91b4ada`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-03d91b4ada

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

Comment 5 Fedora Update System 2023-07-19 03:13:34 UTC
FEDORA-2023-03d91b4ada has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2023-07-19 04:20:26 UTC
FEDORA-2023-49f3e8b762 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.