#1251 prosody 0.11.1 lua error on OpenBSD

Reporter Pea
Owner Zash
Created
Updated
Stars ★ (1)
Tags
  • Type-Defect
  • Difficulty-Easy
  • Milestone-0.11
  • Status-Fixed
  • Priority-Medium
  • OpSys-OpenBSD
  1. Pea on

    What steps will reproduce the problem? 1. Download prosody-0.11.1 2. configure && make 3. launch prosodyctl What is the expected output? prosodyctl should work What do you see instead? I use this error: $ ./prosodyctl /usr/local/bin/lua51: ./util/xpcall.lua:4: module 'util.compat' not found: no field package.preload['util.compat'] no file './util/compat.lua' no file '/usr/local/share/lua/5.1/util/compat.lua' no file '/usr/local/share/lua/5.1/util/compat/init.lua' no file '/usr/local/lib/lua/5.1/util/compat.lua' no file '/usr/local/lib/lua/5.1/util/compat/init.lua' no file './util/compat.so' no file '/usr/local/lib/lua/5.1/util/compat.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file './util.so' no file '/usr/local/lib/lua/5.1/util.so' no file '/usr/local/lib/lua/5.1/loadall.so' stack traceback: [C]: in function 'require' ./util/xpcall.lua:4: in main chunk [C]: in function 'require' ./util/timer.lua:16: in main chunk [C]: in function 'require' ./net/dns.lua:16: in main chunk [C]: in function 'require' ./net/adns.lua:10: in main chunk [C]: in function 'require' ./net/resolvers/basic.lua:1: in main chunk [C]: in function 'require' ./net/http.lua:16: in main chunk [C]: in function 'require' ./util/startup.lua:313: in function 'init_http_client' ./util/startup.lua:521: in function 'prosodyctl' ./prosodyctl:49: in main chunk [C]: ? What version of the product are you using? On what operating system? prosody-0.11.1 OpenBSD 6.4 lua5.1 Please provide any additional information below.

  2. Zash on

    Thanks for the report! Looks like someone forgot to update the non-GNU makefile, should be an easy fix. As a workaround you can try building with gmake instead of make.

    Changes
    • owner Zash
    • tags OpSys-OpenBSD Milestone-0.11 Status-Started Difficulty-Easy
  3. Zash on

    Fixed in https://hg.prosody.im/trunk/rev/8154a8841bb2

    Changes
    • tags Status-Fixed
  4. Zash on

    See also #1072

  5. Pea on

    Works fine. Thanks you

New comment

Not published. Used for spam prevention and optional update notifications.