Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gintro install may fail for Arch Linux #209

Open
StefanSalewski opened this issue Dec 17, 2022 · 7 comments
Open

gintro install may fail for Arch Linux #209

StefanSalewski opened this issue Dec 17, 2022 · 7 comments

Comments

@StefanSalewski
Copy link
Owner

Recently there have been again vague hints that gintro install may fail for Arch Linux, maybe due to the libsoup v2 vs. v3 issues. Unfortunately we have not been able to reproduce this, or have been able to guess a possible reason. Currently, we have not the time available to set up a Arch Linux box to prove this issue. So when you should have problems with Arch:

Do

nimble uninstall gintro
nimble install gintro@#head

And report the result as detailed as possible. Or even better, try to find the reason for the issue yourself. If you should be able to prove that there are at least a dozen people that have a high demand to use gintro, but suffer from this issue, them we may actually install Arch Linux ourselves and investigate the issue in detail. But for one or two people, that may just try out gintro, and would not really use it, we can really not do such an expensive task, sorry.

@StefanSalewski
Copy link
Owner Author

Well, actually there is some progress. We manage to get an Arch Linux box for testing, and found out that recent Arch Linux ships a libnice which uses already libsoup3. Most other distributions including our Gentoo have a libnice using libsoup2.4 still, and this generates all the libsoup2/libsoup3 trouble. As Mr. Jens Georg told us in https://discourse.gnome.org/t/libnice-should-have-libsoup-as-depency/9320 libnice does a hidden indirect import of libsoup by gupnp. So the suggested solution is to process gupnp, finding out which libsoup version it is using by a call of g_irepository_is_registered(gi, "Soup", "2.4"), and then proceeding in a safe way adapted to the local box. This should work for most library combinations. One problem, which we can not really avoid currently, is, that a box with a libnice using still libsoup2.4, but with installed webkitgtk2 v4.1, and no webkitgtk2 v4.0, will get no webkitgtk2 support for GTK3. But it will get webkitgtk2 support for GTK4 if that lib is installed, and when the user manages to additional install webkitgtk2 v4.0, then that version will be available for Nim too.

This should be good enough for now -- soon libsoup2.4 should vanish, and all will become much simpler again.

Currently this is our strategy, we have to test it still.

@xynydev
Copy link

xynydev commented Jul 21, 2023

I'm on Fedora Silverblue and getting this same libsoup2/3 error. Fedora usually ships newer packages, too.

nimble install gintro
Downloading https://github.com/stefansalewski/gintro using git
preparing gintro
--2023-07-21 18:34:57--  https://raw.githubusercontent.com/StefanSalewski/oldgtk3/master/oldgtk3/gobject.nim
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 2606:50c0:8003::154, 2606:50c0:8000::154, 2606:50c0:8001::154, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|2606:50c0:8003::154|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 108015 (105K) [text/plain]
Saving to: ‘gobject.nim’

gobject.nim 100%[===================================================================================>] 105.48K --.-KB/s in 0.03s

2023-07-21 18:34:58 (3.89 MB/s) - ‘gobject.nim’ saved [108015/108015]

--2023-07-21 18:34:58-- https://raw.githubusercontent.com/StefanSalewski/oldgtk3/master/oldgtk3/glib.nim
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 2606:50c0:8003::154, 2606:50c0:8000::154, 2606:50c0:8001::154, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|2606:50c0:8003::154|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 256798 (251K) [text/plain]
Saving to: ‘glib.nim’

glib.nim 100%[===================================================================================>] 250.78K --.-KB/s in 0.05s

2023-07-21 18:34:58 (5.23 MB/s) - ‘glib.nim’ saved [256798/256798]

--2023-07-21 18:34:58-- https://raw.githubusercontent.com/StefanSalewski/oldgtk3/master/oldgtk3/gir.nim
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 2606:50c0:8001::154, 2606:50c0:8002::154, 2606:50c0:8003::154, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|2606:50c0:8001::154|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 33340 (33K) [text/plain]
Saving to: ‘gir.nim’

