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

Package Details: gcc-gcj 6.3.1-2

Git Clone URL: https://aur-dev.archlinux.org/gcc-gcj.git (read-only)
Package Base: gcc-gcj
Description: The GNU Compiler for Java
Upstream URL: http://gcc.gnu.org
Licenses: GPL, LGPL
Submitter: Allan
Maintainer: valandil
Last Packager: valandil
Votes: 243
Popularity: 3.271133
First Submitted: 2009-05-08 17:48
Last Updated: 2017-01-14 15:55

Pinned Comments

valandil commented on 2016-05-11 14:02

This package, gcc-gcj, is a subset of the GNU Compiler Collection, specifically the Java compiler part. In Arch Linux, it is mostly used to compile pdftk, a very nifty command-line PDF tool.

When reporting any build issue, please provide your current version of gcc and any error message.

It is *very* long to compile and takes up a lot of disk space while doing so. Do not use AUR helpers to compile this thing, you'll probably end up filling your /tmp partition and crash the compilation process. Download the PKGBUILD (either with yaourt -G gcc-gcj, with the helper of your choice or even manually) and run makepkg.

If you do not want to compile this and only need it for pdftk, consider using pdftk-bin. As its name indicates, it is a precompiled version of pdftk and depends only on libgcj, also precompiled.

Latest Comments

« First ‹ Previous ... 5 6 7 8 9 10 11 12 13 14 15 ... Next › Last »

valandil commented on 2014-08-12 01:18

Yes. See my previous comment on the building process. I'll add a message to the PKGBUILD in the next iteration of the package.

mindbound commented on 2014-08-12 00:19

I built it using yaourt. Should I download the build package and do it manually?

valandil commented on 2014-08-11 15:29

Did you build this from a separate directory?

mindbound commented on 2014-08-11 14:28

I'm also getting the same error as @neonkowy:

../../libiberty/fibheap.c: In function ‘fibheap_delete_node’
../../libiberty/fibheap.c:38:24: error: ‘LONG_MIN’ undeclared (first use in this function)
#define FIBHEAPKEY_MIN LONG_MIN

I'm on Arch x86_64 3.15.8, all packages gcj depends on are updated to current versions.

haawda commented on 2014-08-04 18:01

If you think that this takes forever, try compiling pypy-hg.

Det commented on 2014-08-03 23:13

Holy christ this takes forever.

valandil commented on 2014-07-29 14:14

I'm not sure of what's happening, but it usually works for me.

I use a separate build folder in my home directory and use yaourt -G to download the PKGBUILD and other necessary files and then run makepkg manually. That way, you get to keep a compiled version of the package in your filesystem!

lylambda commented on 2014-07-29 13:08

So I used the command "yaourt --tmp /home/lylambda/TMP gcc-gcj" and edit "/etc/yaourtrc" with TMPDIR="/home/lylambda/TMP" and … that work ! Thanks :)
Maybe that's failed before because I put my /tmp on tmpfs (add line in /etc/fstab : "tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0").

valandil commented on 2014-07-28 01:07

@lylambda Try building from a separate directory anyway and report back if the error happens again (or not!). Thanks.

lylambda commented on 2014-07-26 16:00

On Manjaro, the compilation failed for me. Is it because no space left on my /temp (if yes, it's strange because I have 8GB).

"gcc-4.9.1/build/./gcc -L/lib/../lib -lc -lgcc_s /tmp/yaourt-tmp-lylambda/aur-gcc-gcj/src/gcc-4.9.1/build/./gcc/crtendS.o /lib/../lib/crtn.o -Wl,-Bsymbolic-functions -Wl,--version-script=../../../libjava/libgcj.ver -Wl,-soname -Wl,libgcj-tools.so.15 -o .libs/libgcj-tools.so.15.0.0
libtool: install: /usr/bin/install -c .libs/libgcj-tools.so.15.0.0T /tmp/yaourt-tmp-lylambda/aur-gcc-gcj/pkg/gcc-gcj/usr/lib/../lib/libgcj-tools.so.15.0.0
/usr/bin/install: error writing '/tmp/yaourt-tmp-lylambda/aur-gcc-gcj/pkg/gcc-gcj/usr/lib/../lib/libgcj-tools.so.15.0.0': No space left on device
/usr/bin/install: failed to extend '/tmp/yaourt-tmp-lylambda/aur-gcc-gcj/pkg/gcc-gcj/usr/lib/../lib/libgcj-tools.so.15.0.0': No space left on device
Makefile:8844: recipe for target 'install-toolexeclibLTLIBRARIES' failed
make[3]: *** [install-toolexeclibLTLIBRARIES] Error 1
make[3]: Leaving directory '/tmp/yaourt-tmp-lylambda/aur-gcc-gcj/src/gcc-4.9.1/build/x86_64-unknown-linux-gnu/libjava'
Makefile:10382: recipe for target 'install-am' failed
make[2]: *** [install-am] Error 2
make[2]: Leaving directory '/tmp/yaourt-tmp-lylambda/aur-gcc-gcj/src/gcc-4.9.1/build/x86_64-unknown-linux-gnu/libjava'
Makefile:10240: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-lylambda/aur-gcc-gcj/src/gcc-4.9.1/build/x86_64-unknown-linux-gnu/libjava'
Makefile:16983: recipe for target 'install-target-libjava' failed
make: *** [install-target-libjava] Error 2
==> ERREUR : Une erreur s’est produite dans package().
Abandon...
==> ERREUR: Makepkg n'a pas pu construire gcc-gcj.
==> Relancer la compilation de gcc-gcj ? [o/N]"