You are not logged in.

#26 2014-04-09 03:02:02

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Yaourt fails to install *any* AUR package

warsow is in [community].

Offline

#27 2014-04-09 03:30:11

bloodyhell
Member
Registered: 2014-04-08
Posts: 30

Re: Yaourt fails to install *any* AUR package

Yeah, I know. Still wanted to go with the AUR version just to see how it works out, which didn't work out very well sad
Tried a7xpg with multiarch enabled (and community, testing, etc) getting a new error now...

The next patch would create the file Makefile,
which already exists!  Assume -R? [n] n
Apply anyway? [n] y
patching file Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
patching file src/abagames/util/sdl/Screen3D.d
patching file src/abagames/util/sdl/Sound.d
patching file src/abagames/a7xpg/Field.d
patching file src/abagames/a7xpg/LetterRender.d
==> ERROR: A failure occurred in prepare().
    Aborting...
warning: package a7xpg failed to build, skipping


Now what?

Last edited by bloodyhell (2014-04-09 04:08:56)

Offline

#28 2014-04-09 03:33:10

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Yaourt fails to install *any* AUR package

Run 'rm -rf src' in your a7xpg build directory and try again.

Offline

#29 2014-04-09 03:43:46

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Yaourt fails to install *any* AUR package

And, please, use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Fo … s_and_Code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#30 2014-04-09 03:56:05

bloodyhell
Member
Registered: 2014-04-08
Posts: 30

Re: Yaourt fails to install *any* AUR package

dumb question - where does aurget put the a7xpg build directory?

Offline

#31 2014-04-09 04:02:51

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Yaourt fails to install *any* AUR package

It has a man page; read it after you have edited your earlier post and include code blocks...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#32 2014-04-09 04:28:34

bloodyhell
Member
Registered: 2014-04-08
Posts: 30

Re: Yaourt fails to install *any* AUR package

Ok, I tried it the hard way this time (download, makepkg, etc.) still getting the same error as before:

ld: cannot find -lgphobos
ld: cannot find -lgcc
Makefile:21: recipe for target 'a7xpg' failed
make: *** [a7xpg] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

where do I find lgphobos and lgcc?
I get the same error for torus-trooper btw.

Offline

#33 2014-04-09 04:32:48

HalosGhost
Forum Fellow
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,097
Website

Re: Yaourt fails to install *any* AUR package

Note the difference between code blocks:

Not using these for terminal output/code snippets is considered treason.

and quote blocks:

jasonwryan wrote:

I completely agree with the above code block

tongue

But no, really. We have code blocks for a reason.

All the best,

-HG

Offline

#34 2014-04-09 04:42:19

bloodyhell
Member
Registered: 2014-04-08
Posts: 30

Re: Yaourt fails to install *any* AUR package

oops, my bad lol
Anyways, I tried it again but this time with torus-trooper. Same result.. erfff...

ld: cannot find -lgphobos
ld: cannot find -lgcc
Makefile:28: recipe for target 'torus-trooper' failed
make: *** [torus-trooper] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
warning: package torus-trooper failed to build, skipping

Not giving up but I feel like I'm bashing my head against the same wall... ouch!

Last edited by bloodyhell (2014-04-09 04:44:38)

Offline

#35 2014-04-09 04:56:19

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: Yaourt fails to install *any* AUR package

Installing AUR packages can be like that sometimes when the maintainer doesn't keep up with things. Add

options=('staticlibs')

to the gdc1-bin PKGBUILD.

Offline

#36 2014-04-09 06:32:08

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: Yaourt fails to install *any* AUR package

About "a7xpg": Please use the comments section on the AUR page to communicate with the maintainer. This is another reason people are asked to learn how to build manually, if it's broken or a dep is missing, then the package owner should the first one to know. AUR packages are supposed to build, as soon as base and base-devel are present (and multilib is enabled, if required).

Offline

#37 2014-04-10 19:24:22

bloodyhell
Member
Registered: 2014-04-08
Posts: 30

Re: Yaourt fails to install *any* AUR package

I happened to notice that there's a lib that needs to be installed from AUR (libbulletml), which many Kenta-Cho games depend on, and I only found that out by searching for "Kenta". I'm gonna try it again with this lib installed before any ABA games and see what happens... as soon as I get home that is..
But those are not the only kind of packages that caused trouble. There are several others that just refuse to build/install until certain dependencies, which are not listed in the PACKAGEBUILD, are met which are difficult if not impossible to find (unless I happen to stumble across said dependency by chance.), for example the aforementioned ABA games, Go-Ollie, Warsow-Openbox, Sauerbraten-svn, etc.  AUR is due for a serious cleanup.

Last edited by bloodyhell (2014-04-10 19:25:12)

Offline

#38 2014-04-10 19:43:55

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,518
Website

Re: Yaourt fails to install *any* AUR package

bloodyhell wrote:

... dependencies, which are not listed in the PACKAGEBUILD

Please make sure to comment on such packages and flag them whenever you spot this.  AUR packages are entirely managed by their maintainer.  Only when problems are flagged will it become apparent whether or not that maintainer is still active - and only if they are not active will the packag be orphaned or removed from the AUR.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#39 2014-04-10 19:59:05

bloodyhell
Member
Registered: 2014-04-08
Posts: 30

