You are not logged in.
Pages: 1
Every package I attempt to install with makepkg fails with "A failure occured in build()." Does anyone have any suggestions on how to further diagnose this problem?
Offline
Have you installed base-devel?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
If this helps, here is the entire output while attempting to install gnomebaker with yaourt as an example of the problem: http://codepad.org/urQT9SUh
This has happened with every package I've attempted to run today. I have not had this issue before, but it has began following an update.
Offline
I have installed base-devel. I just re-installed it to be sure, and it claimed that several dependencies were in conflict with the currently installed multilib variations of themselves. I allowed the multilib versions to be removed and continued installing. Afterwards I retried makepkg and it still failed as it did before.
Offline
Did anything go wrong with your glibc update? That is what is giving the errors.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
/usr/bin/ld: note: 'ceil@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command lineThis tells me two things... you are not fully up to date (binutils 2.22-9 would mentile /usr/lib/libm.so.6) and that the PKGBUILD needs fixed to add -lm to the linker line.
Offline
I just ran pacman -S binutils to be sure that it was up to date and it was and still is. I tried changing the line
make LDFLAGS+="--Wl,--export-dynamic" || return 1
to
make LDFLAGS+="-lm -Wl,--export-dynamic" || return 1
in the PKGBUILD, but the problem persisted exactly as it did before. Did I do that correctly?
Offline
Running "pacman -S binutils" will not update binutils. "pacman -Sy binutils" would, but partial upgrades are not supported and liable to cause breakage, and you should do "pacman -Syu".
Offline
I also did pacman -Syu and there was nothing new to do. I also confirmed that binutils is already at the newest version. I did have issues with glibc, but I followed the advice here: https://wiki.archlinux.org/index.php/De … iki:usrlib which did not work initially. After temporarily moving /lib/modules to a backup location, and then performing the full upgrade (after already having done pacman -Syu --ignore glibc) the update for glibc worked fine. I then had the aforementioned problem in this thread. I have since tried moving the files in the backup location back to /lib/modules, but that did not work either.
Offline
Does anyone have any other suggestions?
Offline
Can someone help me identify the linker command line in a PKGBUILD? I read the related wiki article, but I couldn't figure it out from there.
Offline
...
make[1]: Leaving directory `/tmp/yaourt-tmp-andrew/aur-gnomebaker/src/gnomebaker-0.6.4'
make: *** [all] Error 2Yaourt != makepkg.
https://bbs.archlinux.org/viewtopic.php?id=145817
(posts #5 and #8)
$ ia gnomebaker
$ e P[press Tab]
$ mOr, you if you feel adventurous and want to skip checking the PKGBUILD (not recommended):
$ ia gnomebaker; mLast edited by DSpider (2012-07-27 21:00:43)
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Hmmm...
...
/usr/bin/ld: cairofillbar.o: undefined reference to symbol 'ceil@@GLIBC_2.0'
/usr/bin/ld: note: 'ceil@@GLIBC_2.0' is defined in DSO /usr/lib/libm.so.6 so try adding it to the linker command line
/usr/lib/libm.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [gnomebaker] Error 1
make[2]: Leaving directory `/home/dspider/.builds/gnomebaker/src/gnomebaker-0.6.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dspider/.builds/gnomebaker/src/gnomebaker-0.6.4'
make: *** [all] Error 2You should drop a line in the comments section. But first check it for possible workarounds.
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
I'm having the same issue on a fresh install. Fully up to date as well.
[home page] -- [code / configs]
"Once you go Arch, you must remain there for life or else Allan will track you down and break you." -- Bregol
Offline
the package needed a gnomebaker-0.6.4-ldadd.patch .
Now its applied and updated.
It works now.
@ OP
Please mark the thread solved.
Offline
Pages: 1