gir.nim 100%[===================================================================================>] 32.56K --.-KB/s in 0.006s

2023-07-21 18:34:58 (4.94 MB/s) - ‘gir.nim’ saved [33340/33340]

Hint: used config file '/var/home/e/.choosenim/toolchains/nim-1.6.14/config/nim.cfg' [Conf]
Hint: used config file '/var/home/e/.choosenim/toolchains/nim-1.6.14/config/config.nims' [Conf]
.........................................................................................
/tmp/gintrosalewski/glib.nim(46, 13) Warning: use char or uint8 instead; cuchar is deprecated [Deprecated]
/tmp/gintrosalewski/glib.nim(788, 34) Warning: use char or uint8 instead; cuchar is deprecated [Deprecated]
/tmp/gintrosalewski/glib.nim(794, 30) Warning: use char or uint8 instead; cuchar is deprecated [Deprecated]
/tmp/gintrosalewski/glib.nim(796, 62) Warning: use char or uint8 instead; cuchar is deprecated [Deprecated]
/tmp/gintrosalewski/glib.nim(799, 59) Warning: use char or uint8 instead; cuchar is deprecated [Deprecated]
/tmp/gintrosalewski/glib.nim(801, 66) Warning: use char or uint8 instead; cuchar is deprecated [Deprecated]
/tmp/gintrosalewski/glib.nim(1078, 45) Warning: use char or uint8 instead; cuchar is deprecated [Deprecated]
/tmp/gintrosalewski/glib.nim(1085, 69) Warning: use char or uint8 instead; cuchar is deprecated [Deprecated]
/tmp/gintrosalewski/glib.nim(2099, 51) Warning: use char or uint8 instead; cuchar is deprecated [Deprecated]
/tmp/gintrosalewski/glib.nim(2104, 37) Warning: use char or uint8 instead; cuchar is deprecated [Deprecated]
/tmp/gintrosalewski/glib.nim(2110, 62) Warning: use char or uint8 instead; cuchar is deprecated [Deprecated]
/tmp/gintrosalewski/glib.nim(2111, 36) Warning: use char or uint8 instead; cuchar is deprecated [Deprecated]
/tmp/gintrosalewski/glib.nim(2113, 64) Warning: use char or uint8 instead; cuchar is deprecated [Deprecated]
/tmp/gintrosalewski/glib.nim(3793, 29) Warning: use char or uint8 instead; cuchar is deprecated [Deprecated]
/tmp/gintrosalewski/glib.nim(3840, 33) Warning: use char or uint8 instead; cuchar is deprecated [Deprecated]
/tmp/gintrosalewski/glib.nim(3842, 30) Warning: use char or uint8 instead; cuchar is deprecated [Deprecated]
/tmp/gintrosalewski/glib.nim(4836, 13) Warning: use char or uint8 instead; cuchar is deprecated [Deprecated]
/tmp/gintrosalewski/glib.nim(5727, 12) Warning: unsafe conversion to 'cstring' from 'ptr cchar'; this will become a compile time error in the future [PtrToCstringConv]
/tmp/gintrosalewski/glib.nim(1806, 3) Hint: 'G_TRAVERSE_MASK' is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/glib.nim(1807, 3) Hint: 'G_TRAVERSE_LEAFS' is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/glib.nim(1808, 3) Hint: 'G_TRAVERSE_NON_LEAFS' is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/glib.nim(22, 3) Hint: 'GLIB_H_INSIDE' is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/glib.nim(23, 3) Hint: 'GLIB_COMPILATION' is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/glib.nim(26, 3) Hint: 'MINGW_H' is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/glib.nim(27, 3) Hint: 'STDLIB_H' is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/glib.nim(29, 3) Hint: 'MSC_VER' is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/glib.nim(2911, 3) Hint: 'G_NORMALIZE_NFD' is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/glib.nim(2912, 3) Hint: 'G_NORMALIZE_NFC' is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/glib.nim(2913, 3) Hint: 'G_NORMALIZE_NFKD' is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/glib.nim(2914, 3) Hint: 'G_NORMALIZE_NFKC' is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/glib.nim(3040, 3) Hint: 'G_IO_FLAGS_GET_MASK' is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/glib.nim(31, 3) Hint: 'GTK_DOC_IGNORE' is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/glib.nim(34, 3) Hint: 'INC_STDLIB' is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/glib.nim(4652, 3) Hint: 'G_REGEX_MATCH_PARTIAL_SOFT' is declared but not used [XDeclaredButNotUsed]
.
/tmp/gintrosalewski/gobject.nim(2351, 46) Warning: use char or uint8 instead; cuchar is deprecated [Deprecated]
/tmp/gintrosalewski/gobject.nim(2353, 32) Warning: use char or uint8 instead; cuchar is deprecated [Deprecated]
/tmp/gintrosalewski/gobject.nim(658, 3) Hint: 'G_PARAM_READWRITE' is declared but not used [XDeclaredButNotUsed]
.............
/tmp/gintrosalewski/gen.nim(937, 34) Warning: implicit conversion to 'cstring' from a non-const location: mangleName(child); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(937, 35) Warning: implicit conversion to 'cstring' from a non-const location: child; this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(957, 34) Warning: implicit conversion to 'cstring' from a non-const location: mangleName(child); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(957, 35) Warning: implicit conversion to 'cstring' from a non-const location: child; this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(980, 36) Warning: implicit conversion to 'cstring' from a non-const location: mangleName(child); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(980, 37) Warning: implicit conversion to 'cstring' from a non-const location: child; this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(1011, 48) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(iface); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(1013, 30) Warning: implicit conversion to 'cstring' from a non-const location: $gBaseInfoGetName(iface); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(1027, 32) Warning: implicit conversion to 'cstring' from a non-const location: result[0]; this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(1037, 39) Warning: implicit conversion to 'cstring' from a non-const location: result.namePlain; this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(1038, 41) Warning: implicit conversion to 'cstring' from a non-const location: result.namePlainNS; this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(1042, 36) Warning: implicit conversion to 'cstring' from a non-const location: result.name00; this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(1047, 38) Warning: implicit conversion to 'cstring' from a non-const location: result.name00NS; this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(1052, 32) Warning: implicit conversion to 'cstring' from a non-const location: result[0]; this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(1086, 33) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(1352, 11) Warning: use delete(s, first..last); delete is deprecated [Deprecated]
/tmp/gintrosalewski/gen.nim(1598, 9) Warning: use delete(s, first..last); delete is deprecated [Deprecated]
/tmp/gintrosalewski/gen.nim(1200, 67) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(binfo); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(1202, 53) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(binfo); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(1238, 66) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(binfo); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(1242, 53) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetQualifiedName(binfo, modPrefix); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(1245, 49) Warning: implicit conversion to 'cstring' from a non-const location: i; this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(1249, 68) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetQualifiedName(binfo, modPrefix); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(1256, 47) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(arg); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(1366, 51) Warning: implicit conversion to 'cstring' from a non-const location: i; this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(1540, 50) Warning: implicit conversion to 'cstring' from a non-const location: mangleName(gBaseInfoGetQualifiedName(h, modPrefix)); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(1540, 76) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetQualifiedName(h, modPrefix); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(1543, 54) Warning: implicit conversion to 'cstring' from a non-const location: mangleName(gBaseInfoGetQualifiedName(h, modPrefix)); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(1543, 80) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetQualifiedName(h, modPrefix); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2012, 45) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(minfo); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2023, 13) Warning: implicit conversion to 'cstring' from a non-const location: h; this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2030, 46) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2039, 46) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2112, 77) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(1822, 46) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(arggensym196); this will become a compile time error in the future [CStringConv] /tmp/gintrosalewski/gen.nim(1847, 45) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(arggensym196); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(1822, 46) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(arggensym235); this will become a compile time error in the future [CStringConv] /tmp/gintrosalewski/gen.nim(1847, 45) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(arggensym235); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2152, 95) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2426, 93) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2585, 106) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2586, 55) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2588, 55) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2590, 121) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2593, 45) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(field); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2596, 110) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2597, 55) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2598, 69) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2461, 110) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2472, 126) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2476, 106) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2480, 106) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2484, 92) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2490, 106) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2494, 88) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2517, 110) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2538, 102) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2553, 98) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2561, 100) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2684, 33) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2685, 56) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2686, 56) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2701, 108) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2702, 55) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2704, 55) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2705, 121) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2707, 32) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2709, 89) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2714, 45) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(field); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2722, 110) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2724, 57) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2726, 57) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2727, 69) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2461, 110) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2472, 126) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2476, 106) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2480, 106) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2484, 92) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2490, 106) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2494, 88) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2745, 33) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2749, 33) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2753, 33) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2756, 33) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2758, 33) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2517, 110) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2538, 102) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2553, 98) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2561, 100) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2822, 53) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2823, 53) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2803, 40) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2807, 43) Warning: implicit conversion to 'cstring' from a non-const location: igensym467; this will become a compile time error in the future [CStringConv] /tmp/gintrosalewski/gen.nim(2809, 51) Warning: implicit conversion to 'cstring' from a non-const location: "sc_" & $gBaseInfoGetName(signalInfo); this will become a compile time error in the future [CStringConv] /tmp/gintrosalewski/gen.nim(2848, 43) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(value); this will become a compile time error in the future [CStringConv] /tmp/gintrosalewski/gen.nim(2857, 42) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv] /tmp/gintrosalewski/gen.nim(2893, 33) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv] /tmp/gintrosalewski/gen.nim(2895, 62) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv] /tmp/gintrosalewski/gen.nim(2907, 43) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(value); this will become a compile time error in the future [CStringConv] /tmp/gintrosalewski/gen.nim(2923, 42) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv] /tmp/gintrosalewski/gen.nim(2986, 40) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(parent); this will become a compile time error in the future [CStringConv] /tmp/gintrosalewski/gen.nim(3009, 24) Warning: implicit conversion to 'cstring' from a non-const location: pname; this will become a compile time error in the future [CStringConv] /tmp/gintrosalewski/gen.nim(3010, 33) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv] /tmp/gintrosalewski/gen.nim(3013, 55) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv] /tmp/gintrosalewski/gen.nim(3022, 55) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv] /tmp/gintrosalewski/gen.nim(3024, 53) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv] /tmp/gintrosalewski/gen.nim(3025, 11) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv] /tmp/gintrosalewski/gen.nim(3027, 106) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv] /tmp/gintrosalewski/gen.nim(3031, 11) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv] /tmp/gintrosalewski/gen.nim(3046, 33) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv] /tmp/gintrosalewski/gen.nim(2803, 40) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv] /tmp/gintrosalewski/gen.nim(2807, 43) Warning: implicit conversion to 'cstring' from a non-const location: igensym524; this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(2809, 51) Warning: implicit conversion to 'cstring' from a non-const location: "sc_" & $gBaseInfoGetName(signalInfo); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(3076, 71) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(class); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(3092, 40) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(3094, 92) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(3138, 42) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(3145, 92) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(info); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(3158, 67) Warning: implicit conversion to 'cstring' from a non-const location: freeMeName; this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(3231, 43) Warning: implicit conversion to 'cstring' from a non-const location: h; this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(3247, 57) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(i); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(4008, 9) Warning: use delete(s, first..last); delete is deprecated [Deprecated]
/tmp/gintrosalewski/gen.nim(4015, 9) Warning: use delete(s, first..last); delete is deprecated [Deprecated]
/tmp/gintrosalewski/gen.nim(3999, 60) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(gIrepositoryGetInfo(gi, namespace, i)); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(4004, 47) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(i); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(4039, 48) Warning: implicit conversion to 'cstring' from a non-const location: n; this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(4054, 45) Warning: implicit conversion to 'cstring' from a non-const location: n; this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(4154, 51) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(k); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(4162, 51) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(k); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(4196, 59) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(k); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(4200, 65) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(k); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(4200, 100) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(it); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(4207, 59) Warning: implicit conversion to 'cstring' from a non-const location: gBaseInfoGetName(k); this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(4301, 41) Warning: implicit conversion to 'cstring' from a non-const location: i; this will become a compile time error in the future [CStringConv]
/tmp/gintrosalewski/gen.nim(213, 6) Hint: 'endsWith' is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/gen.nim(265, 6) Hint: 'renumber' is declared but not used [XDeclaredButNotUsed]
/tmp/gintrosalewski/gen.nim(69, 10) Hint: 'isTypeInfo' is declared but not used [XDeclaredButNotUsed]
Hint: [Link]
Hint: gc: refc; opt: none (DEBUG BUILD, -d:release generates faster code)
71289 lines; 0.827s; 117.273MiB peakmem; proj: /tmp/gintrosalewski/gen.nim; out: /tmp/gintrosalewski/gen [SuccessX]
First we try generating bindings for GTK4, this may fail when GTK4 is not properly installed
on your computer. But don't worry, you can still use GTK3
Can't load gtk4 library!
gtk4....................: Remaining delayed methods: 0 (Fine!)
gdk4....................: Remaining delayed methods: 0 (Fine!)
gdkx114.................: Remaining delayed methods: 0 (Fine!)
gsk.....................: Remaining delayed methods: 0 (Fine!)
graphene................: Remaining delayed methods: 0 (Fine!)
gobject.................: Remaining delayed methods: 0 (Fine!)
glib....................: Remaining delayed methods: 0 (Fine!)
gio.....................: Remaining delayed methods: 0 (Fine!)
gdkpixbuf...............: Remaining delayed methods: 0 (Fine!)
gmodule.................: Remaining delayed methods: 0 (Fine!)
Failed to load GtkSource
Requiring namespace 'Gtk' version '3.0', but '4.0' is already loaded
Maybe for your OS you have to install additional GTK related packages?
We continue with the remaining packages...
atk.....................: Remaining delayed methods: 0 (Fine!)
pango...................: Remaining delayed methods: 0 (Fine!)
pangocairo..............: Remaining delayed methods: 0 (Fine!)
pangoft2................: Remaining delayed methods: 0 (Fine!)
fontconfig..............: Remaining delayed methods: 0 (Fine!)
freetype2...............: Remaining delayed methods: 0 (Fine!)
harfbuzz................: Remaining delayed methods: 0 (Fine!)
rsvg....................: Remaining delayed methods: 0 (Fine!)
xlib....................: Remaining delayed methods: 0 (Fine!)
notify..................: Remaining delayed methods: 0 (Fine!)
Fontconfig warning: "/home/e/.config/fontconfig/fonts.conf", line 4: Use of ambiguous path in

element. please add prefix="cwd" if current behavior is desired.
adw.....................: Remaining delayed methods: 0 (Fine!)
soup....................: Remaining delayed methods: 0 (Fine!)
cairo...................: Remaining delayed methods: 0 (Fine!)
Failed to load WebKit2
Typelib file for namespace 'WebKit2', version '5.0' not found
Maybe for your OS you have to install additional GTK related packages?
We continue with the remaining packages...
Failed to load JavaScriptCore
Typelib file for namespace 'JavaScriptCore', version '5.0' not found
Maybe for your OS you have to install additional GTK related packages?
We continue with the remaining packages...
Failed to load WebKit2WebExtension
Typelib file for namespace 'WebKit2WebExtension', version '5.0' not found
Maybe for your OS you have to install additional GTK related packages?
We continue with the remaining packages...
gst.....................: Remaining delayed methods: 0 (Fine!)
gstbase.................: Remaining delayed methods: 0 (Fine!)
gstallocators...........: Remaining delayed methods: 0 (Fine!)
gstapp..................: Remaining delayed methods: 0 (Fine!)
gstaudio................: Remaining delayed methods: 0 (Fine!)
gstcheck................: Remaining delayed methods: 0 (Fine!)
gstcontroller...........: Remaining delayed methods: 0 (Fine!)
gstgl...................: Remaining delayed methods: 0 (Fine!)
gstinsertbin............: Remaining delayed methods: 0 (Fine!)
gstmpegts...............: Remaining delayed methods: 0 (Fine!)
gstnet..................: Remaining delayed methods: 0 (Fine!)
gstplayer...............: Remaining delayed methods: 0 (Fine!)
gstrtp..................: Remaining delayed methods: 0 (Fine!)
Caution: Do guess free/unref for (gst_rtsp_transport_new)
gstrtsp.................: Remaining delayed methods: 0 (Fine!)
gstsdp..................: Remaining delayed methods: 0 (Fine!)
gsttag..................: Remaining delayed methods: 0 (Fine!)
gstvideo................: Remaining delayed methods: 0 (Fine!)
gstwebrtc...............: Remaining delayed methods: 0 (Fine!)
gstapp..................: Remaining delayed methods: 0 (Fine!)
gstpbutils..............: Remaining delayed methods: 0 (Fine!)
Generating bindings for GTK3...
gtk.....................: Remaining delayed methods: 0 (Fine!)
gdk.....................: Remaining delayed methods: 0 (Fine!)
gdkx11..................: Remaining delayed methods: 0 (Fine!)
graphene................: Remaining delayed methods: 0 (Fine!)
gobject.................: Remaining delayed methods: 0 (Fine!)
glib....................: Remaining delayed methods: 0 (Fine!)
gio.....................: Remaining delayed methods: 0 (Fine!)
gdkpixbuf...............: Remaining delayed methods: 0 (Fine!)
gmodule.................: Remaining delayed methods: 0 (Fine!)
gtksource...............: Remaining delayed methods: 0 (Fine!)
atk.....................: Remaining delayed methods: 0 (Fine!)
pango...................: Remaining delayed methods: 0 (Fine!)
pangocairo..............: Remaining delayed methods: 0 (Fine!)
pangoft2................: Remaining delayed methods: 0 (Fine!)
fontconfig..............: Remaining delayed methods: 0 (Fine!)
freetype2...............: Remaining delayed methods: 0 (Fine!)
harfbuzz................: Remaining delayed methods: 0 (Fine!)
rsvg....................: Remaining delayed methods: 0 (Fine!)
xlib....................: Remaining delayed methods: 0 (Fine!)
vte.....................: Remaining delayed methods: 0 (Fine!)
notify..................: Remaining delayed methods: 0 (Fine!)
handy...................: Remaining delayed methods: 0 (Fine!)
soup....................: Remaining delayed methods: 0 (Fine!)

