Package Details: mqtt-explorer 0.3.5-13

Git Clone URL: https://aur.archlinux.org/mqtt-explorer.git (read-only, click to copy)
Package Base: mqtt-explorer
Description: A comprehensive and easy-to-use MQTT Client
Upstream URL: https://mqtt-explorer.com/
Licenses: CCPL:by-nd
Conflicts: mqtt-explorer-beta
Submitter: dave12311
Maintainer: zhimsel (aarnold)
Last Packager: zhimsel
Votes: 11
Popularity: 0.000004
First Submitted: 2020-02-23 16:05 (UTC)
Last Updated: 2023-03-17 14:55 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

aarnold commented on 2022-11-21 12:56 (UTC)

@matejdro: you can find a workaround for this issue in the package mqtt-explorer-beta, this one is not maintained anymore

matejdro commented on 2022-11-21 12:25 (UTC)

Build fails:

../../nan/nan_callbacks.h:55:23: error: ‘AccessorSignature’ is not a member of ‘v8’
   55 | typedef v8::Local<v8::AccessorSignature> Sig;
      |                       ^~~~~~~~~~~~~~~~~
../../nan/nan_callbacks.h:55:40: error: template argument 1 is invalid
   55 | typedef v8::Local<v8::AccessorSignature> Sig;
      |                                        ^
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(AsyncWorker*)’:
../../nan/nan.h:2298:7: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
 2298 |     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, GetterCallback, SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, imp::Sig)’:
../../nan/nan.h:2536:19: error: no matching function for call to ‘v8::ObjectTemplate::SetAccessor(v8::Local<v8::String>&, void (*&)(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>&), void (*&)(v8::Local<v8::Name>, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&), v8::Local<v8::Object>&, v8::AccessControl&, v8::PropertyAttribute&, Nan::imp::Sig&)’
 2536 |   tpl->SetAccessor(
      |   ~~~~~~~~~~~~~~~~^
 2537 |       name
      |       ~~~~         
 2538 |     , getter_
      |     ~~~~~~~~~      
 2539 |     , setter_
      |     ~~~~~~~~~      
 2540 |     , obj
      |     ~~~~~          
 2541 |     , settings
      |     ~~~~~~~~~~     
 2542 |     , attribute
      |     ~~~~~~~~~~~    
 2543 |     , signature);
      |     ~~~~~~~~~~~~   
In file included from /home/matej/.cache/node-gyp/19.1.0/include/node/v8-function.h:15,
                 from /home/matej/.cache/node-gyp/19.1.0/include/node/v8.h:33,
                 from /home/matej/.cache/node-gyp/19.1.0/include/node/node.h:73,
                 from ../src/heapdump.cc:15:
/home/matej/.cache/node-gyp/19.1.0/include/node/v8-template.h:807:8: note: candidate: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::String>, v8::AccessorGetterCallback, v8::AccessorSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType, v8::SideEffectType)’
  807 |   void SetAccessor(
      |        ^~~~~~~~~~~
/home/matej/.cache/node-gyp/19.1.0/include/node/v8-template.h:812:22: note:   no known conversion for argument 7 from ‘Nan::imp::Sig’ {aka ‘int’} to ‘v8::SideEffectType’
  812 |       SideEffectType getter_side_effect_type = SideEffectType::kHasSideEffect,
      |       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/matej/.cache/node-gyp/19.1.0/include/node/v8-template.h:814:8: note: candidate: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType, v8::SideEffectType)’
  814 |   void SetAccessor(
      |        ^~~~~~~~~~~
/home/matej/.cache/node-gyp/19.1.0/include/node/v8-template.h:819:22: note:   no known conversion for argument 7 from ‘Nan::imp::Sig’ {aka ‘int’} to ‘v8::SideEffectType’
  819 |       SideEffectType getter_side_effect_type = SideEffectType::kHasSideEffect,
      |       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:2884:
../../nan/nan_typedarray_contents.h: In constructor ‘Nan::TypedArrayContents<T>::TypedArrayContents(v8::Local<v8::Value>)’:
../../nan/nan_typedarray_contents.h:34:43: error: ‘class v8::ArrayBuffer’ has no member named ‘GetContents’
   34 |       data   = static_cast<char*>(buffer->GetContents().Data()) + byte_offset;
      |                                           ^~~~~~~~~~~

x3a commented on 2022-11-14 18:13 (UTC) (edited on 2022-11-14 18:16 (UTC) by x3a)

I had no luck building this with the current version of node.js (19.0.1-1) but was able to get it working by using node.js 12.0 (installed via nvm).

@schui: something like gpg --keyserver hkps://pgp.surf.nl --recv-keys 4AEE18F83AFDEB23 might do the trick for you.

schui commented on 2022-11-13 21:57 (UTC)

Cannot importing keys with gpg, missing User-ID.

allspark commented on 2022-10-17 08:18 (UTC)

the "arch" for this package is not "any" as it compiles some c-library

(https://wiki.archlinux.org/title/PKGBUILD#arch)

and this looks wrong "backup=("~/.config/MQTT-Explorer/settings.json")".

ulfwin commented on 2022-10-01 19:17 (UTC)

I got an error with yarn, but simply trying to install again worked for me.

InFerNo commented on 2022-07-21 09:14 (UTC) (edited on 2022-07-21 09:18 (UTC) by InFerNo)

Dependency check passes but build fails on a dependency:

node: error while loading shared libraries: libicui18n.so.65: cannot open shared object file: No such file or directory
node: error while loading shared libraries: libicui18n.so.65: cannot open shared object file: No such file or directory
==> ERROR: A failure occurred in build().
Aborting...

icu and lib32-icu are both installed

BrainDamage commented on 2022-03-21 10:53 (UTC) (edited on 2022-03-21 11:25 (UTC) by BrainDamage)

you can drop both yarn and npm runtime deps by changing the startup command to:

/usr/share/mqtt-explorer/node_modules/.bin/electron /usr/share/mqtt-explorer

using either yarn/npm to start is not a great solution:

  • they cannot write to /usr when launched as a user as they should be

  • the versions are pinned from when the package was built, it's useless to check for new versions, to update you'd need to re-run the pkgbuild anyway

  • a lot of complex machinery that's effectively useless only to run electron at the end

PS. you can avoid sourcing an external repo for the .desktop file by simply adding it in the pkgbuild repo itself and have it listed in the source array as simply 'mqtt-explorer.desktop'

EDIT: forgot to mention that nodejs should be listed as dep since it's used to run the javascript/typescript in electron, it was implicitly dragged in by npm/yarn, but not listing it explictly is against the package guidelines

ceri commented on 2022-03-19 02:16 (UTC)

Doesn't build: mqtt-explorer-0.3.5-desktop.tar.gz ... FAILED

4romany commented on 2022-01-31 17:10 (UTC)

I was able to install this with aarnold temp fix. Thanks for the assist!