Package Details: bruno 1.39.0-2

Git Clone URL: https://aur.archlinux.org/bruno.git (read-only, click to copy)
Package Base: bruno
Description: Opensource API Client for Exploring and Testing APIs
Upstream URL: https://www.usebruno.com/
Licenses: MIT
Submitter: vianney
Maintainer: vianney
Last Packager: vianney
Votes: 9
Popularity: 0.88
First Submitted: 2023-10-09 08:44 (UTC)
Last Updated: 2025-02-18 09:24 (UTC)

Dependencies (6)

Required by (0)

Sources (2)

Latest Comments

1 2 3 Next › Last »

vianney commented on 2025-02-18 09:24 (UTC)

@brody: thanks, I missed the update. It's now fixed.

brody commented on 2025-02-17 18:57 (UTC)

Bruno uses electron 33 see https://github.com/usebruno/bruno/blob/dfb0b1b96627a978eb5c33378c026348d0004397/package-lock.json#L11625

vianney commented on 2025-02-08 19:15 (UTC) (edited on 2025-02-08 19:15 (UTC) by vianney)

I just had a look into the github repository. The package.json file at tag 1.38.1 contains a "version": "v1.36.0". So they indeed forgot about it.

https://github.com/usebruno/bruno/blob/v1.38.1/packages/bruno-electron/package.json#L2

trames commented on 2025-02-08 17:27 (UTC)

Not sure if this an Arch issue or not, but I installed 1.38.1-1 today. When I launched Bruno and went to About, it says it is at version 1.36.0. In /usr/lib/bruno/package.json, it also states "version": "v1.36.0". Perhaps the developers forgot to update their json files?

vianney commented on 2025-02-06 15:04 (UTC)

Finally had time to fix newer releases. It now starts, the issue was caused by telemetry options not being set at build time. I ended up disabling telemetry altogether.

vianney commented on 2024-12-17 20:28 (UTC)

Hi @nbari,

I usually use makepkg in a chroot environment to test PKGBUILD. Otherwise, the aur helper yay fits my needs and I do not test with other helpers (if the PKGBUILD best practices are followed it should be compatible with any tool you'd like anyway).

I did the exercise to build bruno in a clean chroot with pkgctl build to ensure I didn't miss a thing this time and I'm positive it builds correctly and no build dependency is missing.

My best guess is that some custom configuration you have on your host is messing with the build and sadly, I'm sorry to say I do not practice python enough to be able to help with your current issue.

nbari commented on 2024-12-10 08:01 (UTC) (edited on 2024-12-10 09:05 (UTC) by nbari)

Hi @vianney, I do have python-setuptools:

$ paru -Sy python-setuptools
:: Synchronizing package databases...
 core is up to date
 extra is up to date
warning: python-setuptools-1:75.2.0-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) python-setuptools-1:75.2.0-2

