Package Details: python-pypdf2 1:2.12.1-3

Git Clone URL: https://aur.archlinux.org/python-pypdf2.git (read-only, click to copy)
Package Base: python-pypdf2
Description: Python library for manipulating pages of PDF files (legacy v2)
Upstream URL: https://github.com/py-pdf/PyPDF2
Licenses: BSD
Submitter: arojas
Maintainer: sadid
Last Packager: bulletmark
Votes: 31
Popularity: 0.155391
First Submitted: 2019-07-30 05:58 (UTC)
Last Updated: 2023-01-20 07:13 (UTC)

Latest Comments

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

bulletmark commented on 2022-10-11 12:03 (UTC)

@loathingkernel, I thought /startdir was odd but assumed that was a personal choice where you build AUR packages so it is not a "dead giveaway". Note the last section on the paru home page.

loathingkernel commented on 2022-10-11 11:20 (UTC) (edited on 2022-10-11 12:46 (UTC) by loathingkernel)

@bulletmark there is nothing extraordinary about the way I am building it, at least for the makechrootpk route, which built successfully as I mentioned.

Also, the /startdir/PKGBUILD in the log is a dead giveaway that it was being built in a chroot as it is what Arch's official dev-tools are using (ergo, indirectly mentioning it). That being said, paru might have a hand in this failure, as it succeeds with the Arch's makechrootpkg.

bulletmark commented on 2022-10-11 01:05 (UTC)

@loathingkernel, this builds fine using yay, paru, makepkg etc, and also in a clean chroot. You are building it in an extra-ordinary way (which you neglected to mention in your original post here) so either please provide the exact commands + procedure you are using, or preferably, please debug this a little yourself and work out if it is a bug in paru etc.

loathingkernel commented on 2022-10-11 00:28 (UTC)

@bulletmark It's built through paru on a clean chroot. Building through makechrootpkg succeeds.

bulletmark commented on 2022-10-10 22:19 (UTC) (edited on 2022-10-10 22:26 (UTC) by bulletmark)

@loathingkernel, I don't see why that would be happening. What system are you on and is it fully up to date? How are you building this (AUR helper?, makepkg?), and clean everything out of that directory except the LATEST PKGBUILD and try again.

loathingkernel commented on 2022-10-10 12:22 (UTC) (edited on 2022-10-10 12:24 (UTC) by loathingkernel)

there is an issue with the directory naming

==> Starting build()...
/startdir/PKGBUILD: line 20: cd: PyPDF2-2.11.1: No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...

bulletmark commented on 2022-10-09 23:02 (UTC)

@ouuan, oops sorry about that. Fixed now with 2.11.1-2.

ouuan commented on 2022-10-09 15:15 (UTC)

I got the error ModuleNotFoundError: No module named 'setuptools' when building on a clean environment with the latest PKGBUILD. I think python-setuptools is still a required make dependency.

freswa commented on 2022-07-17 18:13 (UTC)

Any chance for an update? pdfposter-0.8 depends on pypdf2 >= 2

HHL commented on 2022-06-04 17:13 (UTC) (edited on 2022-06-07 15:40 (UTC) by HHL)

The issue below has been resolved upstream in version 2.1.0 as of 22-06-06 and should fix the package once the PKGBUILD is updated to that version.


I am using pyenv [1] via oh-my-zsh [2] on my system. I cannot install this package as-is, due to the error

pyenv: version `3.6.15' is not installed (set by /home/HHL/.cache/paru/clone/python-pypdf2/src/PyPDF2-1.27.12/.python-version)

Of course I could circumvent the problem by installing the version or disabling pyenv, however my opinion is this should either not make it into the source or be removed from the package by the build process (i.e. PKGBUILD).

[1] https://github.com/pyenv/pyenv

[2] https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/pyenv