Re: [OpenIndiana-discuss] geany editor?

2022-03-28 Thread benn
Hi Jason,

On Sun, 2022-03-27 at 20:02 -0400, Jason Martin wrote:
> Just a heads up.
>
> I was using this package before my disk space problem.
>
> I uninstalled and then re-installed but I still get this error.
>
> agrellum@openindiana:~$ geany
> ld.so.1: geany: fatal: relocation error: file /usr/lib/libgeany.so.0:
> symbol g_get_os_info: referenced symbol not found
> Killed
>
I just installed geany and it appears to work, this is the versaion I
am using:
~$ geany --version
geany 1.38 (built on 2021-10-23 with GTK 3.24.30, GLib 2.66.8)

Verify the geany package installation. If the package installation is
valid, the following command returns nothing:
~$ pkg verify editor/geany

If you obtain an error, try using the fix option:
~$ pkg fix editor/geany

If this doesn't help, check whether there other libraries required by
geany causing a problem:
~$ ldd /usr/bin/geanny
This should produce a list of libraries and where they are found. If
you see any NOT FOUND (or something similar); then this might help in
the hunt for the problem: which libs are not found ...
(Are ther links to libgeany.so.0.0.0, etc ok?) Is libgeany.so really
found in /usr/lib? or somewhere else. Have you set LD_LIBRARY_PATH? If
LD_LIBRARY_PATH has been set, unset it (unset LD_LIBRARY_PATH), and try
again.

Finally confirm that g_get_os_info is really not in libgeany.so:
~$ nm /usr/lib/libgeany.so | grep g_get_os_info
[16475] | 0| 0|FUNC |GLOB |0|UNDEF
|g_get_os_info

For me the method is in the lib and all is fine. You should be
obtaining an error here.

Cheers
Benn
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org





___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] geany editor?

2022-03-28 Thread Andreas Wacknitz

Am 28.03.22 um 02:02 schrieb Jason Martin:

Just a heads up.

I was using this package before my disk space problem.

I uninstalled and then re-installed but I still get this error.

agrellum@openindiana:~$ geany
ld.so.1: geany: fatal: relocation error: file /usr/lib/libgeany.so.0:
symbol g_get_os_info: referenced symbol not found
Killed


It looks like geany needs a rebuild after our necessary downgrade of
glib to 2.62.6. Alas, geany doesn't compile with this old glib version.
Thus, we need to fix our problems with newer glib versions before geany
will be working again.


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] geany editor?

2022-03-28 Thread Jason Martin

On 3/28/22 09:06, Andreas Wacknitz wrote:

Am 28.03.22 um 02:02 schrieb Jason Martin:

Just a heads up.

I was using this package before my disk space problem.

I uninstalled and then re-installed but I still get this error.

agrellum@openindiana:~$ geany
ld.so.1: geany: fatal: relocation error: file /usr/lib/libgeany.so.0:
symbol g_get_os_info: referenced symbol not found
Killed


It looks like geany needs a rebuild after our necessary downgrade of
glib to 2.62.6. Alas, geany doesn't compile with this old glib version.
Thus, we need to fix our problems with newer glib versions before geany
will be working again.


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discus



Was getting ready to go through all the libs in amd64.

All other things had passed and I had ran pkg fix on all 1184 packages.

Thank you.




___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] geany editor?

2022-03-28 Thread Peter Tribble
On Mon, Mar 28, 2022 at 2:06 PM Andreas Wacknitz  wrote:

> Am 28.03.22 um 02:02 schrieb Jason Martin:
> >
> > agrellum@openindiana:~$ geany
> > ld.so.1: geany: fatal: relocation error: file /usr/lib/libgeany.so.0:
> > symbol g_get_os_info: referenced symbol not found
> > Killed
> >
> It looks like geany needs a rebuild after our necessary downgrade of
> glib to 2.62.6.


Yes, it picked up g_get_os_info which came in with 2.64


> Alas, geany doesn't compile with this old glib version.
>

Hm. Builds and runs for me (on Tribblix) against glib 2.56.4 and geany
itself
only claims to want glib 2.32.0, so it ought to be OK.

-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] geany editor?

2022-03-28 Thread Andreas Wacknitz

Am 28.03.22 um 15:34 schrieb Peter Tribble:

On Mon, Mar 28, 2022 at 2:06 PM Andreas Wacknitz  wrote:


Am 28.03.22 um 02:02 schrieb Jason Martin:

agrellum@openindiana:~$ geany
ld.so.1: geany: fatal: relocation error: file /usr/lib/libgeany.so.0:
symbol g_get_os_info: referenced symbol not found
Killed


It looks like geany needs a rebuild after our necessary downgrade of
glib to 2.62.6.


Yes, it picked up g_get_os_info which came in with 2.64



Alas, geany doesn't compile with this old glib version.


Hm. Builds and runs for me (on Tribblix) against glib 2.56.4 and geany
itself
only claims to want glib 2.32.0, so it ought to be OK.


Then we are missing a patch:

In file included from /usr/lib/glib-2.0/include/glibconfig.h:9:0,
 from /usr/include/glib-2.0/glib/gtypes.h:32,
 from /usr/include/glib-2.0/glib/galloca.h:32,
 from /usr/include/glib-2.0/glib.h:30,
 from
/export/home/andreas/oi-userland/components/editor/geany/geany-1.38/scintilla/gtk/ScintillaGTK.cxx:22:
/usr/include/glib-2.0/glib/gtypes.h: In function 'gboolean
_GLIB_CHECKED_ADD_U64(guint64*, guint64, guint64)':
/usr/include/glib-2.0/glib/gmacros.h:738:31: error: '_Static_assert' was
not declared in this scope
 #define G_STATIC_ASSERT(expr) _Static_assert (expr, "Expression
evaluates to false")


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] geany editor?

2022-03-28 Thread Andreas Wacknitz

Am 28.03.22 um 02:02 schrieb Jason Martin:

Just a heads up.

I was using this package before my disk space problem.

I uninstalled and then re-installed but I still get this error.

agrellum@openindiana:~$ geany
ld.so.1: geany: fatal: relocation error: file /usr/lib/libgeany.so.0:
symbol g_get_os_info: referenced symbol not found
Killed



___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss

Folks,

I have created a PR for glib-2.70.0:
https://github.com/OpenIndiana/oi-userland/pull/7958
Please build it for yourself and test it. It works for me (I have
successfully tried to hot-plug a keyboard, a mouse, and an USB data stick).
With this geany also works again. If it doesn't work for you, then we'll
also need two simple patches for our hal which have been introduced for
Solaris.
I have a local illumos-gate build with them.

Andreas

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss