Project

General

Profile

Bug #7646

Geany 1.28 installation issue

Added by Predrag Zečević almost 3 years ago. Updated almost 3 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
OpenIndiana Misc
Target version:
-
Start date:
2016-12-05
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

Hi,

Thanks to Aurélien Larcher and Alexander Pyhalov /hipster delivers latest geany and geany/plugins packages.

BUT,

$ pkg list | grep geany
editor/geany                                      1.28-2016.1.0.0            i--
editor/geany/plugins                              1.28-2016.1.0.0            i--

$ pkg list -v | grep geany
pkg://openindiana.org/editor/geany@1.28-2016.1.0.0:20161130T224054Z          i--
pkg://openindiana.org/editor/geany/plugins@1.28-2016.1.0.0:20161201T182805Z  i--

Checking version shows:
$ /usr/bin/geany --version
geany 1.27 (built on 2016-03-14 with GTK 2.24.29, GLib 2.43.4)

$ pfexec pkg fix geany
No updates necessary for this image.

How is that possible?

Regards.

History

#1

Updated by Aurélien Larcher almost 3 years ago

`which geany`

"built on 2016-03-14" is a sign that you are interrogating the wrong binary.

helios> geany --version
geany 1.28 (construit le Nov 30 2016 avec GTK 2.24.30, GLib 2.46.2)

#2

Updated by Predrag Zečević almost 3 years ago

Hi,

I have explicitly called binary:

$ /usr/bin/geany --version

So, how to get proper version out from package repository?

Regards.

#3

Updated by Aurélien Larcher almost 3 years ago

Update?

#4

Updated by Predrag Zečević almost 3 years ago

Hi,

I did update of BE this morning :-)

$ beadm list -v
BE                 Active Mountpoint Space Policy Created
oi_161122          -      -          22.0M static 2016-11-22 08:17
oi_161201          -      -          22.6M static 2016-12-01 08:06
oi_161201-backup-1 -      -          113K  static 2016-12-03 10:11
oi_161205          NR     /          62.7G static 2016-12-05 08:16

and pkg fix did not fix anything.
Also, same version is shown on http://pkg.openindiana.org/hipster/en/search.shtml?token=geany&action=Search page

Trying re-install:

$ pfexec pkg uninstall -v geany/plugins geany
            Packages to remove:         2
            Services to change:         2
     Estimated space available:  81.98 GB
Estimated space to be consumed: 246.55 MB
       Create boot environment:        No
Create backup boot environment:        No
          Rebuild boot archive:        No

Changed packages:
openindiana.org
  editor/geany
    1.28-2016.1.0.0 -> None
  editor/geany/plugins
    1.28-2016.1.0.0 -> None
....

$ pfexec pkg install -v geany/plugins geany
           Packages to install:         2
            Services to change:         2
     Estimated space available:  81.89 GB
Estimated space to be consumed: 279.04 MB
       Create boot environment:        No
Create backup boot environment:        No
          Rebuild boot archive:        No

Changed packages:
openindiana.org
  editor/geany
    None -> 1.28-2016.1.0.0
  editor/geany/plugins
    None -> 1.28-2016.1.0.0
...

$ /usr/bin/geany --version
geany 1.27 (built on 2016-03-14 with GTK 2.24.29, GLib 2.43.4)

$ pkg list -v | grep geany
pkg://openindiana.org/editor/geany@1.28-2016.1.0.0:20161130T224054Z          i--
pkg://openindiana.org/editor/geany/plugins@1.28-2016.1.0.0:20161201T182805Z  i--

So, I am out of ideas...

Regards.

#5

Updated by Aurélien Larcher almost 3 years ago

  • Subject changed from /hipster: Geany version says 1.28, but actually version 1.27 is delivered to Geany 1.28 installation issue

Need to find a way to reproduce.

#6

Updated by Alexander Pyhalov almost 3 years ago

I have pkg:,5.11-2016.1.0.0:20161130T224054Z installed, geany --version shows 'geany 1.28 (built on 2016-11-30 with GTK 2.24.30, GLib 2.46.2)'

#7

Updated by Predrag Zečević almost 3 years ago