(gen:38014): libsoup-ERROR **: 18:35:50.091: libsoup2 symbols detected. Using libsoup2 and libsoup3 in the same process is not supported.
stack trace: (most recent call last)
/tmp/nimblecache-1701593959/nimscriptapi_2654171384.nim(199, 29)
/tmp/nimble_37738/githubcom_stefansalewskigintro/gintro.nimble(77, 7) installBefore
/tmp/nimble_37738/githubcom_stefansalewskigintro/gintro.nimble(65, 7) prep
/var/home/e/.choosenim/toolchains/nim-1.6.14/lib/system/nimscript.nim(273, 7) exec
/var/home/e/.choosenim/toolchains/nim-1.6.14/lib/system/nimscript.nim(273, 7) Error: unhandled exception: FAILED: /tmp/gintrosalewski/gen [OSError]
Tip: 4 messages have been suppressed, use --verbose to show them.
Error: Exception raised during nimble script execution

@StefanSalewski
Copy link
Owner Author

Thanks for reporting. So is there really a libsoup issue again? Actually, I heard from some people, that gintro does not installs with latest Nim compiler at all, there seems to be some tuple unpacking issues. That unpacking have worked for 8 years without problems, so my feeling is that they may broke it by intent. For gintro, I have not really used Nim in the last 12 months. I have still an old install with a working gintro at least. But I don't think that someone still really intends to use gintro any longer. Or have you created a larger software project with it in the last few years? If not, it may be better to use one of the 20 other Nim GUI toolkits. Some years ago they have advertised Fidget a lot. And I think the other GTK4 one is also interesting, I think its author was named Can Lehmann, and the tool owkettle. He put a lot work in his project, but I am not sure if it is already usable for non-toy projects. I think next winter I will fix the few remaining grammar issues of the book, and maybe let it print at Amazon, so I might do no other Nim work in the new few years.