Re: Yaourt fails to install *any* AUR package

This urks me quite a bit because there are a ton of awesome programs in AUR but apparently at least half of them (based on my current success rate) seem to not work/install properly, which is a real shame. Are there any additional binary repos that I can add to pacman.conf? Something that includes packages not present in the Main/Community/Testing repos perhaps?

Last edited by bloodyhell (2014-04-10 20:02:00)

Offline

#40 2014-04-10 20:16:56

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Yaourt fails to install *any* AUR package

I have never had issues with installing anything from AUR. But then again, I don't install games or anything unless I work with that program.

But like Trilby mentioned, please comment on the AUR package page to highlight the issues. Hopefully the maintainer will fix it. If not, that package can be removed from AUR or maybe given to some other maintainer willing to maintain it.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#41 2014-04-10 20:19:34

bloodyhell
Member
Registered: 2014-04-08
Posts: 30

Re: Yaourt fails to install *any* AUR package

So... any info on additional (unofficial) binary repos (precompiled AUR packages with dependencies) that I can add to pacman.conf?

Offline

#42 2014-04-10 20:26:16

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Yaourt fails to install *any* AUR package

my rule is to never add any binary repo to my pacman.conf for the following reasons :

  • I can just as easily build the app/program through AUR or ABS

  • It nullifies the secured packages that the devs provide -- unless of course you implicitly trust the repo maintainer and all his security infrastructure.

  • With PKGBUILDS, I can control where I want to install software -- if there was a need. For example, I might want to install java jdk in a different folder than the default chosen by the binary repo provider (/opt)


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#43 2014-04-10 20:52:57

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,518
Website

Re: Yaourt fails to install *any* AUR package

There are several unofficial repos that could be added to your pacman.conf, and there is a wiki page for these.

However, that would not help your current situation at all.  The repos are maintained by the same (or same type of) people who would maintain the PKGBUILDs.  If the PKGBUILDs are broken, there could not be any content in the binary repos for you to install anyways.  Binary repos *only* help my making it faster/easier to install packages that could take a long time to build.  For example, Graysky has a repo for -ck kernels which is great.  There are some firefox variants that are in some unofficial repos.  And pipelight (silverlight replacement) has a binary repo.

If time-to-build is the issue, binary repos *might* be a reasonable solution.  If broken PKGBUILDs are the problem, then repos would not be able to help the situation any.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#44 2014-04-11 00:12:45

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Yaourt fails to install *any* AUR package

Wrt to AUR being a mess, see e.g. https://bbs.archlinux.org/viewtopic.php?id=175171

Offline

#45 2014-04-11 21:31:14

bloodyhell
Member
Registered: 2014-04-08
Posts: 30

Re: Yaourt fails to install *any* AUR package

There's a new development in my struggle - I saw ABS mentioned along with AUR several times. I don't know if I absolutely need to have this to compile/install aur packagers, but I looked it up and tried to set it up anyways. However I get this error error when doing $sudo abs:

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

Now what?

Update: Nevermind, worked the 2nd time for some reason..

Last edited by bloodyhell (2014-04-11 21:48:00)

Offline

#46 2014-04-11 22:23:59

bloodyhell
Member
Registered: 2014-04-08
Posts: 30

Re: Yaourt fails to install *any* AUR package

Scimmia, you saved my mental sainity big_smile checking if the other programs install properly now... Makes me wonder why I had to make that change in the pkgbuild in the first place. Did I miss something when setting up arch or was this an error from the maintainer's end?

Offline

#47 2014-04-11 23:12:04

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Yaourt fails to install *any* AUR package

It's the maintainer's fault.
You on the other hand should have searched for clues wrt the error messages https://bbs.archlinux.org/viewtopic.php … 5#p1345385

Offline

#48 2014-04-12 01:56:32

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: Yaourt fails to install *any* AUR package

bloodyhell wrote:

Scimmia, you saved my mental sainity big_smile checking if the other programs install properly now... Makes me wonder why I had to make that change in the pkgbuild in the first place. Did I miss something when setting up arch or was this an error from the maintainer's end?

A while back (Oct?), the default in makepkg changed from leaving static libs in the package to removing them. The maintainer hasn't updated the PKGBUILD to account for that change.

Offline

#49 2014-04-12 08:22:21

bloodyhell
Member
Registered: 2014-04-08
Posts: 30

Re: Yaourt fails to install *any* AUR package

You on the other hand should have searched for clues wrt the error messages

Where in the error messages that I posted does it tell me to add a line in the pkgbuild of this particular gdc1-bin package? I didn't know that I was expected to be a psychic??

Scimmia - that explains it. I'm gonna let him/her know about it. Btw. I installed some random AUR packages (including some orphans) no complaints sofar, except of some unresolvable dependencies in some orphaned pkgbuilds (e.g. wsoundserver)

Last edited by bloodyhell (2014-04-12 08:35:29)

Offline

#50 2014-04-12 16:32:03

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Yaourt fails to install *any* AUR package

I've asked Google to search for 'ld: cannot find -lgcc' mentioned somewhere on the Arch Linux forum in the past year and it returned a thread that mentions adding staticlibs option to the PKGBUILD.

Offline

Board footer

Powered by FluxBB