You are not logged in.

#1 2018-07-01 21:24:31

emilia
Member
Registered: 2018-06-21
Posts: 2

Installation from AUR failed

I tried to install pdftk. It depends on gcc-gcj-ecj and gcc6-gcj, which I need to install manually since they are both AUR packages. When I installed gcc6-gcj (with makepkg -si), it downloaded 7G of data and then aborted with an error message I don't remember.

My main question is: How can I remove this mess? When I try to uninstall with pacman -R, it says it can't find the target. Can I just delete the build directory (the one with PKGBUILD in it), or are there still data installed somewhere else?

My second question is: How can I install pdftk? You don't seriously have to download several GB of data and wait hours to install such a small tool as pdftk??

Offline

#2 2018-07-01 21:33:54

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: Installation from AUR failed

emilia wrote:

My main question is: How can I remove this mess? When I try to uninstall with pacman -R, it says it can't find the target. Can I just delete the build directory (the one with PKGBUILD in it), or are there still data installed somewhere else?

makepkg failed so all that would be installed are the dependencies for the PKGBUILD that were not already installed

emilia wrote:

My second question is: How can I install pdftk? You don't seriously have to download several GB of data and wait hours to install such a small tool as pdftk??

What alternative do you envisage?  Oh and welcome to the arch linux forums.
Edit:
You did see the pinned comment on https://aur.archlinux.org/packages/pdftk/

Last edited by loqs (2018-07-01 21:36:17)

Offline

#3 2018-07-01 21:41:16

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: Installation from AUR failed

There is a pdftk-bin package that uses the binary files from debian instead of compiling them.
Edit: Too slow...

Last edited by progandy (2018-07-01 21:41:47)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#4 2018-07-01 22:00:51

emilia
Member
Registered: 2018-06-21
Posts: 2

Re: Installation from AUR failed

Thank you! I'll install pdftk-bin and uninstall the dependencies I don't need.

Offline

#5 2018-07-01 22:55:42

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: Installation from AUR failed

emilia wrote:

You don't seriously have to download several GB of data and wait hours to install such a small tool as pdftk??

That's sort of like saying "You don't seriously have to setup up an entire factory just to produce a single lego brick??". If you want to build it yourself, then unfortunately you do. gcc is a behemoth so it's no surprise that it requires so much time and space to build. The *-bin packages are the equivalent of someone handing out lego bricks that they've built in their own factory so you don't need to set up your own.


emilia wrote:

it downloaded 7G of data and then aborted with an error message I don't remember

If you were building on a tmpfs partition and your system has 16 GB of RAM, then it likely ran out of disk space. If you encounter that problem again with another build, move the build directory to a filesystem on disk and retry the build.


My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone

Offline

#6 2018-07-02 07:53:55

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,843

Re: Installation from AUR failed

Xyne wrote:

That's sort of like saying "You don't seriously have to setup up an entire factory just to produce a single lego brick??". If you want to build it yourself, then unfortunately you do.

U sure? ;-)

Offline

#7 2018-07-02 23:47:37

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: Installation from AUR failed

seth wrote:

Good luck getting 10-micron precision with a commercial consumer-grade 3D printer... and even then the argument still stands as you would still need to invest in the machine wink

But yeah, maybe something metal would have been a better example.


My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone

Offline

#8 2018-07-03 00:17:15

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: Installation from AUR failed

Xyne wrote:

But yeah, maybe something metal would have been a better example.

Just choose a transparent brick as the example. I don't think you can get a proper transparent object without streaky or milky defects using consumer grade printers.
Even without that, it is a good example. You can substitute the source code (mold to cad model) and the compiler (injeciton molding to 3d printing) to get similar (but not the same) results. Rewrite pdftk in another language and you don't have to download a huge amount of dependencies smile

Last edited by progandy (2018-07-03 00:20:59)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

Board footer

Powered by FluxBB