On 9/27/2020 8:21 AM, Lemures Lemniscati via Cygwin-apps wrote:
On Sun, 27 Sep 2020 12:40:06 +0200, Marco Atzeri via Cygwin-apps
On 27.09.2020 03:33, Lemures Lemniscati via Cygwin-apps wrote:
Hi!
I've noticed that libglibmm2.4-devel-2.54.1-2 for x86 is missing, while its
x86_64 version is available
(cf. https://www.cygwin.com/packages/summary/libglibmm2.4-devel.html ).
Please, update it.
By the way, I'm trying to package inkscape 1.0.1.
But, missing an updated package is an obstacle against compiling inkscape in an
x86 environment.
On the other hand, with libglibmm2.4-devel-2.54.1-2, inkscape 1.0.1 can be
compiled and seems to work in an x86_64 environment.
Regards,
Lem
it is possible that the update was only needed for x86_64.
Have you seen any problem in compiling on x86 ?
Yes.
About glibmm2.4, changes from 2.54.1-1 to 2.54.1-2 [1] are
brought by a patch [2], which modifies header files.
And, the fixes apply to both x86_64 and x86.
Without the fixes, we'll get an error like this (by gcc (GCC) 10.2.0):
====
...
/usr/include/glibmm-2.4/glibmm/threads.h: In member function ‘GPrivate*
Glib::Treads::Private<T>::gobj()’:
/usr/include/glibmm-2.4/glibmm/threads.h:660:29: error: cannot convert
‘GPrivat’ to ‘GPrivate*’ in return
660 | GPrivate* gobj() { return gobject_; }
| ^~~~~~~~
| |
| GPrivate
====
A similar case has been reported on a Fedora system [3] and it has been fixed
by the patch [2].
[1]:
https://cygwin.com/git-cygwin-packages/?p=git/cygwin-packages/glibmm2.4.git;a=commitdiff;h=56ab0085c826aee4cde8d1cfeafd2fb216fd6df9
[2]:
https://src.fedoraproject.org/rpms/glibmm24/raw/ecc4276486706c0ebc55aff3ac592499dc9df2a9/f/0001-Glib-Threads-Private-Fix-gobj.patch
[3]: https://bugzilla.redhat.com/show_bug.cgi?id=1540795
I just did a non-maintainer upload of the x86 packages. It should hit the
mirrors within an hour or so.
Ken