Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: firefox-unbranded-bin 51.0.1.1485268839-1

Git Clone URL: https://aur-dev.archlinux.org/firefox-unbranded-bin.git (read-only)
Package Base: firefox-unbranded-bin
Description: Standalone web browser from mozilla.org - Unbranded version (binary)
Upstream URL: https://wiki.mozilla.org/Add-ons/Extension_Signing#Latest_Builds
Keywords: firefox mozilla unbranded
Licenses: GPL, MPL, LGPL
Conflicts: firefox, firefox-unbranded
Provides: firefox=51.0.1.1485268839
Submitter: LA-MJ
Maintainer: LA-MJ
Last Packager: LA-MJ
Votes: 2
Popularity: 1.369703
First Submitted: 2016-09-26 19:00
Last Updated: 2017-01-24 19:48

Required by (111)

Sources (3)

Latest Comments

LA-MJ commented on 2016-11-17 21:24

@StephenBrown2 I have missed .SRCINFO only once and fixed it immediately.

Bear in mind that Arch wiki puts emphasis on using makepkg/pacman manually and this PKGBUILD is setup to be intentionally reusable. I. e. You would need to download it only once.

I am using yaourt just fine btw. I suggest you raise an issue with pacaur. I don't understand how it is so popular being so inertial. There are many PKGBUILDs that get modified dynamically. All -git packages, for instance. Surely, they can't all fail?

Alternatively, make use of customizepkg.

StephenBrown2 commented on 2016-11-17 19:27

For the last several updates, I've run into issues:

firefox-unbranded-bin package(s) failed to install. Check .SRCINFO for mismatching data with PKGBUILD.

Please do remember to run mksrcinfo before uploading package updates. It can be easy to miss, .SRCINFO being a hidden file and all.

EDIT: Actually, it seems that the PKGBUILD is getting modified when it attempts to install, apparently due to the same timestamp issue:

7 pkgver=50.1.0.1479380722
25 _lasttmstmp=$(curl -s "${_rooturl}/" | grep -Po '(?<=/)\d+(?=/")' | sort -n | tail -n1)
37 pkgver() {
38 >·······echo "${_pkgver}.${_lasttmstmp}"
39 }

The PKGBUILD and SRCINFO versions don't match after a new timestamp is determined, and so it fails.

I am using pacaur, btw, but I don't know that that's the issue.
Removing the pkgver() function allows it to install fine.

LA-MJ commented on 2016-10-21 18:14

@jpike I am not sure what you mean.

E.g. 49.0.2.1476439595 and 49.0.2.1476473615 differ by 9 files or so.

This is not a novel idea either. E. g. firefox-aurora uses buildID in pkgver. The reason is obvious, the source is different => so should the version be.

I am sorry that you are inconvenienced but this seems to be a pacaur deficiency to me. I confess I have not used it myself. I'm all ears if you have ideas how to improve the package.

jpike commented on 2016-10-20 13:22

Why do you include the timestamp in the package version? I've seen 4 timestamp updates now for firefox 49.0.2 and yet they were identical archives each time.

Every `pacaur -Sy` is delayed while it checks the timestamp when it's like this also.

LA-MJ commented on 2016-10-03 15:37

@jpike sorry for the typo (supposed to be printf). I guess echo is better.

no need to mark as OOD though

jpike commented on 2016-10-03 13:50

You should replace `print` with `echo` in pkgver().

jpike commented on 2016-10-03 13:45

You seem to be missing a build dependency:

/tmp/yaourt-tmp-james/aur-firefox-unbranded-bin/./PKGBUILD: line 38: print: command not found
==> ERROR: pkgver is not allowed to be empty.
==> ERROR: pkgver() generated an invalid version:
==> ERROR: Makepkg was unable to build firefox-unbranded-bin.