@StefanSalewski
Copy link
Owner Author

Wait.

First we try generating bindings for GTK4, this may fail when GTK4 is not properly installed

Are you actually using the latest Gintro package?

Did you install as advertised with

nimble uninstall gintro
nimble install gintro@#head

I have some serious doubts, as since a year or so, and since the latest libsoup fix, we install GTK3 bindings first. (Of course, above uninstall command may be not necessary, but I am using it to be sure that all old stuff is removed.) When you wonder about @#head, that might be an indication that you have not looked at the README at all -- it is, because Gintro reached version 0.9.9 long time ago already, and we hesitated to make a 1.0.

@xynydev
Copy link

xynydev commented Jul 22, 2023

I installed @#head after posting this issue and got it to work. The README still clearly states that to "try it out" I should just nimble install gintro. I hit some other issues though, probably shallowly related to your project.

I was looking at bindings in other modern languages, but nothing beats Nim in my eyes. I'm specifically in the process of learning GTK, so no big projects, and I probably wont try another framework RN. I'll have a look at Owlkettle, though, it looks really cool!

It's probably a good idea to have an explicit disclaimer in the README if your own idea of gintro is that it probably shouldn't be used any longer.

@StefanSalewski
Copy link
Owner Author

it probably shouldn't be used any longer.

