You are not logged in.
warsow is in [community].
Offline
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
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
Run 'rm -rf src' in your a7xpg build directory and try again.
Offline
And, please, use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Fo … s_and_Code
Offline
dumb question - where does aurget put the a7xpg build directory?
Offline
It has a man page; read it after you have edited your earlier post and include code blocks...
Offline
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
Note the difference between code blocks:
Not using these for terminal output/code snippets is considered treason.and quote blocks:
I completely agree with the above code block
![]()
But no, really. We have code blocks for a reason.
All the best,
-HG
Offline
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, skippingNot 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
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
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
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
... 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
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
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.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
So... any info on additional (unofficial) binary repos (precompiled AUR packages with dependencies) that I can add to pacman.conf?
Offline
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)
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
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
Wrt to AUR being a mess, see e.g. https://bbs.archlinux.org/viewtopic.php?id=175171
Offline
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 nowNow what?
Update: Nevermind, worked the 2nd time for some reason..
Last edited by bloodyhell (2014-04-11 21:48:00)
Offline
Scimmia, you saved my mental sainity
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
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
Scimmia, you saved my mental sainity
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
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
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