Total Installed Size:  7.99 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring                                  [###################################] 100%
(1/1) checking package integrity                                [###################################] 100%
(1/1) loading package files                                     [###################################] 100%
(1/1) checking for file conflicts                               [###################################] 100%
(1/1) checking available disk space                             [###################################] 100%
:: Processing package changes...
(1/1) reinstalling python-setuptools                            [###################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...

But I still get the error when doing: paru -Sy bruno can you please elaborate more about how to install it?

Using:

git clone https://aur.archlinux.org/bruno.git
ce bruno
makepkg -C:

Gives this error:

> build:electron:linux
> ./scripts/build-electron.sh linux

Building linux distribution

> bruno@v1.34.2 dist:linux
> electron-builder --linux --x64 --dir --config electron-builder-config.js -c.electronDist=/usr/lib/electron31 -c.electronVersion=31.7.6

  • electron-builder  version=25.1.8 os=6.12.4-arch1-1
  • loaded configuration  file=/tmp/bruno/src/bruno-1.34.2/packages/bruno-electron/electron-builder-config.js
  • writing effective config  file=out/builder-effective-config.yaml
  • executing @electron/rebuild  electronVersion=31.7.6 arch=x64 buildFromSource=false appDir=./
  • installing native dependencies  arch=x64
  • preparing       moduleName=native-reg arch=x64
  ⨯ Traceback (most recent call last):
  File "/tmp/bruno/src/bruno-1.34.2/node_modules/node-gyp/gyp/gyp_main.py", line 42, in <module>
    import gyp  # noqa: E402
    ^^^^^^^^^^
  File "/tmp/bruno/src/bruno-1.34.2/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in <module>
    import gyp.input
  File "/tmp/bruno/src/bruno-1.34.2/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in <module>
    from distutils.version import StrictVersion
ModuleNotFoundError: No module named 'distutils'
Error: `gyp` failed with exit code: 1
    at ChildProcess.onCpExit (/tmp/bruno/src/bruno-1.34.2/node_modules/node-gyp/lib/configure.js:325:16)
    at ChildProcess.emit (node:events:514:28)
    at ChildProcess._handle.onexit (node:internal/child_process:294:12)


  ⨯ node-gyp failed to rebuild '/tmp/bruno/src/bruno-1.34.2/node_modules/native-reg'  failedTask=build stackTrace=Error: node-gyp failed to rebuild '/tmp/bruno/src/bruno-1.34.2/node_modules/native-reg'
    at ChildProcess.<anonymous> (/tmp/bruno/src/bruno-1.34.2/node_modules/@electron/rebuild/lib/module-type/node-gyp/node-gyp.js:121:24)
    at ChildProcess.emit (node:events:514:28)
    at ChildProcess._handle.onexit (node:internal/child_process:294:12)
npm ERR! Lifecycle script `dist:linux` failed with error:
npm ERR! Error: command failed
npm ERR!   in workspace: bruno@v1.34.2
npm ERR!   at location: /tmp/bruno/src/bruno-1.34.2/packages/bruno-electron
==> ERROR: A failure occurred in build().
    Aborting...

Managed to make it work, I am using pyenv no idea why the python from my env is taken or affects makepkg I had to install setuptools via pip:

pip install setuptools

then paru -Sy bruno worked:

 paru -Si bruno
Repository      : aur
Name            : bruno
Version         : 1.34.2-2
Description     : Opensource API Client for Exploring and Testing APIs
URL             : https://www.usebruno.com/
AUR URL         : https://aur.archlinux.org/packages/bruno
Groups          : None
Licenses        : MIT
Provides        : None
Depends On      : electron31  alsa-lib
Make Deps       : nvm  asar  python-setuptools  python
Check Deps      : None
Optional Deps   : None
Conflicts With  : None
Maintainer      : vianney
Votes           : 9
Popularity      : 0.851133
First Submitted : Mon, 9 Oct 2023 10:44:19
Last Modified   : Fri, 15 Nov 2024 14:49:44
Out Of Date     : No

Any idea/tip for these cases where pyenv is used?

vianney commented on 2024-12-06 14:20 (UTC)

Hi @nbari, as @dbb wrote, distutils is released within the python-setuptools package. It's in the make dependencies so you should not have the issue.

nbari commented on 2024-12-05 10:44 (UTC)

I am having the same problem as described by @dbb, when trying to update using paru -Sy bruno, I get:

  Traceback (most recent call last):
  File "/home/nbari/.cache/paru/clone/bruno/src/bruno-1.34.2/node_modules/node-gyp/gyp/gyp_main.py", line 42, in <module>
    import gyp  # noqa: E402
    ^^^^^^^^^^
  File "/home/nbari/.cache/paru/clone/bruno/src/bruno-1.34.2/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in <module>
    import gyp.input
  File "/home/nbari/.cache/paru/clone/bruno/src/bruno-1.34.2/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in <module>
    from distutils.version import StrictVersion
ModuleNotFoundError: No module named 'distutils'
Error: `gyp` failed with exit code: 1
    at ChildProcess.onCpExit (/home/nbari/.cache/paru/clone/bruno/src/bruno-1.34.2/node_modules/node-gyp/lib/configure.js:325:16)
    at ChildProcess.emit (node:events:514:28)
    at ChildProcess._handle.onexit (node:internal/child_process:294:12)

Any idea how to fix it?

vianney commented on 2024-11-28 21:31 (UTC) (edited on 2025-02-06 15:03 (UTC) by vianney)

Hi there,

1.35.0 has been out there for a week and while an updated PKGBUILD builds, bruno only displays its error screen when I try to test it. I haven't found why yet.

I also have very limited time to work on this issue for now so if you're interested in the 1.35.0, do not hesitate to try and have a go at it.


edit: just tried with 1.36.1 and the issue persists.


edit (2025, 9th of january): issue still persists with 1.38.1.


edit (2025, 6th of february): fixed it. It was related to telemetry. I had to apply a patch to disable it so bruno could start.