sbbdep doesn't detect libglamor

Issue #19 resolved
Willy Sudiarto Raharjo
created an issue

I don't know if this is an issue or not

Note: can not read file: /usr/lib/xorg/modules/libglamoregl.la (xorg-server-1.18.3-i586-2) Note: can not read file: /usr/lib/xorg/modules/libglamoregl.so (xorg-server-1.18.3-i586-2)

Tested on -current machine with sbbdep 0.2.6

Comments (5)

  1. a4z repo owner

    Hi Willy, thanks for this report!
    this is a info message that sbbdep can not stat the file, or at least that stat has a unhealthy return value. to be more recise, lstat returns something other than 0 or reports a unexpected file typ. (what makes me think if I should handle errno in this case, to get more info), but anyway, to not get lost in details.

    I can think about 3 reasons for this

    1. these files do not exist on you machine, even if the xorg-server-1.18.3-i586-2 package says they should exist
    2. these files do exist but have permissions that make it impossible for the sbbdep user to read them
    3. something very strange that I have to investigate.

    can you please ensure that 1 and 2 are not the case so that I can focus on 3 and have a starting point
    (It might take a while, because i585 current is the Slackware flavour I do not have available and I need to setup)

  2. Willy Sudiarto Raharjo reporter

    I can confirm that no 1 and 2 are not the case

    ll /usr/lib/xorg/modules/libglamoregl.*
    -rwxr-xr-x 1 root root   1010 Apr 15 23:54 /usr/lib/xorg/modules/libglamoregl.la
    -rwxr-xr-x 1 root root 215612 Apr 15 23:54 /usr/lib/xorg/modules/libglamoregl.so
    
  3. a4z repo owner

    Hi Willy, seems to be strange, I am on a 14.2 32bit box

    as root, this will cause the package to be re-indexed

    touch /var/adm/packages/xorg-server-1.18.3-i586-2
    

    as user

     sbbdep
    sync cache /home/harri/sbbdep.cache
    load xorg-server-1.18.3-i586-2
    clear xorg-server-1.18.3-i586-2
    index xorg-server-1.18.3-i586-2
    Synchronization summary:
    
    reinstalled: xorg-server-1.18.3-i586-2
    

    so nothing strange , what does your stat, as user, say ?

    bash-4.3$ stat /usr/lib/xorg/modules/libglamoregl.la
      File: '/usr/lib/xorg/modules/libglamoregl.la'
      Size: 1010            Blocks: 8          IO Block: 4096   regular file
    Device: 801h/2049d      Inode: 847022      Links: 1
    Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
    Access: 2016-07-13 18:41:39.564043890 +0200
    Modify: 2016-04-15 18:54:00.000000000 +0200
    Change: 2016-07-12 18:21:31.815775127 +0200
     Birth: -
    bash-4.3$ stat /usr/lib/xorg/modules/libglamoregl.so
      File: '/usr/lib/xorg/modules/libglamoregl.so'
      Size: 215612          Blocks: 424        IO Block: 4096   regular file
    Device: 801h/2049d      Inode: 847026      Links: 1
    Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
    Access: 2016-07-13 18:30:22.654001053 +0200
    Modify: 2016-04-15 18:54:05.000000000 +0200
    Change: 2016-07-12 18:21:31.826775127 +0200
     Birth: -
    

    does is look similar?

    it is basically impossible that stat work, but sbbdep brings this message, it uses lstat, so the same underlying C API.

    could you touch the package, re run sbbdep to see the index messages for xorg-server, and check what stat says?

    and what does sbbdep say to the file? mines looks like that

    sbbdep -xdl /usr/lib/xorg/modules/libglamoregl.so
    sbbdep: invalid option -- 'x'
    bash-4.3$ sbbdep --xdl /usr/lib/xorg/modules/libglamoregl.so
    sync cache /home/harri/sbbdep.cache
    cache up to date
    
    check /usr/lib/xorg/modules/libglamoregl.so, 32bit library (libglamoregl.so)
     .. from package xorg-server-1.18.3-i586-2
    
    file /usr/lib/xorg/modules/libglamoregl.so needs:
      libc.so.6 found in:
        /lib/libc-2.23.so (glibc-2.23-i586-1 | glibc-solibs-2.23-i586-1)
      libdl.so.2 found in:
        /lib/libdl-2.23.so (glibc-2.23-i586-1 | glibc-solibs-2.23-i586-1)
      libdrm.so.2 found in:
        /usr/lib/libdrm.so.2.4.0 (libdrm-2.4.68-i586-1)
      libepoxy.so.0 found in:
        /usr/lib/libepoxy.so.0.0.0 (libepoxy-1.3.1-i586-1)
      libexpat.so.1 found in:
        /usr/lib/libexpat.so.1.6.0 (aaa_elflibs-14.2-i586-23 | expat-2.1.0-i486-1)
      libgbm.so.1 found in:
        /usr/lib/libgbm.so.1.0.0 (mesa-11.2.2-i586-1)
      libm.so.6 found in:
        /lib/libm-2.23.so (glibc-2.23-i586-1 | glibc-solibs-2.23-i586-1)
    

    Thanks for your help!

  4. Willy Sudiarto Raharjo reporter

    Hi

    somehow it seems that you are right. It's missing on my computer (the previous result was from my workstation where i reported from my desktop at home). i simply reinstalled xorg-server and now it's there

    sbbdep sync cache /home/willysr/sbbdep.cache load xorg-server-1.18.3-i586-2 clear xorg-server-1.18.3-i586-2 index xorg-server-1.18.3-i586-2 Synchronization summary:

    reinstalled: xorg-server-1.18.3-i586-2

    i think you can close this issue :)

  5. Log in to comment