Problem with package-query makepkg

Problems with packages? Post here, using [tags] of the package name.

Problem with package-query makepkg

Postby zesssez » Mon Jan 12, 2015 7:07 pm

Hi,

its second time i installed alarm on my nexus 7 2012, i want to install package-query + yaourt from source, but i get a making error during package-query compilation, i post last lines:

Makefile:426: recipe for target 'aur.o' failed
make[2]: *** [aur.o] Error 1
make[2]: Leaving directory '/home/user/packagequery/src/package-query-1.5/src'
Makefile:412: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/user/packagequery/src/package-query-1.5'
Makefile:343: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...


I dont know what's the problem because on first install a had yoaurt working, but i cantt install packa.. query now.

It seems a makepkg problem, perhaps a base-devel corrupted files, bug in package....

Any idea !?

Thanx
zesssez
 
Posts: 4
Joined: Mon Jan 12, 2015 7:00 pm

Re: Problem with package-query makepkg

Postby pepedog » Mon Jan 12, 2015 7:50 pm

Run out of ram? Create a swap file
Yaourt building in a tmpfs? Download package-query and build it with makepkg
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Problem with package-query makepkg

Postby zesssez » Tue Jan 13, 2015 11:29 am

Swapfile created: 1024M

[user@alarm etc]$ free -m
total used free shared buff/cache available
Mem: 972 392 423 0 156 563
Swap: 1023 0 1023

No change, the makepkg problem persist:

Build information:
source code location : .
prefix : /usr
sysconfdir : /etc
conf file : /etc/pacman.conf
localstatedir : /var
database dir : /var/lib/pacman/
compiler : gcc
compiler flags : -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4

package-query version : 1.5
using git version : no
git ver :

Variable information:
root working directory : /
aur base url : https://aur.archlinux.org

make all-recursive
make[1]: Entering directory '/home/user/packagequery/src/package-query-1.5'
Making all in src
make[2]: Entering directory '/home/user/packagequery/src/package-query-1.5/src'
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"https://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT aur.o -MD -MP -MF .deps/aur.Tpo -c -o aur.o aur.c
In file included from /usr/include/alpm.h:35:0,
from alpm-query.h:21,
from aur.c:30:
/usr/include/archive.h:1:1: error: expected identifier or ‘(’ before ‘.’ token
../../ca-certificates/extracted/cadir/AddTrust_Qualified_Certificates_Root.pem
.
.
.
#few error than this one all of them on /usr/include/archive.h
.
.
#anf final error

Makefile:426: recipe for target 'aur.o' failed
make[2]: *** [aur.o] Error 1
make[2]: Leaving directory '/home/user/packagequery/src/package-query-1.5/src'
Makefile:412: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/user/packagequery/src/package-query-1.5'
Makefile:343: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
zesssez
 
Posts: 4
Joined: Mon Jan 12, 2015 7:00 pm

Re: Problem with package-query makepkg

Postby WarheadsSE » Tue Jan 13, 2015 8:33 pm

How about not editing the error log.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Problem with package-query makepkg

Postby zesssez » Wed Jan 14, 2015 12:21 pm

zesssez
 
Posts: 4
Joined: Mon Jan 12, 2015 7:00 pm

Re: Problem with package-query makepkg

Postby moonman » Mon Apr 06, 2015 8:49 pm

How did you obtain the source? Wget + untar on the device? Or winscp?
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am


Return to Packages

Who is online

Users browsing this forum: No registered users and 12 guests