Hi,

just have tried:

$ pfexec rm -f /usr/bin/geany

$ pfexec pkg fix geany
               Packages to fix:   1
       Create boot environment:  No
Create backup boot environment: Yes

Repairing: pkg://openindiana.org/editor/geany@1.28,5.11-2016.1.0.0:20161130T224054Z
PACKAGE                                                                 STATUS
pkg://openindiana.org/editor/geany                                       ERROR
        file: usr/bin/geany
                ERROR: Missing: regular file does not exist
DOWNLOAD                                PKGS         FILES    XFER (MB)   SPEED
Completed                                1/1           1/1      0.0/0.0  976B/s

PHASE                                          ITEMS
Updating modified actions                        1/1
Updating package state database                 Done 
Updating package cache                           0/0 
Updating image state                            Done 
Creating fast lookup database                   Done 
Updating package cache                           3/3 

$ /usr/bin/geany --version
geany 1.27 (built on 2016-03-14 with GTK 2.24.29, GLib 2.43.4)

Not sure from where that comes... It shows same package version as ALP has, but binary is different.

$ pkg publisher 
PUBLISHER                   TYPE     STATUS P LOCATION
openindiana.org              origin   online F https://pkg.openindiana.org/hipster/
hipster-encumbered              origin   online F https://pkg.openindiana.org/hipster-encumbered/
localhostoih                origin   online F http://sfe.opencsw.org/localhostoih/

Regards.

#8

Updated by Alexander Pyhalov almost 3 years ago

Can you check
a) ldd /usr/bin/geany (it should contain /usr/lib/libgeany.so.0)
b) and ls -l /usr/lib/libgeany.so.0 ?

I'm interested if we can have some funny issues with several geany versions, some of them, perhaps, coming from other source.

#9

Updated by Predrag Zečević almost 3 years ago

Hi Alexander,

Thanks.
a)

$ ldd /usr/bin/geany
        libgeany.so.0 =>         /lib/libgeany.so.0
        libc.so.1 =>     /lib/libc.so.1
        libstdc++.so.6 =>        /usr/lib/libstdc++.so.6
        libgtk-x11-2.0.so.0 =>   /usr/lib/libgtk-x11-2.0.so.0
        libgdk-x11-2.0.so.0 =>   /usr/lib/libgdk-x11-2.0.so.0
        libpangocairo-1.0.so.0 =>        /usr/lib/libpangocairo-1.0.so.0
        libXrender.so.1 =>       /usr/lib/libXrender.so.1
        libXinerama.so.1 =>      /usr/lib/libXinerama.so.1
        libXrandr.so.2 =>        /usr/lib/libXrandr.so.2
        libXcursor.so.1 =>       /usr/lib/libXcursor.so.1
        libXcomposite.so.1 =>    /usr/lib/libXcomposite.so.1
        libXdamage.so.1 =>       /usr/lib/libXdamage.so.1
        libXfixes.so.1 =>        /usr/lib/libXfixes.so.1
        libX11.so.4 =>   /usr/lib/libX11.so.4
        libXext.so.0 =>  /usr/lib/libXext.so.0
        libatk-1.0.so.0 =>       /usr/lib/libatk-1.0.so.0
        libcairo.so.2 =>         /usr/lib/libcairo.so.2
        libgdk_pixbuf-2.0.so.0 =>        /usr/lib/libgdk_pixbuf-2.0.so.0
        libpangoft2-1.0.so.0 =>  /usr/lib/libpangoft2-1.0.so.0
        libpango-1.0.so.0 =>     /usr/lib/libpango-1.0.so.0
        libfontconfig.so.1 =>    /usr/lib/libfontconfig.so.1
        libfreetype.so.6 =>      /usr/lib/libfreetype.so.6
        libgio-2.0.so.0 =>       /usr/lib/libgio-2.0.so.0
        libgobject-2.0.so.0 =>   /usr/lib/libgobject-2.0.so.0
        libgmodule-2.0.so.0 =>   /usr/lib/libgmodule-2.0.so.0
        libgthread-2.0.so.0 =>   /usr/lib/libgthread-2.0.so.0
        libpthread.so.1 =>       /usr/lib/libpthread.so.1
        libglib-2.0.so.0 =>      /usr/lib/libglib-2.0.so.0
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libm.so.2 =>     /usr/lib/libm.so.2
        librt.so.1 =>    /usr/lib/librt.so.1
        libgcc_s.so.1 =>         /usr/lib/libgcc_s.so.1
        libxcb.so.1 =>   /usr/lib/libxcb.so.1
        libnsl.so.1 =>   /lib/libnsl.so.1
        libpixman-1.so.0 =>      /usr/lib/libpixman-1.so.0
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libpng16.so.16 =>        /usr/lib/libpng16.so.16
        libX11-xcb.so.1 =>       /usr/lib/libX11-xcb.so.1
        libxcb-render.so.0 =>    /usr/lib/libxcb-render.so.0
        libz.so.1 =>     /usr/lib/libz.so.1
        libGL.so.1 =>    /usr/lib/libGL.so.1
        libharfbuzz.so.0 =>      /usr/lib/libharfbuzz.so.0
        libexpat.so.1 =>         /usr/lib/libexpat.so.1
        libbz2.so.1 =>   /usr/lib/libbz2.so.1
        libresolv.so.2 =>        /lib/libresolv.so.2
        libffi.so.6 =>   /usr/lib/libffi.so.6
        libXau.so.6 =>   /usr/lib/libXau.so.6
        libXdmcp.so.6 =>         /usr/lib/libXdmcp.so.6
        libmp.so.2 =>    /lib/libmp.so.2
        libmd.so.1 =>    /lib/libmd.so.1
        libnvidia-tls.so.1 =>    /usr/lib/libnvidia-tls.so.1
        libnvidia-glcore.so.1 =>         /usr/lib/libnvidia-glcore.so.1
        libgraphite2.so.3 =>     /usr/lib/libgraphite2.so.3
        libXevie.so.1 =>         /usr/lib/libXevie.so.1
        libXss.so.1 =>   /usr/lib/libXss.so.1

b)
$ ls -l /usr/lib/libgeany.so*
lrwxrwxrwx 1 root root   17 Dec  5 15:03 /usr/lib/libgeany.so -> libgeany.so.0.0.0
lrwxrwxrwx 1 root root   17 Dec  5 15:03 /usr/lib/libgeany.so.0 -> libgeany.so.0.0.0
-r-xr-xr-x 1 root bin  3.9M Dec  5 15:03 /usr/lib/libgeany.so.0.0.0

Regards.

#10

Updated by Alexander Pyhalov almost 3 years ago

$ ldd /usr/bin/geany
        libgeany.so.0 =>         /lib/libgeany.so.0
...

We don't provide /lib/libgeany.so.0, we provide /usr/lib/libgeany.so.0 . Check, where does it come from (or just backup it, remove and check what happens).

#11

Updated by Predrag Zečević almost 3 years ago

Hi Alexander,

this is what happens when someone DO NOT use build zone: that was leftover form previous (failed) attempt to build this tool.
Indeed:

$ ls -al /lib/libgeany.*
-rwxr-xr-x 1 root root 1.2K Mar 14  2016 /lib/libgeany.la
lrwxrwxrwx 1 root root   17 Mar 14  2016 /lib/libgeany.so -> libgeany.so.0.0.0
lrwxrwxrwx 1 root root   17 Mar 14  2016 /lib/libgeany.so.0 -> libgeany.so.0.0.0
-rwxr-xr-x 1 root root  13M Mar 14  2016 /lib/libgeany.so.0.0.0
$ pfexec rm /lib/libgeany.la /lib/libgeany.so /lib/libgeany.so.0 /lib/libgeany.so.0.0.0

And now:
$ /usr/bin/geany --version
geany 1.28 (built on 2016-11-30 with GTK 2.24.30, GLib 2.46.2)

Thanks for spotting this. And I am truly sorry for wasting your time....
I should be fixing this myself.

Best regards

#12

Updated by Alexander Pyhalov almost 3 years ago

  • Status changed from New to Rejected

It was a problem on client's system, not issue with geany package.

Also available in: Atom PDF