You are not logged in.

#1 2011-05-10 17:48:58

chimeracoder
Member
From: New York
Registered: 2010-10-24
Posts: 73

pdftk build error with gcc-gcj

Haven't used the AUR too much, so I'm not sure if this is an error with the package or just something that I'm doing. pdftk was recently updated (since gcc and gcc-gcj were updated). When I try running makepkg -s, I get:

$ makepkg -s
==> Making package: pdftk 1.44-4 (Tue May 10 13:43:32 EDT 2011)
==> Checking Runtime Dependencies...
==> Installing missing dependencies...
Password:
error: 'gcc-gcj>=4.6.0': could not find or read package
==> ERROR: 'pacman' failed to install missing dependencies.

and then if I try to install gcc-gcj (the only dependency) through AUR:

$ makepkg -s
==> Making package: gcc-gcj 4.6.0-1 (Tue May 10 13:43:48 EDT 2011)
==> Checking Runtime Dependencies...
==> Installing missing dependencies...
error: 'gcc=4.6.0': could not find or read package
==> ERROR: 'pacman' failed to install missing dependencies.

Is there something I'm missing?

Offline

#2 2011-05-10 19:31:02

ber_t
Member
From: Berlin, Germany
Registered: 2010-03-10
Posts: 214
Website

Re: pdftk build error with gcc-gcj

Your local package list could be outdated. Try to run `pacman -Sy' first.

Offline

#3 2011-08-17 21:07:27

toro
Member
From: Indiana
Registered: 2011-08-17
Posts: 5
Website

Re: pdftk build error with gcc-gcj

I have the same problem, and pacman -Syu is not solving it.

[root@scheherezade dev]# pacman -Sy
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date

Whereas trying to build a package for pdftk yields:

[ali@scheherezade pdftk]$ makepkg -s
==> Making package: pdftk 1.44-4 (Wed Aug 17 11:06:00 MDT 2011)
==> Checking runtime dependencies...
==> Installing missing dependencies...
Password: 
error: target not found: gcc-gcj>=4.6.0
==> ERROR: 'pacman' failed to install missing dependencies.

Last edited by toro (2011-08-17 21:08:48)

Offline

#4 2011-08-17 22:14:07

ber_t
Member
From: Berlin, Germany
Registered: 2010-03-10
Posts: 214
Website

Re: pdftk build error with gcc-gcj

Your problem is not quite the same the OP has had.

You have to make sure to recursively build & install all the packages from the AUR, which the package you want to build depends on and which aren't available in the repos pacman looks into (e.g. core/extra/community). `makepkg -s' will only install the ones found in the repos for you.

There are many AUR helpers available which automatically build and install all the dependencies found in the AUR (https://wiki.archlinux.org/index.php/AUR_Helpers).

Offline

#5 2011-08-18 13:03:17

linux-ka
Member
From: ADL
Registered: 2010-05-07
Posts: 232

Re: pdftk build error with gcc-gcj

The most easiest way would be to install pdftk from [archlinuxfr] repository...

Offline

#6 2011-08-18 13:42:27

frabjous
Member
Registered: 2010-07-13
Posts: 367

Re: pdftk build error with gcc-gcj

Just as easy (arguably easier) would be to install pdftk-bin from AUR, which doesn't require compilation.

Offline

#7 2011-08-18 15:01:19

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: pdftk build error with gcc-gcj

It is because gcc-gcj is not in the official repos so makepkg can't find it. You have to install gcc-gcj from the AUR. yaourt can handle dependency from the AUR.

Offline

#8 2011-08-18 15:41:01

linux-ka
Member
From: ADL
Registered: 2010-05-07
Posts: 232

Re: pdftk build error with gcc-gcj

What a pain compliling gcc-gcj...

Offline

Board footer

Powered by FluxBB