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.000870
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 »

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!

aarnold commented on 2022-01-20 13:03 (UTC)

I hoped the build problems were fixed in the latest beta versions, but it persists. I cloned this package to generate mqtt-explorer-beta and finally added a workaround to fix the build. It would probably work here too, until there is an upstream fix: replace the yarn call with: yarn || sed -i 's/node-gyp rebuild/node-gyp rebuild --openssl_fips=X/' app/package.json

deividas commented on 2022-01-12 18:30 (UTC)

The build is failing:

[4/4] Building fresh packages...
[1/3] ⠂ core-js
[2/3] ⠂ heapdump
error /home/deividas/.config/cache/yay/mqtt-explorer/src/MQTT-Explorer-0.3.5/app/node_modules/heapdump: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /home/deividas/.config/cache/yay/mqtt-explorer/src/MQTT-Explorer-0.3.5/app/node_modules/heapdump
Output:
gyp info it worked if it ends with ok
gyp info using node-gyp@8.4.1
gyp info using node@17.3.0 | linux | x64
gyp info find Python using Python version 3.10.1 found at "/usr/bin/python3"
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args   '/usr/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/home/deividas/.config/cache/yay/mqtt-explorer/src/MQTT-Explorer-0.3.5/app/node_modules/heapdump/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/deividas/.config/cache/node-gyp/17.3.0/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/home/deividas/.config/cache/node-gyp/17.3.0',
gyp info spawn args   '-Dnode_gyp_dir=/usr/lib/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/home/deividas/.config/cache/node-gyp/17.3.0/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/home/deividas/.config/cache/yay/mqtt-explorer/src/MQTT-Explorer-0.3.5/app/node_modules/heapdump',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/home/deividas/.config/cache/yay/mqtt-explorer/src/MQTT-Explorer-0.3.5/app/node_modules/heapdump/build'
  CXX(target) Release/obj.target/addon/src/heapdump.o
In file included from ../src/heapdump.cc:17:
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::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)
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../nan/nan.h:2884,
                 from ../src/heapdump.cc:17:
../../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;
      |                                           ^~~~~~~~~~~
In file included from ../src/heapdump.cc:15:
../src/heapdump.cc: At global scope:
/home/deividas/.config/cache/node-gyp/17.3.0/include/node/node.h:843:7: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
  843 |       (node::addon_register_func) (regfunc),                          \
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/deividas/.config/cache/node-gyp/17.3.0/include/node/node.h:877:3: note: in expansion of macro ‘NODE_MODULE_X’
  877 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
      |   ^~~~~~~~~~~~~
../src/heapdump.cc:130:1: note: in expansion of macro ‘NODE_MODULE’
  130 | NODE_MODULE(addon, Initialize)
      | ^~~~~~~~~~~
make: *** [addon.target.mk:109: Release/obj.target/addon/src/heapdump.o] Error 1
make: Leaving directory '/home/deividas/.config/cache/yay/mqtt-explorer/src/MQTT-Explorer-0.3.5/app/node_modules/heapdump/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (node:events:390:28)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
gyp ERR! System Linux 5.15.13-arch1-1
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/deividas/.config/cache/yay/mqtt-explorer/src/MQTT-Explorer-0.3.5/app/node_modules/heapdump
gyp ERR! node -v v17.3.0
gyp ERR! node-gyp -v v8.4.1


error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: mqtt-explorer

je-s commented on 2021-12-21 02:39 (UTC)

@ceri: If you're using pacaur, 'rm -r .cache/pacaur/mqtt-explorer/' should help. Probably also true for yay, as @rubengees mentioned.

hillbicks commented on 2021-12-17 17:04 (UTC)

icu was recently bumped to version 70 and since then mqtt-explorer isn't starting anymore, since libicui18n.so.69 is missing. Anybody else getting this error? There was nothing ice related on github for mqtt-explorer

ceri commented on 2021-12-11 23:58 (UTC)

==> Validating source files with md5sums... mqtt-explorer-0.3.5.tar.gz ... Passed mqtt-explorer-0.3.5-desktop.tar.gz ... FAILED ==> ERROR: One or more files did not pass the validity check!