Package Details: pdftk 2.02-7

Git Clone URL: https://aur.archlinux.org/pdftk.git (read-only)
Package Base: pdftk
Description: Pdftk is a simple tool for doing everyday things with PDF documents
Upstream URL: http://www.pdfhacks.com/pdftk
Licenses: GPL
Submitter: Snowman
Maintainer: valandil
Last Packager: valandil
Votes: 372
Popularity: 12.501378
First Submitted: 2006-04-29 04:57
Last Updated: 2016-02-02 15:21

Dependencies (2)

Required by (7)

Sources (2)

Latest Comments

valandil commented on 2016-04-08 23:15

No. gcc-gcj is basically a subset of gcc (it's the Java compiler part obviously) and depends on the rest of the C library being there to run, i.e. gcc.

It was a [community] package a while back and was demoted to the AUR. I don't remember why though.

EDIT: You're right, I'm an idiot. I thought this was the gcc-gcj thread! I'll fix it when something is broken. Thanks.

1ace commented on 2016-04-08 19:36

> depends=('gcc-gcj' 'gcc-gcj-ecj')
Are you sure those are runtime dependencies?
I have a feeling they should be `makedepends` instead :]

BTW, any reason this package hasn't been picked up to go in [extra] or at least [community] ?

drankinatty commented on 2016-03-28 19:19

Give me the moron badge - will update and rebuild. Thank you and keep up the great work! (oh, now I remember why I hate compiling gcc-gcj 1 hour and 25 minutes to build that beast, sheeze) but then a successful 5 second pdftk build. All good, thanks.

valandil commented on 2016-03-28 19:15

@drankinatty This happens because you have gcc-5.3.0 installed, but gcc-gcj-5.2.0 installed. Update gcc-gcj and you should be fine.

pdftk has not been updated in a while: it is definitely not out of date.

valandil commented on 2016-02-08 19:59

@zenlar Good. I'll try to replicate this on another machine and, if I can, add this to the PKGBUILD.

zenlar commented on 2016-02-08 19:57

@joukim @valandil Adding -fPIC to CXXFLAGS and GCJFLAGS fixes it for me.

valandil commented on 2016-02-02 15:20

Thanks for the heads up. Should be fixed now.

a36233 commented on 2016-02-02 15:09

I got this error when trying to makepkg

==> ERROR: license should be an array

valandil commented on 2016-01-25 18:17

@joukim Try adding -fPIC to the CXXFLAGS in Makefile.Arch. Since I cannot reproduce on my machine, you'll have to try it yourself. Sorry.

joukim commented on 2016-01-25 17:13

I coudn't compile pdftk today:

g++ -O2 attachments.o report.o passwords.o pdftk.o /tmp/yaourt-tmp-joukim/aur-pdftk/src/pdftk-2.02-dist/pdftk/../java/java_lib.o -lgcj -o pdftk
/usr/bin/ld: /tmp/yaourt-tmp-joukim/aur-pdftk/src/pdftk-2.02-dist/pdftk/../java/java_lib.o: relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/tmp/yaourt-tmp-joukim/aur-pdftk/src/pdftk-2.02-dist/pdftk/../java/java_lib.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile.Base:49: recipe for target 'pdftk' failed
make: *** [pdftk] Error 1

All comments