Thanks to visit codestin.com
Credit goes to github.com

Skip to content

enable tests for vimPlugins.sqlite-lua  #169293

@teto

Description

@teto

Describe the bug

Since my update to unstable 1ffba9f, I get this kind of output

E5108: Error executing lua ...r/pack/home-manager/start/sqlite.lua/lua/sqlite/defs.lua:29: /nix/store/4s21k8k7p1mfik0b33r2spq5hq7774k1-glibc-2.33-108/lib/libc.so.6: version `GLIBC_2.34' not found (required by /nix/store/gqllzy0vrkkgxxawvqrdysbzm0dvrig4-sqlite-3.38.2/lib/libsqlite3.so)                                   
stack traceback:                                                                                                                                                                                                                                                                                                                
        [builtin#203]: at 0x7f2e8b7ade70                                                                                                                                                                                                                                                                                        
        ...r/pack/home-manager/start/sqlite.lua/lua/sqlite/defs.lua:29: in main chunk                                                                                                                                                                                                                                           
        [C]: in function 'require'                                                                                                                                                                                                                                                                                              
        .../pack/home-manager/start/sqlite.lua/lua/sqlite/utils.lua:252: in function '__index'                                                                                                                                                                                                                                  
        ...dir/pack/home-manager/start/sqlite.lua/lua/sqlite/db.lua:153: in function 'open'                                                                                                                                                                                                                                     
        ....nvim/lua/telescope/_extensions/frecency/sql_wrapper.lua:46: in function 'bootstrap'                                                                                                                                                                                                                                 
        ...cy.nvim/lua/telescope/_extensions/frecency/db_client.lua:92: in function 'init'                                                                                                                                                                                                                                      
        ...ope-frecency.nvim/lua/telescope/_extensions/frecency.lua:285: in function 'setup'                                                                                                                                                                                                                                    
        .../start/telescope.nvim/lua/telescope/_extensions/init.lua:64: in function 'load_extension'                                                                                                                                                                                                                            
        /home/teto/.config/nvim/lua/init-manual.lua:1188: in main chunk                                                                                                                                                                                                                                                         
        [C]: in function 'require'                                                                                                                                                                                                                                                                                              
        /home/teto/.config/nvim/lua/init-home-manager.lua:6: in main chunk                                                                                                                                                                                                                                                      
        [C]: in function 'require'                                          

seems like we hit a bug here https://github.com/tami5/sqlite.lua/blob/9ccd2a6538d8a201d1ea08784bd866950e1b4130/lua/sqlite/defs.lua#L7 . Not sure how to best fix it yet but in any case to prevent regressions we should enable tests for this package.

nix-build -A vimPlugins.sqlite-lua

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bugSomething is broken6.topic: luaLua is a powerful, efficient, lightweight, embeddable scripting language.6.topic: vimAdvanced text editor

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions