[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/
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... -
[SOLVED]Trying to install package-query again. Cannot find PKGBUILD.
I'm updating my arch after 4 months. Yes it has been a long time.
During the update process I had to remove package-query and yaourt, and now I'm trying to get them back.
I got package-query from here https://aur.archlinux.org/packages.php?ID=35915
Untared it, went inside, and did makepkg -s, but the PKGBUILD could not be found. I looked through the directories and didn't see a PKGBUILD anywhere.
Am I missing something?
Last edited by Aquila (2013-05-13 23:18:36)Did you click the 'Download Tarbel' link on the right side of the page? (Correct choice)
Or the link under the Sources Bar ? (Incorrect choice) -
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] 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. -
(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 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) -
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 tends to hang indefinitely when building
I'm not that new to arch. I'm currently installing arch via VB on MBP.
The makepkg command is hanging indefinitely when I'm trying to make multiple packages -- specifically cower and package-query
I get something like the following:
==> Creating package "cower"...
And then it hangs indefinitely. I've waited like 10 minutes. The same result occurred with package-query.
Is there anything I can do to debug this problem?
Last edited by kevdog (2015-01-10 18:45:49)Sorry VB = virtual box
MBP=MacBook Pro
Just installed everything this morning
I looked at the strace call. I'm not finding much. Here is some output:
read(3, "Entering %s environment...", 128) = 26
read(3, "", 128) = 0
close(3) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x807e930, [], 0}, {0x8095410, [], 0}, 8) = 0
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 5728
rt_sigaction(SIGINT, {0x8095410, [], 0}, {0x807e930, [], 0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5728, si_uid=1000, si_
status=0, si_utime=0, si_stime=0} ---
waitpid(-1, 0xbfb8dcb4, WNOHANG) = -1 ECHILD (No child processes)
sigreturn() (mask []) = 0
fcntl64(1, F_GETFD) = 0
fcntl64(1, F_DUPFD, 10) = 10
fcntl64(1, F_GETFD) = 0
fcntl64(10, F_SETFD, FD_CLOEXEC) = 0
dup2(2, 1) = 1
fcntl64(2, F_GETFD) = 0
write(1, "\33[1m\33[32m==>\33(B\33[m\33[1m Entering "..., 62) = 62
dup2(10, 1) = 1
fcntl64(10, F_GETFD) = 0x1 (flags FD_CLOEXEC)
close(10) = 0
stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/usr/local/sbin/fakeroot", 0xbfb8e5ec) = -1 ENOENT (No such file or dire
ctory)
stat64("/usr/local/bin/fakeroot", 0xbfb8e5ec) = -1 ENOENT (No such file or direc
tory)
stat64("/usr/bin/fakeroot", {st_mode=S_IFREG|0755, st_size=3866, ...}) = 0
stat64("/usr/bin/fakeroot", {st_mode=S_IFREG|0755, st_size=3866, ...}) = 0
geteuid32() = 1000
getegid32() = 1000
getuid32() = 1000
getgid32() = 1000
access("/usr/bin/fakeroot", X_OK) = 0
stat64("/usr/bin/fakeroot", {st_mode=S_IFREG|0755, st_size=3866, ...}) = 0
geteuid32() = 1000
getegid32() = 1000
getuid32() = 1000
getgid32() = 1000
access("/usr/bin/fakeroot", R_OK) = 0
stat64("/usr/bin/fakeroot", {st_mode=S_IFREG|0755, st_size=3866, ...}) = 0
stat64("/usr/bin/fakeroot", {st_mode=S_IFREG|0755, st_size=3866, ...}) = 0
geteuid32() = 1000
getegid32() = 1000
getuid32() = 1000
getgid32() = 1000
access("/usr/bin/fakeroot", X_OK) = 0
stat64("/usr/bin/fakeroot", {st_mode=S_IFREG|0755, st_size=3866, ...}) = 0
geteuid32() = 1000
getegid32() = 1000
getuid32() = 1000
getgid32() = 1000
access("/usr/bin/fakeroot", R_OK) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [INT CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [INT CHLD], NULL, 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, chil
d_tidptr=0xb750c768) = 5729
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x807e930, [], 0}, {0x8095410, [], 0}, 8) = 0
waitpid(-1, -
[SOLVED]MAKEPKG can't resolve dependencies unless I use --asroot first
Hi all,
I've been trying to install an AUR package and when I run 'makepkg -s' it said it couldn't resolve dependencies. I checked the dependencies, installed them via pacman, and still got the same message. I've been searching around everywhere and couldn't figure it out.
Then, disregarding the dire warning, I ran 'makepkg --asroot.' I got an error message saying it didn't have a required dependency that wasn't listed on the AUR site. I installed it with pacman, then ran 'makepkg -s' and it worked fine.
What gives? Why wasn't the dependency listed on the AUR page? It was the ttf-ms-fonts and has been updated on Jan 13, 2011 so it is up to date. Any ideas?
Thanks!
*quick update*
I tried installing flashplugin-prerelease and it wouldn't install the dependencies that were listed on the AUR page. No hidden dependencies this time though.
Last edited by mycorunner (2011-03-07 00:56:32)I forgot about the permissions when I changed the mirrorlist, thanks!
The makepkg is still giving me an error, this time its:
[myco-runner@Arch yaourt]$ makepkg -s
==> Making package: yaourt 0.9.5.1-1 (Tue Feb 15 20:50:09 EST 2011)
==> Checking Runtime Dependencies...
==> Installing missing dependencies...
error: 'package-query>=0.4': could not find or read package
==> ERROR: 'pacman' failed to install missing dependencies.
At least this time it tells me what package is missing, but it won't install it because it's an AUR package. I suspect it will work for other non-AUR packages though.
Just confirmed it, it works! Thanks!
Last edited by mycorunner (2011-02-16 02:05:31) -
[Solved] makepkg warning about unknown key
Hello,
when compiling cower 7-1 a strange warning was given by makepkg.
==> Verifying source file signatures with gpg...
cower-7.tar.gz ... FAILED (unknown public key 1EB2638FF56C0C53)
==> WARNING: Warnings have occurred while verifying the signatures.
Please make sure you really trust them.
EDIT: The warning is shown due to signature files attached to the package. It can be solved for packages made by archlinux devs:
- run as user
"# gpg --list-keys"
in order to create a gpg database for your current user, if it is not present already.
- add
"keyring /etc/pacman.d/gnupg/pubring.gpg"
to the end of
~/.gnupg/gpg.conf.
WorMzy wrote:Alternatively, run makepkg with --skippgpcheck to stop makepkg trying to validate the file with it's .sig file.
Last edited by teateawhy (2012-11-06 16:22:30)teateawhy wrote:The error will occur only for aur Packagebuilds created by arch linux developers, because of present keys.
Mmm, not quite. You'll have the same problem with any PKGBUILD that has an unknown signature, not just AUR packages by the Arch devs.
The warning (it's not really an error) is coming up because the source tarball's signature is included in the source array:
source=("https://github.com/downloads/falconindy/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig})
That's a lazyman's way of writing:
source=("https://github.com/downloads/falconindy/$pkgname/$pkgname-$pkgver.tar.gz"
"https://github.com/downloads/falconindy/$pkgname/$pkgname-$pkgver.tar.gz.sig")
makepkg is smart enough to know that .sig files are used to check the authenticy and integrity of it's namesake file, and so automagically runs a gpg check for you. At this point, since you're running makepkg as yourself, gpg is run as you, and uses your ~/.gnupg/pubring.gpg, which I assume doesn't have Dave's key in it. ('gpg --list-keys' would no doubt confirm that).
A quick fix for Arch dev packages would be to add "keyring /etc/pacman.d/gnupg/pubring.gpg" to the end of ~/.gnupg/gpg.conf.
Alternatively, run makepkg with --skippgpcheck to stop makepkg trying to validate the file with it's .sig file. -
[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' -
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 -
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)
Maybe you are looking for
-
Migrating application from tomcat to jboss
My application is working on tomcat but when try to deploy the same application war file it gives the following error no valid JNDI binding. Check the jboss-web/resource-ref. My web.xml is like this(only giving few lines here) <resource-ref> Inventor
-
[BOXI 3.0] - Txt as data provider
Dear all, We have report in Deski from txt file and we have a problem with "reading, encoding" this file. Appearance in deski is diffrent as in txt. If we have "Sluu0161alke" in txt file get "Slušalke" in deski. Is any configuration for encoding req
-
IMac external monitor video connector, huh?
Apparently, there are at least FOUR different types of video connectors in use these days. WHICH one is used for External video on the iMac (tiny, rectangular) and is it analogue or digital?
-
Thankfully every photo that is or was on my iPhone is on my computer. After 24 hours, I love the iPhone 6 and iOS 8 seems fine. But the transition with photo albums is nothing short of a total, unmitigated disaster. First, I don't care what anyone
-
What happened in iMovie?
I dragged all of my mp4 videos to a new project in iMovie and all of the sudden when I move the cursor to one of the slide it doesn't change scene anymore. It freezes but the audio is still playing just fine. I'm using go pro to record all of my mp4s