[SOLVED] yaourt error package-query
Hi everyone,
i have some problem with yourt. It want do the package query. I tried reinstall but no luck. Any idea?
[liticovjesac@macbook ~]$ yaourt -Ss chromium
/usr/lib/yaourt/util.sh: line 165: /usr/bin/package-query: No such file or directory
Last edited by liticovjesac (2011-11-21 06:22:29)
Yes I have.
When i try to reinstall i get this:
[liticovjesac@macbook settings]$ sudo pacman -S package-query
warning: package-query-0.9-1 is up to date -- reinstalling
error: failed to prepare transaction (package architecture is not valid)
:: package package-query-0.9-1-i686 does not have a valid architecture
[liticovjesac@macbook settings]$
Last edited by liticovjesac (2011-11-20 15:26:23)
Similar Messages
-
[SOLVED] cannot install package query
I want to install yaourt, but I can't seem to install package query. I acquired the tarball from here and followed all the steps here
[maarten@maarten ~]$ cd ~/src
[maarten@maarten src]$ tar -zxvf package-query.tar.gz
package-query/
package-query/PKGBUILD
[maarten@maarten src]$ cd ~/src/package-query
[maarten@maarten package-query]$ makepkg -s
==> Making package: package-query 1.0.1-1 (Sun Jul 8 11:09:03 CEST 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 205k 0 0:00:01 0:00:01 --:--:-- 226k
==> 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... /usr/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... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for alpm_version in -lalpm... yes
checking for yajl_free in -lyajl... yes
checking for gawk... (cached) gawk
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.26.0
checking for libcurl >= version 7.19.4... yes
checking whether libcurl is usable... yes
checking for curl_free... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for git... git
checking for .git/... no
configure: creating ./config.status
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
package-query:
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=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2
package-query version : 1.0.1
using git version : no
git ver :
Variable information:
root working directory : /
aur base url : [url]http://aur.archlinux.org[/url]
make all-recursive
make[1]: Entering directory `/home/maarten/src/package-query/src/package-query-1.0.1'
Making all in src
make[2]: Entering directory `/home/maarten/src/package-query/src/package-query-1.0.1/src'
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT aur.o -MD -MP -MF .deps/aur.Tpo -c -o aur.o aur.c
mv -f .deps/aur.Tpo .deps/aur.Po
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT alpm-query.o -MD -MP -MF .deps/alpm-query.Tpo -c -o alpm-query.o alpm-query.c
alpm-query.c: In function 'alpm_pkg_get_realsize':
alpm-query.c:486:9: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result]
mv -f .deps/alpm-query.Tpo .deps/alpm-query.Po
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c
util.c: In function 'ltostr':
util.c:532:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
util.c: In function 'itostr':
util.c:525:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
util.c: In function 'concat_backup_list':
util.c:480:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
util.c: In function 'string_fcat':
util.c:342:11: warning: ignoring return value of 'vasprintf', declared with attribute warn_unused_result [-Wunused-result]
mv -f .deps/util.Tpo .deps/util.Po
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT color.o -MD -MP -MF .deps/color.Tpo -c -o color.o color.c
mv -f .deps/color.Tpo .deps/color.Po
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT package-query.o -MD -MP -MF .deps/package-query.Tpo -c -o package-query.o package-query.c
mv -f .deps/package-query.Tpo .deps/package-query.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -lcurl -Wl,-O1,--sort-common,--as-needed,-z,relro -o package-query aur.o alpm-query.o util.o color.o package-query.o -lyajl -lalpm
libtool: link: gcc -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -o package-query aur.o alpm-query.o util.o color.o package-query.o -lcurl -lyajl -lalpm
make[2]: Leaving directory `/home/maarten/src/package-query/src/package-query-1.0.1/src'
Making all in doc
make[2]: Entering directory `/home/maarten/src/package-query/src/package-query-1.0.1/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/maarten/src/package-query/src/package-query-1.0.1/doc'
make[2]: Entering directory `/home/maarten/src/package-query/src/package-query-1.0.1'
make[2]: Leaving directory `/home/maarten/src/package-query/src/package-query-1.0.1'
make[1]: Leaving directory `/home/maarten/src/package-query/src/package-query-1.0.1'
==> Entering fakeroot environment...
==> Starting package()...
Making install in src
make[1]: Entering directory `/home/maarten/src/package-query/src/package-query-1.0.1/src'
make[2]: Entering directory `/home/maarten/src/package-query/src/package-query-1.0.1/src'
test -z "/usr/bin" || /bin/mkdir -p "/home/maarten/src/package-query/pkg/usr/bin"
/bin/sh ../libtool --mode=install /usr/bin/install -c package-query '/home/maarten/src/package-query/pkg/usr/bin'
libtool: install: /usr/bin/install -c package-query /home/maarten/src/package-query/pkg/usr/bin/package-query
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/maarten/src/package-query/src/package-query-1.0.1/src'
make[1]: Leaving directory `/home/maarten/src/package-query/src/package-query-1.0.1/src'
Making install in doc
make[1]: Entering directory `/home/maarten/src/package-query/src/package-query-1.0.1/doc'
make[2]: Entering directory `/home/maarten/src/package-query/src/package-query-1.0.1/doc'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/man/man8" || /bin/mkdir -p "/home/maarten/src/package-query/pkg/usr/share/man/man8"
/usr/bin/install -c -m 644 package-query.8 '/home/maarten/src/package-query/pkg/usr/share/man/man8'
make[2]: Leaving directory `/home/maarten/src/package-query/src/package-query-1.0.1/doc'
make[1]: Leaving directory `/home/maarten/src/package-query/src/package-query-1.0.1/doc'
make[1]: Entering directory `/home/maarten/src/package-query/src/package-query-1.0.1'
make[2]: Entering directory `/home/maarten/src/package-query/src/package-query-1.0.1'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/maarten/src/package-query/src/package-query-1.0.1'
make[1]: Leaving directory `/home/maarten/src/package-query/src/package-query-1.0.1'
==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
==> Creating package...
-> Generating .PKGINFO file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: package-query 1.0.1-1 (Sun Jul 8 11:09:18 CEST 2012)
[maarten@maarten package-query]$ dir
PKGBUILD package-query-1.0.1.tar.gz src
package-query-1.0.1-1-i686.pkg.tar.xz pkg
[maarten@maarten package-query]$ sudo pacman -U package-query-1.0.1-1-i686.pkg.tar.xz
Password:
loading packages...
error: 'package-query-1.0.1-1-i686.pkg.tar.xz': invalid or corrupted package (PGP signature)
I already reran pacman-key --init and pacman-key --populate archlinux after removing the allready acquired signatures (/etc/pacman.d/gnupg). But it keeps returning the same error.
Do I need to add another key manually to install packages manually from the AUR?
Last edited by maartennnnnnn (2012-07-08 09:44:01)I edited your post to change the \[quote\] tags to \[code\] tags - it makes for a much easier to read post
https://wiki.archlinux.org/index.php/Fo … s_and_Code
Two options are to change your SigLevel or sign your own key... -
Cannot build yaourt as package.query cannot be build
as mir.archlinux.fr is not available. Is there a working mirror of mir.archlinux.fr around?
package-query in in the AUR
http://aur.archlinux.org/packages.php?O … _Search=Go
BTW: mir.archlinux.fr seems to work fine.
Last edited by karol (2010-07-26 21:09:23) -
[SOLVED] yaourt ERROR "not found in AUR"
Hi, when I run
yaourt -Syua
it shows
==> Downloading fontconfig-ubuntu PKGBUILD from AUR...
==> ERROR: fontconfig-ubuntu not found in AUR.
==> ERROR: unable to update
==> Downloading google-chrome-dev PKGBUILD from AUR...
==> ERROR: google-chrome-dev not found in AUR.
==> ERROR: unable to update
It's quite strange. I tried
wget https://aur.archlinux.org/packages/go/google-chrome-dev/PKGBUILD
and it works well. Could someone help me with it?
Last edited by clippit (2012-02-19 12:28:28)https://bbs.archlinux.org/viewtopic.php … 1#p1060081
http://bugs.archlinux.fr/task/268
https://bugs.archlinux.org/task/28515 -
If I try to build anything from source with yaourt, it says it's not on abs. However, the packages I am trying to build are in the abs. For example,
[max@pwn xorg-server]$ yaourt -Sb xorg-server
==> Building xorg-server from sources
xorg-server was not found on abs
xorg-server exists in /var/abs/extra, and the files to build it are there. What can I do to fix this?
Last edited by synthead (2008-05-03 23:20:59)i'l try and have a look at yaourt tonight,
though i'm sure there must be a better way to fix this.
for now, the patch below fixes srcpac,
--- /usr/bin/srcpac 2007-05-01 04:36:03.000000000 +0100
+++ /tmp/srcpac 2008-05-02 09:16:21.661341440 +0100
@@ -483,7 +483,7 @@
fi
if [ $ROOT -eq 0 ]; then
- build_packages "install" ${packages[@]}
+ build_packages "install" ${args[@]}
else
echo "This feature isn't done yet"
fi
sudo patch -i srcpac.patch /usr/bin/srcpac
let me know if works, and then i'll submit it to the bug tracker
Last edited by kumico (2008-05-02 08:23:40) -
[solved] yaourt VCS package updates
Hello,
the command $ yaourt -Syua --devel upgrades all VCS packages. However, I do not completely understand how that works.
Does yaourt upgrade all VCS packages that are installed regardless of their version or does yaourt reconcile the VCS packages with my local packages and upgrades only these that are newer?
Regards
Last edited by orschiro (2012-12-23 09:37:02)Then this feature is not working on my system.
As an example I just upgraded two packages nemo-dropbox-git and nemo-fileroller-git. So they are definitely the latest version.
Now when I run $ yaourt -Syua --devel it still wants to upgrade them again:
[orschiro@thinkpad ~]$ yaourt -Syua --devel
:: Synchronizing package databases...
cinnarch-repo is up to date
cinnarch-core is up to date
core is up to date
extra is up to date
community is up to date
multilib is up to date
Foreign packages: \ 19 / 19
==> upgrading SVN/CVS/HG/GIT package
Targets (2): nemo-dropbox-git nemo-fileroller-git
==> Proceed with upgrade? [Y/n]
==> ----------------------------
==> -
Cannot upgrade pacman due to conflict with package-query [SOLVED]
Package query 0.9 requires pacman <4, package-query 1 requires pacman >=4, therefore I am totally unable to upgrade, even using pacman -f
I'm aware that package-query is unsupported software, but this seems a bit stupid to me! Am I to uninstall package-query and therefore yaourt, only to reinstall them by hand, or is there a safe workaround?
Last edited by markhadman (2012-01-24 11:02:20)jasonwryan wrote:
markhadman wrote:Groan - guess pacman 4 is going to eat a day of my life after all...
Or, realistically, 5 minutes.
But if that is too much for you to spare, rather than bemoaning the fact that the developers have spent a significant amount of time and effort on this upgrade that will cause you such inconvenience, you could just install another distro - that would probably eat a day.
Every other distro I've tried is inferior and eats up far more frustration time than Arch, which is why it's now on all my machines. I'm still putting off upgrading my 4 machines, though - because painful recent experience tells me that the chances of all 4 getting through this without day-eating breakage is about 6% (If you want a laugh at my expense, see this woeful example of breakage https://bugs.archlinux.org/task/27385). And yes, I'm aware that the longer I put it off, the worse my chances get.
Edit:
machine one (netbook).
Time taken so far: 44 minutes (inc reading up on a few errors, plus line-by-line comparison of rc.conf.pacnew, reboot plus check of basic system workiness, plus waiting unsuccessfully for package-query source to download).
Status: yaourt uninstallable (package-query git server appears to be down), openjdk6 broken due to bug, system otherwise appears healthy.
Prognosis: Total 90 minutes for 4 machines seems a reasonable (optimistic) estimate, but I'll further put the other machines off until package-query git server is back up and running.
And many apologies, this has veered somewhat off-topic and off-forum. I will probably make this my last post and let it die.
Further edit: How do I mark a thread as SOLVED? I can't see an option anywhere, or any way to edit the thread title!
edit: Nevermind, the trick is to edit the first post in the thread, it would seem.
Last edited by markhadman (2012-01-24 11:03:17) -
[Solved]Yaourt sync issue
I installed yaourt according to the instruction here http://archlinux.fr/yaourt-en
But when I run yaourt -Syu --devel --aur , I get an error: problem setting dbpath '//usr/local/var/lib/pacman/' (could not find or read directory)
The directory doesn't exist and pacman -v shows nothing related to that directory. What should I do?[]
Last edited by codetrick (2011-03-04 14:28:03)I have the same problem. I get it when try to install 'package-query' and 'yaourt' from AUR, but i install it manually.
In INSTALL file of package-query I found interesting thing:
By default, `make install' installs the package's commands under
`/usr/local/bin', include files under `/usr/local/include', etc. You
can specify an installation prefix other than `/usr/local' by giving
`configure' the option `--prefix=PREFIX', where PREFIX must be an
absolute file name.
I uninstall yaourt and package-query using pacman and delete /usr/local directory (the system is fresh and this directory is not important)
Then i do
./configure --prefix=''
sudo make install
With yaourt i have more problems... Iven if you delete "/usr/local" from Makefile you don't solve the problem.
I find all "/usr/local" substrings in files from yaourt.x.x.x.tar.gz with commands:
tar -xzvf yaourt.x.x.x.tar.gz
cd yaourt.x.x.x
grep -RiHn 'usr/local/' *
and manually delete them.
Then i make and install my yaourt. It worked.
Oh, i know that it is unnormal, but i can't find anything in internet and write it to others.
P.S. I may install yaourt with this instruction^ http://archlinux.fr/yaourt-en (with pacman)
Last edited by Grandma (2011-12-18 00:06:52) -
[SOLVED] Package-Query build error
I'm trying to get my new Arch system setup, and I'm having trouble getting Yaourt installed. I can't seem to get package-query to build successfully. I have base-devel installed, and I've followed the instructions in the wiki on installing AUR packages. After running "makepkg -s" from the package-query directory it seems to go fine until the end, where I see this output.
make: *** [install-recursive] Error 1
==> ERROR: A failure occurred in package().
Aborting...
And that's it. Not sure what I'm missing here.
Thanks.
Last edited by x371322 (2012-05-31 08:11:21)I take that back, after another look I did notice a couple of errors. They're near the bottom of the output. I'm sure it's something simple, and I'm probably going to end up looking like an idiot , but anyway, here's the entire output.
==> Making package: package-query 1.0.1-1 (Thu May 31 03:21:18 EDT 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 152k 0 0:00:02 0:00:02 --:--:-- 177k
==> 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... /usr/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... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
configure: WARNING: Libtool does not cope well with whitespace in `pwd`
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for alpm_version in -lalpm... yes
checking for yajl_free in -lyajl... yes
checking for gawk... (cached) gawk
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.26.0
checking for libcurl >= version 7.19.4... yes
checking whether libcurl is usable... yes
checking for curl_free... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for git... no
configure: creating ./config.status
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
package-query:
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=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2
package-query version : 1.0.1
using git version : no
git ver :
Variable information:
root working directory : /
aur base url : http://aur.archlinux.org
make all-recursive
make[1]: Entering directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1'
Making all in src
make[2]: Entering directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/src'
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT aur.o -MD -MP -MF .deps/aur.Tpo -c -o aur.o aur.c
mv -f .deps/aur.Tpo .deps/aur.Po
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT alpm-query.o -MD -MP -MF .deps/alpm-query.Tpo -c -o alpm-query.o alpm-query.c
alpm-query.c: In function 'alpm_pkg_get_realsize':
alpm-query.c:486:9: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result]
mv -f .deps/alpm-query.Tpo .deps/alpm-query.Po
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c
util.c: In function 'ltostr':
util.c:532:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
util.c: In function 'itostr':
util.c:525:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
util.c: In function 'concat_backup_list':
util.c:480:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
util.c: In function 'string_fcat':
util.c:342:11: warning: ignoring return value of 'vasprintf', declared with attribute warn_unused_result [-Wunused-result]
mv -f .deps/util.Tpo .deps/util.Po
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT color.o -MD -MP -MF .deps/color.Tpo -c -o color.o color.c
mv -f .deps/color.Tpo .deps/color.Po
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT package-query.o -MD -MP -MF .deps/package-query.Tpo -c -o package-query.o package-query.c
mv -f .deps/package-query.Tpo .deps/package-query.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -lcurl -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -o package-query aur.o alpm-query.o util.o color.o package-query.o -lyajl -lalpm
libtool: link: gcc -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,--hash-style=gnu -o package-query aur.o alpm-query.o util.o color.o package-query.o -lcurl -lyajl -lalpm
make[2]: Leaving directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/src'
Making all in doc
make[2]: Entering directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/doc'
make[2]: Entering directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1'
make[2]: Leaving directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1'
make[1]: Leaving directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1'
==> Entering fakeroot environment...
==> Starting package()...
Making install in src
make[1]: Entering directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/src'
make[2]: Entering directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/src'
test -z "/usr/bin" || /bin/mkdir -p "/home/x371322/AUR Builds/package-query/pkg/usr/bin"
/bin/sh ../libtool --mode=install /usr/bin/install -c package-query '/home/x371322/AUR Builds/package-query/pkg/usr/bin'
libtool: install: /usr/bin/install -c package-query /home/x371322/AUR Builds/package-query/pkg/usr/bin/package-query
/usr/bin/install: target 'Builds/package-query/pkg/usr/bin/package-query' is not a directory
make[2]: *** [install-binPROGRAMS] Error 1
make[2]: Leaving directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/src'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/src'
Making install in doc
make[1]: Entering directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/doc'
make[2]: Entering directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/doc'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/man/man8" || /bin/mkdir -p "/home/x371322/AUR Builds/package-query/pkg/usr/share/man/man8"
/usr/bin/install -c -m 644 package-query.8 '/home/x371322/AUR Builds/package-query/pkg/usr/share/man/man8'
make[2]: Leaving directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/doc'
make[1]: Leaving directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/doc'
make[1]: Entering directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1'
make[2]: Entering directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1'
make[1]: Leaving directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1'
make: *** [install-recursive] Error 1
==> ERROR: A failure occurred in package().
Aborting...
I appreciate the help guys. -
Hi all
when i run yaourt to install any things :
package-query: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory
why?
what can i do?
I'm very newbie so help me with easy commands!
thankstry to reinstall yahourt :
https://wiki.archlinux.org/index.php/Yaourt -
Error: target not found: package-query =1.0 although I have it
I used to work on Arch but it was installed for me by a friend, now I decided to install it on my own and it was a success! But when I tried installing yaourt it didn't work. I know that it needs package-query so I installed it, but when I try to build yaourt it fails..
[clairka@clairka yaourt]$ makepkg -s
==> Making package: yaourt 1.3-1 (Thu Aug 22 00:37:27 UTC 2013)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[sudo] password for clairka:
error: target not found: package-query>=1.0
==> ERROR: 'pacman' failed to install missing dependencies.
So I tried to rebuild package-query
[clairka@clairka package-query]$ makepkg -s
==> ERROR: A package has already been built. (use -f to overwrite)
Even if I use -f to overwrite I get always the same output. Does anybody know how to fix this? I was really used to use yaourt to install packages from AUR. Thanks.
Last edited by clairka (2013-08-21 22:47:37)clairka wrote:Ahh... silly me, thanks a lot! And now I can delete the tar.xz file, right?
Sure. -
[SOLVED] makepkg package-query
I'm trying to make the package for package-query so I can install yaourt but I keep getting this output
==> Making package: package-query 1.2-2 (Tue May 28 05:08:29 MDT 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading package-query-1.2.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 367k 100 367k 0 0 201k 0 0:00:01 0:00:01 --:--:-- 201k
==> Validating source files with md5sums...
package-query-1.2.tar.gz ... Passed
==> Extracting sources...
-> Extracting package-query-1.2.tar.gz with bsdtar
==> Starting build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/christian/package-query/src/package-query-1.2/missing: Unknown `--is-lightweight' option
Try `/home/christian/package-query/src/package-query-1.2/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking whether make supports nested variables... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/christian/package-query/src/package-query-1.2':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
==> ERROR: A failure occurred in build().
Aborting...
Last edited by murray825 (2013-05-28 11:27:01)You should learn to use makepkg before you start using a wrapper.
http://jasonwryan.com/blog/2013/04/09/helpers/ -
(Solved) package-query trying to downgrade pacman
i want to install yaourt on my system. one of its dependencies package-query (also AUR) depends upon pacman <= 3.6 for installing, while i have pacman 4.0.0rc1-1 on my system. so when i try to install it, it tries to downgrade my pacman to 3.5.4-4.
is there a way around it? any suggestions would be welcome, even if its very unlikely (i would love to tinker)
Last edited by testdude281 (2011-08-22 23:18:47)just tried that. got the following error
makepkg -s
==> Determining latest git revision...
-> Version found: 20110817
==> Making package: package-query-git 20110817-1 (Wed Aug 17 15:58:00 IST 2011)
==> Checking runtime dependencies...
==> Installing missing dependencies...
Password:
resolving dependencies...
looking for inter-conflicts...
Targets (1): yajl-2.0.2-1
Total Download Size: 0.03 MiB
Total Installed Size: 0.21 MiB
Proceed with installation? [Y/n] y
:: Retrieving packages from community...
--2011-08-17 15:58:05-- ftp://mirror.cse.iitk.ac.in/archlinux/community/os/i686/yajl-2.0.2-1-i686.pkg.tar.xz
=> `/var/cache/pacman/pkg/yajl-2.0.2-1-i686.pkg.tar.xz.part'
Resolving mirror.cse.iitk.ac.in... 202.3.77.108
Connecting to mirror.cse.iitk.ac.in|202.3.77.108|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /archlinux/community/os/i686 ... done.
==> SIZE yajl-2.0.2-1-i686.pkg.tar.xz ... 36664
==> PASV ... done. ==> RETR yajl-2.0.2-1-i686.pkg.tar.xz ... done.
Length: 36664 (36K) (unauthoritative)
100%[===============================================================================================================>] 36,664 39.3K/s in 0.9s
2011-08-17 15:58:14 (39.3 KB/s) - `/var/cache/pacman/pkg/yajl-2.0.2-1-i686.pkg.tar.xz.part' saved [36664]
(1/1) checking package integrity [------------------------------------------------------] 100%
(1/1) checking for file conflicts [------------------------------------------------------] 100%
(1/1) installing yajl [------------------------------------------------------] 100%
==> Checking buildtime dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Starting build()...
Cloning into package-query...
remote: Counting objects: 752, done.
remote: Compressing objects: 100% (740/740), done.
remote: Total 752 (delta 522), reused 0 (delta 0)
Receiving objects: 100% (752/752), 239.00 KiB | 89 KiB/s, done.
Resolving deltas: 100% (522/522), done.
Cloning into package-query-build...
done.
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... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for alpm_version in -lalpm... yes
checking for yajl_free in -lyajl... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBCURL... yes
checking for git... git
checking for .git/... yes
configure: creating ./config.status
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
package-query:
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=i686 -mtune=generic -O2 -pipe
package-query version : 0.8.1
using git version : yes
git ver : 0.8-3-gfc24
Variable information:
root working directory : /
aur base url : http://aur.archlinux.org
make all-recursive
make[1]: Entering directory `/home/dilip/Downloads/package-query-git/src/package-query-build'
Making all in src
make[2]: Entering directory `/home/dilip/Downloads/package-query-git/src/package-query-build/src'
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -DGIT_VERSION=\"0.8-3-gfc24\" -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -MT aur.o -MD -MP -MF .deps/aur.Tpo -c -o aur.o aur.c
In file included from aur.c:32:0:
alpm-query.h:55:25: error: unknown type name ‘pmdb_t’
alpm-query.h:56:25: error: unknown type name ‘pmdb_t’
alpm-query.h:57:15: error: unknown type name ‘pmdb_t’
alpm-query.h:58:17: error: unknown type name ‘pmdb_t’
alpm-query.h:59:14: error: unknown type name ‘pmdb_t’
alpm-query.h:64:21: error: unknown type name ‘pmpkg_t’
alpm-query.h:65:1: error: unknown type name ‘pmpkg_t’
alpm-query.h:66:1: error: unknown type name ‘pmpkg_t’
alpm-query.h:66:24: error: unknown type name ‘pmpkg_t’
In file included from aur.c:33:0:
util.h:124:2: error: unknown type name ‘pmdepmod_t’
make[2]: *** [aur.o] Error 1
make[2]: Leaving directory `/home/dilip/Downloads/package-query-git/src/package-query-build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dilip/Downloads/package-query-git/src/package-query-build'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
[dilip@Zeus package-query-git]$
EDIT : sorry, here is the full output instead of just the error part.
Last edited by testdude281 (2011-08-17 10:36:13) -
[SOLVED] Yaourt issue - query's dependency (yajl) not installing
First off, I'm fairly new to Arch, but with the assistance of the Beginner's Guide I managed to get a running, beautiful, simple system. Now...
I've been trying to install yaourt, but it has a dependency (query) which ALSO has a dependency (yajl). I've tried downloading a tarball of yajl and installing it that way, and I've tried using the PKGBUILD file, but query still says that it isn't installed. I'm really not sure what I'm doing wrong, but any relevant input is welcome. Thanks, guys!
Last edited by InfernalDante (2011-05-27 11:36:45)Thanks for the speedy response.
I tried using the -s switch with query; yajl installed with no issues, as did query (or so the terminal said), but when I tried the same switch with yaourt, it gave me this:
[dante@monster yaourt]$ makepkg -s
==> Making package: yaourt 0.10.1-2 (Thu May 26 21:29:05 PDT 2011)
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: package-query>=0.7
==> ERROR: 'pacman' failed to install missing dependencies.
Am I doing something wrong?
EDIT: Missed your edit. I'll try that now and report back when I do.
Ah! I got it working. Thank you very much!
Last edited by InfernalDante (2011-05-27 11:35:44) -
[SOLOVED] 'pacman -S yaourt' tries for 64bit package-query on 32bit
I've been getting a 32bit chroot installed recently and have started over several times for learning and documentation purposes. One issue that has occurred every time is as follows:
- Per the ArchWiki, I have added the following to /opt/arch32/etc/pacman.conf to allow for 'pacman -S yaourt':
[archlinuxfr]
Server = http://repo.archlinux.fr/i686
- the only uncommented mirror in /opt/arch32/etc/pacman.d/mirrorlist is:
--- Server = http://distro.ibiblio.org/pub/linux/dis … po/os/i686
- everything that follows is done from my 32bit chroot, setup per the ArchWiki, with base and base-devel, daemon started, etc.
- pacman -Syu && pacman -S yaourt
- I have gotten this output every time I've tried:
[jwhendy@bigBang ~]$ sudo pacman -S yaourt
resolving dependencies...
looking for inter-conflicts...
Targets (6): run-parts-3.2.2-1 ca-certificates-20090814-3 curl-7.20.1-1
yajl-1.0.9-3 package-query-0.1.1-1 yaourt-0.9.3.2-1
Total Download Size: 0.62 MB
Total Installed Size: 2.71 MB
Proceed with installation? [Y/n]
:: Retrieving packages from core...
run-parts-3.2.2-1-i686 8.0K 1581.9K/s 00:00:00 [#####################] 100%
ca-certificates-200... 108.6K 1109.5K/s 00:00:00 [#####################] 100%
:: Retrieving packages from extra...
curl-7.20.1-1-i686.... 419.2K 1126.8K/s 00:00:00 [#####################] 100%
:: Retrieving packages from community...
yajl-1.0.9-3-i686.p... 25.3K 1097.4K/s 00:00:00 [#####################] 100%
:: Retrieving packages from archlinuxfr...
error: failed retrieving file 'package-query-0.1.1-1-x86_64.pkg.tar.xz' from repo.archlinux.fr : Not Found
yaourt-0.9.3.2-1-an... 60.3K 1171.3K/s 00:00:00 [#####################] 100%
warning: failed to retrieve some files from archlinuxfr
error: failed to commit transaction (Not Found)
Errors occurred, no packages were upgraded.
So... everything pacman is grabbing is i686 except package-query. Why in the world would this be? I would assume this happens on an actual 32bit install as well, but not sure... Could it have to do with me being on a 32bit chroot? I can't figure out how it would selectively be grabbing i686 and 64bit packages given my pacman.conf and mirrorlist, though...
- Workaround:
--- I've been just doing 'pacman -S curl yajl' and then using makepkg -si to install package-build from AUR
I wanted to post this, though, as I think something is wrong in a depends list or repo somewhere to be causing this time after time.
Is this me being stupid or is there something else going on here?
Last edited by jwhendy (2010-04-20 22:35:08)1. First I issued 'pacman -R yaourt' and 'pacman -R package-query' to force a reinitiation of the package-query download
2. sudo pacman --debug -S yaourt:
[jwhendy@bigBang ~]$ sudo pacman --debug -S yaourt
debug: config: attempting to read file /etc/pacman.conf
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: SyncFirst: pacman
debug: config: new section 'core'
debug: setlibpaths() called
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: registering sync database 'core'
debug: config: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'core': http://distro.ibiblio.org/pub/linux/dis … re/os/i686
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'extra'
debug: registering sync database 'extra'
debug: config: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'extra': http://distro.ibiblio.org/pub/linux/dis … ra/os/i686
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'community'
debug: registering sync database 'community'
debug: config: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'community': http://distro.ibiblio.org/pub/linux/dis … ty/os/i686
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'archlinuxfr'
debug: registering sync database 'archlinuxfr'
debug: adding new server URL to database 'archlinuxfr': http://repo.archlinux.fr/i686
debug: config: finished parsing /etc/pacman.conf
debug: registering local database
debug: loading package cache for repository 'local'
debug: loading package cache for repository 'core'
debug: loading package cache for repository 'extra'
debug: loading package cache for repository 'community'
debug: loading package cache for repository 'archlinuxfr'
debug: adding package yaourt-0.9.3.2-1 to the transaction targets
resolving dependencies...
debug: resolving target's dependencies
debug: started resolving dependencies
debug: checkdeps: package yaourt-0.9.3.2-1
debug: checkdeps: missing dependency 'package-query' for package 'yaourt'
debug: pulling dependency package-query (needed by yaourt)
debug: checkdeps: package package-query-0.1.1-1
debug: finished resolving dependencies
debug: started sorting dependencies
debug: sorting dependencies finished
looking for inter-conflicts...
debug: looking for conflicts
debug: check targets vs targets
debug: check targets vs targets
debug: check targets vs db and db vs targets
debug: check targets vs db
debug: check db vs targets
debug: checking dependencies
debug: checkdeps: package package-query-0.1.1-1
debug: checkdeps: package yaourt-0.9.3.2-1
debug: setting download size 12068 for pkg package-query
debug: found cached pkg: /var/cache/pacman/pkg/yaourt-0.9.3.2-1-any.pkg.tar.xz
debug: setting download size 0 for pkg yaourt
Targets (2): package-query-0.1.1-1 yaourt-0.9.3.2-1
Total Download Size: 0.01 MB
Total Installed Size: 0.41 MB
Proceed with installation? [Y/n]
debug: using cachedir: /var/cache/pacman/pkg/
:: Retrieving packages from archlinuxfr...
debug: using 'package-query-0.1.1-1-x86_64.pkg.tar.xz' for download progress
debug: HTTP_PROXY: (null)
debug: http_proxy: (null)
debug: FTP_PROXY: (null)
debug: ftp_proxy: (null)
error: failed retrieving file 'package-query-0.1.1-1-x86_64.pkg.tar.xz' from repo.archlinux.fr : Not Found
warning: failed to retrieve some files from archlinuxfr
error: failed to commit transaction (Not Found)
Errors occurred, no packages were upgraded.
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'core'
debug: freeing package cache for repository 'core'
debug: unregistering database 'extra'
debug: freeing package cache for repository 'extra'
debug: unregistering database 'community'
debug: freeing package cache for repository 'community'
debug: unregistering database 'archlinuxfr'
debug: freeing package cache for repository 'archlinuxfr'
Maybe you are looking for
-
I purchased my iMac used. When I try to update apps in AppStore, the computer automatically fills in the previous owner's email address and it won't let me delete it to enter mine. I have been using my own apple ID and password on this computer for
-
Parsing xml with entity definitions inside it
Hello All, I am trying to parse an xml file using DOM parser which has entities defined inside it for eg: <!ENTITY sample SYSTEM "sample_data" NDATA sample_ndata > and we are referring to the sample in some tag as value for attribute. When we try to
-
Hey everybody I completed the installation of OBI EE 11g in distant server. At launch the console WebLogic (http://hostname:7001/console) everything is fine and i run bi_server1. But if i launched Business Intelligence Enterprise Edition (http://host
-
FRM-92102 error when accessing Forms and Peoplesoft simultaneously
We are receiving an FRM-92102 error when we access Peoplesoft and then our web forms application simultaneously. Here is the error message: Java Plug-in 1.6.0_11 Using JRE version 1.6.0_11 Java HotSpot(TM) Client VM User home directory = C:\Documents
-
Support for Java Activation Framework?
Hi, Can anyone quickly tell me which version of JAF (java activation framework)in WLS 7.0 ? thanks a lot in advance manoj