You are not logged in.

#1 2012-01-24 03:38:45

Kebertx
Member
Registered: 2012-01-02
Posts: 69

MAKEPKG: ERROR: A failure occurred in build(). Aborting...

Trying to install an AUR pkgbuild. I need package-query, because it's a dependency for YAOURT.

[myuser@myhost package-query]$ makepkg -si
==> Making package: package-query 1.0.1-1 (Mon Jan 23 20:21:50 MST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
  -> Downloading package-query-1.0.1.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  361k  100  361k    0     0  53212      0  0:00:06  0:00:06 --:--:--  234k
==> Validating source files with md5sums...
    package-query-1.0.1.tar.gz ... Passed
==> Extracting Sources...
  -> Extracting package-query-1.0.1.tar.gz with bsdtar
==> Starting build()...
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/jesse/yaourt/package-query/src/package-query-1.0.1':
configure: error: C compiler cannot create executables
See `config.log' for more details
==> ERROR: A failure occurred in build().
    Aborting...

Damn.

==> ERROR: A failure occurred in build().
    Aborting...

I have actually not been able to use makepkg once without getting this error.
I've been looking around, and this seems to be a common enough problem.

So it seems reasonable to ask, is there a simple (or complicated, I don't care) thing I can do to make this work the way it's supposed to?
/kthx

Offline

#2 2012-01-24 03:47:14

Kebertx
Member
Registered: 2012-01-02
Posts: 69

Re: MAKEPKG: ERROR: A failure occurred in build(). Aborting...

[archlinuxfr] 
Server = http://repo.archlinux.fr/$arch

That^ at the end of /etc/pacman.conf let's me install yaourt with

pacman -Sy yaourt

All the same. It would be lovely if makepkg worked as well.
So... bump.

Offline

#3 2012-01-24 04:11:55

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: MAKEPKG: ERROR: A failure occurred in build(). Aborting...

See `config.log' for more details

Perhaps you should do that. It'll be in the build directory. Common errors: you didnt install base-devel

Offline

#4 2012-01-24 04:12:15

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

Re: MAKEPKG: ERROR: A failure occurred in build(). Aborting...

Bumping and cross posting?

Please do not do this...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2012-01-24 04:38:25

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,742

Re: MAKEPKG: ERROR: A failure occurred in build(). Aborting...

Moderator action:
Do not cross post.  See our policy

I closed and binned your other post.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#6 2012-01-24 13:51:15

Kebertx
Member
Registered: 2012-01-02
Posts: 69

Re: MAKEPKG: ERROR: A failure occurred in build(). Aborting...

falconindy wrote:
See `config.log' for more details

Perhaps you should do that. It'll be in the build directory. Common errors: you didnt install base-devel

Base-devel is installed and updated...

jasonwryan wrote:

Bumping and cross posting?

Please do not do this...

I thought maybe my second post could be helpful to someone else with the same problem... sad

ewaller wrote:

Moderator action:
Do not cross post.  See our policy

I closed and binned your other post.

Read and acknowledged. I apologize and agree not to do this again.

Shall I copypaste config.log, or just grep my own attention to all the errors?

Offline

Board footer

Powered by FluxBB