Bug 2155849 - 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
Summary: Minor packaging problem introduced with gtk-sharp3-3.22.2-3.20220808git3.22.2...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gtk-sharp3
Version: 37
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Timotheus Pokorra
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-22 15:46 UTC by Hin-Tak Leung
Modified: 2023-07-19 04:20 UTC (History)
2 users (show)

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:
Clone Of:
Environment:
Last Closed: 2023-07-19 03:13:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.