It is a difficult topic. I have to use it myself still, as I have no real replacement, I have this old SDT project: https://github.com/StefanSalewski/SDT. And doubts that another Nim GUI may be able to replace GTK for it in in the next few decades. But well, SDT is a serious project, started in 2012 in Ruby, then I created Gintro and ported to Nim. My feeling is, that most other Nim users are doing only toy projects, so other GUIs may be good enough and may be more fun. GTK is generally used by only very few people still, look at the Gnome forum, or search for new projects at GitHub: There is nothing. GTK4 has not make GTK more popular. And learning GTK is very much work, I started with GTK in 2006 and still know only parts of it, while I may have spent more than 1000 hours for learning, started in 2007 with the book of A. Krause. I think there are two people who really know GTK -- E. Bassi and C. Larsen. Bassi is still on the Gnome forum. As you may know, beside the Nim book, I started writing the GTK4 one, which is still only 25% finished, and I think I will not continue with it, as no one is really interested. Maybe in next winter i will remove Gintro from GitHub, should be OK as I have the feeling that no one is using it still. Personally, I have some hope for a new Rust GUI, they have money, manpower, and motivation. I think they have at least two projects, both in very early state still. But when one of them will make good progress, I may find motivation to port my SDT to Rust?

@xynydev
Copy link

xynydev commented Jul 22, 2023

Yeah, a lot of people are going to Rust for exciting GUI and other rendering things. It's a shame you can't do bindings for Rust libraries as easily as for C libraries...

Maybe in next winter i will remove Gintro from GitHub, should be OK as I have the feeling that no one is using it still.

I suggest you not to remove it completely, but add some notice of abandonment or something similar, and if you're planning to stop updating it archiving the repo. The codebase of Gintro might still be useful for someone down the line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants