Skip to content

mosquitto not found in trunk #302

Description

@bahamas10
$ pkgin search mosquitto
No results found for mosquitto

I can compile it manually with:

curl -o mosquitto.tar.gz https://mosquitto.org/files/source/mosquitto-2.0.10.tar.gz
mkdir src
tar -xf mosquitto.tar.gz -C src --strip-components=1
cd src/

I then edited config.mk to set WITH_CJSON=no as it failed to compile with it enabled (and i don't personally need it). After, I ran:

prefix=/opt/local make
prefix=/opt/local make install

and it installed.

mosquitto works:

$ mosquitto -h
mosquitto version 2.0.10

pub and sub kinda work:

$ mosquitto_pub --help
ld.so.1: mosquitto_pub: fatal: ../lib/libmosquitto.so.1: open failed: No such file or directory
Killed
$ cd /opt/local/bin/
$ mosquitto_pub --help
mosquitto_pub is a simple mqtt client that will publish a message on a single topic and exit.
mosquitto_pub version 2.0.10 running on libmosquitto 2.0.10.

I want to say this was a known issue and there was some sort of patch for this? I'm not certain though. I spoke with @papertigers and he said to ping @sjorge on this.

Activity

  1. papertigers commented on Apr 23, 2021

    @papertigers

    Hmm it looks like its in 2020Q4:
    https://pkgsrc.joyent.com/packages/SmartOS/2020Q4/x86_64/All/mosquitto-1.6.12nb1.tgz

    My first guess is that it failed in the trunk bulk build. Not sure if those logs are published anywhere.

  2. sjorge commented on Apr 23, 2021

    @sjorge

    Yeah 2020Q4 had it! I guess something new broke :(
    My zone using it is still on 2020Q4.

  3. jperkin commented on Apr 23, 2021

    @jperkin
    Collaborator
  4. bahamas10 commented on May 2, 2021

    @bahamas10
    Author

    Forgive my ignorance here, but do trunk built packages need to work on a system with a broken epoll header? I did some digging into mosquitto and found that epoll support is relatively new, and can be disabled by setting:

    WITH_EPOLL:=no
    

    In the config.mk file at the root of the source tree - I'm not sure of any performance penalties or the like that comes with that config option.

  5. added a commit that references this issue on Jan 24, 2022
  6. added a commit that references this issue on Jun 2, 2022
  7. added a commit that references this issue on May 25, 2023
  8. added a commit that references this issue on Jun 2, 2023
  9. added a commit that references this issue on Jun 28, 2023
  10. added a commit that references this issue on Aug 14, 2023
  11. added a commit that references this issue on Sep 19, 2023
  12. added a commit that references this issue on Dec 11, 2023
  13. 33 remaining items

  14. added a commit that references this issue on May 22, 2026
  15. added a commit that references this issue on Aug 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions