You are not logged in.

#1 2009-12-03 03:08:09

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

[SOLVED] Configure error in Yaourt: build fails

I have been running Yaourt on my work desktop for 6 months or so now with no issues. However, now when I try to install a package, it gives an error then fails. Early in the piece it throws an error I hadn't noticed before:

==> WARNING: Unable to write in /var/abs/local/yaourtbuild/mpdscribble-git directory. Using /tmp directory

But then it continues...
Later, it fails completely at this point:

checking for C compiler default output file name... 
configure: error: in `/tmp/yaourt-tmp-jason/aur-mpdscribble-git/mpdscribble-git/src/mpdscribble-build':
configure: error: C compiler cannot create executables
See `config.log' for more details.
==> Starting make...
make: *** No rule to make target `install'.  Stop.
==> ERROR: Build Failed.
    Aborting...
Error: Makepkg was unable to build mpdscribble-git package.

I have tried installing other stuff from AUR, and that fails as well - sometimes with a different error. In the case above, I changed the pkgver to today's date. Can anyone point me at other solutions?

Last edited by jasonwryan (2009-12-03 19:41:28)


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#2 2009-12-03 03:17:26

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: [SOLVED] Configure error in Yaourt: build fails

The first message is just a warning saying that it's using the /tmp directory instead of /var/abs/. That can safely be ignored.
The second message looks like you are missing a build dependancy. Do you have base-devel installed?

Last edited by sand_man (2009-12-03 03:18:46)


neutral

Offline

#3 2009-12-03 03:23:42

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

Re: [SOLVED] Configure error in Yaourt: build fails

Thanks sand_man: yes, base-devel is installed...

/edit

Random attempt at a different package yields:

==> Starting build()...
/tmp/yaourt-tmp-jason/aur-clockywock/clockywock/./PKGBUILD: line 15: cd: /tmp/yaourt-tmp-jason/aur-clockywock/clockywock/src/clockywock-0.2.3: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
==> ERROR: Build Failed.
    Aborting...
Error: Makepkg was unable to build clockywock package.

Last edited by jasonwryan (2009-12-03 03:35:29)


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2009-12-03 03:42:26

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: [SOLVED] Configure error in Yaourt: build fails

If you have base-devel installed then I have no idea. It looks like something from that group is missing.
autoconf maybe?


neutral

Offline

#5 2009-12-03 03:52:35

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

Re: [SOLVED] Configure error in Yaourt: build fails

I tried uninstalling Yaourt and rebuilding but, of course, it fails.

==> Starting build()...
/home/jason/Build/yaourt/PKGBUILD: line 21: cd: /home/jason/Build/yaourt/src/yaourt-0.9.2.6: No such file or directory
make: *** No rule to make target `install'.  Stop.
==> ERROR: Build Failed.
    Aborting...

I have reinstalled base-devel just to be sure... This isn't looking too good.

Last edited by jasonwryan (2009-12-03 04:13:21)


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2009-12-03 04:51:46

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [SOLVED] Configure error in Yaourt: build fails

You could always try a different program (like aurbuild for example) for installing stuff from AUR.

Offline

#7 2009-12-03 13:51:02

Surgat_
Member
Registered: 2007-08-08
Posts: 317

Re: [SOLVED] Configure error in Yaourt: build fails

I'd start by trying to make a package without any AUR wrappers - that is, downloading the tarball from AUR, extracting it and running makepkg on it. You might get some useful info.

Offline

#8 2009-12-03 15:44:48

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED] Configure error in Yaourt: build fails

Trying to build for the wrong architecture?


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#9 2009-12-03 16:06:31

goran'agar
Member
From: Nothern Italy
Registered: 2009-05-19
Posts: 171

Re: [SOLVED] Configure error in Yaourt: build fails

colorwrapper installed?


Sony Vaio VPCM13M1E  - Arch Linux - LXDE

Offline

#10 2009-12-03 16:49:50

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: [SOLVED] Configure error in Yaourt: build fails

Funky mount options, like noexec, on the partition your building in?

Offline

#11 2009-12-03 17:40:21

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

Re: [SOLVED] Configure error in Yaourt: build fails

Thanks for your suggestions/questions.

Mr.Elendig wrote:

Trying to build for the wrong architecture?

No: I'm getting that right...

goran'agar wrote:

colorwrapper installed?

Yes - is that a known issue? That is a recent addition, I'll try disabling it when I get to work.

Ramses de Norre wrote:

Funky mount options, like noexec, on the partition your building in?

No: I haven't changed any of that in months...

/edit Just read the comments on AUR re cwrapper - not sure how I missed them - but thanks goran'agar, it definitely looks like that is the cause.
http://bbs.archlinux.org/viewtopic.php? … 34#p624234

Last edited by jasonwryan (2009-12-03 17:47:23)


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#12 2009-12-03 19:40:05

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

Re: [SOLVED] Configure error in Yaourt: build fails

I can confirm that it is cwrapper that was causing the issue. Removing cwrapper restores the ability to compile.

Thanks for the help.

Last edited by jasonwryan (2009-12-03 19:42:06)


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#13 2009-12-03 21:09:17

goran'agar
Member
From: Nothern Italy
Registered: 2009-05-19
Posts: 171

Re: [SOLVED] Configure error in Yaourt: build fails

jasonwryan wrote:

I can confirm that it is cwrapper that was causing the issue. Removing cwrapper restores the ability to compile.

Thanks for the help.

Well, no need to remove. It's enough to set the PATH to something like /bin:/usr/bin:/usr/sbin before start using yaourt.

Or maybe just set an alias like:

alias yaourt='export PATH=/bin:/usr/bin:/usr/sbin &&  yaourt'

of course after that you must close your terminal to have your colors back.


Sony Vaio VPCM13M1E  - Arch Linux - LXDE

Offline

#14 2009-12-04 01:09:34

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

Re: [SOLVED] Configure error in Yaourt: build fails

goran'agar wrote:

Well, no need to remove. It's enough to set the PATH to something like /bin:/usr/bin:/usr/sbin before start using yaourt.

Or maybe just set an alias like:

alias yaourt='export PATH=/bin:/usr/bin:/usr/sbin &&  yaourt'

of course after that you must close your terminal to have your colors back.

Thanks goran'agar: the yaourt alias worked perfectly!


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB