Package Details: brave 0.19.53-1

Git Clone URL: https://aur.archlinux.org/brave.git (read-only)
Package Base: brave
Description: Web browser that blocks ads and trackers by default.
Upstream URL: https://www.brave.com/
Keywords: browser muon web
Licenses: custom
Provides: brave-browser
Submitter: mischka
Maintainer: mischka (vorbote)
Last Packager: mischka
Votes: 39
Popularity: 2.905652
First Submitted: 2016-01-29 19:47
Last Updated: 2017-10-20 00:25

Dependencies (12)

Required by (0)

Sources (1)

Pinned Comments

mischka commented on 2017-10-10 02:51

@Chiruno looks like https://github.com/npm/npm/issues/18520, should be fixed upon upgrading npm to 5.5.0 or downgrading to 5.4.0 (I think, maybe lower). Not sure what I should do here to work around that for now. Any suggestions?

@FreelancePolice I'm willing to bet that will be fixed in a new release of brave (should be soon), that has tended to be the case for errors in `buildPackage.js` for me before. Sorry, also not sure what I should do here to fix it.

I'd recommend using brave-bin in the meantime, but I'm happy to hear suggestions.

Latest Comments

mischka commented on 2017-10-10 02:51

@Chiruno looks like https://github.com/npm/npm/issues/18520, should be fixed upon upgrading npm to 5.5.0 or downgrading to 5.4.0 (I think, maybe lower). Not sure what I should do here to work around that for now. Any suggestions?

@FreelancePolice I'm willing to bet that will be fixed in a new release of brave (should be soon), that has tended to be the case for errors in `buildPackage.js` for me before. Sorry, also not sure what I should do here to fix it.

I'd recommend using brave-bin in the meantime, but I'm happy to hear suggestions.

Chiruno commented on 2017-10-10 02:28

make: Entering directory '/home/chiruno/.cache/pacaur/brave/src/browser-laptop-0.18.36dev/node_modules/tracking-protection/node_modules/cppunitlite/build'
CXX(target) Release/obj.target/CppUnitLite/src/Failure.o
CXX(target) Release/obj.target/CppUnitLite/src/SimpleString.o
CXX(target) Release/obj.target/CppUnitLite/src/Test.o
CXX(target) Release/obj.target/CppUnitLite/src/TestResult.o
CXX(target) Release/obj.target/CppUnitLite/src/TestRegistry.o
AR(target) Release/obj.target/CppUnitLite.a
COPY Release/CppUnitLite.a
CXX(target) Release/obj.target/test/test/StackMain.o
CXX(target) Release/obj.target/test/test/StackTest.o
LINK(target) Release/test
make: Leaving directory '/home/chiruno/.cache/pacaur/brave/src/browser-laptop-0.18.36dev/node_modules/tracking-protection/node_modules/cppunitlite/build'
+ cppunitlite@1.0.0
added 1 package in 1.38s
npm ERR! Cannot read property 'pause' of undefined

npm ERR! A complete log of this run can be found in:
npm ERR! /home/chiruno/.npm/_logs/2017-10-10T02_25_16_154Z-debug.log
==> ERROR: A failure occurred in build().
Aborting...
:: failed to build brave package(s)

FreelancePolice commented on 2017-09-30 20:12

This package fails to compile. The error message is:

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! brave@0.18.36 build-package: `node ./tools/buildPackage.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the brave@0.18.36 build-package script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/adam/.npm/_logs/2017-09-30T20_11_31_303Z-debug.log
==> ERROR: A failure occurred in build().
Aborting...

Chiruno commented on 2017-08-11 21:34

This package seems to be outdated.
https://github.com/brave/browser-laptop/releases/tag/v0.18.14dev

ZioCroccante commented on 2017-06-05 14:38

@palopezv
Thanks for the clear answer.

vorbote commented on 2017-06-05 14:30

@ZioCroccante

Can't be helped. It is a perfect storm of upstream changing library requirements to versions incompatible with npm 4.6.x. Thus, we need newer tools in Arch (will require a staging transition I think) and upstream to straighten out its act.

Patience. As you should be aware, brave is a browser in development and code quality is poor, not even alpha at some release milestones. That is, when it breaks you get to keep the pieces. Being brutally honest, if you are depending on it for something more than playing around at this stage, you are in trouble.

In the meantime, I'll fake the version to push the last working version.

vorbote commented on 2017-05-28 19:16

I just pushed 0.16.0 for your compiling and browsing pleasure. :-)

pseudoramble commented on 2017-05-28 16:41

Thanks @palopezv. I updated my comment to clarify what I was doing (which is not a good way to go). I've had a very simple script to do AUR package installations for a long time, and didn't realize some packages won't support the snapshot method anymore.

You should install cower, like I will :)

vorbote commented on 2017-05-28 13:32

I'll spell it out for you people:

YAOURT NOT SUPPORTED.

USE cower (OR SIMILAR) TO MAINTAIN AUR PACKAGES. IF YOU INSIST ON USING YAOURT, USE brave-bin INSTEAD.

@pseudoramble If you believe that is a true bug (that is, you did not use yaourt to compile the package), report it upstream. Thanks.

pseudoramble commented on 2017-05-28 13:11

EDIT: As @palopezv points out above, downloading the snapshot (or using Yaourt it seems) isn't supported for this. You _must_ use the git repo cloning method (or Cower) for this specific package. Some details can be found here: https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_packages. The first method (cloning the git repo) should work. The other ways will not without the hack I did below. You can also use brave-bin instead it seems. I've left my old comment just in case people are curious what I did.

I also had the same error is @mazzolino. I was able to resolve the issue with a tweak to the file ./tools/buildPackages.js on line 44 like this:

Before: BROWSER_LAPTOP_REV: require('git-rev-sync').long(),

After: BROWSER_LAPTOP_REV: 'unknown',

Then rebuild using makepkg -e from the package directory.

All comments