Package Details: zotero 6.0.37-1

Git Clone URL: https://aur.archlinux.org/zotero.git (read-only, click to copy)
Package Base: zotero
Description: A free, easy-to-use tool to help you collect, organize, cite, and share your research sources.
Upstream URL: https://github.com/zotero/zotero
Licenses: AGPL3
Submitter: agkphysics
Maintainer: agkphysics
Last Packager: agkphysics
Votes: 23
Popularity: 1.44
First Submitted: 2022-08-13 10:04 (UTC)
Last Updated: 2024-03-28 07:08 (UTC)

Pinned Comments

agkphysics commented on 2023-06-14 11:31 (UTC)

@jeyes https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot

agkphysics commented on 2023-02-08 10:12 (UTC)

If people are having issues, try building with extra-x86_64-build in a clean chroot.

Latest Comments

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

Mailaender commented on 2023-12-03 11:39 (UTC)

This is displayed to me as zotero-latest-commit and will update every time I scan the AUR for changes.

valandil commented on 2023-11-09 01:28 (UTC)

@peder2tm I had the same error before. Simply delete the cached source files in your build, or use extra-x86_64-build to get a clean build environment and it should work.

peder2tm commented on 2023-11-08 13:03 (UTC)

This package does not build for me

...
==> Extracting sources...
  -> Creating working copy of zotero-client git repo...
Cloning into 'zotero-client'...
done.
Downloading app/linux/updater.tar.xz (74 KB)
Error downloading object: app/linux/updater.tar.xz (d7e9c81): Smudge error: Error downloading app/linux/updater.tar.xz (d7e9c81d2f86ec0f70d75107a022649292889807bc8b0b7eaf1bdfd5c1030bf1): error transferring "d7e9c81d2f86ec0f70d75107a022649292889807bc8b0b7eaf1bdfd5c1030bf1": [0] remote missing object d7e9c81d2f86ec0f70d75107a022649292889807bc8b0b7eaf1bdfd5c1030bf1

Errors logged to '/home/peter/kode/zotero/src/zotero-client/.git/lfs/logs/20231108T140216.702733511.log'.
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: app/linux/updater.tar.xz: smudge filter lfs failed
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

==> ERROR: Failure while creating working copy of zotero-client git repo
    Aborting...

valandil commented on 2023-09-17 00:37 (UTC)

Ah, I think I figured out my issues. I must have had an older version of the PKGBUILD in my build directory. That would explain the missing object in git-lfs, and the problems with the build. The latest PKGBUILD builds fine, thanks!

agkphysics commented on 2023-09-16 08:34 (UTC)

@valandil Does the package build with just the plain nodejs from the Arch repository, which is currently version 20.6.1? That is what is specified in the PKGBUILD.

valandil commented on 2023-09-16 01:43 (UTC)

Hi! I'm having a little trouble building the latest version, even in a clean chroot. Building with nodejs-lts-gallium yields the following;

    '[21:53:02] Error: error:0308010C:digital envelope routines::unsupported\n' +
    '    at new Hash (node:internal/crypto/hash:71:19)\n' +
    '    at Object.createHash (node:crypto:130:10)\n' +
    '    at BulkUpdateDecorator.hashFactory (/build/zotero/src/zotero-client/pdf-worker/pdf.js/node_modules/webpack/lib/util/createHash.js:144:18)\n' +
    '    at BulkUpdateDecorator.update (/build/zotero/src/zotero-client/pdf-worker/pdf.js/node_modules/webpack/lib/util/createHash.js:46:50)\n' +
    '    at RawSource.updateHash (/build/zotero/src/zotero-client/pdf-worker/pdf.js/node_modules/webpack-sources/lib/RawSource.js:64:8)\n' +
    '    at NormalModule._initBuildHash (/build/zotero/src/zotero-client/pdf-worker/pdf.js/node_modules/webpack/lib/NormalModule.js:753:17)\n' +
    '    at handleParseResult (/build/zotero/src/zotero-client/pdf-worker/pdf.js/node_modules/webpack/lib/NormalModule.js:817:10)\n' +
    '    at /build/zotero/src/zotero-client/pdf-worker/pdf.js/node_modules/webpack/lib/NormalModule.js:908:4\n' +
    '    at processResult (/build/zotero/src/zotero-client/pdf-worker/pdf.js/node_modules/webpack/lib/NormalModule.js:640:11)\n' +
    '    at /build/zotero/src/zotero-client/pdf-worker/pdf.js/node_modules/webpack/lib/NormalModule.js:692:5\n' +
    "[21:53:02] 'lib' errored after 2.38 s\n" +

The official Zotero website seems to recommend node-18. Updating to nodejs-lts-hydrogen in the makedepends yields:

8181 error ../../nan/nan_typedarray_contents.h: In constructor ‘Nan::TypedArrayContents<T>::TypedArrayContents(v8::Local<v8::Value>)’:
8181 error ../../nan/nan_typedarray_contents.h:34:43: error: ‘class v8::ArrayBuffer’ has no member named ‘GetContents’
8181 error    34 |       data   = static_cast<char*>(buffer->GetContents().Data()) + byte_offset;
8181 error       |                                           ^~~~~~~~~~~
8181 error make: *** [canvas.target.mk:154: Release/obj.target/canvas/src/backend/Backend.o] Error 1

I must admit not being terribly familiar with the node building process, so I'm not too sure what's happening here. And incompatible version of node? Weird dependencies? I didn't find anything particularly useful in the .github folder of the GitHub repo either.

Side note, the error outside the chroot was weird. It was related to a missing object in git-lfs, and I have no idea why the chroot fixes it. I did try deleting the entire zotero folder hoping it was the only git-lfs cache, but to no avail ¯_(ツ)_/¯

Thanks for the work on this!

m040601 commented on 2023-09-09 22:57 (UTC) (edited on 2023-09-10 09:53 (UTC) by m040601)

Such a usefull PKGBUILD, thanks to agkphysics and juanma(zotero-bin) for the work maintaining it.

So many votes (on "zotero-bin". And yet still no official Arch package for Zotero.

Why is it so ? Is there anything about Zotero that makes it difficult to build/maintain ? Is it lack of interest by any official Arch packager ?

For late 2023,

Zotero 7 represents a major upgrade of the underlying Mozilla Firefox architecture, accompanied by a major rewrite of its source code.

agkphysics commented on 2023-06-14 11:45 (UTC)

@jeyes I don't use pamac (or any AUR helper) so I'm afraid I cannot help you there.

jeyes commented on 2023-06-14 11:41 (UTC)

Thanks for the quick answer, @agkphysics. I'm not advanced enough to build the package myself. I have installed it using pamac and now I would also like to be able to update it via pamac. It lets me edit the PKGBUILD file, however, is there any way to achieve the solution that way?

agkphysics commented on 2023-06-14 11:31 (UTC)

@jeyes https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot